Function at 0x653ec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69b9f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_5
xor edi, edi
lea ecx, [esp + 8]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x10], edi
call sub.MFC42u.DLL_CString::CString_5
lea eax, [esp + 0x30]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0xac]
lea ecx, [esp + 0x24]
push eax
push ecx
push edx
mov byte [esp + 0xb0], 1
mov dword [esp + 0x3c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x38], edi
call fcn.006541d0
add esp, 0x24
cmp eax, 0xffffffff
jne 0x653f84
lea ecx, [esp + 8]
mov byte [esp + 0x8c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x8c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
jmp 0x65412f
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
push ebx
push ebp
mov edi, eax
lea ebp, [ecx + eax]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov ebx, eax
add edx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x64]
mov byte [esp + 0x94], 2
call sub.MFC42u.DLL_CString::CString_5
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x60]
push edx
mov byte [esp + 0x98], 3
mov dword [esp + 0x60], 0
call sub.MFC42u.DLL_CString::operator_3
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x64]
push eax
call sub.MFC42u.DLL_CString::operator_3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 1
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x38]
mov ebx, dword [esi + 0xc]
mov byte [esp + 0x94], 4
test eax, eax
mov dword [esp + 0x88], edx
jne 0x65409b
mov eax, dword [esi + 0x1c]
push 0x38
lea ecx, [esi + 0x18]
push eax
push ecx
call sub.MFC42u.DLL_CPlex::Create
mov ecx, dword [esi + 0x1c]
lea edx, [ecx*8]
sub edx, ecx
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x34]
jl 0x65409b
inc ecx
mov edx, dword [esi + 0x14]
mov dword [eax], edx
mov dword [esi + 0x14], eax
sub eax, 0x38
dec ecx
jne 0x65408d
mov edi, dword [esi + 0x14]
push 1
mov eax, dword [edi]
mov dword [esi + 0x14], eax
mov dword [edi + 4], ebx
mov dword [edi], 0
mov ecx, dword [esi + 0x10]
lea ebx, [edi + 8]
inc ecx
push ebx
mov dword [esi + 0x10], ecx
call fcn.00622990
lea ecx, [esp + 0x5c]
push ecx
mov ecx, ebx
call fcn.00622920
mov eax, dword [esi + 0xc]
pop ebp
test eax, eax
pop ebx
je 0x6540d7
mov dword [eax], edi
jmp 0x6540da
mov dword [esi + 8], edi
xor edx, edx
mov dword [esi + 0xc], edi
test edi, edi
setne dl
mov esi, edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8c], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x8c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x8c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x8c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x84]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x88
ret 4