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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x470ecf
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x4e0820
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 0x402f58
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 fcn.0041e5a2
push ebp
lea ecx, [edi + 0x1c]
call fcn.0041e5a2
mov eax, dword [ebp]
push 0x4dc1fc
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov esi, eax
test esi, esi
push 0
jne 0x402d31
push 0
push 0
push 0
push ebx
push 0x401450
call sub.MFC42.DLL_AfxBeginThread_1
jmp 0x402f58
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 0x402dd7
cmp al, 0x39
jg 0x402dd7
movsx ecx, al
mov eax, dword [edi + 0x30]
xor edx, edx
mov edi, 0xa
sub ecx, 0x30
div edi
cmp ecx, edx
je 0x402d83
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
push edx
push 0x401450
call sub.MFC42.DLL_AfxBeginThread_1
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 sub.MFC42.DLL_CFile::CFile
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 fcn.0041e596
jmp 0x402f58
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_4
call fcn.0042c810
add esp, 4
test eax, eax
je 0x402f58
lea edx, [esp + 0x10]
push edx
call fcn.004013b0
mov ecx, eax
call fcn.00402c80
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_4
mov eax, dword [esp + 0x240]
lea ecx, [esp + 0x84]
push eax
call fcn.00403010
lea ecx, [esp + 0x7c]
mov byte [esp + 0x230], 2
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x7c]
call fcn.004036e0
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.0041a130
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