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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov edx, dword [esi + 0x20]
mov eax, edx
mov ecx, dword [esi + 0x24]
or eax, ecx
je 0x5747cc
cmp dword [esi + 0x14], ecx
jb 0x5747cc
ja 0x574621
cmp dword [esi + 0x10], edx
jbe 0x5747cc
mov edi, dword [esi + 0xb8]
cmp edi, dword [esi + 0xb4]
jne 0x5747cc
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x574656
push dword [esi + 0xcc]
push 0x1000
push 0
push esi
call eax
mov edi, dword [esi + 0xb8]
add esp, 0x10
cmp dword [esi + 0xd4], 3
push ebx
jne 0x574728
mov ecx, dword [esi + 0x50]
sub ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x54]
sbb edx, dword [esi + 0x5c]
mov eax, dword [esi + 0xa8]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
test edx, edx
jb 0x574690
ja 0x574686
cmp ecx, eax
jbe 0x574690
mov ecx, eax
xor edx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
cmp dword [esi + 0xdc], 1
mov ebx, dword [esi + 0x78]
mov eax, dword [esi + 0x7c]
jne 0x5746ab
sub ebx, dword [esi + 0x58]
sbb eax, dword [esi + 0x5c]
sub ebx, ecx
sbb eax, edx
jmp 0x5746b1
add ebx, dword [esi + 0x58]
adc eax, dword [esi + 0x5c]
push edi
push ecx
push dword [esi + 0xac]
mov dword [ebp - 0xc], eax
push eax
push ebx
call fcn.004faf90
add esp, 0x14
test eax, eax
jne 0x574728
xor edi, edi
cmp dword [ebp - 4], edi
jb 0x574728
ja 0x5746d8
cmp dword [ebp - 8], edi
jbe 0x574728
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi + 0xb8]
push eax
push 1
movzx eax, word [eax + 6]
imul eax, edi
add eax, dword [esi + 0xac]
add ecx, ebx
push eax
adc edx, dword [ebp - 0xc]
push edx
push ecx
call fcn.004faf90
add esp, 0x14
test eax, eax
jne 0x574717
add dword [esi + 8], 1
adc dword [esi + 0xc], eax
inc edi
xor edx, edx
mov ecx, edi
cmp edx, dword [ebp - 4]
jb 0x5746e6
ja 0x574728
cmp ecx, dword [ebp - 8]
jb 0x5746e6
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x2c]
sbb ecx, dword [esi + 0x24]
cmp dword [esi + 0xdc], 1
mov ebx, dword [esi + 0x28]
mov edi, dword [esi + 0x34]
mov dword [ebp - 4], edx
mov edx, dword [esi + 0x30]
jne 0x574757
sub edx, eax
sbb edi, ecx
sub ebx, eax
sbb dword [ebp - 4], ecx
jmp 0x574760
mov esi, dword [ebp - 4]
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x10]
mov dword [esi + 0x68], ebx
mov ebx, dword [ebp - 4]
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], edi
push ecx
push eax
push dword [esi + 0xb4]
mov dword [esi + 0x14], ecx
push dword [esi + 0x64]
mov dword [esi + 0x1c], ecx
push dword [esi + 0x60]
mov dword [esi + 0x44], ecx
push dword [esi + 0xb8]
mov dword [esi + 0x3c], ecx
mov ecx, esi
push dword [esi + 0x6c]
mov dword [esi + 0x10], eax
push dword [esi + 0x68]
mov dword [esi + 0x18], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
call fcn.00574d30
mov eax, dword [esi + 0x70]
lea edx, [esi + 0xc0]
mov ecx, dword [esi + 0x74]
shld ecx, eax, 1
pop ebx
add eax, eax
mov dword [esi + 0xc8], edx
pop edi
mov dword [edx], eax
mov dword [edx + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0xd8], 5
pop esi
mov esp, ebp
pop ebp
ret