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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
sub esp, 0x94
push ebx
push esi
push edi
push eax
mov edi, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [eax + 0xc], edx
call fcn.0044c3a0
mov ecx, dword [edi + 0x17c]
sub ecx, dword [edi + 0x670]
mov esi, dword [edi + 0x174]
mov edx, dword [edi + 0x178]
mov eax, dword [edi + 0x180]
add esi, dword [edi + 0x668]
add edx, dword [edi + 0x66c]
sub eax, dword [edi + 0x674]
mov dword [ebp + 0x10], ecx
mov ecx, dword [edi + 0x688]
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x14], eax
test ecx, ecx
je 0x4725dc
mov eax, dword [ecx]
mov edx, dword [eax + 0xdc]
call edx
test al, al
je 0x4725dc
mov ecx, dword [edi + 0x688]
mov eax, dword [ecx]
mov edx, dword [eax + 0x7c]
call edx
sub dword [ebp + 0x10], eax
mov ecx, dword [edi + 0x68c]
test ecx, ecx
je 0x472607
mov eax, dword [ecx]
mov edx, dword [eax + 0xdc]
call edx
test al, al
je 0x472607
mov ecx, dword [edi + 0x68c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x84]
call edx
sub dword [ebp + 0x14], eax
cmp dword [edi + 0x660], 0
jne 0x472619
push 0
push 0
jmp 0x472dd6
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
sub ebx, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
mov ecx, dword [edi + 0x68c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], esi
test ecx, ecx
je 0x472655
mov eax, dword [ecx]
mov edx, dword [eax + 0xdc]
call edx
test al, al
je 0x472655
mov eax, dword [edi + 0x68c]
add ebx, dword [eax + 0x65c]
mov dword [esp + 0x50], ebx
mov ecx, dword [edi + 0x688]
test ecx, ecx
je 0x47267d
mov edx, dword [ecx]
mov eax, dword [edx + 0xdc]
call eax
test al, al
je 0x47267d
mov ecx, dword [edi + 0x688]
add esi, dword [ecx + 0x65c]
mov dword [esp + 0x54], esi
xor ebx, ebx
cmp dword [edi + 0x660], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], ebx
jle 0x47289d
nop
mov edx, dword [edi + 0x65c]
mov esi, dword [edx + ebx*4]
mov eax, dword [esi]
mov edx, dword [eax + 0xdc]
mov ecx, esi
call edx
test al, al
je 0x47288c
mov eax, dword [esi]
mov edx, dword [eax + 0x108]
mov ecx, esi
call edx
test al, al
jne 0x47288c
mov eax, dword [esp + 0x50]
mov edx, dword [esi]
mov ebx, dword [esp + 0x54]
mov edx, dword [edx + 0x64]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
mov dword [esp + 0x34], ebx
call edx
sub ebx, dword [esp + 0x78]
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
sub ebx, dword [esp + 0x70]
mov ecx, esi
call edx
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x84]
mov ecx, esi
call edx
cmp dword [esp + 0x10], 0
mov dword [esp + 0x24], eax
jg 0x47272b
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
mov ecx, esi
call edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
test eax, eax
jg 0x472743
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
mov ecx, esi
call edx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x2c], ecx
jle 0x472751
mov dword [esp + 0x2c], ecx
cmp ebx, eax
jle 0x472757
mov ebx, eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
mov ecx, esi
call edx
test eax, eax
mov eax, dword [esi]
jne 0x472782
mov edx, dword [eax + 0x84]
inc dword [esp + 0x38]
mov ecx, esi
call edx
mov ebx, eax
jmp 0x4727ee
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + 0x134]
push ebx
push ecx
lea edx, [esp + 0x68]
push edx
mov ecx, esi
call eax
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x4727aa
inc dword [esp + 0x38]
jmp 0x4727ee
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
mov ecx, esi
call eax
cmp dword [esp + 0x14], eax
jge 0x4727cc
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
mov ecx, esi
call eax
mov dword [esp + 0x14], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x94]
mov ecx, esi
call eax
cmp dword [esp + 0x14], eax
jle 0x4727ee
mov edx, dword [esi]
mov eax, dword [edx + 0x94]
mov ecx, esi
call eax
mov dword [esp + 0x14], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x64]
lea eax, [esp + 0x90]
push eax
mov ecx, esi
call edx
add eax, 8
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
add edx, dword [eax]
xor eax, eax
add edx, dword [esp + 0x14]
mov ecx, esi
add dword [esp + 0x1c], edx
mov edx, dword [esi]
test ebx, ebx
setle al
dec eax
and ebx, eax
mov eax, dword [edx + 0x9c]
call eax
cmp ebx, eax
jge 0x47284f
mov edx, dword [esi]
mov eax, dword [edx + 0x9c]
mov ecx, esi
call eax
mov ebx, eax
mov edx, dword [esi]
mov eax, dword [edx + 0xa4]
mov ecx, esi
call eax
cmp ebx, eax
jle 0x47286d
mov edx, dword [esi]
mov eax, dword [edx + 0xa4]
mov ecx, esi
call eax
mov ebx, eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
add ebx, ecx
lea eax, [ebx + edx]
cmp dword [esp + 0x58], eax
jg 0x472884
mov dword [esp + 0x58], eax
inc dword [esp + 0x20]
mov ebx, dword [esp + 0x34]
inc ebx
cmp ebx, dword [edi + 0x660]
mov dword [esp + 0x34], ebx
jl 0x4726a0
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x678]
dec eax
imul ecx, eax
add dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], esi
jle 0x4728de
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x1c]
cdq
idiv ecx
xor edx, edx
cmp eax, esi
setl dl
dec edx
and edx, eax
mov dword [esp + 0x3c], edx
mov ecx, dword [edi + 0x68c]
mov eax, dword [esp + 0x50]
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x28], ebx
cmp ecx, esi
je 0x472917
mov edx, dword [ecx]
mov eax, dword [edx + 0xdc]
call eax
test al, al
je 0x472917
mov ecx, dword [edi + 0x68c]
sub ebx, dword [ecx + 0x660]
mov dword [esp + 0x28], ebx
cmp dword [edi + 0x660], esi
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
jle 0x472dc1
jmp 0x472940
mov eax, dword [edi + 0x65c]
mov ecx, dword [esp + 0x20]
mov esi, dword [eax + ecx*4]
mov edx, dword [esi]
mov eax, dword [edx + 0xdc]
mov ecx, esi
call eax
test al, al
je 0x472dac
mov edx, dword [esi]
mov eax, dword [edx + 0x108]
mov ecx, esi
call eax
test al, al
je 0x472987
mov edx, dword [edi]
mov eax, dword [esp + 0x20]
mov edx, dword [edx + 0x1dc]
push eax
mov ecx, edi
call edx
jmp 0x472dac
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
inc dword [esp + 0x5c]
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
mov ecx, esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x30], eax
sub eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
call edx
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x84]
mov ecx, esi
call edx
cmp dword [esp + 0x10], 0
mov dword [esp + 0x24], eax
jg 0x4729f1
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
mov ecx, esi
call edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
test eax, eax
jg 0x472a09
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
mov ecx, esi
call edx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x2c], ecx
jle 0x472a17
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x30], eax
jle 0x472a21
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
add ecx, eax
sub dword [esp + 0x1c], ecx
cmp dword [esp + 0x5c], 1
jle 0x472a40
mov edx, dword [edi + 0x678]
sub dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esi]
push ecx
push edx
mov edx, dword [eax + 0x134]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
mov ecx, esi
call edx
test eax, eax
je 0x472abd
cmp dword [esp + 0x14], 0
je 0x472abd
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
cmp dword [esp + 0x14], eax
jge 0x472a91
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x472ab7
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
mov ecx, esi
call edx
mov ecx, eax
mov dword [esp + 0x14], ecx
sub dword [esp + 0x1c], ecx
jmp 0x472b33
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x38]
jne 0x472aef
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x48]
mov edx, 0
sub eax, dword [esp + 0x1c]
sets dl
dec edx
and edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
cmp dword [esp + 0x14], eax
jge 0x472b11
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
mov ecx, esi
call edx
cmp dword [esp + 0x14], eax
jle 0x472b33
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
mov ecx, esi
call edx
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
mov ecx, esi
call edx
mov dword [esp + 0x18], eax
test eax, eax
jne 0x472b59
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
test eax, eax
jge 0x472b61
xor eax, eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jle 0x472b6d
mov dword [esp + 0x18], ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x9c]
mov ecx, esi
call edx
cmp dword [esp + 0x18], eax
jge 0x472b8f
mov eax, dword [esi]
mov edx, dword [eax + 0x9c]
mov ecx, esi
call edx
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x170]
mov ecx, edi
call edx
cmp eax, 4
jne 0x472c4e
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
add eax, ecx
mov ecx, dword [edi + 0x688]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x472be8
mov edx, dword [ecx]
mov eax, dword [edx + 0xdc]
call eax
test al, al
je 0x472be8
mov ecx, dword [edi + 0x688]
mov eax, dword [ecx + 0x65c]
cdq
sub eax, edx
sar eax, 1
sub eax, dword [ecx + 0x660]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
add ecx, ebx
sar eax, 1
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov eax, dword [esp + 0x40]
add eax, edx
mov edx, dword [esp + 0x18]
add eax, ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x88], eax
lea eax, [ecx + edx]
push 0
mov dword [esp + 0x90], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x9c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xa0]
jmp 0x472d65
mov ecx, dword [edi + 0x688]
cmp eax, 8
jne 0x472cea
mov ebx, dword [ebp + 0x14]
test ecx, ecx
je 0x472c86
mov eax, dword [ecx]
mov edx, dword [eax + 0xdc]
call edx
test al, al
je 0x472c86
mov eax, dword [edi + 0x688]
mov ecx, dword [eax + 0x65c]
sub ecx, dword [eax + 0x660]
add ebx, ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
lea eax, [ecx + edx]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x90], eax
mov eax, ebx
sub eax, dword [esp + 0x18]
sub ebx, dword [esp + 0x4c]
sub eax, dword [esp + 0x4c]
add ecx, edx
add ecx, dword [esp + 0x28]
push 0
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ebx
mov ebx, dword [esp + 0x94]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xac]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [ecx + 0xc], eax
jmp 0x472d68
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x472d13
mov edx, dword [ecx]
mov eax, dword [edx + 0xdc]
call eax
test al, al
je 0x472d13
mov ecx, dword [edi + 0x688]
mov edx, dword [ecx + 0x660]
sub dword [esp + 0x10], edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
lea eax, [ecx + ebx]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x10]
add eax, edx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x14]
add ecx, eax
mov eax, dword [esp + 0x18]
add ecx, ebx
mov ebx, dword [esp + 0x10]
add eax, ebx
mov ebx, dword [esp + 0x6c]
add eax, edx
push 0
mov dword [esp + 0x7c], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x84]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0xc], ecx
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
mov eax, dword [edi + 0x678]
mov ebx, dword [esp + 0x28]
lea esi, [ecx + edx]
mov edx, dword [esp + 0x40]
add esi, edx
add esi, eax
add ebx, esi
mov esi, dword [esp + 0x48]
add esi, ecx
add esi, edx
mov edx, dword [esp + 0x48]
add dword [esp + 0x34], esi
add ecx, edx
add ecx, eax
sub dword [esp + 0x60], ecx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [edi + 0x660]
mov dword [esp + 0x20], eax
jl 0x472940
mov ecx, dword [edi + 0x678]
imul ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x58]
add ecx, dword [esp + 0x34]
push eax
push ecx
mov ecx, dword [ebp + 8]
mov edx, dword [edi]
mov edx, dword [edx + 0x1e0]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14