Function at 0x40c2c0
Capabilities:
Contain obfuscated stackstrings
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x414fa2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
mov al, byte [0x4208cc]
mov dword [esp + 0x25c], 0
test al, al
je 0x40c58f
mov eax, dword [esp + 0x264]
cmp word [eax], 0
je 0x40c58f
lea ecx, [esp + 0x34]
call fcn.00413e54
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 1
call sub.MFC42u.DLL_CException::CException
lea ecx, [esp + 0x24]
mov byte [esp + 0x25c], 2
call sub.MFC42u.DLL_CString::CString_1
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x260], 3
mov dword [esp + 0x18], 0x4162ec
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42u.DLL_CString::operator_2
push str.IBMShare
mov byte [esp + 0x260], 4
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
lea ecx, [esp + 4]
push eax
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 4]
push 0x41f298
lea edx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x268], 5
call sub.MFC42u.DLL_operator_1
mov eax, dword [esp + 8]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov byte [esp + 0x264], 6
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea edx, [esp + 0x14]
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x34]
push edx
push 0x3001
push eax
call sub.MFC42u.DLL_CStdioFile::Open
test eax, eax
jne 0x40c404
lea ecx, [esp + 8]
mov byte [esp + 0x25c], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x25c], 4
call sub.MFC42u.DLL_CString::CString
mov dword [esp + 0x14], 0x4162ec
mov byte [esp + 0x25c], 7
jmp 0x40c56d
mov edx, dword [esp + 0x34]
push 2
push 0
lea ecx, [esp + 0x3c]
call dword [edx + 0x30]
lea ecx, [esp]
call sub.MFC42u.DLL_CString::CString_1
push 0x41f294
lea ecx, [esp + 0x14]
mov byte [esp + 0x260], 8
call sub.MFC42u.DLL_CString::CString_3
push 0x41f290
lea ecx, [esp + 0x10]
mov byte [esp + 0x260], 9
call sub.MFC42u.DLL_CString::CString_3
lea eax, [esp + 0x30]
push 0x41e0b0
lea ecx, [esp + 0x4c]
push eax
push ecx
mov byte [esp + 0x268], 0xa
call sub.MFC42u.DLL_CTime::GetTickCount
mov ecx, eax
call sub.MFC42u.DLL_CTime::Format
push eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x30]
push edx
push eax
mov byte [esp + 0x268], 0xb
call sub.MFC42u.DLL_operator_3
lea ecx, [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
push eax
push edx
mov byte [esp + 0x268], 0xc
call sub.MFC42u.DLL_operator_3
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x260], 0xd
call fcn.00413dfa
lea ecx, [esp + 0x28]
mov byte [esp + 0x25c], 0xc
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 0xb
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x25c], 0xa
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x25c], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 8
call sub.MFC42u.DLL_CString::CString
lea eax, [esp + 0x264]
lea ecx, [esp]
push eax
call sub.MFC42u.DLL_CString::operator_1
mov ecx, dword [esp]
push ecx
lea ecx, [esp + 0x38]
call sub.MFC42u.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_CStdioFile::Close
lea ecx, [esp]
mov byte [esp + 0x25c], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x25c], 5
call sub.MFC42u.DLL_CString::CString
mov byte [esp + 0x25c], 4
lea ecx, [esp + 4]
call sub.MFC42u.DLL_CString::CString
mov dword [esp + 0x14], 0x4162ec
mov byte [esp + 0x25c], 0xe
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], 0x4162d8
mov byte [esp + 0x25c], 0
call sub.MFC42u.DLL_CStdioFile::CStdioFile
lea ecx, [esp + 0x264]
mov dword [esp + 0x25c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
add esp, 0x260
ret