Function at 0x404560
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4256a1
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x433178]
xor eax, esp
mov dword [esp + 0x118], eax
push esi
push edi
mov eax, dword [0x433178]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov edi, edx
mov dword [esp + 0x10], edi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x4045ae
xor al, al
jmp 0x404bf5
xor eax, eax
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x108], 7
mov dword [esp + 0x104], 0
mov word [esp + 0xf4], ax
mov dword [esp + 0x130], eax
lea edx, [esp + 0xf4]
mov ecx, esi
call fcn.00408390
mov edx, esi
lea ecx, [esp + 0xac]
call fcn.0040cb10
mov byte [esp + 0x130], 1
lea ecx, [esp + 0xac]
cmp dword [esp + 0xc0], 8
mov edx, str..exe
cmovae ecx, dword [esp + 0xac]
call fcn.00403910
test al, al
je 0x404898
push 0x44
lea eax, [esp + 0x68]
push 0
push eax
call fcn.00418720
mov eax, 1
mov dword [esp + 0x128], 0
mov word [esp + 0xa0], ax
xorps xmm0, xmm0
xor eax, eax
mov dword [esp + 0x12c], 0
add esp, 0xc
mov dword [esp + 0x64], 0x44
movdqu xmmword [esp + 0x54], xmm0
mov dword [esp + 0x90], 0x81
mov dword [esp + 0x120], 7
mov dword [esp + 0x11c], 0
mov word [esp + 0x10c], ax
mov byte [esp + 0x130], 3
mov edi, dword [esp + 0x11c]
cmp edi, 0x104
ja 0x404708
mov ecx, dword [esp + 0x120]
cmp ecx, 0x104
je 0x404708
jae 0x4046e9
push edi
push 0x104
lea ecx, [esp + 0x114]
call fcn.004034e0
mov ecx, dword [esp + 0x120]
cmp ecx, 8
mov dword [esp + 0x11c], edi
lea eax, [esp + 0x10c]
cmovae eax, dword [esp + 0x10c]
xor ecx, ecx
mov word [eax + edi*2], cx
push 1
push 0x42dc40
lea ecx, [esp + 0x114]
call fcn.00403030
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esp + 0x118]
call fcn.00403140
push 1
push 0x42dc40
lea ecx, [esp + 0x114]
call fcn.00402f50
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x10], 0
je 0x40476d
push 1
push 0x42dc44
lea ecx, [esp + 0x114]
call fcn.00402f50
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esp + 0x118]
call fcn.00403140
cmp dword [esp + 0x104], 0
jne 0x40477b
xor eax, eax
jmp 0x404792
cmp dword [esp + 0x108], 8
lea eax, [esp + 0xf4]
cmovae eax, dword [esp + 0xf4]
cmp dword [esp + 0x120], 8
lea ecx, [esp + 0x10c]
cmovae ecx, dword [esp + 0x10c]
cmp dword [esi + 0x14], 8
jb 0x4047b3
mov edx, dword [esi]
jmp 0x4047b5
mov edx, esi
lea edi, [esp + 0x54]
push edi
lea edi, [esp + 0x68]
push edi
push eax
push 0
push 0x30
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [esp + 0x10]
test eax, eax
je 0x404857
mov eax, dword [esp + 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4047f3
push eax
call esi
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x404801
mov byte [esp + 0x17], al
jmp 0x404811
push eax
call esi
mov dword [esp + 0x54], 0
mov byte [esp + 0x17], 1
mov byte [esp + 0x130], 1
cmp dword [esp + 0x120], 8
jb 0x404832
push dword [esp + 0x10c]
call fcn.00416b36
add esp, 4
xor eax, eax
mov dword [esp + 0x120], 7
mov dword [esp + 0x11c], 0
mov word [esp + 0x10c], ax
jmp 0x404b6c
mov byte [esp + 0x130], 1
cmp dword [esp + 0x120], 8
jb 0x404878
push dword [esp + 0x10c]
call fcn.00416b36
add esp, 4
xor eax, eax
mov dword [esp + 0x120], 7
mov dword [esp + 0x11c], 0
mov word [esp + 0x10c], ax
push 4
xor eax, eax
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
lea ecx, [esp + 0xc8]
push str.open
mov dword [esp + 0xe0], 7
mov dword [esp + 0xdc], 0
mov word [esp + 0xcc], ax
call fcn.00403030
mov byte [esp + 0x130], 4
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [esp + 0xf4], 0
lea ecx, [esp + 0xe4]
mov dword [esp + 0xf8], 0
push edi
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], 0
mov word [esp + 0xe8], ax
call fcn.00403210
mov byte [esp + 0x130], 5
lea eax, [esp + 0x18]
push 0x3c
push 0
push eax
call fcn.00418720
add esp, 0xc
mov dword [esp + 0x18], 0x3c
cmp dword [esp + 0xd8], 8
lea eax, [esp + 0xc4]
mov dword [esp + 0x20], 0
cmovae eax, dword [esp + 0xc4]
cmp dword [esi + 0x14], 8
mov dword [esp + 0x1c], 0x100540
mov dword [esp + 0x24], eax
jb 0x404983
mov esi, dword [esi]
cmp dword [esp + 0x108], 8
lea eax, [esp + 0xf4]
push 0xb
cmovae eax, dword [esp + 0xf8]
lea ecx, [esp + 0x110]
cmp dword [esp + 0xf4], 8
mov dword [esp + 0x34], eax
lea eax, [esp + 0xe0]
cmovae eax, dword [esp + 0xe0]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
push str.Shell32.dll
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], 1
mov dword [esp + 0x128], 7
mov dword [esp + 0x124], 0
mov word [esp + 0x114], ax
call fcn.00403030
mov byte [esp + 0x130], 6
mov eax, dword [0x435cfc]
test al, 1
jne 0x404a53
or eax, 1
mov dword [0x435cfc], eax
mov byte [esp + 0x130], 7
mov dword [0x435cf8], 0
call fcn.00407850
push 0x427750
call fcn.00416aff
add esp, 4
mov byte [esp + 0x130], 6
lea eax, [esp + 0x10c]
mov ecx, 0x435cf8
push eax
call fcn.00407a10
mov esi, eax
mov byte [esp + 0x130], 5
cmp dword [esp + 0x120], 8
jb 0x404a88
push dword [esp + 0x10c]
call fcn.00416b36
add esp, 4
xor eax, eax
mov dword [esp + 0x120], 7
mov dword [esp + 0x11c], 0
mov word [esp + 0x10c], ax
test esi, esi
je 0x404ae5
push str.ShellExecuteExW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x404ae5
lea ecx, [esp + 0x18]
push ecx
call eax
test eax, eax
je 0x404ae5
mov eax, dword [esp + 0x50]
test eax, eax
je 0x404ae5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x50], 0
mov byte [esp + 0x17], 1
jmp 0x404aea
mov byte [esp + 0x17], 0
mov byte [esp + 0x130], 4
cmp dword [esp + 0xf0], 8
jb 0x404b0b
push dword [esp + 0xdc]
call fcn.00416b36
add esp, 4
xor eax, eax
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], 0
mov word [esp + 0xdc], ax
mov byte [esp + 0x130], 1
cmp dword [esp + 0xd8], 8
jb 0x404b4c
push dword [esp + 0xc4]
call fcn.00416b36
add esp, 4
xor eax, eax
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
mov byte [esp + 0x130], 0
cmp dword [esp + 0xc0], 8
jb 0x404b8d
push dword [esp + 0xac]
call fcn.00416b36
add esp, 4
xor eax, eax
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], 0
mov word [esp + 0xac], ax
mov dword [esp + 0x130], 0xffffffff
cmp dword [esp + 0x108], 8
jb 0x404bd1
push dword [esp + 0xf4]
call fcn.00416b36
add esp, 4
xor eax, eax
mov dword [esp + 0x108], 7
mov word [esp + 0xf4], ax
mov al, byte [esp + 0x17]
mov dword [esp + 0x104], 0
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0041637f
add esp, 0x128
ret