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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5dc71d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [esp + 0x1c], 0x5e2824
lea edi, [edi + edi*2]
mov eax, dword [ebx + 0x6c]
shl edi, 5
lea esi, [edi + eax]
xor eax, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0x34]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x1d8], eax
call fcn.0046d900
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, eax
dec eax
test edx, edx
je 0x56705c
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
add eax, 4
mov dword [ecx], edx
mov edx, dword [esp + 0x10]
add ecx, 4
dec edx
mov dword [esp + 0x10], edx
jne 0x567047
mov eax, dword [esi + 0x48]
mov esi, dword [ebp + 0x18]
dec eax
mov dword [esp + 0x10], eax
js 0x5670da
jmp 0x56706f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
sub esp, 8
mov edx, dword [ecx + 0x44]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [ebx + 0x6c]
fld qword [ecx + 0x18]
fsub qword [esi + 8]
mov ecx, dword [edi + edx + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
mov edx, dword [edi + edx + 8]
fstp qword [esp]
push ecx
mov ecx, dword [esp + 0x24]
push edx
call dword [eax + 0xc]
fcomp qword [0x5e2798]
fnstsw ax
test ah, 0x40
jne 0x5670cf
mov eax, dword [ebx + 0x6c]
mov ecx, dword [esp + 0x30]
mov byte [edi + eax + 0x28], 0
mov edx, dword [ecx + 0x44]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + eax*4]
lea eax, [esp + 0x1c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jns 0x56706b
fld qword [esi + 0x10]
mov eax, dword [esp + 0x24]
fst qword [esp + 0x3c]
fld qword [esi + 0x18]
test eax, eax
fst qword [esp + 0x34]
jne 0x56711c
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x1c], 0x5e2824
fstp qword [eax + 0x18]
fstp qword [eax]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1d0], 1
test eax, eax
je 0x567574
jmp 0x56756b
fstp st(0)
fstp st(0)
fld qword [0x5e2798]
test eax, eax
jle 0x567155
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov edx, dword [ecx]
fld qword [edx + 0x78]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x567147
fstp st(0)
fld qword [edx + 0x78]
mov eax, dword [esp + 0x10]
add ecx, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x567132
mov al, byte [ebp + 8]
test al, al
je 0x5671ae
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov dword [esi], edx
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov al, byte [ebx + 0x7c]
test al, al
je 0x56717d
mov eax, dword [ebx + 0x6c]
mov edx, edi
add edx, eax
fld qword [edx]
fadd st(0), st(0)
jmp 0x56718c
mov edx, dword [ebx + 0x6c]
mov eax, edi
add eax, edx
fld qword [eax]
fmul qword [0x5e2908]
fadd qword [ecx]
fstp qword [esi + 0x10]
fadd qword [ebx + 0x38]
fadd qword [esp + 0x34]
fld qword [ecx + 0x18]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x5671a9
fstp st(0)
fld qword [ecx + 0x18]
fstp qword [esi + 0x18]
jmp 0x5671cb
mov ecx, dword [ebp + 0x1c]
fadd qword [esi + 0x18]
fld qword [ecx + 0x18]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x5671c5
fstp st(0)
fld qword [ecx + 0x18]
fstp qword [esi + 0x18]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
push esi
mov dword [esi], edx
mov eax, dword [ecx + 4]
mov ecx, 0x628f50
mov dword [esi + 4], eax
call fcn.00567760
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.0050b550
add esp, 8
lea ecx, [esp + 0x88]
fstp st(0)
call fcn.0058dea0
lea ecx, [esp + 0x48]
mov byte [esp + 0x1d0], 2
call fcn.0056b6a0
lea edx, [esp + 0x48]
lea ecx, [esp + 0x88]
push edx
mov edx, dword [esp + 0x24]
lea eax, [ebx + 0x40]
push ecx
push esi
push eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x1e0], 3
mov byte [esp + 0x27], 0
mov ecx, dword [edx + eax*4 - 4]
call fcn.0050b0a0
mov ecx, eax
call fcn.0056c990
sub esp, 8
fstp qword [esp]
call fcn.00591fb0
add esp, 0x18
test al, al
je 0x56734b
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x56734b
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edx*4]
mov dword [esp + 0x18], ecx
fld qword [ecx + 0x70]
fld qword [esi + 0x10]
fxch st(1)
fmul qword [0x5e2788]
fadd qword [ebp + 0x10]
fcompp
fnstsw ax
test ah, 0x41
jne 0x56729d
fld qword [esi + 0x10]
jmp 0x5672a9
fld qword [ecx + 0x70]
fmul qword [0x5e2788]
fadd qword [ebp + 0x10]
lea eax, [esp + 0x88]
lea edx, [esp + 0x48]
push eax
push esi
push edx
push ecx
fstp qword [esi + 0x10]
mov ecx, ebx
call fcn.00565320
test al, al
jne 0x5672e4
mov ecx, dword [esp + 0x18]
push 0
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x56726f
jmp 0x56734b
mov eax, dword [ebx + 0x48]
lea esi, [ebx + 0x40]
mov dword [esp + 0x10], eax
inc eax
push 0xffffffffffffffff
push eax
mov ecx, esi
mov byte [esp + 0x1f], 1
call fcn.0046d900
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [edx + eax*4], ecx
call fcn.0050b030
mov ecx, eax
fld qword [ecx + 0x10]
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 1
je 0x56732f
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
fld qword [ecx + 0x18]
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 0x41
jne 0x56734b
mov edx, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x40]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, byte [esp + 0x17]
test al, al
je 0x56752b
mov eax, dword [ebx + 0x6c]
xor esi, esi
lea edi, [edi + eax + 0x2c]
mov eax, dword [edi + 8]
test eax, eax
jle 0x56739c
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + esi*4]
mov edx, dword [ecx]
call dword [edx + 0x20]
test eax, eax
jne 0x5673f1
mov eax, dword [edi + 8]
inc esi
cmp esi, eax
jl 0x567385
mov edx, dword [esp + 0x30]
mov ebx, dword [edx + 0x48]
dec ebx
js 0x56752b
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
call fcn.0046d900
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x44]
lea eax, [esp + 0x1c]
push eax
mov ecx, dword [ecx + ebx*4]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [esp + 0x24]
lea esi, [ecx - 1]
test esi, esi
jl 0x5673e9
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
jne 0x567462
dec esi
jns 0x5673d6
dec ebx
jns 0x5673aa
jmp 0x56752b
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
sub eax, esi
dec eax
lea edx, [ecx + esi*4]
je 0x567412
shl eax, 2
lea ecx, [ecx + esi*4 + 4]
push eax
push ecx
push edx
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
mov edx, dword [edi + 8]
lea ecx, [esp + 0x48]
dec edx
mov byte [esp + 0x1d0], 2
mov dword [edi + 8], edx
call fcn.004b7310
lea ecx, [esp + 0x88]
mov byte [esp + 0x1d0], 0
call fcn.0058df70
mov dword [esp + 0x1c], 0x5e2824
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1d0], 4
test eax, eax
je 0x567574
jmp 0x56756b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub eax, esi
dec eax
lea edx, [ecx + esi*4]
je 0x567485
shl eax, 2
lea ecx, [ecx + esi*4 + 4]
push eax
push ecx
push edx
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
dec eax
mov ecx, edi
mov dword [esp + 0x28], eax
mov esi, dword [edi + 8]
lea edx, [esi + eax]
push edx
call fcn.0046d900
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
test edx, edx
lea eax, [eax + esi*4]
je 0x5674bd
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x5674b0
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
sub eax, ebx
dec eax
lea edx, [ecx + ebx*4]
je 0x5674e2
shl eax, 2
lea ecx, [ecx + ebx*4 + 4]
push eax
push ecx
push edx
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
mov edx, dword [esi + 0x48]
lea ecx, [esp + 0x48]
dec edx
mov byte [esp + 0x1d0], 2
mov dword [esi + 0x48], edx
call fcn.004b7310
lea ecx, [esp + 0x88]
mov byte [esp + 0x1d0], 0
call fcn.0058df70
mov dword [esp + 0x1c], 0x5e2824
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1d0], 5
test eax, eax
je 0x567574
jmp 0x56756b
lea ecx, [esp + 0x48]
mov byte [esp + 0x1d0], 2
call fcn.004b7310
lea ecx, [esp + 0x88]
mov byte [esp + 0x1d0], 0
call fcn.0058df70
mov dword [esp + 0x1c], 0x5e2824
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1d0], 6
test eax, eax
je 0x567574
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18