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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
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 [esp + 0x50], edi
mov dword [eax + 0xc], edx
call fcn.0043ace0
mov eax, dword [edi + 0xd8]
mov edx, dword [edi + 0xe0]
mov ecx, dword [edi + 0xdc]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0xe4]
mov dword [ebp + 0x10], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x178]
mov dword [ebp + 0x14], eax
lea eax, [esp + 0x98]
mov dword [ebp + 0xc], ecx
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
add dword [ebp + 8], eax
add dword [ebp + 0xc], ecx
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0xa4]
mov ecx, dword [edi + 0x388]
sub dword [ebp + 0x10], edx
sub dword [ebp + 0x14], eax
test ecx, ecx
je 0x472967
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x472967
mov ecx, dword [edi + 0x388]
mov edx, dword [ecx]
mov eax, dword [edx + 0x88]
call eax
sub dword [ebp + 0x10], eax
mov ecx, dword [edi + 0x38c]
test ecx, ecx
je 0x472992
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x472992
mov ecx, dword [edi + 0x38c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x90]
call eax
sub dword [ebp + 0x14], eax
cmp dword [edi + 0x358], 0
jne 0x4729a4
push 0
push 0
jmp 0x47314b
mov eax, dword [edi]
mov edx, dword [eax + 0x180]
mov ecx, edi
call edx
mov esi, dword [ebp + 0x14]
sub esi, dword [ebp + 0xc]
mov ecx, dword [edi + 0x388]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], eax
test ecx, ecx
je 0x4729f0
mov eax, dword [ecx]
mov edx, dword [eax + 0x100]
call edx
test al, al
je 0x4729f0
mov eax, dword [edi + 0x388]
add esi, dword [eax + 0x358]
mov dword [esp + 0x48], esi
xor ebx, ebx
cmp dword [edi + 0x358], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
jle 0x472bf5
mov ecx, dword [edi + 0x354]
mov esi, dword [ecx + ebx*4]
mov edx, dword [esi]
mov eax, dword [edx + 0x100]
mov ecx, esi
call eax
test al, al
je 0x472be4
mov edx, dword [esi]
mov eax, dword [edx + 0x12c]
mov ecx, esi
call eax
test al, al
jne 0x472be4
mov ecx, dword [esp + 0x44]
mov edx, dword [esi]
mov ebx, dword [esp + 0x48]
mov edx, dword [edx + 0x74]
lea eax, [esp + 0x74]
mov dword [esp + 0x2c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x34], ebx
call edx
sub ebx, dword [esp + 0x80]
mov eax, dword [esi]
mov edx, dword [eax + 0x88]
sub ebx, dword [esp + 0x78]
mov ecx, esi
call edx
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x90]
mov ecx, esi
call edx
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x28], eax
jg 0x472aa3
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
mov ecx, esi
call edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
test eax, eax
jg 0x472abb
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x2c], ecx
jle 0x472ac9
mov dword [esp + 0x2c], ecx
cmp ebx, eax
jle 0x472acf
mov ebx, eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi]
mov eax, dword [eax + 0x14c]
push ebx
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call eax
cmp dword [esp + 0x10], 0
jne 0x472af3
inc dword [esp + 0x38]
jmp 0x472b37
mov edx, dword [esi]
mov eax, dword [edx + 0x98]
mov ecx, esi
call eax
cmp dword [esp + 0x10], eax
jge 0x472b15
mov edx, dword [esi]
mov eax, dword [edx + 0x98]
mov ecx, esi
call eax
mov dword [esp + 0x10], eax
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
mov ecx, esi
call eax
cmp dword [esp + 0x10], eax
jle 0x472b37
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
mov ecx, esi
call eax
mov dword [esp + 0x10], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x74]
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call edx
lea ebx, [eax + 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x74]
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call edx
mov ecx, dword [ebx]
add ecx, dword [eax]
mov eax, dword [esp + 0x14]
add ecx, dword [esp + 0x10]
xor edx, edx
add dword [esp + 0x18], ecx
test eax, eax
setle dl
mov ecx, esi
dec edx
and edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esi]
mov edx, dword [eax + 0xa8]
call edx
cmp dword [esp + 0x14], eax
jge 0x472b9c
mov eax, dword [esi]
mov edx, dword [eax + 0xa8]
mov ecx, esi
call edx
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x472bc2
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
add ecx, eax
lea eax, [ecx + edx]
cmp dword [esp + 0x5c], eax
jg 0x472bdc
mov dword [esp + 0x5c], eax
inc dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
inc ebx
cmp ebx, dword [edi + 0x358]
mov dword [esp + 0x34], ebx
jl 0x472a12
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
dec eax
imul eax, dword [esp + 0x40]
add dword [esp + 0x18], eax
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x84], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x70], esi
jle 0x472c35
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x18]
cdq
idiv ecx
xor ecx, ecx
cmp eax, esi
setl cl
dec ecx
and ecx, eax
mov dword [esp + 0x70], ecx
mov ecx, dword [edi + 0x38c]
mov esi, dword [esp + 0x44]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x68], esi
mov dword [esp + 0x20], ebx
test ecx, ecx
je 0x472c6a
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x472c6a
mov ecx, dword [edi + 0x38c]
sub ebx, dword [ecx + 0x360]
jmp 0x472c9c
cmp dword [esp + 0x38], 0
jg 0x472ca0
mov edx, dword [edi]
mov eax, dword [edx + 0x188]
mov ecx, edi
call eax
cmp eax, 1
jne 0x472c91
mov eax, esi
sub eax, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
add ebx, eax
jmp 0x472c9c
cmp eax, 2
jne 0x472ca0
sub esi, dword [esp + 0x18]
add ebx, esi
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp dword [edi + 0x358], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
jle 0x473138
mov edx, dword [edi + 0x354]
mov eax, dword [esp + 0x24]
mov esi, dword [edx + eax*4]
mov edx, dword [esi]
mov eax, dword [edx + 0x100]
mov ecx, esi
call eax
test al, al
je 0x473123
mov edx, dword [esi]
mov eax, dword [edx + 0x12c]
mov ecx, esi
call eax
test al, al
je 0x472d09
mov edx, dword [edi]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + 0x204]
push eax
mov ecx, edi
call edx
jmp 0x473123
mov eax, dword [esi]
mov edx, dword [eax + 0x74]
inc dword [esp + 0x60]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x4c]
mov ecx, esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], eax
sub eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x88]
call edx
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x90]
mov ecx, esi
call edx
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x28], eax
jg 0x472d76
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
mov ecx, esi
call edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
test eax, eax
jg 0x472d8e
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x2c], ecx
jle 0x472d9c
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x30], eax
jle 0x472da6
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
add ecx, eax
sub dword [esp + 0x18], ecx
cmp dword [esp + 0x60], 1
jle 0x472dc3
mov edx, dword [esp + 0x40]
sub dword [esp + 0x18], edx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esi]
push ecx
push edx
mov edx, dword [eax + 0x14c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
cmp dword [esp + 0x10], 0
jne 0x472e5d
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
inc eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x10], ecx
cmp eax, dword [esp + 0x38]
jne 0x472e17
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x54]
mov edx, 0
sub eax, dword [esp + 0x18]
sets dl
dec edx
and edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esi]
mov edx, dword [eax + 0x98]
mov ecx, esi
call edx
cmp dword [esp + 0x10], eax
jge 0x472e39
mov eax, dword [esi]
mov edx, dword [eax + 0x98]
mov ecx, esi
call edx
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
mov ecx, esi
call edx
cmp dword [esp + 0x10], eax
jle 0x472ea9
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
mov ecx, esi
call edx
mov dword [esp + 0x10], eax
jmp 0x472ea9
mov eax, dword [esi]
mov edx, dword [eax + 0x98]
mov ecx, esi
call edx
cmp dword [esp + 0x10], eax
jge 0x472e7f
mov eax, dword [esi]
mov edx, dword [eax + 0x98]
mov ecx, esi
call edx
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jle 0x472ea5
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
mov ecx, esi
call edx
mov ecx, eax
mov dword [esp + 0x10], ecx
sub dword [esp + 0x18], ecx
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov dword [esp + 0x14], eax
test eax, eax
jne 0x472ecf
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
mov dword [esp + 0x14], eax
test eax, eax
jge 0x472ed7
xor eax, eax
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jle 0x472ee3
mov dword [esp + 0x14], ecx
mov eax, dword [esi]
mov edx, dword [eax + 0xa8]
mov ecx, esi
call edx
cmp dword [esp + 0x14], eax
jge 0x472f05
mov eax, dword [esi]
mov edx, dword [eax + 0xa8]
mov ecx, esi
call edx
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x190]
mov ecx, edi
call edx
cmp eax, 4
jne 0x472fcd
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
add eax, ecx
mov ecx, dword [edi + 0x388]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x472f5e
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x472f5e
mov edi, dword [edi + 0x388]
mov eax, dword [edi + 0x358]
cdq
sub eax, edx
sar eax, 1
sub eax, dword [edi + 0x360]
add dword [esp + 0x20], eax
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
lea ecx, [edi + ebx]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x20]
sub ecx, eax
lea eax, [edx + edi]
mov edi, dword [esp + 0x88]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
add eax, ebx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x14]
add eax, ecx
push 0
mov dword [esp + 0x98], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
jmp 0x4730f4
cmp eax, 8
jne 0x473071
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x388]
mov edi, dword [ebp + 0x14]
test ecx, ecx
je 0x47300d
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x47300d
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x388]
mov edx, dword [eax + 0x358]
sub edx, dword [eax + 0x360]
add edi, edx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x10]
lea eax, [ecx + ebx]
mov dword [esp + 0x74], eax
add ecx, edx
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
mov eax, edi
sub eax, dword [esp + 0x14]
sub edi, dword [esp + 0x58]
sub eax, dword [esp + 0x58]
add ecx, ebx
push 0
mov dword [esp + 0x80], ecx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x94], edi
mov edi, dword [esp + 0x88]
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x90]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x94]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
jmp 0x4730f4
mov ecx, dword [edi + 0x388]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x4730a0
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x4730a0
mov ecx, dword [edi + 0x388]
mov edx, dword [ecx + 0x360]
sub dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [esp + 0x10]
lea edi, [eax + ebx]
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0x14]
add ecx, eax
mov eax, dword [esp + 0x1c]
push 0
add edx, eax
add edx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0xc0]
add ecx, ebx
mov ebx, dword [esi]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov edx, dword [ebx + 0x5c]
mov ecx, esi
call edx
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x3c]
lea eax, [ecx + edx]
add eax, esi
mov esi, dword [esp + 0x40]
add dword [esp + 0x34], eax
add ecx, edx
add ecx, dword [esp + 0x40]
add esi, eax
add ebx, esi
sub dword [esp + 0x68], ecx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [edi + 0x358]
mov dword [esp + 0x24], eax
jl 0x472cc2
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x88]
add ecx, eax
push ecx
mov ecx, dword [ebp + 8]
mov edx, dword [edi]
mov edx, dword [edx + 0x208]
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