Function at 0x405320
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x264
push ebx
mov ebx, dword [esp + 0x26c]
push ebp
push esi
push edi
push 0x3a
push ebx
call sub.MSVCRT.dll_strchr
mov ebp, dword [esp + 0x284]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 8
test eax, eax
je 0x40541f
mov al, byte [ebx]
or al, byte [0x484668]
je 0x4053fe
push 0x484668
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x6c]
push ebx
push edx
call fcn.0040e790
add esp, 8
push 0x45d0fc
lea eax, [esp + 0x70]
push eax
call esi
push ebp
lea ecx, [esp + 0x70]
push ecx
call esi
xor edx, edx
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], edx
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x2c]
push ecx
push edx
push edx
push edx
push edx
push edx
push edx
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x8c]
push edx
push 0
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x7c], 1
mov word [esp + 0x80], 5
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4053fe
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret
push 0x5c
push ebx
call sub.MSVCRT.dll_strrchr
add esp, 8
test eax, eax
jne 0x40541c
push 0x3a
push ebx
call sub.MSVCRT.dll_strrchr
add esp, 8
test eax, eax
je 0x40541f
lea ebx, [eax + 1]
mov al, byte [0x71a010]
test al, al
je 0x4054d3
mov cl, byte [ebx]
or cl, al
je 0x4054d3
push 0x71a010
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.0040e790
add esp, 8
push 0x45d0fc
lea ecx, [esp + 0x70]
push ecx
call esi
push ebp
lea edx, [esp + 0x70]
push edx
call esi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x2c]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x8c]
push eax
push 0
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x7c], 1
mov word [esp + 0x80], 5
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4054d3
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret
mov eax, dword [0x71a218]
test eax, eax
mov dword [esp + 0x24], 0
jle 0x4055ac
mov eax, 0x61837c
mov dword [esp + 0x20], eax
mov cl, byte [ebx]
or cl, byte [eax]
je 0x40558c
push eax
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.0040e790
add esp, 8
push 0x45d0fc
lea ecx, [esp + 0x70]
push ecx
call esi
push ebp
lea edx, [esp + 0x70]
push edx
call esi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x2c]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x8c]
push eax
push 0
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x7c], 1
mov word [esp + 0x80], 5
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x405865
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [0x71a218]
inc ecx
add eax, 0x104
cmp ecx, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
jl 0x4054f1
mov al, byte [0x7199f0]
test al, al
je 0x405665
mov cl, byte [ebx]
or cl, al
je 0x405665
push 0x7199f0
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.0040e790
add esp, 8
push 0x45d0fc
lea ecx, [esp + 0x70]
push ecx
call esi
push ebp
lea edx, [esp + 0x70]
push edx
call esi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x2c]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x8c]
push eax
push 0
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x7c], 1
mov word [esp + 0x80], 5
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405660
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret
mov al, byte [0x7199f0]
mov cl, byte [0x719cfc]
test cl, cl
je 0x40571a
mov cl, byte [ebx]
or cl, al
je 0x40571a
push 0x7199f0
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.0040e790
add esp, 8
push 0x45d0fc
lea ecx, [esp + 0x70]
push ecx
call esi
push ebp
lea edx, [esp + 0x70]
push edx
call esi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x2c]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x8c]
push eax
push 0
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x7c], 1
mov word [esp + 0x80], 5
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40571a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret
mov cl, byte [ebx]
or cl, byte [0x719af4]
je 0x4057c5
push 0x719af4
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.0040e790
add esp, 8
push 0x45d0fc
lea ecx, [esp + 0x70]
push ecx
call esi
push ebp
lea edx, [esp + 0x70]
push edx
call esi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x2c]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x8c]
push eax
push 0
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x7c], 1
mov word [esp + 0x80], 5
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4057c5
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret
mov al, byte [0x719bf8]
test al, al
je 0x4057f1
push ebp
push ebx
push 0x719bf8
call fcn.00405260
add esp, 0xc
test eax, eax
je 0x4057f1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret
mov al, byte [0x719e04]
test al, al
je 0x40581d
push ebp
push ebx
push 0x719e04
call fcn.00405260
add esp, 0xc
test eax, eax
je 0x40581d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret
mov al, byte [0x719e08]
test al, al
je 0x405849
push ebp
push ebx
push 0x719e08
call fcn.00405260
add esp, 0xc
test eax, eax
je 0x405849
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret
mov al, byte [0x719f0c]
test al, al
je 0x405875
push ebp
push ebx
push 0x719f0c
call fcn.00405260
add esp, 0xc
test eax, eax
je 0x405875
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret
push ebx
lea ecx, [esp + 0x174]
push str.File_Not_Found._n_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x170]
push edx
push 0x7197b0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x264
ret