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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5dd058
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
xor ebx, ebx
xor eax, eax
xor edx, edx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x30], 0x5f01b8
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edx
mov ecx, dword [esi + 0x80]
xor ebp, ebp
cmp ecx, ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
jle 0x574cf5
mov eax, dword [esi + 0x7c]
mov edi, dword [eax + ebp*4]
mov eax, dword [edi + 0x18]
cmp eax, 3
jle 0x574ce2
mov ecx, dword [edi + 0x24]
cmp ecx, ebx
je 0x574ce2
cmp dword [ecx + 8], 7
jl 0x574ce2
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0xd0], 3
jne 0x574ce2
push edi
push edx
lea ecx, [esp + 0x38]
call fcn.0040c9d0
fld qword [edi + 0x58]
fadd qword [esp + 0x1c]
mov edx, dword [esp + 0x38]
fstp qword [esp + 0x1c]
mov eax, dword [esi + 0x80]
inc ebp
cmp ebp, eax
jl 0x574c9a
cmp edx, ebx
jne 0x574d33
mov eax, dword [esp + 0x34]
fld qword [esi + 0x20]
fdiv qword [esi + 0x10]
mov dword [esp + 0x30], 0x5f01b8
fstp qword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x60], 1
je 0x574d1c
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
fld qword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0x575550
push 4
push edx
mov edx, dword [esp + 0x40]
push edx
call dword [sym.imp.msvcrt.dll_qsort]
xor ecx, ecx
xor ebp, ebp
add esp, 0x10
mov dword [esp + 0x44], 0x5f01b8
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebp
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov byte [esp + 0x60], 2
mov dword [esp + 0x14], ebp
mov eax, dword [edx + eax*4 - 4]
mov dword [esp + 0x18], ebp
fld qword [eax + 0x60]
fld qword [esi + 0x10]
mov eax, dword [esi + 0x80]
fsub st(1)
test eax, eax
fstp qword [esp + 0x24]
fstp st(0)
jle 0x574e15
mov ecx, dword [esi + 0x7c]
mov edi, dword [ecx + ebx*4]
cmp dword [edi + 0x18], 3
jle 0x574dd3
mov eax, dword [edi + 0x24]
test eax, eax
je 0x574dd3
mov eax, dword [eax + 8]
cmp eax, 0xa
je 0x574db6
cmp eax, 0xc
jne 0x574dd3
mov edx, dword [edi + 0x14]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xd0]
cmp eax, 3
je 0x574e06
cmp eax, 5
je 0x574e06
cmp eax, 4
je 0x574e06
fld qword [edi + 0x60]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x574e06
lea edx, [ebp + 1]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x4c]
call fcn.0046d900
mov eax, dword [esp + 0x48]
mov dword [eax + ebp*4], edi
mov ebp, dword [esp + 0x4c]
fld qword [edi + 0x68]
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
mov eax, dword [esi + 0x80]
inc ebx
cmp ebx, eax
jl 0x574d96
mov ecx, dword [esp + 0x48]
fld qword [esp + 0x14]
fdiv qword [esi + 0x10]
fstp qword [esp + 0x14]
fld qword [esi + 0x20]
fdiv qword [esi + 0x10]
fld qword [esp + 0x14]
fadd qword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x574e92
fstp qword [esp + 0x24]
mov esi, 0x5f01b8
mov dword [esp + 0x44], esi
test ecx, ecx
mov byte [esp + 0x60], 3
je 0x574e56
push ecx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x44], 0x5e262c
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], 4
test eax, eax
je 0x574e7b
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
fld qword [esp + 0x24]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x80]
xor ecx, ecx
xor eax, eax
cmp edx, ecx
fstp st(0)
jle 0x574eb7
mov edx, dword [esi + 0x7c]
inc eax
mov edx, dword [edx + eax*4 - 4]
mov dword [edx + 0x78], ecx
mov edx, dword [esi + 0x80]
cmp eax, edx
jl 0x574ea2
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00575040
test al, al
je 0x574f4e
mov edi, dword [esi + 0x80]
dec edi
js 0x574f1c
mov ebx, dword [sym.imp.msvcrt.dll_memmove]
mov ebp, 1
mov ecx, dword [esi + 0x7c]
mov ecx, dword [ecx + edi*4]
cmp dword [ecx + 0x78], ebp
jne 0x574f19
test ecx, ecx
je 0x574ef3
mov edx, dword [ecx]
push ebp
call dword [edx]
mov eax, dword [esi + 0x80]
sub eax, edi
dec eax
je 0x574f13
mov ecx, dword [esi + 0x7c]
shl eax, 2
push eax
lea edx, [ecx + edi*4 + 4]
lea eax, [ecx + edi*4]
push edx
push eax
call ebx
add esp, 0xc
dec dword [esi + 0x80]
dec edi
jns 0x574edf
fld qword [0x5e2798]
mov ecx, dword [esp + 0x38]
fst qword [esp + 0x1c]
test ecx, ecx
jle 0x574fd8
mov eax, dword [esp + 0x34]
mov edx, dword [eax]
add eax, 4
dec ecx
fadd qword [edx + 0x58]
jne 0x574f36
fstp qword [esp + 0x1c]
mov ecx, esi
call fcn.00574bc0
fstp st(0)
fld qword [esp + 0x14]
fadd qword [esp + 0x1c]
fld qword [esi + 0x20]
fdiv qword [esi + 0x10]
fstp qword [esp + 0x1c]
fcom qword [esp + 0x1c]
fnstsw ax
test ah, 1
je 0x574fdf
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov esi, 0x5f01b8
mov dword [esp + 0x1c], eax
fstp st(0)
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x48]
mov byte [esp + 0x60], 5
test eax, eax
je 0x574f9c
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x44], 0x5e262c
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], 6
test eax, eax
je 0x574fc1
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
fld qword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
jmp 0x574f45
fstp qword [esp + 0x24]
mov esi, 0x5f01b8
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x48]
mov byte [esp + 0x60], 7
test eax, eax
je 0x575002
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x44], 0x5e262c
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], 8
test eax, eax
je 0x575027
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x58]
pop edi
fld qword [esp + 0x20]
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret