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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
mov esi, dword [esp + 0xe0]
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x34], ecx
mov ebp, dword [esp + 0xd0]
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0x30], eax
lea eax, [esi + 0x6c]
mov edi, dword [esp + 0xd8]
mov dword [esp], eax
call fcn.004af490
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x94]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x98]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x9c]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0xa0]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0xa4]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0xa8]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0xac]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0xb0]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0xb4]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0xb8]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0xbc]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0xc0]
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 0x64]
mov dword [esp + 0x80], edx
mov edx, dword [eax + 0x68]
mov dword [esp + 0x84], edx
mov edx, dword [eax + 0x6c]
mov dword [esp + 0x88], edx
mov edx, dword [eax + 0x70]
mov dword [esp + 0x8c], edx
mov edx, dword [eax + 0x74]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x90], edx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x94], edx
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x98], edx
mov edx, dword [eax + 0x80]
mov dword [esp + 0x9c], edx
mov edx, dword [eax + 0x84]
mov dword [esp + 0xa0], edx
mov edx, dword [eax + 0x88]
mov dword [esp + 0xa4], edx
mov edx, dword [eax + 0x8c]
mov eax, dword [eax + 0x90]
mov dword [esp], ebp
mov dword [esp + 4], ebx
xor bx, bx
mov dword [esp + 0xac], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0xa8], edx
mov dword [esp + 0x18], 0xc
call sym.unk_1360
sub esp, 0x24
mov esi, eax
mov dword [esp + 0x38], eax
movzx eax, dx
mov ebp, esi
or ebx, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], edx
test eax, eax
jne 0x42f524
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x10], ecx
cmp dx, 0xffff
sete dl
test esi, esi
setne al
and al, dl
mov byte [esp + 0x34], al
jne 0x42f530
cmp word [esp + 0x30], 0xffff
sete al
mov ecx, eax
test edi, edi
je 0x42f4ee
test al, al
jne 0x42f510
cmp dl, cl
jne 0x42f4fc
mov eax, dword [esp + 0xe4]
or dword [eax], 2
add esp, 0xbc
mov eax, ebp
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov eax, dword [edi + 8]
cmp eax, dword [edi + 0xc]
jae 0x42f560
movzx eax, word [eax]
cmp ax, 0xffff
sete cl
jmp 0x42f4ee
mov eax, dword [esp + 0xe4]
or dword [eax], 4
jmp 0x42f4c7
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x42f572
movzx eax, word [eax]
movzx ecx, byte [esp + 0x34]
cmp ax, 0xffff
mov edx, 0
mov ebp, 0
cmovne ebp, esi
cmove edx, ecx
jmp 0x42f4db
mov eax, dword [edi]
mov byte [esp + 0x30], dl
mov ecx, edi
call dword [eax + 0x24]
movzx edx, byte [esp + 0x30]
jmp 0x42f51b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
jmp 0x42f53b