Function at 0x100498d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080c2e
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x100d9008]
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, 0x100e11d0
call fcn.10063695
cmp dword [esi + 0x10], 0
jne 0x1004991e
xor al, al
jmp 0x10049cf3
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.10040d50
mov edx, esi
lea ecx, [ebp - 0x88]
call fcn.1003fe70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
mov edx, 0x100a7f64
cmovae ecx, dword [ebp - 0x88]
call fcn.1003e260
test al, al
je 0x10049b6a
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.10016820
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x124], ecx
cmp ecx, 0x104
ja 0x10049a4a
cmp dword [ebp - 0x14], 0x104
jae 0x10049a4a
mov byte [ebp - 0x128], 0
mov eax, 0x104
push dword [ebp - 0x128]
sub eax, ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.10040980
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x18], eax
push 1
push 0x100a7dec
lea ecx, [ebp - 0x28]
call fcn.1000f150
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10049a63
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.1001f900
push 1
push 0x100a7dec
lea ecx, [ebp - 0x28]
call fcn.1001f900
cmp dword [edi + 0x10], 0
je 0x10049aa9
push 1
push 0x100a7e0c
lea ecx, [ebp - 0x28]
call fcn.1001f900
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x10049a9d
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.1001f900
cmp dword [ebp - 0x30], 0
jne 0x10049ab3
xor eax, eax
jmp 0x10049abe
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 0x10049ad3
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 0x10049b56
mov eax, dword [ebp - 0xd8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10049b1b
push eax
call esi
mov dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xdc]
test eax, eax
jne 0x10049b2d
mov byte [ebp - 0x119], al
jmp 0x10049b41
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.1000f080
mov byte [ebp - 4], 5
jmp 0x10049cb9
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x28]
call fcn.1000f080
mov byte [ebp - 4], 5
mov byte [ebp - 4], 5
push str.open
lea ecx, [ebp - 0x70]
call fcn.1000ee00
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x58]
push edi
call fcn.10010ef0
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 0x10049be4
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.1000ee00
mov byte [ebp - 4], 0x27
lea eax, [ebp - 0x28]
push eax
call fcn.1005caa0
mov ecx, eax
call fcn.1005cb90
mov esi, eax
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x28]
call fcn.1000f080
mov byte [ebp - 4], 0x26
mov byte [ebp - 4], 0x26
test esi, esi
je 0x10049c92
push str.ShellExecuteExW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10049c92
lea ecx, [ebp - 0x118]
push ecx
call eax
test eax, eax
je 0x10049c92
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x10049c92
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0x119], 1
jmp 0x10049c99
mov byte [ebp - 0x119], 0
mov byte [ebp - 4], 0x5c
lea ecx, [ebp - 0x58]
call fcn.1000f080
mov byte [ebp - 4], 0x25
mov byte [ebp - 4], 0x60
lea ecx, [ebp - 0x70]
call fcn.1000f080
mov byte [ebp - 4], 5
mov byte [ebp - 4], 5
mov byte [ebp - 4], 0x64
lea ecx, [ebp - 0x88]
call fcn.1000f080
mov byte [ebp - 4], 4
mov dword [ebp - 4], 0x68
lea ecx, [ebp - 0x40]
call fcn.1000f080
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.1006161e
mov esp, ebp
pop ebp
ret