Function at 0x4102b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3b8
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x38]
mov dword [esp + 0xc], ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], eax
mov byte [esp + 0x1bc], 0
mov dword [esp + 0x18], eax
mov byte [esp + 0x7c], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3d4]
test eax, eax
je 0x41039d
lea ecx, [esp + 0x1bc]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.MSVCRT.dll__splitpath]
push 0
lea edx, [esp + 0x2c4]
push 0
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c8]
push eax
push ecx
call esi
mov ecx, dword [esp + 0x3dc]
lea edx, [esp + 0x40]
lea eax, [esp + 0x194]
push edx
push eax
push 0
push 0
push ecx
call esi
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x28
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x2c]
jne 0x410374
mov eax, str..exe
push eax
lea edx, [esp + 0x184]
lea eax, [esp + 0x2c4]
push edx
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x1c8]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__makepath]
add esp, 0x14
jmp 0x4103c8
mov edi, dword [esp + 0x3c8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1bc]
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]
mov edx, dword [esp + 0x3d0]
push ebp
test edx, edx
je 0x410463
or ecx, 0xffffffff
mov edi, 0x432ec4
xor eax, eax
lea ebp, [esp + 0x80]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
lea ebp, [esp + 0x80]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1c0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea ebp, [esp + 0x80]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x432ec4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebp, dword [esp + 0x3d0]
test ebp, ebp
je 0x41053b
test edx, edx
je 0x4104ad
mov edi, 0x432ec0
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x80]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4104dc
mov edi, 0x432ec4
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x80]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x80]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, ecx
mov ecx, esi
mov esi, edi
mov edi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea ebp, [esp + 0x80]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x432ec4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x3c]
push eax
push ecx
neg edx
push 0
push 0
sbb edx, edx
push 8
push 0
lea ecx, [esp + 0x1d8]
not edx
push 0
lea eax, [esp + 0x9c]
push 0
and edx, ecx
push eax
push edx
mov dword [esp + 0x3c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop ebp
je 0x41061b
mov eax, dword [esp + 0x3d8]
test eax, eax
je 0x41062b
mov esi, dword [esp + 0x3dc]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
test esi, esi
je 0x4105cd
mov edx, dword [ebx + 0x20]
push edx
call edi
test eax, eax
je 0x4105b0
push 6
mov ecx, ebx
jmp 0x4105c8
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x4105c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4105c4
xor eax, eax
push 6
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test esi, esi
je 0x41060b
mov ecx, dword [ebx + 0x20]
push ecx
call edi
test eax, eax
je 0x4105ee
push 9
mov ecx, ebx
jmp 0x410606
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x410600
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x410602
xor eax, eax
push 9
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
add esp, 0x3b8
ret 0x18
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x3b8
ret 0x18