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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x54772d
sub esp, 0xa0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xa8]
cmp edx, ecx
jg 0x54763a
xor ecx, ecx
jmp 0x547342
mov ebx, dword [esp + 0x28]
lea ecx, [ebx + 1]
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
cmp ecx, edx
jge 0x547502
mov ebx, dword [eax + 4]
mov ebp, dword [eax]
cmp ecx, ebx
jae 0x547633
mov dword [esp + 0x28], ecx
lea edx, [ecx + ecx*4]
lea esi, [ebp + edx*4]
lea edi, [esp + 0x8c]
call fcn.0044c2ce
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x28]
add ecx, edx
mov dword [esp + 0x3c], ecx
add ecx, 1
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 0x14]
mov dword [esp + 4], eax
lea eax, [0x5c0260]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
call fcn.004095d0
mov eax, dword [esp + 0x28]
mov ecx, eax
sar eax, 0x1f
mov edx, dword [esp + 0x40]
add edx, ecx
mov edx, dword [esp + 0x38]
adc edx, eax
mov eax, dword [esp + 0x3c]
add eax, 1
adc edx, 0
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
cmp ebx, edx
sete bl
mov ebp, dword [esp + 0x30]
cmp eax, ebp
sete al
and eax, ebx
test al, al
jne 0x5474cb
mov eax, dword [esp + 0x90]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], edx
mov ebp, dword [esp + 0xa4]
mov esi, dword [ebp + 0x18]
mov dword [esp + 4], esi
lea esi, [0x5c03e0]
mov dword [esp], esi
lea edi, [esp + 0x6c]
mov dword [esp + 8], edi
call fcn.00406a00
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov edx, dword [esp + 0x34]
cmp ecx, edx
sete cl
mov edx, dword [esp + 0x30]
cmp eax, edx
sete al
and eax, ecx
test al, al
jne 0x547482
jmp 0x54732d
mov eax, dword [esp + 0x50]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x18]
mov dword [esp + 4], ecx
lea ecx, [0x5c03e0]
mov dword [esp], ecx
lea edx, [esp + 0x5c]
mov dword [esp + 8], edx
call fcn.00407570
jmp 0x54732d
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x14]
mov dword [esp + 4], ecx
lea ecx, [0x5c0260]
mov dword [esp], ecx
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x8c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.0040ade0
jmp 0x5473fc
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov ebp, dword [eax]
cmp edx, ebx
ja 0x54762c
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea eax, [0x5e12a0]
mov dword [esp], eax
sub ecx, edx
lea eax, [edx + edx*4]
shl eax, 2
mov esi, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
add eax, ebp
mov dword [esp + 0x10], eax
sub ebx, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
call fcn.0040efb0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xa8]
sub ecx, edx
jmp 0x54756b
mov ebp, dword [esp + 0x2c]
lea ecx, [ebp + 1]
mov eax, ebx
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov esi, dword [eax + 8]
cmp ecx, ebp
jge 0x5475c0
jae 0x547625
mov dword [esp + 0x2c], ecx
lea ebp, [ecx + ecx*4]
lea edi, [ebx + ebp*4]
mov ebx, dword [0x728500]
test ebx, ebx
jne 0x54759c
mov ebx, eax
xor eax, eax
call fcn.0044bdeb
jmp 0x547562
lea eax, [0x5e12a0]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.0040f1a0
xor eax, eax
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
jmp 0x547562
sub ebp, edx
cmp ebp, esi
ja 0x54761e
mov dword [eax + 4], ebp
mov ecx, dword [eax + 0xc]
mov ebx, ecx
add ecx, edx
mov ebp, dword [eax + 0x10]
mov esi, edx
sar edx, 0x1f
add esi, ebx
adc edx, ebp
cmp edx, ebp
xchg esi, ebx
sete bl
xchg esi, ebx
cmp ecx, ebx
setb bl
and esi, ebx
cmp edx, ebp
setb bl
or ebx, esi
test bl, bl
jne 0x547604
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
add esp, 0xa0
ret
lea eax, [0x5be160]
mov dword [esp], eax
lea eax, [0x6256d0]
mov dword [esp + 4], eax
call fcn.00426730
ud2
call fcn.00425960
ud2
call fcn.00425900
ud2
call fcn.00425960
ud2
call fcn.00425900
ud2
mov dword [esp + 0x48], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [0x5bda20]
mov dword [esp], eax
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.0040bc00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea eax, [0x5bda20]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call fcn.0040bc00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
lea eax, [0x600f9a]
mov dword [esp], eax
mov dword [esp + 4], 0x28
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.0049d370
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
lea eax, [0x5be160]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call fcn.0040bcf0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00426730
ud2
call fcn.0044a1d0
jmp fcn.005472f0