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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov eax, edx
mov dword [ebp - 0x18], edx
mov esi, ecx
push edi
test eax, eax
je 0x4724b2
call fcn.0047280b
lea ecx, [esi + 0x7d0]
call fcn.00488d77
mov dword [ebp - 0x18], eax
mov edx, dword [esi + 0x74]
lea edi, [esi + 0x1c]
xor ebx, ebx
mov dword [ebp - 0x44], ebx
test edx, edx
je 0x4724c8
mov eax, dword [esi + 0x78]
cmp eax, dword [edi]
je 0x4724ec
mov eax, dword [esi + 0x14]
mov ecx, eax
call dword [eax + 4]
mov eax, dword [esi + 0x14]
mov ecx, eax
mov edx, dword [edi]
mov dword [esi + 0x78], ebx
call dword [eax]
mov dword [esi + 0x74], eax
test eax, eax
je 0x4727a4
mov eax, dword [edi]
mov dword [esi + 0x78], eax
mov edx, dword [esi + 0x7c]
lea ebx, [esi + 0x80]
test edx, edx
je 0x472500
mov eax, dword [ebx]
cmp eax, dword [esi + 0x18]
je 0x472526
mov eax, dword [esi + 0x14]
mov ecx, eax
call dword [eax + 4]
mov edx, dword [esi + 0x18]
xor eax, eax
mov dword [ebx], eax
mov eax, dword [esi + 0x14]
mov ecx, eax
call dword [eax]
mov dword [esi + 0x7c], eax
test eax, eax
je 0x4727a4
mov eax, dword [esi + 0x18]
mov dword [ebx], eax
xor edx, edx
mov dword [ebp - 0x24], 1
mov dword [esi + 0x348], edx
mov ecx, edx
mov dword [esi + 0x350], edx
mov dword [esi + 0x354], edx
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
mov eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], edx
cmp eax, ecx
jne 0x4725d8
cmp dword [ebp - 0x18], 0
je 0x47259b
lea ecx, [esi + 0x7d0]
lea edx, [ebp - 8]
call fcn.00488eb6
mov edx, eax
xor eax, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], eax
test edx, edx
jne 0x472735
mov ecx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], ecx
cmp dword [esi + 0x68], edx
jne 0x4725d8
mov eax, dword [ebx]
mov ecx, dword [esi + 0x7c]
mov dword [ebp - 0xc], edx
lea edx, [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x34]
push edx
mov dword [ebp - 0x1c], ecx
mov edx, ecx
mov ecx, eax
call dword [eax]
mov ecx, dword [ebp - 8]
add dword [esi + 0x60], ecx
push 0
pop edx
adc dword [esi + 0x64], edx
mov dword [esi + 0x6c], eax
test ecx, ecx
je 0x4725d2
test eax, eax
je 0x4725d8
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x68], eax
mov edx, dword [edi]
xor eax, eax
sub edx, dword [ebp - 4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x10], eax
cmp dword [esi + 0x44], eax
je 0x472619
mov eax, dword [esi + 0x48]
sub eax, dword [esi + 0x50]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x4c]
sbb eax, dword [esi + 0x54]
cmp dword [ebp - 0x44], eax
jb 0x472619
mov eax, dword [ebp - 0x20]
ja 0x472607
cmp edx, eax
jb 0x472619
mov edx, eax
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x40], eax
mov dword [ebp - 0x28], edx
cmovne eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, ecx
mov dword [ebp - 0x14], edx
sub eax, dword [ebp - 0xc]
mov edx, dword [esi + 0x74]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x10]
xor eax, eax
cmp dword [ebp - 0xc], ecx
lea ecx, [esi + 0x88]
sete al
add edx, dword [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0047297a
mov ecx, dword [ebp - 0x48]
mov edx, eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 4], eax
mov dword [esi + 0x780], ecx
mov ecx, dword [ebp - 0x20]
add dword [ebp - 0xc], ecx
add dword [esi + 0x58], ecx
push 0
pop ecx
adc dword [esi + 0x5c], ecx
add eax, dword [esi + 0x50]
mov dword [ebp - 0x30], eax
adc ecx, dword [esi + 0x54]
cmp dword [ebp - 0x20], 0
mov dword [esi + 0x50], eax
mov eax, ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], edx
mov dword [esi + 0x784], edx
mov dword [esi + 0x54], eax
jne 0x4726a2
test ecx, ecx
je 0x47273f
test edx, edx
jne 0x47273f
and dword [ebp - 0x20], edx
cmp ecx, dword [ebp - 0x28]
jae 0x472745
mov ecx, dword [ebp - 0x30]
cmp dword [esi + 0x3c], 0
je 0x47272c
test edx, edx
jne 0x47272c
mov eax, dword [esi + 0x58]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x5c]
sbb eax, dword [ebp - 0x38]
test eax, eax
ja 0x4726fd
jb 0x4726e1
cmp dword [ebp - 0x4c], 0x400000
jae 0x4726fd
mov eax, ecx
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x10]
sbb eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
jne 0x4726fd
cmp dword [ebp - 0x4c], 0x400000
jb 0x47272c
push dword [ebp - 0x10]
mov eax, dword [esi + 0x3c]
push ecx
push dword [esi + 0x5c]
mov ecx, eax
push dword [esi + 0x58]
call dword [eax]
mov edx, eax
test edx, edx
jne 0x472793
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x20], 0
jne 0x4727a0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
xor edx, edx
jmp 0x472569
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
je 0x4726b9
mov eax, dword [esi + 0x38]
mov ecx, eax
push dword [ebp - 4]
mov edx, dword [esi + 0x74]
call dword [eax]
mov ecx, eax
add ecx, dword [esi + 0x50]
push 0
pop edx
adc edx, dword [esi + 0x54]
mov dword [ebp - 0x10], edx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], edx
cmp eax, dword [ebp - 4]
jne 0x472788
mov edx, dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4726b9
mov ecx, dword [ebp + 8]
push 9
pop eax
mov dword [ecx + 0x38], eax
jmp 0x4727a7
mov eax, dword [ebp + 8]
mov dword [eax + 0x38], 0xa
mov dword [eax + 0x30], edx
mov eax, edx
jmp 0x4727a7
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret 4