Function at 0x40422a
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x408be0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea edi, [esi + 0x458]
push ebx
mov ecx, edi
call fcn.00406440
lea ecx, [esp + 0x20]
mov ebp, eax
call sub.MFC42.DLL_CString::CString
cmp ebp, ebx
mov dword [esp + 0x44], ebx
jne 0x404258
push str..BMP
jmp 0x40425d
push str..JPG
lea ecx, [esp + 0x24]
call fcn.00407e80
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea eax, [esi + 0x440]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 3
push ecx
call sub.MFC42.DLL_CTime::GetTickCount
mov edx, dword [eax]
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
add eax, 0x76c
push eax
lea eax, [esp + 0x14]
push 0x40d050
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
push ebx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x10]
inc eax
push eax
push 0x40d050
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.00407f46
push ebx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x10]
push eax
push 0x40d050
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.00407f46
push ebx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 8]
push eax
lea eax, [esp + 0x14]
push 0x40d050
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.00407f46
push ebx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 4]
lea edx, [esp + 0x10]
push eax
push 0x40d050
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.00407f46
push ebx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
push 0x40d050
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.00407f46
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push 0x40d198
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 4
call fcn.00407f46
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 3
call fcn.00407e5c
lea edx, [esp + 0x20]
lea ecx, [esp + 0x1c]
push edx
call fcn.00407f46
mov eax, dword [esp + 0x1c]
push 0x1001
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [esi + 0x838]
mov ecx, dword [esi + 0x83c]
mov edx, dword [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 5
call dword [edx + 0x40]
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CFile::Close
mov eax, dword [esi + 0x83c]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x83c], ebx
push 5
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x40d3b8
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.004047a0
mov ecx, edi
call fcn.00406280
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x40d3ac
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.004047a0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._r_n
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.004047a0
mov ecx, edi
call fcn.00406350
push ecx
test eax, eax
mov ecx, esp
jg 0x404534
mov dword [esp + 0x2c], esp
push 0x40d364
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.004047a0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x40d324
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.004047a0
mov edx, dword [esi + 0x840]
lea ebp, [esi + 0x840]
push ebx
push 5
push str.JBOK
mov ecx, ebp
call dword [edx + 0x20]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x18]
push ebx
lea ecx, [esi + 0x230]
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
mov ecx, edi
mov dword [esi + 0x834], ebx
call fcn.00406820
jmp 0x404553
mov dword [esp + 0x2c], esp
push 0x40d30c
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.004047a0
push 1
push ebx
mov ecx, edi
call fcn.00406410
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 3
call fcn.00408114
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 2
call fcn.00407e5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 1
call fcn.00407e5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], bl
call fcn.00407e5c
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], 0xffffffff
call fcn.00407e5c
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret