Function at 0x1005d3d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10085fbe
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x120], edi
mov esi, ecx
mov ecx, 0x100c3578
call fcn.10071035
cmp dword [esi + 0x10], 0
jne 0x1005d41e
xor al, al
jmp 0x1005d7f3
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 4
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.10049f40
mov edx, esi
lea ecx, [ebp - 0x88]
call fcn.10050b30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
mov edx, 0x10092d18
cmovae ecx, dword [ebp - 0x88]
call fcn.10047860
test al, al
je 0x1005d66a
xorps xmm0, xmm0
mov dword [ebp - 0xcc], 0x44
xor eax, eax
movlpd qword [ebp - 0xc8], xmm0
mov word [ebp - 0x8a], ax
lea ecx, [ebp - 0x28]
mov eax, 1
movlpd qword [ebp - 0xc0], xmm0
movlpd qword [ebp - 0xb8], xmm0
movlpd qword [ebp - 0xb0], xmm0
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0x9a], xmm0
movlpd qword [ebp - 0x92], xmm0
movups xmmword [ebp - 0xdc], xmm0
mov word [ebp - 0x9c], ax
mov dword [ebp - 0xa0], 0x81
call fcn.10004900
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x124], ecx
cmp ecx, 0x104
ja 0x1005d54a
cmp dword [ebp - 0x14], 0x104
jae 0x1005d54a
mov byte [ebp - 0x128], 0
mov eax, 0x104
push dword [ebp - 0x128]
sub eax, ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.10043210
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x18], eax
push 1
push 0x100929f8
lea ecx, [ebp - 0x28]
call fcn.10004e60
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1005d563
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10030ed0
push 1
push 0x100929f8
lea ecx, [ebp - 0x28]
call fcn.10030ed0
cmp dword [edi + 0x10], 0
je 0x1005d5a9
push 1
push 0x10092a74
lea ecx, [ebp - 0x28]
call fcn.10030ed0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1005d59d
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10030ed0
cmp dword [ebp - 0x30], 0
jne 0x1005d5b3
xor eax, eax
jmp 0x1005d5be
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov edx, esi
cmovae ecx, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x1005d5d3
mov edx, dword [esi]
lea edi, [ebp - 0xdc]
push edi
lea edi, [ebp - 0xcc]
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 [ebp - 0x120]
test eax, eax
je 0x1005d656
mov eax, dword [ebp - 0xd8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1005d61b
push eax
call esi
mov dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xdc]
test eax, eax
jne 0x1005d62d
mov byte [ebp - 0x119], al
jmp 0x1005d641
push eax
call esi
mov dword [ebp - 0xdc], 0
mov byte [ebp - 0x119], 1
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x28]
call fcn.10004d00
mov byte [ebp - 4], 5
jmp 0x1005d7b9
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x28]
call fcn.10004d00
mov byte [ebp - 4], 5
mov byte [ebp - 4], 5
push str.open
lea ecx, [ebp - 0x70]
call fcn.10004850
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x58]
push edi
call fcn.1000da20
mov byte [ebp - 4], 0x25
xorps xmm0, xmm0
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
movlpd qword [ebp - 0xf8], xmm0
cmovae eax, dword [ebp - 0x70]
cmp dword [esi + 0x14], 8
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
mov dword [ebp - 0x10c], eax
jb 0x1005d6e4
mov esi, dword [esi]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push str.Shell32.dll
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xfc], 1
call fcn.10004850
mov byte [ebp - 4], 0x26
lea eax, [ebp - 0x28]
push eax
call fcn.10060da0
mov ecx, eax
call fcn.10060e90
mov esi, eax
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x28]
call fcn.10004d00
mov byte [ebp - 4], 0x25
mov byte [ebp - 4], 0x25
test esi, esi
je 0x1005d792
push 0x10092d24
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005d792
lea ecx, [ebp - 0x118]
push ecx
call eax
test eax, eax
je 0x1005d792
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x1005d792
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0x119], 1
jmp 0x1005d799
mov byte [ebp - 0x119], 0
mov byte [ebp - 4], 0x5b
lea ecx, [ebp - 0x58]
call fcn.10004d00
mov byte [ebp - 4], 0x24
mov byte [ebp - 4], 0x5f
lea ecx, [ebp - 0x70]
call fcn.10004d00
mov byte [ebp - 4], 5
mov byte [ebp - 4], 5
mov byte [ebp - 4], 0x63
lea ecx, [ebp - 0x88]
call fcn.10004d00
mov byte [ebp - 4], 4
mov dword [ebp - 4], 0x67
lea ecx, [ebp - 0x40]
call fcn.10004d00
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
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.1006efdc
mov esp, ebp
pop ebp
ret