Function at 0x40b4b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x40cf26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CStringArray::CStringArray
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x340], ebx
call sub.MFC42.DLL_CString::CString
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x131]
mov byte [esp + 0x130], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2d]
mov byte [esp + 0x2c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x235]
mov byte [esp + 0x234], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x417500
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x340], 1
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x28], 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [0x413010]
test eax, eax
je 0x40b5ee
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov edi, 0x417500
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0xf
jbe 0x40b5c8
mov ecx, dword [0x417500]
mov edx, dword [0x417504]
mov eax, dword [0x417508]
mov dword [esp + 0x2c], ecx
mov cx, word [0x41750c]
mov dword [esp + 0x30], edx
mov dl, byte [0x41750e]
mov dword [esp + 0x34], eax
mov word [esp + 0x38], cx
mov byte [esp + 0x3a], dl
jmp 0x40b5ee
mov edi, 0x417500
or ecx, 0xffffffff
xor eax, eax
mov esi, 0x417500
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x2c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
push ecx
call dword [0x412fd0]
test eax, eax
jne 0x40b63d
lea edx, [esp + 0x130]
mov dword [esp + 0x28], ebx
push edx
call fcn.0040b2b0
add esp, 4
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x40b63d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
cmp eax, ebx
je 0x40b63d
push 5
push ebx
lea eax, [esp + 0x138]
push ebx
push eax
push 0x410218
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
call dword [0x413014]
test eax, eax
jne 0x40b87f
mov edi, 0x417528
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [0x413010]
test eax, eax
je 0x40b6f3
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov edi, 0x417528
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0xf
jbe 0x40b6cd
mov ecx, dword [0x417528]
mov edx, dword [0x41752c]
mov eax, dword [0x417530]
mov dword [esp + 0x2c], ecx
mov cx, word [0x417534]
mov dword [esp + 0x30], edx
mov dl, byte [0x417536]
mov dword [esp + 0x34], eax
mov word [esp + 0x38], cx
mov byte [esp + 0x3a], dl
jmp 0x40b6f3
mov edi, 0x417528
or ecx, 0xffffffff
xor eax, eax
mov esi, 0x417528
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x2c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
push ecx
call dword [0x412fd0]
test eax, eax
jne 0x40b87f
call fcn.0040b370
test eax, eax
je 0x40b8de
call fcn.0040b430
test eax, eax
jne 0x40b774
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStringArray::SetSize
push 0xe01d
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStringArray::SetAtGrow
push 0xe020
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::LoadStringA
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStringArray::SetAtGrow
lea eax, [esp + 0x14]
push eax
jmp 0x40b931
push 0x417514
lea ecx, [esp + 0x238]
push 0x411704
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x234]
push ebx
push ebx
push edx
push 0x411700
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x1194
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0x417528
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [0x413010]
test eax, eax
je 0x40b814
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x2c]
mov esi, 0x417528
rep stosd dword es:[edi], eax
mov edi, 0x417528
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffd
lea edi, [esp + 0x2c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x2c]
push eax
call dword [0x412fd0]
test eax, eax
je 0x40b8de
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStringArray::SetSize
push 0xe01d
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::LoadStringA
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStringArray::SetAtGrow
push 0xe01f
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStringArray::SetAtGrow
lea edx, [esp + 0x14]
push edx
jmp 0x40b931
cmp dword [esp + 0x28], ebx
je 0x40b7a6
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStringArray::SetSize
push 0xe01d
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStringArray::SetAtGrow
push 0xe01e
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::LoadStringA
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStringArray::SetAtGrow
lea eax, [esp + 0x14]
push eax
jmp 0x40b931
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStringArray::SetSize
push 0xe01d
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStringArray::SetAtGrow
push 0xe021
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebp + 0x68]
call fcn.00406cc0
lea ecx, [esp + 0x10]
mov byte [esp + 0x340], bl
call fcn.0040c2d6
lea ecx, [esp + 0x14]
mov dword [esp + 0x340], 0xffffffff
call fcn.0040c53a
mov ecx, dword [esp + 0x338]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x334
ret