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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x470797
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x4db790
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 0x402f44
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_2
push ebp
lea ecx, [edi + 0x1c]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp]
push 0x4d71fc
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 0x401440
call sub.MFC42.DLL_AfxBeginThread
jmp 0x402f44
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 0x401440
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.0041e2aa
push 0x8c
lea ecx, [esp + 0x2c]
mov dword [esp + 0x22c], 0
call sub.MFC42.DLL_CFile::SetLength
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x28]
mov dword [esp + 0x228], 0xffffffff
call sub.MFC42.DLL_CFile::CFile
jmp 0x402f44
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.0042c290
add esp, 4
test eax, eax
je 0x402f44
lea edx, [esp + 0x10]
push edx
call fcn.004013a0
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 + 0x250], 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 + 0x238]
lea ecx, [esp + 0x84]
push eax
call fcn.00402fe0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x228], 2
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x7c]
call fcn.00403630
lea ecx, [esp + 0x21c]
mov byte [esp + 0x228], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x200]
mov byte [esp + 0x228], 5
call sub.MFC42.DLL_CStringList::CStringList
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x228], 4
call sub.MFC42.DLL_CStringList::CStringList
lea ecx, [esp + 0xdc]
mov byte [esp + 0x228], 3
call fcn.00419cd0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x228], bl
call sub.MFC42.DLL_CDialog::CDialog
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x21c
ret 4