Function at 0x4159c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc139
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x522008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], edx
mov edi, ecx
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x415a02
mov dword [esi], 0
call fcn.00402120
test al, al
je 0x415a12
xor al, al
jmp 0x415def
lea ecx, [ebp - 0x40]
call fcn.00402230
mov dword [ebp - 4], 0
lea edx, [ebp - 0x40]
mov ecx, edi
call fcn.0040a700
mov edx, edi
lea ecx, [ebp - 0xcc]
call fcn.00409850
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.00402130
mov edx, str..exe
mov ecx, eax
call fcn.00404cf0
test al, al
je 0x415c70
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0x44
xor eax, eax
movlpd qword [ebp - 0x80], xmm0
mov word [ebp - 0x42], ax
lea ecx, [ebp - 0x28]
mov eax, 1
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x52], xmm0
movlpd qword [ebp - 0x4a], xmm0
movups xmmword [ebp - 0xdc], xmm0
mov word [ebp - 0x54], ax
mov dword [ebp - 0x58], 0x81
call fcn.00402230
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402330
mov dword [ebp - 0x128], eax
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x12c], edx
cmp edx, 0x104
ja 0x415b08
cmp dword [eax + 0x14], 0x104
jae 0x415b08
mov byte [ebp - 0x124], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x124]
mov eax, 0x104
sub eax, edx
push eax
call fcn.00409ee0
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x12c]
mov dword [eax + 0x10], ecx
push 0x50269c
call fcn.004025c0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x50269c
call fcn.004023b0
mov ecx, edi
call fcn.00402330
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x415b34
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406d10
push 0x50269c
call fcn.004025c0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x50269c
call fcn.00406d10
mov ecx, dword [ebp - 0x120]
call fcn.00402120
test al, al
jne 0x415ba6
push 0x5026c4
call fcn.004025c0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x5026c4
call fcn.00406d10
mov ecx, dword [ebp - 0x120]
call fcn.00402330
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x415b9a
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406d10
lea ecx, [ebp - 0x40]
call fcn.00402120
test al, al
je 0x415bb6
xor eax, eax
jmp 0x415bbe
lea ecx, [ebp - 0x40]
call fcn.00402130
lea ecx, [ebp - 0xdc]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push eax
push 0
push 0x30
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00402130
push eax
mov ecx, edi
call fcn.00402130
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x415c64
mov eax, dword [ebp - 0xd8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x415c0f
push eax
call edi
mov dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xdc]
test eax, eax
jne 0x415c2b
mov byte [ebp - 0x119], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
jmp 0x415dc6
test esi, esi
je 0x415c44
mov dword [esi], eax
mov byte [ebp - 0x119], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
jmp 0x415dc6
push eax
call edi
mov dword [ebp - 0xdc], 0
mov byte [ebp - 0x119], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
jmp 0x415dc6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00401f40
push str.open
lea ecx, [ebp - 0xb4]
call fcn.004021e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
push dword [ebp - 0x120]
call fcn.00402250
mov byte [ebp - 4], 5
xorps xmm0, xmm0
lea ecx, [ebp - 0xb4]
movlpd qword [ebp - 0xf8], xmm0
movlpd qword [ebp - 0xf0], xmm0
movlpd qword [ebp - 0xe8], xmm0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0x118], 0x3c
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0x100540
call fcn.00402130
mov ecx, edi
mov dword [ebp - 0x10c], eax
call fcn.00402130
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x108], eax
call fcn.00402130
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x100], eax
call fcn.00402130
push 0x5026a0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xfc], 1
call fcn.004021e0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
push eax
call fcn.0040fa50
mov ecx, eax
call fcn.0040fb10
mov edi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00401f40
test edi, edi
je 0x415da6
push str.ShellExecuteExW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x415da6
lea ecx, [ebp - 0x118]
push ecx
call eax
test eax, eax
je 0x415da6
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x415da6
test esi, esi
je 0x415d8c
mov dword [esi], eax
mov byte [ebp - 0x119], 1
jmp 0x415dad
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0x119], 1
jmp 0x415dad
mov byte [ebp - 0x119], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.00401f40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb4]
call fcn.00401f40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcc]
call fcn.00401f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401f40
mov al, byte [ebp - 0x119]
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.004b5964
mov esp, ebp
pop ebp
ret