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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5dc430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
xor eax, eax
mov edi, dword [ebx + 0x6c]
lea esi, [esi + esi*2]
shl esi, 5
mov dword [esp + 0x10], ebx
add esi, edi
mov dword [esp + 0x28], 0x5e2824
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x34]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x30]
call fcn.0046d900
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x2c]
mov edi, eax
dec eax
test edi, edi
je 0x564af4
inc eax
mov edi, dword [edx]
add edx, 4
mov dword [ecx], edi
add ecx, 4
dec eax
jne 0x564ae7
xor ecx, ecx
mov dword [esp + 0x50], 0x5f0b84
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x30]
mov byte [esp + 0x80], 1
cmp eax, 1
jle 0x564c7d
lea edi, [eax*8]
cmp edi, ecx
jne 0x564b38
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], ecx
jmp 0x564b5f
mov ecx, edi
shl ecx, 4
push ecx
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x54], eax
push edi
push eax
call fcn.0056a360
mov eax, dword [esp + 0x30]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
xor ecx, ecx
xor edi, edi
cmp eax, ecx
jle 0x564b9f
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + edi*4]
mov dword [eax + 0xc], ebx
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx + 0xc]
push edx
call fcn.0050b0a0
push eax
call fcn.00561f30
mov eax, dword [esp + 0x38]
add esp, 8
inc edi
add ebx, 0x80
cmp edi, eax
jl 0x564b69
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push 0x55f730
push eax
call fcn.0050b780
fld qword [ebx + 0x38]
fadd qword [esi]
add esp, 8
fmul qword [0x5f0b10]
call sub.msvcrt.dll__ftol
fld qword [0x5f0b10]
fmul qword [ebx + 0x20]
mov edi, eax
add edi, 0xb
call sub.msvcrt.dll__ftol
mov ecx, dword [esp + 0x10]
mov ebx, eax
add ebx, 4
add ecx, 0x80
push ebx
push edi
call fcn.0051d420
mov edx, dword [esp + 0x10]
push ebx
push edi
lea ecx, [edx + 0x90]
call fcn.0051d420
mov eax, dword [esp + 0x10]
push ebx
push edi
lea ecx, [eax + 0xa0]
call fcn.0051d420
mov ecx, dword [esp + 0x10]
push ebx
push edi
add ecx, 0xb0
call fcn.0051d420
mov eax, dword [esp + 0x30]
cmp eax, 1
jle 0x564c7d
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x28]
add eax, 0x80
push edx
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push ecx
push edx
call fcn.0058d750
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x564c79
mov ebx, dword [esi + 0x48]
lea edi, [esi + 0x40]
push 0xffffffffffffffff
mov ecx, edi
lea eax, [ebx + 1]
push eax
call fcn.0046d900
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x14]
mov dword [ecx + ebx*4], edx
mov eax, dword [esp + 0x30]
cmp eax, 1
jg 0x564c26
jmp 0x564c7d
mov eax, dword [esp + 0x30]
lea edi, [esi + 0x2c]
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.0046d900
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov edi, dword [edi + 4]
test ecx, ecx
je 0x564ca6
mov edx, dword [eax]
add eax, 4
mov dword [edi], edx
add edi, 4
dec ecx
jne 0x564c99
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
push 0x559b80
push 4
push eax
push ecx
call dword [sym.imp.msvcrt.dll_qsort]
add esp, 0x10
lea ecx, [esp + 0x64]
call sub.mfc42u.dll_CWordArray::CWordArray
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 2
call sub.mfc42u.dll_CWordArray::CWordArray
mov eax, dword [esi + 0x48]
xor edi, edi
test eax, eax
mov byte [esp + 0x80], 3
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
jle 0x564d48
mov eax, dword [esi + 0x44]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
call dword [edx + 8]
fadd qword [esp + 0x14]
fcomp qword [ebp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x564d1e
mov eax, dword [esp + 0x44]
push edi
push eax
lea ecx, [esp + 0x44]
jmp 0x564d3b
mov ecx, dword [esi + 0x44]
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx]
call dword [edx + 8]
fadd qword [esp + 0x14]
mov eax, dword [esp + 0x6c]
push edi
push eax
lea ecx, [esp + 0x6c]
fstp qword [esp + 0x1c]
call sub.mfc42u.dll_CWordArray::SetAtGrow
mov eax, dword [esi + 0x48]
inc edi
cmp edi, eax
jl 0x564cf9
mov edi, dword [ebp + 0x14]
lea ecx, [esp + 0x64]
push ecx
mov ecx, edi
call sub.mfc42u.dll_CWordArray::Copy
mov ebx, dword [ebp + 0x18]
lea edx, [esp + 0x3c]
push edx
mov ecx, ebx
call sub.mfc42u.dll_CWordArray::Copy
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x64]
lea ecx, [esp + 0x3c]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00564880
fstp qword [esp + 0x14]
fld qword [ebp + 0xc]
fsub qword [esp + 0x14]
fcom qword [0x5f0b20]
fnstsw ax
test ah, 0x41
jne 0x564f39
mov eax, dword [esi + 0x34]
test eax, eax
je 0x564e3d
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
fld qword [edx + 0x78]
fxch st(1)
fadd st(0), st(0)
fxch st(1)
fcompp
fnstsw ax
test ah, 1
je 0x564e3f
fld qword [edx + 0x78]
mov eax, dword [edx + 0x78]
fld qword [ebp + 0xc]
mov ecx, dword [edx + 0x7c]
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x64]
lea eax, [esp + 0x3c]
push edx
push eax
fsub st(1)
sub esp, 8
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 8]
fstp qword [esp]
push ecx
mov ecx, dword [esp + 0x24]
fstp st(0)
call fcn.00564880
fadd qword [esp + 0x1c]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x564e25
fstp qword [esp + 0x14]
lea edx, [esp + 0x64]
mov ecx, edi
push edx
call sub.mfc42u.dll_CWordArray::Copy
lea eax, [esp + 0x3c]
mov ecx, ebx
push eax
call sub.mfc42u.dll_CWordArray::Copy
jmp 0x564e3f
push edi
lea ecx, [esp + 0x68]
fstp st(0)
call sub.mfc42u.dll_CWordArray::Copy
push ebx
lea ecx, [esp + 0x40]
call sub.mfc42u.dll_CWordArray::Copy
jmp 0x564e3f
fstp st(0)
fld qword [ebp + 0xc]
fsub qword [esp + 0x14]
fcomp qword [0x5f0b20]
fnstsw ax
test ah, 0x41
jne 0x564f3b
mov eax, dword [esp + 0x44]
xor ebx, ebx
test eax, eax
jle 0x564f3b
fld qword [ebp + 0xc]
fsub qword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, dword [esi + 0x44]
xor edi, edi
sub esp, 8
mov di, word [ecx + ebx*2]
mov ecx, dword [edx + edi*4]
mov edx, dword [esi + 0xc]
fadd st(0), st(0)
mov eax, dword [ecx]
fstp qword [esp]
push edx
mov edx, dword [esi + 8]
push edx
call dword [eax + 0xc]
fst qword [esp + 0x1c]
fcomp qword [0x5e2798]
fnstsw ax
test ah, 0x41
jne 0x564f2a
push 1
push ebx
lea ecx, [esp + 0x44]
call sub.mfc42u.dll_CWordArray::RemoveAt
fld qword [ebp + 0xc]
fsub qword [esp + 0x1c]
mov edx, dword [ebp + 8]
lea eax, [esp + 0x64]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, dword [esp + 0x18]
sub esp, 8
fstp qword [esp]
push edx
call fcn.00564880
fadd qword [esp + 0x1c]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x564f0e
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x64]
fstp qword [esp + 0x14]
push eax
call sub.mfc42u.dll_CWordArray::Copy
push 1
push edi
push 0
lea ecx, [esp + 0x48]
call sub.mfc42u.dll_CWordArray::InsertAt
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [ebp + 0x18]
jmp 0x564f25
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x64]
push edx
fstp st(0)
call sub.mfc42u.dll_CWordArray::Copy
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x3c]
push eax
call sub.mfc42u.dll_CWordArray::Copy
mov eax, dword [esp + 0x44]
inc ebx
cmp ebx, eax
jl 0x564e65
jmp 0x564f3b
fstp st(0)
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 2
call fcn.005c1d36
lea ecx, [esp + 0x64]
mov byte [esp + 0x80], 1
call fcn.005c1d36
mov dword [esp + 0x50], 0x5f0b84
mov ebx, dword [esp + 0x54]
mov byte [esp + 0x80], 4
test ebx, ebx
je 0x564f95
mov edi, dword [esp + 0x58]
mov esi, ebx
test edi, edi
je 0x564f8c
mov ecx, esi
call fcn.0051d670
add esi, 0x10
dec edi
jne 0x564f7f
push ebx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x28], 0x5e2824
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x80], 5
test eax, eax
je 0x564fb9
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x78]
pop edi
fld qword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14