Function at 0x406690
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 fcn.00444fd0
mov ebp, dword [esp + 0x284]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 8
test eax, eax
je 0x40678f
mov al, byte [ebx]
or al, byte [0x4b3e14]
je 0x40676e
push 0x4b3e14
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x6c]
push ebx
push edx
call fcn.004139c0
add esp, 8
push 0x48226c
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 0x40676e
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret
push 0x5c
push ebx
call fcn.00444f90
add esp, 8
test eax, eax
jne 0x40678c
push 0x3a
push ebx
call fcn.00444f90
add esp, 8
test eax, eax
je 0x40678f
lea ebx, [eax + 1]
mov al, byte [0x13b4b38]
test al, al
je 0x406843
mov cl, byte [ebx]
or cl, al
je 0x406843
push 0x13b4b38
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.004139c0
add esp, 8
push 0x48226c
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 0x406843
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret
mov eax, dword [0x13b4d40]
test eax, eax
mov dword [esp + 0x24], 0
jle 0x40691c
mov eax, 0xbccf04
mov dword [esp + 0x20], eax
mov cl, byte [ebx]
or cl, byte [eax]
je 0x4068fc
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.004139c0
add esp, 8
push 0x48226c
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 0x406bd5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [0x13b4d40]
inc ecx
add eax, 0x104
cmp ecx, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
jl 0x406861
mov al, byte [0x13b4518]
test al, al
je 0x4069d5
mov cl, byte [ebx]
or cl, al
je 0x4069d5
push 0x13b4518
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.004139c0
add esp, 8
push 0x48226c
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 0x4069d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret
mov al, byte [0x13b4518]
mov cl, byte [0x13b4824]
test cl, cl
je 0x406a8a
mov cl, byte [ebx]
or cl, al
je 0x406a8a
push 0x13b4518
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.004139c0
add esp, 8
push 0x48226c
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 0x406a8a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret
mov cl, byte [ebx]
or cl, byte [0x13b461c]
je 0x406b35
push 0x13b461c
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.004139c0
add esp, 8
push 0x48226c
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 0x406b35
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret
mov al, byte [0x13b4720]
test al, al
je 0x406b61
push ebp
push ebx
push 0x13b4720
call fcn.004065d0
add esp, 0xc
test eax, eax
je 0x406b61
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret
mov al, byte [0x13b492c]
test al, al
je 0x406b8d
push ebp
push ebx
push 0x13b492c
call fcn.004065d0
add esp, 0xc
test eax, eax
je 0x406b8d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret
mov al, byte [0x13b4930]
test al, al
je 0x406bb9
push ebp
push ebx
push 0x13b4930
call fcn.004065d0
add esp, 0xc
test eax, eax
je 0x406bb9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret
mov al, byte [0x13b4a34]
test al, al
je 0x406be5
push ebp
push ebx
push 0x13b4a34
call fcn.004065d0
add esp, 0xc
test eax, eax
je 0x406be5
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 0x13b41c4
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x264
ret