Function at 0x403040
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ab7ef
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x55b7e8
mov eax, dword [edi + 0x2c]
lea ebp, [edi + 0x2c]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4032f8
xor eax, eax
lea ebx, [edi + 0x18]
mov dword [edi + 0x24], eax
mov dword [edi + 0x20], eax
lea eax, [edi + 0x28]
mov ecx, ebx
push eax
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::operator_3
push ebp
lea ecx, [edi + 0x1c]
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [ebp]
push 0x54d284
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov esi, eax
test esi, esi
push 0
jne 0x4030d1
push 0
push 0
push 0
push ebx
push 0x401610
call sub.MFC42.DLL_AfxBeginThread
jmp 0x4032f8
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push 0x28
push esi
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 0x10
cmp al, 0x30
jl 0x403177
cmp al, 0x39
jg 0x403177
movsx ecx, al
mov eax, dword [edi + 0x30]
xor edx, edx
mov edi, 0xa
sub ecx, 0x30
div edi
cmp ecx, edx
je 0x403123
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
push edx
push 0x401610
call sub.MFC42.DLL_AfxBeginThread
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov ebp, dword [ebp]
add esp, 4
lea ecx, [esp + 0x28]
push 1
push ebp
call fcn.004233fc
push 0x8c
lea ecx, [esp + 0x2c]
mov dword [esp + 0x234], 0
call sub.MFC42.DLL_CFile::SetLength
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x28]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42.DLL_CFile::CFile
jmp 0x4032f8
push 0
push 0x28
push esi
call ebx
mov eax, dword [edi + 0x30]
xor edx, edx
mov ecx, 0xa
push esi
div ecx
add edx, 0x30
push edx
call dword [sym.imp.MSVCRT.dll_fputc]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
mov ecx, esp
mov dword [esp + 0x18], esp
push ebp
call sub.MFC42.DLL_CString::CString_2
call fcn.004317c0
add esp, 4
test eax, eax
je 0x4032f8
lea edx, [esp + 0x10]
push edx
call fcn.00401570
mov ecx, eax
call fcn.00403020
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x18], eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], eax
mov ebp, dword [ebp]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x38]
push ecx
push edx
push eax
push 0
push 0
push 0
push 0
push 0
mov ebx, 1
push 0
push ebp
mov dword [esp + 0x258], ebx
mov dword [esp + 0x60], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x240]
lea ecx, [esp + 0x84]
push eax
call fcn.004033b0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x230], 2
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x7c]
call fcn.00403a90
lea ecx, [esp + 0x224]
mov byte [esp + 0x230], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x21c]
mov byte [esp + 0x230], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x200]
mov byte [esp + 0x230], 5
call sub.MFC42.DLL_CStringList::CStringList
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x230], 4
call sub.MFC42.DLL_CStringList::CStringList
lea ecx, [esp + 0xdc]
mov byte [esp + 0x230], 3
call fcn.0041f520
lea ecx, [esp + 0x7c]
mov byte [esp + 0x230], bl
call sub.MFC42.DLL_CDialog::CDialog
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x224
ret 4