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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x680f10]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x90]
mov edx, dword [eax + 0x83c]
push esi
push eax
push 1
mov esi, ecx
lea ecx, [esp + 0x28]
push 0x28
push ecx
mov dword [esp + 0x1c], eax
call edx
add esp, 0x10
cmp eax, 1
je 0x575cf4
xor eax, eax
pop esi
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0044abb9
add esp, 0x8c
ret
movzx eax, byte [esp + 0x22]
cmp eax, 0x64
movzx ecx, byte [esp + 0x20]
movzx edx, byte [esp + 0x21]
push edi
mov edi, 0x100
mov dword [esi], 0x1a
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
jbe 0x575d2a
mov dword [esi + 0x38], 0x64
mov eax, 0x10
cmp ecx, eax
jbe 0x575d36
mov dword [esi + 0x28], eax
cmp edx, eax
jbe 0x575d3d
mov dword [esi + 0x2c], eax
mov cl, byte [esp + 0x29]
movzx edx, byte [esp + 0x2a]
mov al, byte [esp + 0x28]
mov byte [esp + 0x2a], cl
movzx ecx, byte [esp + 0x2b]
mov byte [esp + 0x28], cl
mov cl, byte [esp + 0x2d]
mov byte [esp + 0x29], dl
movzx edx, byte [esp + 0x2e]
mov byte [esp + 0x2e], cl
movzx ecx, byte [esp + 0x2f]
mov byte [esp + 0x2b], al
mov al, byte [esp + 0x2c]
mov byte [esp + 0x2c], cl
mov cl, byte [esp + 0x31]
mov byte [esp + 0x2d], dl
movzx edx, byte [esp + 0x32]
mov byte [esp + 0x32], cl
movzx ecx, byte [esp + 0x33]
mov byte [esp + 0x2f], al
mov al, byte [esp + 0x30]
mov byte [esp + 0x30], cl
mov cl, byte [esp + 0x35]
mov byte [esp + 0x31], dl
movzx edx, byte [esp + 0x36]
mov byte [esp + 0x36], cl
movzx ecx, byte [esp + 0x37]
mov byte [esp + 0x33], al
mov al, byte [esp + 0x34]
mov byte [esp + 0x34], cl
mov cl, byte [esp + 0x39]
mov byte [esp + 0x35], dl
movzx edx, byte [esp + 0x3a]
mov byte [esp + 0x3a], cl
movzx ecx, byte [esp + 0x3b]
mov byte [esp + 0x37], al
mov al, byte [esp + 0x38]
mov byte [esp + 0x38], cl
mov cl, byte [esp + 0x3d]
mov byte [esp + 0x39], dl
movzx edx, byte [esp + 0x3e]
mov byte [esp + 0x3e], cl
movzx ecx, byte [esp + 0x3f]
mov byte [esp + 0x3b], al
mov al, byte [esp + 0x3c]
mov byte [esp + 0x3c], cl
mov cl, byte [esp + 0x41]
mov byte [esp + 0x3d], dl
movzx edx, byte [esp + 0x42]
mov byte [esp + 0x42], cl
movzx ecx, byte [esp + 0x43]
mov byte [esp + 0x3f], al
mov al, byte [esp + 0x40]
mov byte [esp + 0x40], cl
mov cl, byte [esp + 0x45]
mov byte [esp + 0x41], dl
movzx edx, byte [esp + 0x46]
mov byte [esp + 0x46], cl
movzx ecx, byte [esp + 0x47]
mov byte [esp + 0x43], al
mov al, byte [esp + 0x44]
mov byte [esp + 0x44], cl
mov cl, byte [esp + 0x49]
mov byte [esp + 0x45], dl
movzx edx, byte [esp + 0x4a]
mov byte [esp + 0x4a], cl
movzx ecx, byte [esp + 0x4b]
mov byte [esp + 0x47], al
mov al, byte [esp + 0x48]
mov byte [esp + 0x49], dl
mov edx, dword [esp + 0x28]
mov byte [esp + 0x48], cl
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x4b], al
lea eax, [esi + 4]
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ecx
cmp dword [esi + 0x28], 3
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x48]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
jne 0x575ed2
fld qword [0x659f00]
sub esp, 8
fstp qword [esp]
push eax
call fcn.0057d270
add esp, 0xc
test eax, eax
jne 0x575ed2
or dword [esi], 1
push ebp
push edi
call fcn.0044bd23
mov ebp, eax
xor eax, eax
add esp, 4
cmp ebp, eax
jne 0x575efc
pop ebp
pop edi
pop esi
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0044abb9
add esp, 0x8c
ret
cmp dword [esi + 0x28], eax
push ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
jbe 0x575f90
lea ebx, [esi + 0x3c]
push 0x200
call fcn.0044bd23
mov edi, eax
add esp, 4
test edi, edi
je 0x5761b4
mov eax, dword [esp + 0x18]
push eax
push 0x100
mov dword [ebx], edi
mov eax, dword [eax + 0x83c]
push 1
push ebp
call eax
add esp, 0x10
cmp eax, 0x100
jne 0x5761b4
xor eax, eax
nop
movzx cx, byte [eax + ebp]
xor edx, edx
mov dh, cl
add eax, 1
or edx, ecx
cmp eax, 0x100
mov word [edi + eax*2 - 2], dx
jb 0x575f50
mov eax, dword [esi + 0x30]
mov ecx, dword [ebx]
push eax
push ecx
call fcn.005817d0
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
add eax, 1
add esp, 8
add ebx, 4
cmp eax, dword [esi + 0x28]
mov dword [esp + 0x14], eax
jb 0x575f11
mov edx, dword [esp + 0x10]
cmp edx, dword [esi + 0x28]
jne 0x575f9c
and dword [esi], 0xfffffffd
push ebp
call fcn.0044bde6
mov ecx, dword [esi + 0x28]
add esp, 4
test ecx, ecx
mov eax, 1
jbe 0x575fbe
mov edx, dword [esi + 0x38]
mov edi, edx
imul eax, edi
sub ecx, 1
jne 0x575fb4
mov ebx, dword [esi + 0x2c]
imul ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x24], ebx
jbe 0x576086
lea eax, [ebx + ebx]
cmp eax, 0x1f400000
ja 0x5761bd
push eax
call fcn.0044bd23
mov edi, eax
add esp, 4
test edi, edi
je 0x5761bd
cmp ebx, 0x1f400000
ja 0x57600a
push ebx
call fcn.0044bd23
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x57601a
push edi
call fcn.0044bde6
add esp, 4
xor eax, eax
jmp 0x5762d2
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [eax + 0x83c]
push ebx
push 1
push ebp
call eax
add esp, 0x10
cmp eax, ebx
je 0x576048
push ebp
call fcn.0044bde6
push edi
call fcn.0044bde6
add esp, 8
xor eax, eax
jmp 0x5762d2
lea eax, [ebx + ebx]
mov dword [esi + 0xc0], eax
xor eax, eax
test ebx, ebx
mov dword [esi + 0xbc], edi
jbe 0x576079
lea ecx, [ecx]
movzx cx, byte [eax + ebp]
xor edx, edx
mov dh, cl
add eax, 1
add edi, 2
or edx, ecx
cmp eax, ebx
mov word [edi - 2], dx
jb 0x576060
push ebp
call fcn.0044bde6
add esp, 4
xor edi, edi
jmp 0x576095
and dword [esi], 0xffffffef
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
push 0x100
call fcn.0044bd23
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x5761bd
cmp dword [esi + 0x2c], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
jbe 0x576149
lea ebx, [esi + 0x7c]
push 0x200
call fcn.0044bd23
mov edi, eax
add esp, 4
test edi, edi
je 0x5761b4
mov eax, dword [esp + 0x18]
push eax
push 0x100
mov dword [ebx], edi
mov eax, dword [eax + 0x83c]
push 1
push ebp
call eax
add esp, 0x10
cmp eax, 0x100
jne 0x5761b4
xor eax, eax
mov edi, edi
movzx cx, byte [eax + ebp]
xor edx, edx
mov dh, cl
add eax, 1
or edx, ecx
cmp eax, 0x100
mov word [edi + eax*2 - 2], dx
jb 0x576100
mov eax, dword [ebx]
push 0x100
push eax
call fcn.005817d0
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
add eax, 1
add esp, 8
add ebx, 4
cmp eax, dword [esi + 0x2c]
mov dword [esp + 0x14], eax
jb 0x5760c0
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esi + 0x2c]
jne 0x576155
and dword [esi], 0xfffffff7
push ebp
call fcn.0044bde6
mov eax, dword [esi + 0x30]
lea edx, [esi + 0xc4]
push edx
push eax
call fcn.00580350
mov edx, dword [esi + 0x34]
lea ecx, [esi + 0xfc]
push ecx
push edx
call fcn.00580350
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
lea eax, [esi + 0x134]
push eax
mov eax, dword [esi + 0x38]
push ecx
push edx
push eax
call fcn.00581750
mov edi, dword [esp + 0x3c]
mov ebp, 0x4c616220
add esp, 0x24
cmp dword [edi + 0xc], ebp
jne 0x5762cd
cmp dword [edi + 8], ebp
jne 0x5761c4
call fcn.00575bd0
jmp 0x5761d2
push ebp
call fcn.0044bde6
add esp, 4
xor eax, eax
jmp 0x5762d2
mov eax, dword [esp + 0xa4]
mov ecx, ebx
call fcn.00575ad0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push ebp
call fcn.0057f220
mov ecx, dword [edi + 8]
lea edx, [esp + 0x34]
push edx
push 0
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.0057f220
add esp, 0x20
test eax, eax
je 0x5762cd
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x58]
push edx
push eax
push esi
mov dword [esi + 0x2c8], 0
call fcn.0057e430
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x84]
push ecx
push edx
push esi
mov dword [esi + 0x2c8], 1
call fcn.0057e430
fldz
mov eax, dword [esp + 0x3c]
fld st(0)
add esp, 0x18
fst qword [esp + 0x1c]
test eax, eax
jle 0x576298
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x78]
lea edi, [esp + 0x58]
sub edx, ecx
sub edi, ecx
mov dword [esp + 0x14], eax
movzx eax, word [ecx]
movzx ebx, word [edx + ecx]
mov ebp, eax
sub ebp, ebx
movzx ebx, word [edi + ecx]
mov dword [esp + 0x1c], ebp
sub eax, ebx
add ecx, 2
sub dword [esp + 0x14], 1
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
fmul st(0), st(0)
faddp st(2)
fild dword [esp + 0x1c]
fmul st(0), st(0)
faddp st(1)
jne 0x57625f
fstp qword [esp + 0x1c]
jmp 0x57629a
fstp st(0)
call fcn.005b9e10
fstp qword [esp + 0x24]
fld qword [esp + 0x1c]
call fcn.005b9e10
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x5762c3
mov dword [esi + 0x2c8], 1
jmp 0x5762cd
mov dword [esi + 0x2c8], 0
mov eax, 1
mov ecx, dword [esp + 0x98]
pop ebx
pop ebp
pop edi
pop esi
xor ecx, esp
call fcn.0044abb9
add esp, 0x8c
ret