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

Disassembly:
jmp 0x5002a0
sub esp, 0x120
mov eax, dword [0x79d4f0]
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.006061b0
push 0x4e
lea edx, [esp + 0xec]
push ebx
push edx
call fcn.006061b0
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.006061b0
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 0x50046d
mov al, byte [esi]
test al, al
je 0x50046d
movzx eax, al
add eax, 0xfffffff8
cmp eax, 5
ja case.default.0x500355
jmp dword [eax*4 + 0x50054c]
movzx ecx, word [esi + 1]
push ecx
lea edx, [esi + 3]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.00607fd0
add esp, 0xc
lea ecx, [esp + 0x70]
push ecx
mov ecx, 0x7b1b98
call fcn.0040615e
jmp case.default.0x500355
movzx edx, word [esi + 1]
push edx
lea eax, [esi + 3]
push eax
lea ecx, [esp + 0xe4]
push ecx
call fcn.00607fd0
add esp, 0xc
lea edx, [esp + 0xdc]
push edx
mov ecx, 0x7b1b98
call fcn.0040472d
jmp case.default.0x500355
movzx eax, word [esi + 1]
push eax
lea ecx, [esi + 3]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00607fd0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
mov ecx, 0x7b1b98
call fcn.0040bc44
jmp case.default.0x500355
movzx ecx, word [esi + 1]
push ecx
lea edx, [esi + 3]
push edx
lea eax, [esp + 0xc8]
push eax
call fcn.00607fd0
add esp, 0xc
lea ecx, [esp + 0xc0]
push ecx
mov ecx, 0x7c2268
call fcn.0040fe0c
jmp case.default.0x500355
movzx edx, word [esi + 1]
push edx
lea eax, [esi + 3]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.00607fd0
add esp, 0xc
lea edx, [esp + 0x44]
push edx
mov ecx, 0x7e7d28
call fcn.00407464
jmp case.default.0x500355
movzx eax, word [esi + 1]
push eax
lea ecx, [esi + 3]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00607fd0
add esp, 0xc
lea eax, [esp + 0x30]
push eax
mov ecx, 0x7e7d28
call fcn.0040ad58
mov cx, word [esi + 1]
add cx, 3
add bx, cx
movzx edx, bx
lea esi, [edx + edi + 0x3b]
jmp 0x500332
mov ebx, dword [edi + 0x35]
mov esi, dword [esp + 0x10]
test bl, 4
je 0x500491
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 0x5004b4
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 0x5004d9
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 0x5004f2
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 0x500509
push 0
push 0
push 0
push 0
push 0
push esi
mov ecx, ebp
call fcn.00401c44
test bl, 0x40
je 0x500520
push 0
push 0
push 0
push 0
push 0
push esi
mov ecx, ebp
call fcn.00401c44
test ebx, ebx
jne 0x500531
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.00606374
add esp, 0x120
ret 8