Function at 0x402a22
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x5128c0
sub esp, 0x120
mov eax, dword [0x7ce4f0]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x138]
push 0x50
mov ebp, ecx
xor ebx, ebx
lea ecx, [esp + 0x74]
push ebx
push ecx
mov dword [esp + 0x1c], eax
lea esi, [edi + 0x3b]
call fcn.00637530
push 0x4e
lea edx, [esp + 0xec]
push ebx
push edx
call fcn.00637530
xor eax, eax
push 0x2a
push eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x64]
push eax
call fcn.00637530
add esp, 0x24
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
cmp word [edi + 0x39], bx
jbe 0x512a8d
mov al, byte [esi]
test al, al
je 0x512a8d
movzx eax, al
add eax, 0xfffffff8
cmp eax, 5
ja case.default.0x512975
jmp dword [eax*4 + 0x512b6c]
movzx ecx, word [esi + 1]
push ecx
lea edx, [esi + 3]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.00638430
add esp, 0xc
lea ecx, [esp + 0x70]
push ecx
mov ecx, 0x7e2b98
call fcn.00406172
jmp case.default.0x512975
movzx edx, word [esi + 1]
push edx
lea eax, [esi + 3]
push eax
lea ecx, [esp + 0xe4]
push ecx
call fcn.00638430
add esp, 0xc
lea edx, [esp + 0xdc]
push edx
mov ecx, 0x7e2b98
call fcn.00404737
jmp case.default.0x512975
movzx eax, word [esi + 1]
push eax
lea ecx, [esi + 3]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00638430
add esp, 0xc
lea eax, [esp + 0x14]
push eax
mov ecx, 0x7e2b98
call fcn.0040bc35
jmp case.default.0x512975
movzx ecx, word [esi + 1]
push ecx
lea edx, [esi + 3]
push edx
lea eax, [esp + 0xc8]
push eax
call fcn.00638430
add esp, 0xc
lea ecx, [esp + 0xc0]
push ecx
mov ecx, 0x7f3268
call fcn.0040fe02
jmp case.default.0x512975
movzx edx, word [esi + 1]
push edx
lea eax, [esi + 3]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.00638430
add esp, 0xc
lea edx, [esp + 0x44]
push edx
mov ecx, 0x818d28
call fcn.00407482
jmp case.default.0x512975
movzx eax, word [esi + 1]
push eax
lea ecx, [esi + 3]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00638430
add esp, 0xc
lea eax, [esp + 0x30]
push eax
mov ecx, 0x818d28
call fcn.0040ad44
mov cx, word [esi + 1]
add cx, 3
add bx, cx
movzx edx, bx
lea esi, [edx + edi + 0x3b]
jmp 0x512952
mov ebx, dword [edi + 0x35]
mov esi, dword [esp + 0x10]
test bl, 4
je 0x512ab1
push 0
push 0
push 0
push 0
lea eax, [esp + 0x80]
push eax
push esi
mov ecx, ebp
call fcn.00401c44
test bl, 8
je 0x512ad4
push 0
push 0
push 0
lea ecx, [esp + 0xe8]
push ecx
lea edx, [esp + 0x80]
push edx
push esi
mov ecx, ebp
call fcn.00401c44
test bl, bl
jns 0x512af9
push 0
lea eax, [esp + 0x18]
push eax
push 0
lea ecx, [esp + 0xe8]
push ecx
lea edx, [esp + 0x80]
push edx
push esi
mov ecx, ebp
call fcn.00401c44
test bl, 0x10
je 0x512b12
mov eax, dword [edi + 9]
push 0
push 0
push eax
push 0
push 0
push esi
mov ecx, ebp
call fcn.00401c44
test bl, 0x20
je 0x512b29
push 0
push 0
push 0
push 0
push 0
push esi
mov ecx, ebp
call fcn.00401c44
test bl, 0x40
je 0x512b40
push 0
push 0
push 0
push 0
push 0
push esi
mov ecx, ebp
call fcn.00401c44
test ebx, ebx
jne 0x512b51
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
mov ecx, ebp
call fcn.00401c44
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006376f4
add esp, 0x120
ret 8