Function at 0x4bc280
Capabilities:
Accept command line arguments
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x5c7004]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x24]
push ebx
mov dword [esp + 0x34], eax
xor ebx, ebx
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x2c]
push esi
push edi
mov dword [esp + 0x44], eax
xor edi, edi
xor eax, eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4bc334
mov esi, ecx
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4bc2f0
push dword [0x5cd4f8]
sub esi, ecx
sar esi, 1
add esi, esi
lea eax, [esi + 0xa]
push eax
call sym.ProcessHacker.exe_PhCreateObject
mov ebx, eax
xor ecx, ecx
lea eax, [ebx + 8]
push esi
push dword [esp + 0x14]
mov dword [ebx + 4], eax
mov dword [ebx], esi
mov word [eax + esi], cx
push dword [ebx + 4]
call fcn.00537fe0
mov edx, dword [esp + 0x18]
add esp, 0xc
or esi, 0xffffffff
test edx, edx
je 0x4bc38d
mov esi, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4bc340
push dword [0x5cd4f8]
sub esi, ecx
sar esi, 1
add esi, esi
lea eax, [esi + 0xa]
push eax
call sym.ProcessHacker.exe_PhCreateObject
mov edi, eax
xor eax, eax
lea ecx, [edi + 8]
push esi
push dword [esp + 0x10]
mov dword [edi + 4], ecx
mov dword [edi], esi
mov word [ecx + esi], ax
push dword [edi + 4]
call fcn.00537fe0
add esp, 0xc
jmp 0x4bc40b
test ebx, ebx
je 0x4bc40b
lea eax, [esp + 0x28]
push eax
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4bc40b
push dword [eax]
call sym.ProcessHacker.exe_PhCreateString
push dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, edi
test edi, edi
je 0x4bc40b
mov ecx, dword [edi + 4]
lea edx, [esp + 0x90]
call fcn.004dae40
test eax, eax
jns 0x4bc40b
cmp eax, 0xc0000043
je 0x4bc40b
mov edi, edi
cmp eax, 0xc0000022
je 0x4bc40b
mov ecx, dword [edi + 4]
call fcn.004bf300
mov ecx, dword [esp + 0xc]
mov edi, eax
add ecx, 0xfffffff8
mov eax, esi
test edi, edi
jne 0x4bc3fe
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4bc40b
call fcn.004c1f60
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4bc46c
mov esi, eax
lea ecx, [esi + 2]
jmp 0x4bc420
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4bc420
push dword [0x5cd4f8]
sub esi, ecx
sar esi, 1
add esi, esi
lea eax, [esi + 0xa]
push eax
call sym.ProcessHacker.exe_PhCreateObject
mov ecx, eax
xor edx, edx
lea eax, [ecx + 8]
mov dword [esp + 0x18], ecx
push esi
mov dword [ecx + 4], eax
mov dword [ecx], esi
mov word [eax + esi], dx
mov eax, dword [esp + 0x20]
push eax
push dword [ecx + 4]
call fcn.00537fe0
add esp, 0xc
jmp 0x4bc47f
test edi, edi
je 0x4bc47f
cmp dword [edi], 0
je 0x4bc47f
push edi
call sym.ProcessHacker.exe_PhGetBaseDirectory
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov edx, eax
shr edx, 5
mov ecx, eax
and edx, 1
mov esi, edx
or esi, 2
and cl, 0x40
cmove esi, edx
mov ecx, esi
or ecx, 4
and al, 4
cmove ecx, esi
mov esi, dword [ebp + 0x1c]
mov edx, ecx
mov eax, esi
or edx, 0x10
and al, 0x10
mov eax, esi
cmove edx, ecx
mov ecx, edx
or ecx, 0x400
and al, 2
mov eax, esi
cmove ecx, edx
mov edx, ecx
or edx, 0x80000
and al, 0x80
mov eax, esi
cmove edx, ecx
mov ecx, edx
or ecx, 0x1000000
and al, 8
mov eax, esi
cmove ecx, edx
mov edx, ecx
or edx, 0x4000000
and eax, 0x100
cmove edx, ecx
cmp dword [esp + 0x14], 0
mov dword [esp + 0xc], edx
jne 0x4bc58f
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x48], 0x44
cmp dword [esp + 0x20], 0
mov eax, dword [esp + 0x18]
je 0x4bc5fb
test eax, eax
je 0x4bc5a7
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
jmp 0x4bc5af
mov dword [esp + 0x1c], 0
test ebx, ebx
je 0x4bc5b8
mov edx, dword [ebx + 4]
jmp 0x4bc5ba
xor edx, edx
test edi, edi
je 0x4bc5c3
mov ecx, dword [edi + 4]
jmp 0x4bc5c5
xor ecx, ecx
cmp dword [esp + 0x14], 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x4c]
cmovne eax, dword [esp + 0x18]
and esi, 1
push eax
push dword [esp + 0x24]
push dword [esp + 0x30]
push dword [esp + 0x1c]
push esi
push 0
push 0
push edx
push ecx
push dword [esp + 0x48]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
jmp 0x4bc656
test eax, eax
je 0x4bc608
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
jmp 0x4bc610
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x4bc619
mov edx, dword [ebx + 4]
jmp 0x4bc61b
xor edx, edx
test edi, edi
je 0x4bc624
mov ecx, dword [edi + 4]
jmp 0x4bc626
xor ecx, ecx
cmp dword [esp + 0x14], 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x4c]
cmovne eax, dword [esp + 0x18]
and esi, 1
push eax
push dword [esp + 0x28]
push dword [esp + 0x30]
push dword [esp + 0x1c]
push esi
push 0
push 0
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4bc65e
xor esi, esi
jmp 0x4bc675
mov edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4bc675
movzx esi, si
or esi, 0xc0070000
test edi, edi
je 0x4bc690
lea ecx, [edi - 8]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4bc693
call fcn.004c1f60
jmp 0x4bc693
or edi, 0xffffffff
test ebx, ebx
je 0x4bc6a9
lea ecx, [ebx - 8]
mov eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4bc6a9
call fcn.004c1f60
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4bc6c5
lea ecx, [eax - 8]
lock xadd dword [ecx + 4], edi
dec edi
jne 0x4bc6c5
lea esp, [esp]
call fcn.004c1f60
test esi, esi
js 0x4bc70c
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4bc6de
mov eax, dword [esp + 0x34]
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
test ecx, ecx
je 0x4bc6ee
mov dword [ecx], eax
jmp 0x4bc6f9
test eax, eax
je 0x4bc6f9
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword ds:[esp + 0x44]
test eax, eax
je 0x4bc71b
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
jmp 0x4bc72b
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4bc71b
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword ds:[esp + 0x30]
test eax, eax
je 0x4bc72b
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov ecx, dword [esp + 0xbc]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00534c91
mov esp, ebp
pop ebp
ret 0x28