Function at 0x402200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x435857
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
push esi
lea eax, [esp + 0x1c]
push edi
mov esi, ecx
push eax
mov dword [esp + 0x20], 0
call ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 1
push ecx
call ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], 4
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 8]
mov dx, word [esp + 0x64]
test eax, eax
mov byte [esp + 0x58], 5
mov word [esp + 0x30], 2
mov word [esp + 0x38], dx
jne 0x402292
push 0x80004003
call fcn.00435216
mov esi, dword [esi + 8]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004046b0
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0x58], 6
test eax, eax
jne 0x4022b8
push 0x80004003
call fcn.00435216
mov esi, dword [esi]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x64]
push ecx
push edx
mov ecx, esi
call fcn.00404700
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0x58], 7
test eax, eax
jne 0x4022e2
push 0x80004003
call fcn.00435216
mov ecx, dword [esi]
lea eax, [esp + 0x40]
push eax
call fcn.00404810
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x60], 8
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x402309
push eax
call fcn.00435216
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x5c], 7
call edi
test eax, eax
jge 0x402325
push eax
call fcn.00435216
mov eax, dword [esp + 0x64]
mov byte [esp + 0x58], 6
test eax, eax
je 0x402338
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x58], 5
test eax, eax
je 0x40234b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x20]
mov eax, ecx
and eax, 0xffff
sub eax, 0
je 0x402401
dec eax
je 0x402401
sub eax, 9
je 0x402401
cmp cx, 8
mov dword [esp + 0x64], 0
jne 0x40238d
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x64]
push eax
call fcn.00404ae0
jmp 0x4023cd
lea ecx, [esp + 0x40]
push ecx
call ebx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x40]
push edx
push 8
mov byte [esp + 0x60], 9
call fcn.00404f00
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x64]
push eax
call fcn.00404ae0
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 5
push ecx
call edi
test eax, eax
jge 0x4023cd
push eax
call fcn.00435216
mov ecx, dword [esp + 0x64]
mov byte [esp + 0x58], 0xa
test ecx, ecx
je 0x4023e1
call fcn.00404ea0
jmp 0x4023e3
xor eax, eax
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x64]
mov byte [esp + 0x58], 5
test ecx, ecx
je 0x40240f
call fcn.00404e10
jmp 0x40240f
push 0x44b560
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x10]
push edx
push 0x4472e8
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x68]
push ecx
push 0x4472e4
push edx
call sub.MFC42.DLL_operator_1
push 0x4472e0
push eax
lea eax, [esp + 0x6c]
mov bl, 0xb
push eax
mov byte [esp + 0x64], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0xc
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x64]
mov byte [esp + 0x58], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x68]
mov byte [esp + 0x58], 5
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x6c]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x30]
mov byte [esp + 0x58], 1
push edx
call edi
test eax, eax
jge 0x4024e9
push eax
call fcn.00435216
lea eax, [esp + 0x20]
mov byte [esp + 0x58], 0
push eax
call edi
test eax, eax
jge 0x4024ff
push eax
call fcn.00435216
mov ecx, dword [esp + 0x50]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc