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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0xd8]
cmp eax, 4
je 0x574d1a
push ebx
mov ebx, dword [ebp + 8]
push edi
cmp eax, 5
je 0x574d18
cmp eax, 2
jne 0x574ab4
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0x54]
sub edx, eax
mov dword [ebp - 0x10], eax
mov ebx, edx
mov eax, dword [esi + 0x74]
sbb eax, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [esi + 0xa8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
test eax, eax
jb 0x574849
ja 0x574840
cmp ebx, ecx
jbe 0x574849
mov ebx, ecx
mov dword [ebp - 4], 0
cmp dword [esi + 0xdc], 1
jne 0x5748c6
mov edi, dword [esi + 0x8c]
test edi, edi
jne 0x57489e
cmp dword [ebp - 0x18], 0
mov eax, dword [esi + 0x9c]
mov edi, dword [esi + 0x88]
mov dword [esi + 0x98], eax
jb 0x57487a
ja 0x574898
cmp edx, edi
ja 0x574898
mov edi, edx
mov dword [ebp - 4], 0
xor edx, edx
mov ebx, edi
lea eax, [edi - 1]
div ecx
imul ecx, eax
sub ebx, ecx
inc eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x8c], edi
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [esi + 0x94]
push dword [esi + 0x90]
call fcn.0058c440
add eax, dword [esi + 0x78]
adc edx, dword [esi + 0x7c]
sub eax, edi
sbb edx, 0
dec dword [esi + 0x98]
jmp 0x5748cc
mov eax, dword [esi + 0x78]
mov edx, dword [esi + 0x7c]
mov edi, dword [esi + 0x98]
mov ecx, eax
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
add dword [ebp - 0x14], ecx
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
adc ecx, edx
mov dword [ebp - 0x18], edx
add dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
adc dword [ebp - 8], edx
mov ecx, dword [esi + 0xa4]
imul ecx, edi
add ecx, dword [esi + 0xa0]
cmp dword [esi + 0xdc], 0
mov dword [esi + 0xac], ecx
jne 0x574918
lea eax, [edi + 1]
mov dword [esi + 0x98], eax
push dword [esi + 0xb8]
push ebx
push ecx
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.004faf20
add esp, 0x14
test eax, eax
jne 0x5749f1
cmp dword [esi + 0xd4], eax
jne 0x57497a
cmp dword [esi + 0xd0], eax
jne 0x57497a
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x574a2f
push dword [esi + 0xcc]
push dword [esi + 0xb8]
push 2
push esi
call eax
add esp, 0x10
test eax, eax
je 0x574a2f
mov dword [esi + 0xd0], 1
push dword [esi + 0xa4]
push 0
push dword [esi + 0xac]
call fcn.005c9220
xor edi, edi
add esp, 0xc
cmp dword [ebp - 4], edi
jb 0x5749f1
ja 0x57499d
test ebx, ebx
je 0x5749f1
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
nop dword [eax + eax]
mov eax, dword [esi + 0xb8]
push eax
push 1
movzx eax, word [eax + 6]
imul eax, edi
add eax, dword [esi + 0xac]
add ecx, dword [ebp - 0x14]
push eax
adc edx, dword [ebp - 0x18]
push edx
push ecx
call fcn.004faf20
add esp, 0x14
test eax, eax
jne 0x5749e1
add dword [esi], 1
adc dword [esi + 4], eax
inc edi
xor edx, edx
mov ecx, edi
cmp edx, dword [ebp - 4]
jb 0x5749b0
ja 0x5749f1
cmp ecx, ebx
jb 0x5749b0
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x54]
add ecx, ebx
mov edi, dword [ebp - 4]
mov edx, dword [esi + 0x18]
adc eax, edi
cmp dword [esi + 0xd4], 0
mov dword [ebp - 0x14], eax
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x10], ecx
mov dword [esi + 0x50], ecx
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x38]
je 0x574a52
sub eax, ebx
sbb ecx, edi
sub edx, ebx
mov ebx, dword [ebp - 0x18]
sbb ebx, edi
jmp 0x574a5d
mov ecx, esi
mov dword [esi + 0xb0], 3
mov dword [esi + 0xd4], 2
call fcn.005745f0
mov ebx, dword [ebp + 8]
jmp 0x574d05
add eax, ebx
adc ecx, edi
add edx, ebx
mov ebx, dword [ebp - 0x18]
adc ebx, edi
mov dword [esi + 0x18], edx
mov edx, dword [esi + 0x98]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x3c], ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x1c], ebx
cmp edx, dword [esi + 0x9c]
jae 0x574a8f
cmp ecx, dword [esi + 0x70]
jne 0x574a87
cmp eax, dword [esi + 0x74]
je 0x574a8f
test edx, edx
jne 0x574cc5
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], eax
mov dword [esi + 0xd8], 3
mov dword [esi + 0x98], 0
jmp 0x574cc5
cmp eax, 3
jne 0x574cc8
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0x50]
mov ecx, dword [esi + 0x5c]
sub ebx, eax
mov edi, dword [esi + 0x54]
sbb edi, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xa8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edi
test edi, edi
jb 0x574aed
ja 0x574ae6
cmp ebx, eax
jbe 0x574aed
xor edi, edi
mov ebx, eax
mov dword [ebp - 0x10], edi
mov edx, dword [esi + 0x98]
mov ecx, dword [esi + 0xa4]
mov eax, dword [esi + 0xa0]
imul ecx, edx
add eax, ecx
cmp dword [esi + 0xdc], 1
mov ecx, dword [esi + 0x84]
mov dword [ebp - 8], eax
mov dword [esi + 0xac], eax
lea eax, [edx + 1]
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0x80]
jne 0x574b3a
sub eax, dword [ebp - 0x18]
sbb ecx, dword [ebp - 0x14]
sub eax, ebx
sbb ecx, edi
mov dword [ebp - 0x14], ecx
jmp 0x574b47
add eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
adc edi, ecx
mov ecx, edi
mov dword [ebp - 0x14], edi
push dword [esi + 0xb4]
mov dword [ebp - 0x18], eax
push ebx
push dword [ebp - 8]
push ecx
push eax
call fcn.004faf90
add esp, 0x14
test eax, eax
jne 0x574c07
cmp dword [esi + 0xd4], eax
jne 0x574baa
cmp dword [esi + 0xd0], eax
jne 0x574baa
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x574c45
push dword [esi + 0xcc]
push dword [esi + 0xb4]
push 3
push esi
call eax
add esp, 0x10
test eax, eax
je 0x574c45
mov dword [esi + 0xd0], 1
xor edi, edi
cmp dword [ebp - 0x10], edi
jb 0x574c07
ja 0x574bb7
test ebx, ebx
je 0x574c07
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0xb4]
push eax
push 1
movzx eax, word [eax + 6]
imul eax, edi
add eax, dword [esi + 0xac]
add ecx, dword [ebp - 0x18]
push eax
adc edx, dword [ebp - 0x14]
push edx
push ecx
call fcn.004faf90
add esp, 0x14
test eax, eax
jne 0x574bf7
add dword [esi + 8], 1
adc dword [esi + 0xc], eax
inc edi
xor edx, edx
mov ecx, edi
cmp edx, dword [ebp - 0x10]
jb 0x574bc5
ja 0x574c07
cmp ecx, ebx
jb 0x574bc5
mov ecx, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
add ecx, ebx
mov edi, dword [ebp - 0x10]
mov edx, dword [esi + 0x10]
adc eax, edi
cmp dword [esi + 0xd4], 0
mov dword [ebp - 0x10], eax
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], ecx
mov dword [esi + 0x58], ecx
mov ecx, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x40]
je 0x574c68
sub eax, ebx
sbb ecx, edi
sub edx, ebx
mov ebx, dword [ebp - 0x18]
sbb ebx, edi
jmp 0x574c73
mov ecx, esi
mov dword [esi + 0xb0], 4
mov dword [esi + 0xd4], 3
call fcn.005745f0
mov ebx, dword [ebp + 8]
jmp 0x574d05
add eax, ebx
adc ecx, edi
add edx, ebx
mov ebx, dword [ebp - 0x18]
adc ebx, edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x98]
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x44], ecx
cmp eax, dword [esi + 0x9c]
jne 0x574cab
mov dword [esi + 0xd8], 2
mov dword [esi + 0x98], 0
mov dword [esi + 0x8c], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x70]
jne 0x574cc5
mov eax, dword [ebp - 0x10]
cmp eax, dword [esi + 0x74]
jne 0x574cc5
mov dword [esi + 0xd8], 4
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x574d09
push dword [esi + 0xcc]
push dword [esi + 0xc8]
push 4
push esi
call eax
add esp, 0x10
test eax, eax
jne 0x574d09
mov ecx, esi
mov dword [esi + 0xb0], 1
mov dword [esi + 0xd4], 2
call fcn.005745f0
test ebx, ebx
jne 0x574d18
mov eax, dword [esi + 0xd8]
cmp eax, 4
jne 0x574800
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4