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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5dd0e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0xc], ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x14]
push ebx
mov ecx, dword [eax]
call fcn.0050b0a0
mov ecx, eax
call fcn.00520be0
fptan
fstp st(0)
fcomp qword [0x5e2798]
fnstsw ax
test ah, 0x41
jne 0x57598e
fld qword [esi + 0x60]
fmul qword [0x5e2910]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x3ff00000
fsubr qword [esi + 0x40]
fstp qword [esp + 0x2c]
jmp 0x5759b1
fld qword [esi + 0x60]
fmul qword [0x5e2910]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0xbff00000
fadd qword [esi + 0x50]
fstp qword [esp + 0x2c]
mov edi, dword [ebp + 0x14]
push 0x575550
push 4
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.msvcrt.dll_qsort]
add esp, 0x10
mov dword [esp + 0x40], 0x5e2824
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov ecx, dword [esi + 0x18]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x78], ebx
call fcn.0046d900
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 0x44]
mov ebx, eax
dec eax
test ebx, ebx
je 0x575a16
inc eax
mov ebx, dword [edx]
add edx, 4
mov dword [ecx], ebx
add ecx, 4
dec eax
jne 0x575a09
mov eax, dword [ebp + 8]
test al, al
je 0x575a25
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
jmp 0x575a35
fld qword [esp + 0x1c]
mov edx, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
fchs
fstp qword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x40]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
push edi
push edx
mov edx, dword [esp + 0x30]
push ebx
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push ecx
mov ecx, dword [esp + 0x30]
push eax
call fcn.005756b0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x48]
fstp st(0)
call fcn.0046d900
mov eax, dword [edi + 8]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x575ae3
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
mov esi, dword [edx + eax*4]
mov eax, dword [esp + 0x4c]
add esi, 0x10
mov ebx, eax
mov ecx, dword [esi + 8]
add ecx, eax
push ecx
lea ecx, [esp + 0x48]
call fcn.0046d900
mov edx, dword [esp + 0x44]
mov eax, dword [esi + 8]
mov esi, dword [esi + 4]
lea ecx, [edx + ebx*4]
mov edx, eax
dec eax
test edx, edx
je 0x575acf
inc eax
mov edx, dword [esi]
add esi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x575ac2
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x575a89
mov ebx, dword [esp + 0x30]
mov esi, dword [ebp + 0x18]
push 0x575550
push 4
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.msvcrt.dll_qsort]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
add esp, 0x10
lea eax, [esp + 0x40]
push esi
push eax
mov eax, dword [esp + 0x2c]
push ebx
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
call fcn.005756b0
fstp qword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x54], 0x5f01b8
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov edi, dword [esi + 8]
mov byte [esp + 0x70], 1
dec edi
js 0x575b87
jmp 0x575b5a
mov eax, dword [esp + 0x5c]
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], eax
inc eax
push 0xffffffffffffffff
mov edx, dword [ecx + edi*4]
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], edx
call fcn.0046d900
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
dec edi
mov dword [eax + edx*4], ecx
jns 0x575b56
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x54]
lea ecx, [esp + 0x40]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push ebx
push edi
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
call fcn.005756b0
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x575bee
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x28]
push ebx
push edi
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
call fcn.005756b0
fstp st(0)
mov dword [esp + 0x54], 0x5f01b8
mov eax, dword [esp + 0x58]
mov byte [esp + 0x70], 2
test eax, eax
je 0x575c0c
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x54], 0x5e262c
mov dword [esp + 0x40], 0x5e2824
mov eax, dword [esp + 0x44]
mov dword [esp + 0x70], 3
test eax, eax
je 0x575c35
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x68]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14