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

Disassembly:
sub esp, 0x7c
mov eax, dword [esp + 0x84]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
push eax
call fcn.00432740
mov ecx, dword [esp + 0x9c]
and ecx, 0xffff
mov edi, dword [eax + ecx*4]
push edi
mov dword [esp + 0x20], edi
call fcn.00432740
mov si, word [eax]
push edi
call fcn.004209f0
add esp, 0xc
test eax, eax
je 0x42fa26
and esi, 0xffff
mov ebx, dword [esp + 0x90]
mov eax, esi
mov si, word [esp + 0xa4]
lea edx, [eax*8]
sub edx, eax
lea ecx, [eax + edx*4]
lea edx, [eax + ecx*2]
lea ebp, [eax + edx*2]
mov eax, dword [0x6559e0]
shl ebp, 1
mov eax, dword [eax + ebp + 0xaa]
test eax, eax
je 0x42f871
xor ecx, ecx
test si, si
sete cl
push ecx
push edi
push ebx
call eax
add esp, 0xc
cmp si, 1
jne 0x42f8ad
mov edx, dword [esp + 0x14]
mov ebx, 4
lea esi, [edx + 0xfc]
mov edi, 4
mov eax, dword [esp + 0x98]
mov ecx, esi
push eax
call fcn.0043a780
add esi, 6
dec edi
jne 0x42f88b
dec ebx
jne 0x42f886
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x18
mov edx, dword [0x6559e0]
lea ecx, [esp + 0x50]
push ecx
push edi
push ebx
call dword [edx + ebp + 0x7e]
add esp, 0xc
mov dword [esp + 0x1c], eax
test ax, ax
mov dword [esp + 0x10], 0
jbe 0x42fa26
mov eax, dword [esp + 0x14]
add eax, 0xf0
mov dword [esp + 0x14], eax
jmp 0x42f8e9
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x40]
push 1
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [0x6559e0]
push edx
push eax
push edi
push ebx
call dword [ecx + ebp + 0x82]
add esp, 0x18
lea edx, [esp + 0x40]
lea eax, [esp + 0x30]
mov ecx, ebx
push edx
push eax
call fcn.00429cd0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add edx, ecx
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x34]
add esi, ecx
add eax, edx
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x20]
add edi, eax
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0xa0]
push edi
push esi
push edx
call fcn.0042fa30
add esp, 0xc
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x28]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x28]
call fcn.0043aa20
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
mov dword [ebx + 4], esi
cmp eax, ecx
mov dword [ebx + 8], edi
mov edx, eax
jg 0x42f9ee
mov esi, dword [esp + 0x80]
lea eax, [esp + eax*2 + 0x84]
mov ecx, dword [esp + 0x78]
mov edi, ecx
cmp edi, esi
jg 0x42f9e2
mov esi, 1
shl esi, cl
or word [eax], si
mov esi, dword [esp + 0x80]
inc ecx
cmp ecx, esi
jle 0x42f9cc
mov ecx, dword [esp + 0x7c]
inc edx
add eax, 2
cmp edx, ecx
jle 0x42f9c2
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x8c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xb8]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.0043aae0
mov eax, dword [esp + 0x10]
inc eax
cmp ax, word [esp + 0x1c]
mov dword [esp + 0x10], eax
jb 0x42f8e5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x18