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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5dd16d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
mov al, byte [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, ecx
test al, al
mov dword [esp + 0x48], edi
je 0x575f63
mov ecx, dword [ebp + 0x10]
fld qword [ecx + 0x60]
fmul qword [0x5e2790]
fstp qword [esp + 0xc]
fld qword [ecx + 0x60]
fmul qword [0x5f0d08]
fstp qword [esp + 0x4c]
jmp 0x575f8d
mov eax, dword [ebp + 0x10]
mov ecx, eax
fld qword [eax + 0x60]
fld qword [esi + 0x60]
fmul qword [esi + 0x28]
fsubr st(1)
fmul qword [0x5e7968]
fstp qword [esp + 0x4c]
fstp st(0)
fld qword [esp + 0x4c]
fmul qword [0x5f0b60]
fstp qword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x14], 0x5f01b8
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov ecx, dword [ecx + 0x14]
push eax
mov dword [esp + 0x15c], eax
mov ecx, dword [ecx]
call fcn.0050b0a0
mov ecx, eax
call fcn.00520be0
fptan
mov ebx, dword [edi + 0x80]
dec ebx
fstp st(0)
fabs
fstp qword [esp + 0x3c]
fld qword [esi + 0x58]
fld qword [esp + 0x4c]
fadd qword [esp + 0xc]
fdiv qword [esp + 0x3c]
fmul qword [0x5e2790]
fsubr st(1)
fstp qword [esp + 0x54]
fstp st(0)
fld qword [0x5e2798]
js 0x57605e
mov edx, dword [edi + 0x7c]
mov ecx, dword [edx + ebx*4]
mov dword [ecx + 0x78], 1
fld qword [esi + 0x58]
fadd st(0), st(0)
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x57605b
fld qword [ecx + 0x58]
fcomp qword [esp + 0x54]
fnstsw ax
test ah, 1
je 0x57605b
fld qword [ecx + 0x60]
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 0x41
jne 0x57605b
fld qword [ecx + 0x60]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 1
je 0x57605b
fld qword [ecx + 0x58]
mov eax, dword [esp + 0x1c]
push ecx
fadd st(1)
push eax
lea ecx, [esp + 0x1c]
fstp qword [esp + 0x64]
fstp st(0)
call fcn.0040c9d0
fld qword [esp + 0x5c]
dec ebx
jns 0x575ff6
mov eax, dword [esp + 0x1c]
mov ebx, 2
cmp eax, ebx
fstp st(0)
jge 0x57608b
mov dword [esp + 0x14], 0x5f01b8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x158], 1
test eax, eax
jmp 0x5761c5
lea ecx, [esp + 0x68]
call fcn.005ad1f0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0x575550
push 4
push ecx
push edx
mov byte [esp + 0x168], bl
call dword [sym.imp.msvcrt.dll_qsort]
mov eax, dword [esp + 0x2c]
add esp, 0x10
lea ecx, [esp + 0xe8]
push 0xffffffffffffffff
push eax
call fcn.0046d900
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xec]
xor ebx, ebx
cmp edx, ebx
je 0x5760ec
mov ebx, dword [ecx]
add ecx, 4
mov dword [eax], ebx
add eax, 4
dec edx
jne 0x5760dd
xor ebx, ebx
mov al, byte [ebp + 0xc]
test al, al
je 0x576125
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
mov dword [esp + 0xc], edx
fld qword [ecx + 0x60]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
fmul qword [0x5ebbc0]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov dword [esp + 0x18], eax
sub esp, 8
fstp qword [esp]
push eax
push ecx
jmp 0x576159
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0xc], eax
fld qword [edx + 0x60]
fld qword [esi + 0x60]
fmul qword [esi + 0x28]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x10]
push eax
mov dword [esp + 0x18], ecx
fsubr st(1)
sub esp, 8
fstp qword [esp]
push ecx
push edx
fstp st(0)
lea ecx, [esp + 0x80]
call fcn.005ad380
mov eax, dword [esp + 0x1c]
lea ecx, [eax + eax]
push ecx
push 0x40
lea ecx, [esp + 0x70]
call fcn.005adb90
push 0xc8
lea ecx, [esp + 0x6c]
call fcn.005ae240
mov edx, dword [esp + 0x104]
mov eax, dword [esp + 0x118]
add eax, edx
cmp eax, 1
jge 0x5761e9
lea ecx, [esp + 0x68]
mov byte [esp + 0x158], 0
call fcn.005ad2b0
mov dword [esp + 0x14], 0x5f01b8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x158], 3
cmp eax, ebx
je 0x5761d0
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
xor al, al
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x110]
lea edx, [esp + 0xfc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push esi
push eax
push ecx
mov ecx, edi
call fcn.00575920
mov dword [esp + 0x28], 0x5e2824
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov al, byte [ebp + 0xc]
mov byte [esp + 0x158], 4
test al, al
jne 0x576260
mov edx, dword [esi + 0x18]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x30]
call fcn.0046d900
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov eax, dword [esp + 0x2c]
mov ebx, edx
dec edx
test ebx, ebx
je 0x57625e
inc edx
mov ebx, dword [ecx]
add ecx, 4
mov dword [eax], ebx
add eax, 4
dec edx
jne 0x576251
xor ebx, ebx
mov eax, dword [esp + 0x104]
mov dword [esi + 0x78], ebx
test eax, eax
jle 0x5762d5
mov eax, dword [esp + 0x100]
push 0xffffffffffffffff
mov ecx, dword [eax + ebx*4]
mov dword [ecx + 0x78], 0
mov edx, dword [esp + 0x104]
mov eax, dword [esp + 0x34]
mov esi, dword [edx + ebx*4]
mov edi, eax
add esi, 0x10
mov ecx, dword [esi + 8]
add ecx, eax
push ecx
lea ecx, [esp + 0x30]
call fcn.0046d900
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 8]
mov esi, dword [esi + 4]
lea ecx, [edx + edi*4]
mov edx, eax
dec eax
test edx, edx
je 0x5762c5
inc eax
mov edx, dword [esi]
add esi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x5762b8
mov eax, dword [esp + 0x104]
inc ebx
cmp ebx, eax
jl 0x57626e
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x118]
xor ebx, ebx
test eax, eax
jle 0x576349
mov eax, dword [esp + 0x114]
push 0xffffffffffffffff
mov ecx, dword [eax + ebx*4]
mov dword [ecx + 0x78], 0
mov edx, dword [esp + 0x118]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
mov esi, dword [edx + ebx*4]
mov edx, dword [esi + 0x18]
add esi, 0x10
mov edi, eax
add eax, edx
push eax
call fcn.0046d900
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esi + 4]
mov edx, eax
dec eax
lea ecx, [ecx + edi*4]
test edx, edx
je 0x576339
inc eax
mov edx, dword [esi]
add esi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x57632c
mov eax, dword [esp + 0x118]
inc ebx
cmp ebx, eax
jl 0x5762e2
mov edi, dword [esp + 0x48]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00575c50
mov esi, dword [edi + 0x80]
dec esi
js 0x5763b0
mov ebx, dword [sym.imp.msvcrt.dll_memmove]
mov ecx, dword [edi + 0x7c]
mov ecx, dword [ecx + esi*4]
mov eax, dword [ecx + 0x78]
test eax, eax
jne 0x5763ad
test ecx, ecx
je 0x576387
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [edi + 0x80]
sub eax, esi
dec eax
je 0x5763a7
mov ecx, dword [edi + 0x7c]
shl eax, 2
push eax
lea edx, [ecx + esi*4 + 4]
lea eax, [ecx + esi*4]
push edx
push eax
call ebx
add esp, 0xc
dec dword [edi + 0x80]
dec esi
jns 0x576370
mov esi, dword [ebp + 0x18]
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
mov edi, dword [esi + 8]
lea edx, [edi + ecx]
mov ecx, esi
push edx
call fcn.0046d900
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
test edx, edx
lea eax, [eax + edi*4]
je 0x5763ea
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x5763d9
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], 0x5e2824
test ecx, ecx
mov byte [esp + 0x158], 5
je 0x576407
push ecx
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x68]
mov dword [esp + 0x28], 0x5e262c
mov byte [esp + 0x158], 0
call fcn.005ad2b0
mov dword [esp + 0x14], 0x5f01b8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x158], 6
test eax, eax
je 0x576444
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x150]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14