Function at 0x472c9f
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 0x472cc6
call fcn.0047301f
lea ecx, [esi + 0x7d0]
call fcn.00489589
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 0x472cdc
mov eax, dword [esi + 0x78]
cmp eax, dword [edi]
je 0x472d00
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 0x472fb8
mov eax, dword [edi]
mov dword [esi + 0x78], eax
mov edx, dword [esi + 0x7c]
lea ebx, [esi + 0x80]
test edx, edx
je 0x472d14
mov eax, dword [ebx]
cmp eax, dword [esi + 0x18]
je 0x472d3a
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 0x472fb8
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 0x472dec
cmp dword [ebp - 0x18], 0
je 0x472daf
lea ecx, [esi + 0x7d0]
lea edx, [ebp - 8]
call fcn.004896c8
mov edx, eax
xor eax, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], eax
test edx, edx
jne 0x472f49
mov ecx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], ecx
cmp dword [esi + 0x68], edx
jne 0x472dec
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 0x472de6
test eax, eax
je 0x472dec
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 0x472e2d
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 0x472e2d
mov eax, dword [ebp - 0x20]
ja 0x472e1b
cmp edx, eax
jb 0x472e2d
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.0047318e
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 0x472eb6
test ecx, ecx
je 0x472f53
test edx, edx
jne 0x472f53
and dword [ebp - 0x20], edx
cmp ecx, dword [ebp - 0x28]
jae 0x472f59
mov ecx, dword [ebp - 0x30]
cmp dword [esi + 0x3c], 0
je 0x472f40
test edx, edx
jne 0x472f40
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 0x472f11
jb 0x472ef5
cmp dword [ebp - 0x4c], 0x400000
jae 0x472f11
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 0x472f11
cmp dword [ebp - 0x4c], 0x400000
jb 0x472f40
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 0x472fa7
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 0x472fb4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
xor edx, edx
jmp 0x472d7d
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 0x472ecd
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 0x472f9c
mov edx, dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x472ecd
mov ecx, dword [ebp + 8]
push 9
pop eax
mov dword [ecx + 0x38], eax
jmp 0x472fbb
mov eax, dword [ebp + 8]
mov dword [eax + 0x38], 0xa
mov dword [eax + 0x30], edx
mov eax, edx
jmp 0x472fbb
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret 4