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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5dd1d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00575580
mov esi, eax
test esi, esi
je 0x5766e2
fld qword [esi + 0x60]
fmul qword [0x5e9c30]
lea ecx, [esp + 0x50]
mov byte [esp + 0x17], 0
fstp qword [esp + 0x34]
fld qword [esi + 0x60]
fmul qword [0x5e2790]
fstp qword [esp + 0x3c]
fld qword [esi + 0x58]
fld qword [esi + 0x60]
fld qword [esi + 0x68]
fmul qword [esi + 0x28]
fdiv st(1)
fsubr st(2)
fstp qword [esp + 0x44]
fstp st(0)
fstp st(0)
call fcn.005ac9a0
lea ecx, [esp + 0xd8]
mov dword [esp + 0x1a0], 0
call fcn.0050ae90
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1a0], 1
call fcn.0050c430
push 0
push 0
push 0
push 0
lea ecx, [esp + 0xe8]
call fcn.0050c450
fld qword [esp + 0x44]
fmul qword [0x5efac8]
push 0
push 0
lea ecx, [esp + 0xe0]
fstp qword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
push ebp
push ebx
call fcn.0050c450
push 0x40000000
push 0
push ebp
push ebx
lea ecx, [esp + 0xe8]
call fcn.0050c450
xor ebx, ebx
push 0x40000000
push ebx
push ebx
push ebx
lea ecx, [esp + 0xe8]
call fcn.0050c450
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0xec]
call fcn.0050c4b0
mov eax, dword [esp + 0x68]
push 0xffffffffffffffff
mov ebp, eax
inc eax
push eax
lea ecx, [esp + 0x68]
call fcn.0046d900
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0xd8]
mov dword [ecx + ebp*4], eax
lea ecx, [esp + 0x50]
call fcn.005acc20
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
mov dword [esp + 0x78], ebx
mov byte [esp + 0xfc], 1
push eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push edx
mov ecx, edi
call fcn.00575630
mov ebp, eax
cmp ebp, ebx
je 0x5765de
fld qword [ebp + 0x58]
fcomp qword [esp + 0x44]
fnstsw ax
test ah, 1
je 0x5765e3
mov byte [esp + 0x17], 1
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x7c]
push 0x5754f0
push 4
push eax
push ecx
call dword [sym.imp.msvcrt.dll_qsort]
add esp, 0x10
mov dword [esp + 0x18], 0x5e2824
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov al, byte [esp + 0x17]
mov byte [esp + 0x1a0], 2
test al, al
je 0x57665e
lea eax, [esp + 0x18]
lea ecx, [esp + 0x50]
push eax
push ecx
push esi
push 1
push 1
mov ecx, edi
call fcn.00575f10
test al, al
jne 0x5766fa
mov dword [esp + 0x18], 0x5e2824
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x1a0], 3
cmp eax, ebx
je 0x5766b2
jmp 0x5766a9
lea edx, [esp + 0x18]
mov ecx, edi
push edx
push ebp
push esi
push ebx
push 1
call fcn.00575f10
test al, al
jne 0x5766fa
lea eax, [esp + 0x18]
lea ecx, [esp + 0x50]
push eax
push ecx
push esi
push 1
push 1
mov ecx, edi
call fcn.00575f10
test al, al
jne 0x5766fa
mov dword [esp + 0x18], 0x5e2824
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x1a0], 4
cmp eax, ebx
je 0x5766b2
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0xd8]
mov dword [esp + 0x18], 0x5e262c
mov byte [esp + 0x1a0], 0
call fcn.0050af80
lea ecx, [esp + 0x50]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.005aca40
xor al, al
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x18]
lea eax, [esp + 0x50]
push edx
push eax
push esi
push 1
push ebx
mov ecx, edi
call fcn.00575f10
push 0x88
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x1a0], 5
je 0x576739
mov ecx, eax
call fcn.005ac9a0
mov dword [esp + 0x2c], eax
jmp 0x57673d
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
push edx
lea ebp, [ecx + 0x10]
mov byte [esp + 0x1a8], 2
mov ecx, ebp
call fcn.0046d900
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 4]
cmp edx, ebx
je 0x576776
mov ebx, dword [ecx]
add ecx, 4
mov dword [eax], ebx
add eax, 4
dec edx
jne 0x576769
mov ebx, dword [ebp + 8]
mov edx, dword [esi + 0x18]
mov eax, ebx
push 0xffffffffffffffff
add eax, edx
mov ecx, ebp
push eax
call fcn.0046d900
mov ecx, dword [ebp + 4]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
lea ecx, [ecx + ebx*4]
mov ebx, eax
dec eax
test ebx, ebx
je 0x5767ab
inc eax
mov ebx, dword [edx]
add edx, 4
mov dword [ecx], ebx
add ecx, 4
dec eax
jne 0x57679e
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
mov dword [ebx + 0x24], 0
call fcn.005acc20
mov ecx, ebx
call fcn.005acba0
mov ebp, dword [edi + 0x80]
dec ebp
js 0x576817
mov edx, dword [edi + 0x7c]
lea eax, [edx + ebp*4]
mov ecx, dword [eax]
cmp ecx, esi
je 0x5767e3
dec ebp
sub eax, 4
test ebp, ebp
jge 0x5767d3
jmp 0x576817
test ecx, ecx
je 0x5767ed
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x7c]
sub eax, ebp
dec eax
lea edx, [ecx + ebp*4]
je 0x576811
shl eax, 2
lea ecx, [ecx + ebp*4 + 4]
push eax
push ecx
push edx
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
dec dword [edi + 0x80]
lea esi, [edi + 0x78]
push 0xffffffffffffffff
mov ecx, esi
mov edi, dword [esi + 8]
lea edx, [edi + 1]
push edx
call fcn.0046d900
mov eax, dword [esi + 4]
mov dword [eax + edi*4], ebx
mov dword [esp + 0x18], 0x5e2824
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x1a0], 6
test eax, eax
je 0x576851
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0xd8]
mov dword [esp + 0x18], 0x5e262c
mov byte [esp + 0x1a0], 0
call fcn.0050af80
lea ecx, [esp + 0x50]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.005aca40
mov ecx, dword [esp + 0x198]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret