Function at 0x100495b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008051e
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x100d7008]
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, 0x100df1ae
call fcn.10063385
cmp dword [esi + 0x10], 0
jne 0x100495fe
xor al, al
jmp 0x100499d3
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.10040a30
mov edx, esi
lea ecx, [ebp - 0x88]
call fcn.1003fb50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
mov edx, 0x100a6de4
cmovae ecx, dword [ebp - 0x88]
call fcn.1003df40
test al, al
je 0x1004984a
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.10016510
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x124], ecx
cmp ecx, 0x104
ja 0x1004972a
cmp dword [ebp - 0x14], 0x104
jae 0x1004972a
mov byte [ebp - 0x128], 0
mov eax, 0x104
push dword [ebp - 0x128]
sub eax, ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.10040660
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x18], eax
push 1
push 0x100a6c6c
lea ecx, [ebp - 0x28]
call fcn.1000ee50
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10049743
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.1001f5f0
push 1
push 0x100a6c6c
lea ecx, [ebp - 0x28]
call fcn.1001f5f0
cmp dword [edi + 0x10], 0
je 0x10049789
push 1
push 0x100a6c8c
lea ecx, [ebp - 0x28]
call fcn.1001f5f0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1004977d
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.1001f5f0
cmp dword [ebp - 0x30], 0
jne 0x10049793
xor eax, eax
jmp 0x1004979e
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 0x100497b3
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 0x10049836
mov eax, dword [ebp - 0xd8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100497fb
push eax
call esi
mov dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xdc]
test eax, eax
jne 0x1004980d
mov byte [ebp - 0x119], al
jmp 0x10049821
push eax
call esi
mov dword [ebp - 0xdc], 0
mov byte [ebp - 0x119], 1
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
call fcn.1000ed80
mov byte [ebp - 4], 5
jmp 0x10049999
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x28]
call fcn.1000ed80
mov byte [ebp - 4], 5
mov byte [ebp - 4], 5
push str.open
lea ecx, [ebp - 0x70]
call fcn.1000eb00
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x58]
push edi
call fcn.10010bf0
mov byte [ebp - 4], 0x26
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 0x100498c4
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.1000eb00
mov byte [ebp - 4], 0x27
lea eax, [ebp - 0x28]
push eax
call fcn.1005c790
mov ecx, eax
call fcn.1005c880
mov esi, eax
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x28]
call fcn.1000ed80
mov byte [ebp - 4], 0x26
mov byte [ebp - 4], 0x26
test esi, esi
je 0x10049972
push str.ShellExecuteExW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10049972
lea ecx, [ebp - 0x118]
push ecx
call eax
test eax, eax
je 0x10049972
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x10049972
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0x119], 1
jmp 0x10049979
mov byte [ebp - 0x119], 0
mov byte [ebp - 4], 0x5c
lea ecx, [ebp - 0x58]
call fcn.1000ed80
mov byte [ebp - 4], 0x25
mov byte [ebp - 4], 0x60
lea ecx, [ebp - 0x70]
call fcn.1000ed80
mov byte [ebp - 4], 5
mov byte [ebp - 4], 5
mov byte [ebp - 4], 0x64
lea ecx, [ebp - 0x88]
call fcn.1000ed80
mov byte [ebp - 4], 4
mov dword [ebp - 4], 0x68
lea ecx, [ebp - 0x40]
call fcn.1000ed80
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.1006130e
mov esp, ebp
pop ebp
ret