Function at 0x4b4340
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4a8c
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x128]
push eax
push 0xf01ff
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x128], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4b4ad6
mov eax, dword [ebp - 0x128]
xor edi, edi
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x138], edi
test eax, eax
je 0x4b4435
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x120]
cmp eax, 0xffffffff
je 0x4b4429
mov edi, eax
mov dword [ebp - 0x138], edi
call fcn.00413e80
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 0
push eax
push 1
push 1
push 0
push 0xf01ff
push edi
mov dword [ebp - 0x12c], 0
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x4b4ab8
mov esi, dword [ebp - 0x12c]
mov dword [ebp - 0x130], 0
test esi, esi
je 0x4b44a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x120], eax
cmp esi, 0xffffffff
je 0x4b449d
mov dword [ebp - 0x130], esi
call fcn.00413e80
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x124]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 4], 1
mov byte [ebp - 0x1c], 0
mov eax, dword [eax]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
push str.NtSuspendProcess
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00433b90
lea eax, [ebp - 0x14]
push eax
push str.NtResumeProcess
call fcn.00433b90
add esp, 0x10
cmp byte [ebp - 0x1c], 0
mov byte [ebp - 4], 2
jne 0x4b4529
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4b466c
cmp dword [ebp - 0x14], 0
je 0x4b466c
push dword [ebp - 0x20]
mov ecx, esi
call dword [0x5b1854]
call esi
test eax, eax
jne 0x4b4662
mov byte [ebp - 0x1c], 1
push 0x78
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.0056aed0
mov edi, dword [0x634b34]
add esp, 0xc
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
mov esi, eax
mov dword [ebp - 0xac], 0
push 0x70
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 3
push 0
push eax
mov byte [ebp - 0xa8], 0
call fcn.0056aed0
add esp, 0xc
call fcn.00413e80
push 2
push 0
push 0
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x4b45c2
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xac], eax
test ecx, ecx
je 0x4b45c8
cmp ecx, 0xffffffff
je 0x4b45c8
call fcn.00413e80
mov eax, dword [ebp - 0xac]
mov byte [ebp - 4], 4
test eax, eax
je 0x4b467d
cmp eax, 0xffffffff
je 0x4b467d
cmp byte [ebp - 0xa8], 0
jne 0x4b468a
push 0x70
lea eax, [ebp - 0xa4]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea eax, [ebp - 0xa4]
push 0
push 0x70
push eax
push 9
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x4b4677
mov eax, dword [ebp - 0x94]
lea esi, [ebp - 0xa4]
or eax, 0x800
lea edi, [ebp - 0x11c]
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
push 0x70
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x11c]
push eax
push 9
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
je 0x4b4677
mov byte [ebp - 0xa8], 1
jmp 0x4b468a
cmp byte [ebp - 0x1c], 0
jne 0x4b4529
mov esi, dword [ebp - 0x130]
jmp 0x4b4a6b
mov eax, dword [ebp - 0xac]
cmp byte [ebp - 0xa8], 0
je 0x4b4a0a
call fcn.0040b2f0
cmp eax, 3
jl 0x4b485c
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x124], eax
xor eax, eax
mov dword [ebp - 0x134], eax
call fcn.0040b2f0
cmp eax, 3
jl 0x4b484b
push 0x5c07b0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x4b484b
push 0x5c8828
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4b484b
push 0x5c884c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x15c], eax
test eax, eax
je 0x4b484b
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0
push eax
push 0
push 1
push 0
mov ecx, esi
call dword [0x5b1854]
call esi
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x4b484b
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x4b484b
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
push 0
push 1
push edi
call dword [0x5b1854]
call esi
test eax, eax
je 0x4b484b
mov esi, dword [ebp - 0x15c]
lea eax, [ebp - 0x124]
push 0
push 0
push 4
push eax
push 0x20000
push 0
push edi
mov ecx, esi
call dword [0x5b1854]
call esi
test eax, eax
je 0x4b484b
push 0x44
lea eax, [ebp - 0xf0]
push 0
push eax
call fcn.0056aed0
mov eax, dword [ebp - 0x13c]
lea ecx, [ebp - 0xf4]
add esp, 0xc
mov esi, dword [ebp - 0x130]
mov dword [ebp - 0xb0], edi
movups xmm0, xmmword [eax]
push dword [ebp - 0x140]
movups xmmword [ebp - 0xf4], xmm0
push ecx
movups xmm0, xmmword [eax + 0x10]
mov dword [ebp - 0xf4], 0x48
push dword [ebp - 0x144]
movups xmmword [ebp - 0xe4], xmm0
movups xmm0, xmmword [eax + 0x20]
push dword [ebp - 0x148]
movups xmmword [ebp - 0xd4], xmm0
movups xmm0, xmmword [eax + 0x30]
mov eax, dword [eax + 0x40]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x20]
or eax, 0x1080000
push eax
push dword [ebp + 0x1c]
movups xmmword [ebp - 0xc4], xmm0
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
push dword [ebp - 0x154]
push dword [ebp - 0x158]
push esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0xac]
jmp 0x4b4a10
mov esi, dword [ebp - 0x130]
mov eax, dword [ebp - 0xac]
jmp 0x4b4a10
xor eax, eax
mov dword [ebp - 0x134], eax
call fcn.0040b2f0
cmp eax, 3
jge 0x4b484b
mov esi, dword [ebp + 0x20]
lea ecx, [ebp - 0x30]
xorps xmm0, xmm0
mov dword [ebp - 0xf0], 0x44
movups xmmword [ebp - 0x34], xmm0
or esi, 0x1080000
mov dword [ebp - 0x24], 0
movlpd qword [ebp - 0xec], xmm0
movlpd qword [ebp - 0xe4], xmm0
movlpd qword [ebp - 0xdc], xmm0
movlpd qword [ebp - 0xd4], xmm0
movlpd qword [ebp - 0xcc], xmm0
movlpd qword [ebp - 0xc4], xmm0
movlpd qword [ebp - 0xbc], xmm0
movlpd qword [ebp - 0xb4], xmm0
mov word [ebp - 0x34], 0
call fcn.00414100
mov eax, 1
lock xadd dword [0x635188], eax
inc eax
cmp eax, 1
sete al
mov byte [ebp - 0x33], al
mov byte [ebp - 4], 5
mov edi, 0x635194
test al, al
je 0x4b4972
mov al, byte [ebp - 0x34]
test al, al
jne 0x4b4979
cmp dword [0x635190], 0
jne 0x4b49c6
push 0x635190
push str.NtCreateProcessEx
call fcn.00433b90
add esp, 8
cmp dword [0x635190], 0
je 0x4b4972
mov eax, dword [ebp - 0x120]
push 0x4b4e50
push str.NtCreateProcessEx
push 0x5c881c
push 0x5c07b0
mov dword [0x63518c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
lea ecx, [ebp - 0x30]
call fcn.00414150
cmp dword [ebp - 0x2c], 0
je 0x4b4972
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xchg dword [edi], eax
mov byte [ebp - 0x34], 1
jmp 0x4b4979
mov al, byte [ebp - 0x34]
test al, al
je 0x4b49c6
push dword [ebp - 0x140]
lea eax, [ebp - 0xf0]
push eax
push dword [ebp - 0x144]
push dword [ebp - 0x148]
push esi
push dword [ebp + 0x1c]
mov esi, dword [ebp - 0x130]
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
push dword [ebp - 0x154]
push dword [ebp - 0x158]
push esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 0x134], eax
mov al, byte [ebp - 0x34]
jmp 0x4b49cc
mov esi, dword [ebp - 0x130]
cmp byte [ebp - 0x33], 0
mov byte [ebp - 4], 6
je 0x4b49f3
test al, al
je 0x4b49e8
xor eax, eax
xchg dword [edi], eax
mov dword [0x635190], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x63518c], eax
lock dec dword [0x635188]
lea ecx, [ebp - 0x30]
call fcn.0047e2a0
mov eax, dword [ebp - 0xac]
jmp 0x4b4a10
mov esi, dword [ebp - 0x130]
mov byte [ebp - 4], 7
test eax, eax
je 0x4b4a45
cmp eax, 0xffffffff
je 0x4b4a45
cmp byte [ebp - 0xa8], 0
je 0x4b4a45
push 0x70
lea ecx, [ebp - 0xa4]
push ecx
push 9
push eax
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
mov eax, dword [ebp - 0xac]
mov byte [ebp - 0xa8], 0
mov byte [ebp - 4], 8
test eax, eax
je 0x4b4a65
cmp eax, 0xffffffff
je 0x4b4a65
call fcn.00413e80
push dword [ebp - 0xac]
call fcn.00415030
add esp, 4
mov edi, dword [ebp - 0x138]
cmp byte [ebp - 0x1c], 0
mov byte [ebp - 4], 9
je 0x4b4a97
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x13c], eax
test eax, eax
je 0x4b4a97
push dword [ebp - 0x20]
mov ecx, eax
call dword [0x5b1854]
call dword [ebp - 0x13c]
mov byte [ebp - 0x1c], 0
mov byte [ebp - 4], 0xa
test esi, esi
je 0x4b4ab2
cmp esi, 0xffffffff
je 0x4b4ab2
call fcn.00413e80
push esi
call fcn.00415030
add esp, 4
mov esi, dword [ebp - 0x134]
mov dword [ebp - 4], 0xb
test edi, edi
je 0x4b4ad6
cmp edi, 0xffffffff
je 0x4b4ad6
call fcn.00413e80
push edi
call fcn.00415030
add esp, 4
mov eax, esi
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.004016cd
mov esp, ebp
pop ebp
ret