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

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
xor esi, esi
push edi
mov ebx, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.004290e0
mov edi, eax
cmp edi, esi
jne 0x42aa6b
mov ebp, dword [ebx + 0x34]
cmp ebp, esi
jne 0x42a812
mov eax, 0x377f0682
lea ecx, [esp + 0x48]
call fcn.0040bfa0
mov eax, 0x2de218
lea ecx, [esp + 0x4c]
call fcn.0040bfa0
mov esi, dword [esp + 0x6c]
mov eax, esi
lea ecx, [esp + 0x50]
call fcn.0040bfa0
mov eax, dword [ebx + 0x58]
lea ecx, [esp + 0x54]
call fcn.0040bfa0
lea edi, [ebx + 0x44]
mov ecx, edi
mov eax, 8
call fcn.004110f0
mov ecx, dword [edi + 4]
mov eax, dword [edi]
lea edx, [esp + 0x28]
mov dword [esp + 0x5c], ecx
push edx
xor ecx, ecx
mov dword [esp + 0x5c], eax
push 1
lea edx, [ecx + 0x18]
lea eax, [esp + 0x50]
call fcn.0040af60
mov edi, dword [esp + 0x30]
mov eax, edi
lea ecx, [esp + 0x68]
call fcn.0040bfa0
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x6c]
call fcn.0040bfa0
push 0
mov dword [ebx + 0x40], eax
push 0
lea eax, [esp + 0x58]
push 0x20
push eax
mov eax, dword [ebx + 8]
mov dword [ebx + 0x18], esi
mov byte [ebx + 0x31], 0
mov dword [ebx + 0x3c], edi
call fcn.0040cad0
mov edi, eax
add esp, 0x18
test edi, edi
je 0x42a816
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
test eax, eax
mov dword [esp + 0x10], eax
je 0x42a8ea
lea eax, [esi + 0x18]
cdq
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
add ebp, 1
push edx
mov dword [esp + 0x2c], ebp
push 0
add ebp, 0xffffffff
push ebp
call fcn.0045e040
mov edi, eax
add edi, 0x20
mov ebp, edx
adc ebp, 0
cmp dword [esp + 0x78], 0
je 0x42a86f
mov eax, dword [esp + 0x10]
cmp dword [eax + 8], 0
jne 0x42a86f
mov ecx, dword [esp + 0x74]
jmp 0x42a871
xor ecx, ecx
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push eax
mov dword [esp + 0x20], eax
mov eax, edx
mov eax, dword [eax + 0xc]
push ecx
lea esi, [esp + 0x38]
call fcn.0040e2e0
mov eax, dword [ebx + 8]
push ebp
push edi
mov ecx, esi
push 0x18
push ecx
call fcn.0040cad0
add esp, 0x18
test eax, eax
jne 0x42aa6b
mov edx, dword [esp + 0x6c]
add edi, 0x18
adc ebp, eax
mov eax, dword [esp + 0x1c]
push ebp
push edi
push edx
push eax
mov eax, dword [ebx + 8]
call fcn.0040cad0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x42aa69
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x42a832
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x7c], 0
je 0x42a9e2
mov ecx, dword [ebx + 8]
call fcn.0040ca20
cdq
mov esi, eax
mov eax, dword [esp + 0x6c]
push 0
add eax, 0x18
mov dword [esp + 0x18], edx
cdq
push ebp
push edx
push eax
call fcn.0045e040
mov ebp, eax
mov eax, dword [esp + 0x14]
mov edi, edx
add ebp, 0x20
adc edi, 0
mov ecx, ebp
add ecx, esi
mov edx, edi
adc edx, eax
push eax
sub ecx, 1
push esi
sbb edx, 0
push edx
push ecx
call fcn.0045e140
mov ecx, dword [esp + 0x14]
push ecx
push esi
push edx
push eax
call fcn.0045e040
cmp edi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jg 0x42a9d0
jl 0x42a95a
cmp ebp, eax
jae 0x42a9d0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
push eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x78]
mov ecx, edx
push eax
mov eax, dword [ecx + 0xc]
lea esi, [esp + 0x38]
call fcn.0040e2e0
mov eax, dword [ebx + 8]
push edi
push ebp
mov edx, esi
push 0x18
push edx
call fcn.0040cad0
add esp, 0x18
test eax, eax
jne 0x42aa6b
mov esi, dword [esp + 0x6c]
add ebp, 0x18
adc edi, eax
mov eax, dword [esp + 0x24]
push edi
push ebp
push esi
push eax
mov eax, dword [ebx + 8]
call fcn.0040cad0
add esp, 0x10
test eax, eax
jne 0x42aa6b
add dword [esp + 0x20], 1
mov eax, esi
cdq
add ebp, eax
adc edi, edx
cmp edi, dword [esp + 0x14]
jl 0x42a95a
jg 0x42a9d0
cmp ebp, dword [esp + 0x10]
jb 0x42a95a
mov edx, dword [esp + 0x7c]
mov eax, dword [ebx + 8]
call fcn.0040caa0
mov edi, eax
mov eax, dword [esp + 0x70]
test eax, eax
mov ebp, dword [ebx + 0x34]
mov esi, eax
je 0x42aa0a
test edi, edi
jne 0x42aa0a
mov ecx, dword [esi + 0xc]
push ecx
add ebp, 1
push ebx
mov eax, ebp
call fcn.0041e980
mov esi, dword [esi + 8]
add esp, 8
test esi, esi
mov edi, eax
jne 0x42a9eb
mov esi, dword [esp + 0x20]
test esi, esi
jle 0x42aa35
test edi, edi
jne 0x42aa69
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0xc]
push eax
add ebp, 1
push ebx
mov eax, ebp
sub esi, 1
call fcn.0041e980
add esp, 8
test esi, esi
mov edi, eax
jg 0x42aa12
test edi, edi
jne 0x42aa69
mov eax, dword [esp + 0x6c]
mov ecx, eax
sar ecx, 0x10
and eax, 0xff00
or ecx, eax
cmp dword [esp + 0x78], edi
mov word [ebx + 0x32], cx
mov dword [ebx + 0x34], ebp
je 0x42aa69
mov edx, dword [esp + 0x74]
add dword [ebx + 0x2c], 1
mov dword [ebx + 0x38], edx
call fcn.00410840
mov dword [ebx + 0xc], ebp
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret