Function at 0x40d9a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40fc80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 8]
mov dword [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 2
mov esi, dword [eax + 8]
push esi
call sub.MFC42.DLL_CString::operator
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0xc]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push str.name
push edx
call edi
add esp, 8
test eax, eax
jne 0x40da4f
lea eax, [esp + 8]
lea ecx, [esp + 0x3c]
push eax
push 0x41615c
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 3
call fcn.0040e364
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov esi, dword [esi + 0x10c]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::operator
lea edx, [esi + 0xc]
lea ecx, [esp + 8]
push edx
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0xc]
push 0x415fe8
push eax
call edi
add esp, 8
test eax, eax
jne 0x40da9b
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x20]
call fcn.0040e364
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov esi, dword [esi + 0x10c]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x38], 5
call sub.MFC42.DLL_CString::operator
lea edx, [esi + 0xc]
lea ecx, [esp + 8]
push edx
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0xc]
push str.time
push eax
call edi
add esp, 8
test eax, eax
jne 0x40dae7
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040e364
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov esi, dword [esi + 0x10c]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x38], 6
call sub.MFC42.DLL_CString::operator
add esi, 0xc
lea ecx, [esp + 8]
push esi
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0xc]
push 0x415fe4
push edx
call edi
add esp, 8
test eax, eax
jne 0x40db33
lea eax, [esp + 8]
lea ecx, [esp + 0x14]
push eax
call fcn.0040e364
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [0x416020]
push edx
mov edx, dword [0x416024]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push str._s__s__d__s__s__s
push ecx
mov byte [esp + 0x54], 7
call sub.MFC42.DLL_CString::Format
add esp, 0x20
lea edx, [esp + 0x24]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_1
call fcn.00403030
mov ecx, dword [esp + 0x2c]
mov eax, dword [0x416150]
add esp, 8
push ecx
push eax
mov ecx, 0x416148
call sub.MFC42.DLL_CUIntArray::SetAtGrow
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x30
ret 4