Function at 0x4a9b20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4febbb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x537008]
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 - 0x244], edx
mov edi, ecx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x240], esi
test esi, esi
je 0x4a9b68
mov dword [esi], 0
cmp dword [edi + 0x10], 0
jne 0x4a9b75
xor al, al
jmp 0x4aa001
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x44]
mov ecx, edi
call fcn.004a6340
mov edx, edi
lea ecx, [ebp - 0x8c]
call fcn.004a5b10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
mov edx, 0x512670
cmovae ecx, dword [ebp - 0x8c]
call fcn.004a3df0
cmp byte [ebp + 8], 0
mov byte [ebp - 0x239], al
je 0x4a9c26
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.004b6690
mov byte [ebp - 4], 2
mov al, byte [ebp - 0x239]
mov byte [ebp - 0x239], al
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x14]
call fcn.004b7950
neg al
sbb al, al
and byte [ebp - 0x239], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004b6710
mov al, byte [ebp - 0x239]
test al, al
je 0x4a9e19
xor eax, eax
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov word [ebp - 0x8e], ax
mov eax, 1
mov dword [ebp - 0x18], 0
mov word [ebp - 0xa0], ax
xor eax, eax
movlpd qword [ebp - 0xcc], xmm0
movlpd qword [ebp - 0xc4], xmm0
movlpd qword [ebp - 0xbc], xmm0
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xac], xmm0
movlpd qword [ebp - 0x9e], xmm0
movlpd qword [ebp - 0x96], xmm0
movups xmmword [ebp - 0x1fc], xmm0
mov dword [ebp - 0xd0], 0x44
mov dword [ebp - 0xa4], 0x81
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0x14], al
mov eax, 0x104
push dword [ebp - 0x14]
sub eax, esi
push eax
call fcn.0040d790
push 1
push 0x50eea4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
call fcn.0040a390
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4a9cf4
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040d400
push 1
push 0x50eea4
lea ecx, [ebp - 0x2c]
call fcn.0040d400
mov esi, dword [ebp - 0x244]
cmp dword [esi + 0x10], 0
je 0x4a9d40
push 1
push 0x50dde0
lea ecx, [ebp - 0x2c]
call fcn.0040d400
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4a9d34
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040d400
cmp dword [ebp - 0x34], 0
jne 0x4a9d4a
xor eax, eax
jmp 0x4a9d55
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov edx, edi
cmovae ecx, dword [ebp - 0x2c]
cmp dword [edi + 0x14], 8
jb 0x4a9d6a
mov edx, dword [edi]
lea esi, [ebp - 0x1fc]
push esi
lea esi, [ebp - 0xd0]
push esi
push eax
push 0
push 0x30
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4a9e07
mov eax, dword [ebp - 0x1f8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4a9dac
push eax
call esi
mov dword [ebp - 0x1f8], 0
mov ecx, dword [ebp - 0x1fc]
test ecx, ecx
jne 0x4a9dc8
mov byte [ebp - 0x239], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
jmp 0x4a9fd8
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x4a9de7
mov dword [eax], ecx
mov byte [ebp - 0x239], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
jmp 0x4a9fd8
push ecx
call esi
mov dword [ebp - 0x1fc], 0
mov byte [ebp - 0x239], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
jmp 0x4a9fd8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a320
mov esi, dword [ebp - 0x240]
push 4
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x5c]
push str.open
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
call fcn.0040a390
mov byte [ebp - 4], 4
cmp byte [ebp + 8], 0
je 0x4a9e77
lea ecx, [ebp - 0x1ec]
call fcn.004aea10
cmp dword [ebp - 0x1e8], 6
jb 0x4a9e77
push 5
push str.runas
lea ecx, [ebp - 0x5c]
call fcn.0040a390
push dword [ebp - 0x244]
lea ecx, [ebp - 0x74]
call fcn.0040ac00
mov byte [ebp - 4], 5
xorps xmm0, xmm0
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
movlpd qword [ebp - 0x218], xmm0
cmovae eax, dword [ebp - 0x5c]
cmp dword [edi + 0x14], 8
movlpd qword [ebp - 0x210], xmm0
movlpd qword [ebp - 0x208], xmm0
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x238], 0x3c
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x234], 0x100540
mov dword [ebp - 0x22c], eax
jb 0x4a9ee5
mov edi, dword [edi]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0xb
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x60], 8
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
mov dword [ebp - 0x224], eax
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push str.Shell32.dll
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x21c], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.0040a390
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
push eax
call fcn.004b9be0
mov ecx, eax
call fcn.004b9ca0
mov edi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.0040a320
test edi, edi
je 0x4a9fbe
push str.ShellExecuteExW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a9fbe
lea ecx, [ebp - 0x238]
push ecx
call eax
test eax, eax
je 0x4a9fbe
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x4a9fbe
test esi, esi
je 0x4a9fa4
mov dword [esi], eax
mov byte [ebp - 0x239], 1
jmp 0x4a9fc5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x200], 0
mov byte [ebp - 0x239], 1
jmp 0x4a9fc5
mov byte [ebp - 0x239], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.0040a320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040a320
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.0040a320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040a320
mov al, byte [ebp - 0x239]
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.004e647b
mov esp, ebp
pop ebp
ret