Function at 0x401160
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411b66
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x419004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x70]
push eax
push str..configsentry.cmd
mov dword [ebp - 0x74], esi
call fcn.0040535f
add esp, 8
test eax, eax
je 0x4011c6
push 0x10
push 0x417070
push 0x417090
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
jmp 0x401617
push 0xfde9
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push 0xfde9
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push str.cmd__c_configsentry.cmd
lea ecx, [ebp - 0x28]
call fcn.00401690
cmp dword [ebp + 8], 1
mov dword [ebp - 4], 0
jle 0x401589
push 0x4170e0
lea ecx, [ebp - 0x40]
call fcn.00401690
mov eax, 1
mov byte [ebp - 4], 1
mov dword [ebp - 0x7c], eax
nop dword [eax]
nop word [eax + eax]
push dword [esi + eax*4]
lea ecx, [ebp - 0xd0]
call fcn.00401690
mov esi, eax
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0x14]
mov eax, ecx
mov edx, dword [esi + 0x10]
sub eax, edx
cmp eax, 0xe
jb 0x4012c8
lea eax, [edx + 0xe]
mov edi, esi
mov dword [esi + 0x10], eax
cmp ecx, 0x10
jb 0x401256
mov edi, dword [esi]
cmp edi, 0x4170f6
jae 0x401285
lea eax, [edi + edx]
cmp eax, str.QPT_ARGS_FLAG_
jb 0x401285
cmp edi, str.QPT_ARGS_FLAG_
ja 0x401279
mov dword [ebp - 0x78], 0
jmp 0x40128c
mov eax, edi
sub eax, str.QPT_ARGS_FLAG_
mov dword [ebp - 0x78], eax
jmp 0x40128c
mov dword [ebp - 0x78], 0xe
lea eax, [edx + 1]
push eax
lea ecx, [edi + 0xe]
push edi
push ecx
call fcn.004043e0
push dword [ebp - 0x78]
push str.QPT_ARGS_FLAG_
push edi
call fcn.004043e0
mov edx, dword [ebp - 0x78]
mov eax, 0xe
sub eax, edx
push eax
lea eax, [edx + 0x4170f6]
lea ecx, [edi + edx]
push eax
push ecx
call fcn.004043e0
add esp, 0x24
jmp 0x4012e5
push 0xe
sub esp, 8
mov byte [ebp - 0x9c], 0
mov ecx, esi
push dword [ebp - 0x9c]
push 0xe
call fcn.00401900
mov esi, eax
mov dword [ebp - 0x88], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x84], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x88], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x84]
mov eax, edx
mov ecx, dword [ebp - 0x88]
sub eax, ecx
cmp eax, 1
jb 0x40136b
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
mov word [eax + ecx], 0x22
lea eax, [ebp - 0x98]
jmp 0x40138c
push 1
push 0x4170e4
mov byte [ebp - 0xa0], 0
lea ecx, [ebp - 0x98]
push dword [ebp - 0xa0]
push 1
call fcn.004017a0
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0xb8], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0xa8], xmm0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 0x10
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xa8]
movd edi, xmm1
push ecx
cmovae edx, edi
sub eax, esi
push edx
cmp ecx, eax
ja 0x401408
cmp dword [ebp - 0x2c], 0x10
lea eax, [ecx + esi]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
add esi, eax
push esi
call fcn.004043e0
mov eax, dword [ebp - 0xa8]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x40141e
mov byte [ebp - 0x80], 0
push dword [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004017a0
mov edi, dword [ebp - 0xb8]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xa4]
cmp eax, 0x10
jb 0x401458
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40144e
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401632
push ecx
push edi
call fcn.00401b72
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x84]
cmp ecx, 0x10
jb 0x401496
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40148c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401632
push ecx
push edx
call fcn.00401b72
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp ecx, 0x10
jb 0x4014ef
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4014e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401632
push ecx
push edx
call fcn.00401b72
add esp, 8
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp eax, dword [ebp + 8]
jge 0x401503
mov esi, dword [ebp - 0x74]
jmp 0x401220
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x14]
mov eax, esi
cmovae ecx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x401543
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
lea esi, [eax + edx]
push esi
call fcn.004043e0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x401553
mov byte [ebp - 0x74], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x74]
push edi
call fcn.004017a0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4015d1
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40157d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401632
push ecx
push edx
call fcn.00401b72
add esp, 8
jmp 0x4015d1
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0xe
push str._QPT_ARGS_FLAG
cmp eax, 0xe
jb 0x4015c0
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0xe]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.004043e0
add esp, 0xc
mov byte [esi + 0xe], 0
jmp 0x4015d1
mov byte [ebp - 0x74], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x74]
push 0xe
call fcn.004017a0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x401615
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40160b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401637
push ecx
push edx
call fcn.00401b72
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401b34
mov esp, ebp
pop ebp
ret
call fcn.00405686
call fcn.00405686
int3