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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5dc6bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
mov bl, byte [0x62a870]
test bl, bl
sete al
mov byte [0x62a870], al
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x18], ecx
lea ebx, [eax + eax*2]
mov eax, dword [ecx + 0x48]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x88], eax
shl ebx, 5
mov eax, dword [ecx + 8]
mov dword [esp + 0x70], ebx
lea ebx, [ebx + edx + 0x40]
push esi
test eax, eax
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xc], eax
jle 0x5667f2
mov esi, 1
xor edi, edi
mov dword [esp + 0x10], esi
cmp esi, eax
mov dword [esp + 0x14], esi
jge 0x5667df
jmp 0x566775
mov ebx, dword [esp + 0x2c]
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov eax, dword [edx + 4]
mov edx, dword [ebx + 4]
lea ebx, [esi + esi]
xor esi, esi
mov cx, word [eax + edi]
mov si, word [ebx + eax]
mov ecx, dword [edx + ecx*4]
lea edx, [edx + esi*4]
mov esi, dword [edx]
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi]
mov ecx, esi
fstp qword [esp + 0x7c]
call dword [eax + 8]
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 1
je 0x5667c6
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
mov dx, word [ebx + eax]
mov cx, word [eax + edi]
mov word [eax + edi], dx
mov word [ebx + eax], cx
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
inc esi
cmp esi, eax
mov dword [esp + 0x14], esi
jl 0x566771
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
inc esi
add edi, 2
mov dword [esp + 0x10], esi
lea ecx, [esi - 1]
cmp ecx, eax
jl 0x566767
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 8]
mov dword [esp + 0x10], esi
call sub.mfc42u.dll_CWordArray::Append
push 0xffffffffffffffff
push 0
mov ecx, edi
call sub.mfc42u.dll_CWordArray::SetSize
test esi, esi
jle 0x5668b0
mov esi, 1
xor edi, edi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], esi
cmp esi, eax
jge 0x566899
mov edx, dword [ebp + 0x14]
xor ecx, ecx
mov eax, dword [edx + 4]
mov edx, dword [ebx + 4]
lea ebx, [esi + esi]
xor esi, esi
mov cx, word [eax + edi]
mov si, word [ebx + eax]
mov ecx, dword [edx + ecx*4]
lea edx, [edx + esi*4]
mov esi, dword [edx]
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi]
mov ecx, esi
fstp qword [esp + 0x7c]
call dword [eax + 8]
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 1
je 0x566880
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 4]
mov dx, word [ebx + eax]
mov cx, word [eax + edi]
mov word [eax + edi], dx
mov word [ebx + eax], cx
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x2c]
inc esi
cmp esi, eax
mov dword [esp + 0x10], esi
jl 0x56682f
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
inc esi
add edi, 2
mov dword [esp + 0x14], esi
lea eax, [esi - 1]
cmp eax, ecx
jl 0x566823
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0x58]
push edi
call fcn.004b6cb0
mov esi, dword [esp + 0x20]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0xc8], 0
fld qword [esi + 0x38]
fmul qword [0x5e2790]
fld qword [edi + 8]
mov al, byte [esi + 0x7c]
mov dword [esp + 0x58], ecx
fsub st(1)
test al, al
mov dword [esp + 0x5c], edx
fstp qword [esp + 0x60]
fadd qword [edi + 8]
fstp qword [esp + 0x84]
je 0x56690b
mov eax, dword [esp + 0x78]
mov ecx, dword [esi + 0x6c]
add eax, ecx
fld qword [eax]
fadd st(0), st(0)
jmp 0x56691c
mov ecx, dword [esp + 0x78]
mov eax, dword [esi + 0x6c]
add ecx, eax
fld qword [ecx]
fmul qword [0x5f0ba0]
fadd qword [edi]
fstp qword [esp + 0x68]
fld qword [edi]
fadd qword [edi + 0x10]
fmul qword [0x5e2790]
fstp qword [esp + 0x14]
fld qword [edi + 8]
fcomp qword [0x5e2858]
fnstsw ax
test ah, 1
je 0x566956
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
jmp 0x566a2d
mov ecx, dword [esi + 0x48]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], eax
jle 0x566a2d
mov ecx, dword [esi + 0x44]
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx + edx*4]
call fcn.0050b020
push eax
lea ecx, [esp + 0x3c]
call fcn.004b6cb0
fld qword [esp + 0x48]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x566a10
fld qword [edi + 8]
fsub qword [esi + 0x38]
fcomp qword [esp + 0x50]
fnstsw ax
test ah, 1
je 0x5669d2
fld qword [esp + 0x14]
fcomp qword [esp + 0x48]
fnstsw ax
test ah, 0x41
je 0x5669d2
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
fld qword [esp + 0x50]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x566a10
fld qword [esp + 0x14]
fcomp qword [esp + 0x48]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
fnstsw ax
test ah, 0x41
je 0x566a10
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x38]
call fcn.0042bd50
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x48]
inc eax
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x56697a
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
mov eax, dword [ecx + 8]
dec eax
test eax, eax
mov dword [esp + 0xc], eax
jl 0x566dc7
mov edx, dword [esp + 0x20]
add edx, 0x40
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 0x14]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0xc]
mov dx, word [ecx + eax*2]
mov ecx, dword [ebx + 4]
mov esi, dword [ecx + edx*4]
lea ecx, [esp + 0xa0]
call fcn.004b6ca0
mov edx, dword [esi]
lea eax, [esp + 0xa0]
push eax
mov ecx, esi
mov byte [esp + 0xcc], 1
call dword [edx + 0x10]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x5c], edx
call fcn.004b7060
fadd qword [esp + 0x84]
fadd qword [0x5e2910]
fld qword [edi + 0x18]
fcompp
fnstsw ax
test ah, 0x41
jne 0x566aef
lea ecx, [esp + 0xa0]
call fcn.004b7060
fadd qword [esp + 0x84]
fadd qword [0x5e2910]
jmp 0x566af2
fld qword [edi + 0x18]
mov eax, dword [esp + 0x20]
mov cl, byte [eax + 0x7c]
fstp qword [esp + 0x70]
test cl, cl
lea ecx, [esp + 0xa0]
je 0x566b2c
call fcn.004b7040
fadd st(0), st(0)
fadd qword [edi]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
je 0x566b5c
lea ecx, [esp + 0xa0]
call fcn.004b7040
fadd st(0), st(0)
jmp 0x566b56
call fcn.004b7040
fmul qword [0x5f0b98]
fadd qword [edi]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
je 0x566b5c
lea ecx, [esp + 0xa0]
call fcn.004b7040
fmul qword [0x5f0b98]
fadd qword [edi]
fstp qword [esp + 0x68]
lea ecx, [esp + 0xa0]
call fcn.004b7040
fmul qword [0x5e79d8]
fadd qword [esp + 0x14]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
je 0x566b97
lea ecx, [esp + 0xa0]
call fcn.004b7040
fmul qword [0x5e79d8]
fadd qword [esp + 0x14]
fstp qword [esp + 0x68]
fld qword [edi + 0x10]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
je 0x566bac
fld qword [edi + 0x10]
fstp qword [esp + 0x68]
lea ecx, [esp + 0x58]
push ecx
mov ecx, 0x628f50
call fcn.00567760
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x58]
push edx
push esi
push eax
call fcn.00566170
test al, al
je 0x566da4
xor eax, eax
mov dword [esp + 0x38], 0x5e2824
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov edx, dword [esi]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0xcc], 2
call dword [edx + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
mov esi, dword [edi + 8]
add ecx, esi
push ecx
mov ecx, edi
call fcn.0046d900
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
test ecx, ecx
lea esi, [edx + esi*4]
je 0x566c3f
mov edx, dword [eax]
add eax, 4
mov dword [esi], edx
add esi, 4
dec ecx
jne 0x566c2e
mov ecx, dword [esp + 0x40]
xor esi, esi
mov dword [esp + 0x68], 0
test ecx, ecx
mov dword [esp + 0x6c], 0
jle 0x566d3d
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + esi*4]
call fcn.0050b020
mov ecx, eax
fld qword [ecx + 8]
fcomp qword [esp + 0x60]
fnstsw ax
test ah, 1
jne 0x566c7c
fld qword [ecx + 8]
fstp qword [esp + 0x60]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
fld qword [ecx + 0x20]
add edx, dword [eax + 0x6c]
fld qword [edx]
fadd qword [ecx + 0x10]
fstp qword [esp + 0x94]
fld qword [eax + 0x38]
fmul qword [0x5e2790]
fstp qword [esp + 0x7c]
fld qword [esp + 0x94]
fsub st(1)
fadd qword [esp + 0x7c]
fld qword [esp + 0x68]
fcompp
fnstsw ax
test ah, 0x41
fstp st(0)
je 0x566cd5
fld qword [ecx + 0x20]
fld qword [esp + 0x94]
fsub st(1)
fadd qword [esp + 0x7c]
fstp qword [esp + 0x68]
fstp st(0)
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + esi*4]
call fcn.0050b030
mov ecx, eax
fld qword [ecx + 0x18]
fcomp qword [esp + 0x70]
fnstsw ax
test ah, 0x41
jne 0x566cf8
fld qword [ecx + 0x18]
fstp qword [esp + 0x70]
fld qword [ecx + 0x10]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x566d14
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
fld qword [ecx + 0x18]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x566d30
mov edx, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
inc esi
cmp esi, eax
jl 0x566c59
mov edi, dword [ebp + 0x14]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x74]
mov eax, dword [edi + 4]
mov dword [esp + 0x84], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x88], edx
mov ax, word [eax + esi*2]
mov edx, dword [ecx + 8]
push eax
push edx
call sub.mfc42u.dll_CWordArray::SetAtGrow
push 1
push esi
mov ecx, edi
call sub.mfc42u.dll_CWordArray::RemoveAt
mov dword [esp + 0x38], 0x5e2824
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xc8], 3
test eax, eax
je 0x566d99
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x38], 0x5e262c
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc8], 0
call fcn.0042bd50
mov eax, dword [esp + 0xc]
dec eax
mov dword [esp + 0xc], eax
jns 0x566a69
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x78]
mov edx, dword [ecx + 0x6c]
mov ecx, dword [eax + edx + 0x48]
add eax, edx
mov eax, dword [eax + 0x34]
add eax, ecx
test eax, eax
jle 0x566eed
mov eax, dword [ebx + 8]
test eax, eax
je 0x566ef8
xor esi, esi
mov dword [esp + 0x38], 0x5f0b40
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xd0], 4
call fcn.0046d900
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x3c]
mov edi, eax
dec eax
test edi, edi
je 0x566e3d
inc eax
mov edi, dword [edx]
add edx, 4
mov dword [ecx], edi
add ecx, 4
dec eax
jne 0x566e30
mov edi, dword [ebp + 0x14]
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x566e4b
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x566e5e
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [ebx + 4], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
cmp dword [edi + 8], esi
jle 0x566eba
mov edx, dword [ebp + 0x14]
mov edi, dword [ebx + 8]
xor ecx, ecx
push 0xffffffffffffffff
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x40]
mov cx, word [eax + esi*2]
mov eax, dword [edx + ecx*4]
lea ecx, [edi + 1]
push ecx
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.0046d900
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
mov dword [edx + edi*4], eax
mov eax, dword [ebp + 0x14]
xor edx, edx
inc esi
mov ecx, dword [eax + 4]
mov dx, word [ecx + esi*2 - 2]
mov ecx, dword [esp + 0x3c]
mov dword [ecx + edx*4], 0
mov ecx, dword [eax + 8]
cmp esi, ecx
jl 0x566e69
mov dword [esp + 0x38], 0x5f0b40
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xc8], 5
test eax, eax
je 0x566edb
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov byte [esp + 0xc8], 0
mov dword [esp + 0x38], 0x5e262c
jmp 0x566ef8
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.0046d900
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x70], ecx
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x74], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 8]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 8]
push edx
test eax, eax
sete dl
push ecx
push edx
mov ecx, esi
call fcn.00566fc0
mov ecx, dword [ebp + 0x14]
or ebx, 0xffffffff
push ebx
push 0
call sub.mfc42u.dll_CWordArray::SetSize
push ebx
push 0
mov ecx, edi
call sub.mfc42u.dll_CWordArray::SetSize
mov eax, dword [esp + 0x90]
mov ecx, dword [esi + 0x48]
cmp eax, ecx
mov dword [esp + 0xc8], ebx
lea ecx, [esp + 0x58]
jne 0x566f95
call fcn.0042bd50
xor eax, eax
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.0042bd50
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
mov eax, 2
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10