Function at 0x410c00
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x424528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x4c]
push 0x42c4f8
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x50], 2
call sub.MFC42.DLL_operator_2
mov edx, dword [esp + 0x10]
push 0x42b7cc
push edx
mov byte [esp + 0x4c], 3
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x410e2e
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x18]
push 0x20
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x18]
lea ecx, [esp + 0x54]
push eax
call sub.MFC42.DLL_CString::Left
mov ecx, dword [eax]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
push ecx
lea edx, [esp + 0x1c]
push 0x42b080
push edx
call esi
add esp, 0xc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov ebx, dword [sym.imp.MSVCRT.dll_fwrite]
push ebp
push 0x20
lea eax, [esp + 0x20]
push 1
push eax
call ebx
mov eax, dword [esp + 0x64]
push ebp
mov ecx, eax
mov edx, eax
shr ecx, 0x18
shr edx, 0x10
mov byte [esp + 0x2c], cl
mov byte [esp + 0x2d], dl
mov ecx, eax
push 4
lea edx, [esp + 0x30]
push 1
shr ecx, 8
push edx
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3b], al
call ebx
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x38]
add esp, 0x20
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x58]
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::TrimLeft
mov eax, dword [esp + 0x60]
push 0x42d1a8
test eax, eax
je 0x410d23
mov eax, dword [esp + 0x5c]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x410d70
push str.0000_00_00_00:00:00_0
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::operator_2
jmp 0x410d70
mov ecx, dword [esp + 0x5c]
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x410d70
push ecx
lea edx, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x58]
push eax
call fcn.00410440
add esp, 8
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x54]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
push 0x20
push ecx
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::Left
mov edx, dword [eax]
lea eax, [esp + 0x18]
push edx
push 0x42b080
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString
push ebp
push 0x20
lea ecx, [esp + 0x20]
push 1
push ecx
call ebx
mov esi, dword [esp + 0x6c]
add esp, 0x10
test esi, esi
jne 0x410de7
push 5
push esi
lea edx, [esp + 0x20]
push esi
push edx
call fcn.004103f0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
push 5
push eax
lea edx, [esp + 0x35]
push ecx
push edx
call fcn.004103f0
push ebp
push 0xa
lea eax, [esp + 0x40]
push 1
push eax
call ebx
add esp, 0x30
jmp 0x410e24
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push 5
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004103f0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push 5
push ecx
lea eax, [esp + 0x35]
push edx
push eax
call fcn.004103f0
push ebp
push 0xa
lea ecx, [esp + 0x40]
push 1
push ecx
call ebx
mov esi, dword [esi + 0x10]
add esp, 0x30
test esi, esi
jne 0x410de7
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret