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

Disassembly:
sub esp, 0x48
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
push esi
or esi, 0xffffffff
mov dword [esp + 0x38], edx
push edi
or edi, esi
mov dword [esp + 0x40], ebp
or eax, esi
mov dword [esp + 0x34], edx
add ecx, 8
mov dword [esp + 0x30], ebp
mov dword [esp + 0x10], esi
mov ebx, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], ecx
nop dword [eax]
nop word [eax + eax]
add edx, 0xffff0000
mov dword [esp + 0x18], ebx
mov dword [esp + 0x60], edx
adc ebp, 0xffffffff
mov dword [esp + 0x14], ebp
test ebp, ebp
jg 0x42c62e
jl 0x42c60f
test edx, edx
jae 0x42c62e
xorps xmm0, xmm0
mov ebx, ecx
movlpd qword [esp + 0x60], xmm0
mov ebp, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x60], edx
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
test ecx, ecx
je 0x42c82c
cmp dword [ebx], edx
jne 0x42c645
cmp dword [ebx + 4], ebp
je 0x42c67f
mov eax, dword [eax + 0x2c4]
test eax, eax
je 0x42c81c
push 0
push ebp
push edx
push ecx
call eax
add esp, 0x10
cmp eax, 0xffffffff
je 0x42c81c
mov eax, dword [esp + 0x60]
mov dword [ebx], eax
mov eax, dword [esp + 0x5c]
add eax, 0x18
mov dword [ebx + 4], ebp
push eax
call fcn.004ff780
add esp, 4
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
cmp edx, dword [esp + 0x30]
jg 0x42c7a0
jl 0x42c6a0
cmp eax, dword [esp + 0x34]
jae 0x42c7a0
nop word [eax + eax]
mov ecx, dword [esp + 0x3c]
sub ecx, eax
mov eax, dword [esp + 0x40]
sbb eax, edx
push eax
push ecx
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x68]
call fcn.0042c460
mov ebx, eax
add esp, 0x10
mov esi, edx
cmp ebx, 0xffffff80
jne 0x42c6d1
cmp esi, 0xffffffff
je 0x42c81c
test esi, esi
jl 0x42c794
jg 0x42c6e3
test ebx, ebx
jb 0x42c794
lea eax, [esp + 0x48]
push eax
call fcn.004fe730
mov edi, eax
cdq
mov dword [esp + 0x24], eax
mov ebp, edx
lea eax, [esp + 0x4c]
push eax
call fcn.004fe6a0
mov ecx, eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x78]
add esp, 8
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
mov eax, dword [eax]
cdq
cmp dword [esp + 0x20], eax
jne 0x42c73b
cmp ebp, edx
jne 0x42c73b
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ebx, dword [esp + 0x68]
mov eax, ebx
mov edx, dword [esp + 0x6c]
mov ecx, edx
test ebx, ebx
je 0x42c75c
test edx, edx
je 0x42c75c
nop
dec ecx
cmp dword [eax], edi
je 0x42c76b
add eax, 4
test ecx, ecx
jne 0x42c750
or esi, 0xffffffff
or edi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], edi
jmp 0x42c773
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
cmp edx, dword [esp + 0x30]
jl 0x42c6a0
jg 0x42c79c
cmp eax, dword [esp + 0x34]
jb 0x42c6a0
jmp 0x42c79c
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x60]
mov eax, edx
or eax, ebp
jne 0x42c7b5
cmp dword [ebx + 4], eax
jl 0x42c7cb
jg 0x42c7b5
cmp dword [ebx], eax
jb 0x42c7cb
mov eax, dword [esp + 0x28]
and eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
jne 0x42c7db
mov ecx, dword [esp + 0x44]
jmp 0x42c5f0
pop edi
pop esi
pop ebp
mov eax, 0xffffff77
or edx, 0xffffffff
pop ebx
add esp, 0x48
ret
test edi, edi
jl 0x42c7f1
jg 0x42c7e5
test esi, esi
jb 0x42c7f1
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
pop edi
mov dword [ecx], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x34]
pop esi
pop ebp
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
pop ebx
add esp, 0x48
ret
pop edi
pop esi
pop ebp
mov eax, 0xffffff80
or edx, 0xffffffff
pop ebx
add esp, 0x48
ret
pop edi
pop esi
pop ebp
mov eax, 0xffffff7f
or edx, 0xffffffff
pop ebx
add esp, 0x48
ret