Function at 0x4bcf60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
push edi
push 0x38
lea eax, [esp + 0x44]
mov dword [esp + 0x40], 0x3c
push 0
push eax
call fcn.00536b00
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov ebx, dword [ebp + 0x18]
mov ecx, 0x440
mov dword [esp + 0x4c], eax
test bl, 1
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x44], eax
mov eax, str.runas
cmove eax, dword [esp + 0x48]
test bl, 4
mov dword [esp + 0x48], eax
mov eax, 0x800440
cmovne ecx, eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x44], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4bd1e7
mov edi, dword [ebp + 0x1c]
test edi, edi
je 0x4bd1b7
test bl, 2
jne 0x4bd045
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x4bd1bb
jmp 0x4bd000
cmp edi, 0xffffffff
jne 0x4bd015
xor eax, eax
push eax
push eax
push ecx
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
jmp 0x4bd1b7
mov eax, edi
mov edx, 0x2710
mul edx
neg eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
adc edx, 0
push 0
neg edx
push ecx
mov dword [esp + 0x20], edx
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
jmp 0x4bd040
jmp 0x4bd1b7
mov eax, dword [0x7ffe0324]
mov esi, dword [0x7ffe0320]
cmp eax, dword [0x7ffe0328]
je 0x4bd071
mov ecx, 0x7ffe0324
mov edx, 0x7ffe0320
mov ebx, 0x7ffe0328
pause
mov eax, dword [ecx]
mov esi, dword [edx]
cmp eax, dword [ebx]
jne 0x4bd067
mov ecx, dword [0x7ffe0004]
mul ecx
mov dword [esp + 0x1c], 0
mov ebx, eax
mov eax, esi
shld edx, ebx, 8
mov esi, 0x7ffe0324
mov dword [esp + 0xc], edx
mul ecx
shl ebx, 8
shrd eax, edx, 0x18
shr edx, 0x18
add ebx, eax
mov dword [esp + 0x10], ebx
mov ebx, edi
adc dword [esp + 0xc], edx
lea ebx, [ebx]
push 0x1cbf
push ebx
push 0
lea eax, [esp + 0x80]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
js 0x4bd0d5
cmp eax, 1
jl 0x4bd1b7
cmp eax, 0x80
jl 0x4bd0eb
lea esp, [esp]
cmp eax, 0x81
jl 0x4bd1b7
cmp eax, 1
jne 0x4bd1b7
push eax
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4bd13d
lea ebx, [ebx]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4bd110
lea ecx, [ecx]
cmp edi, 0xffffffff
je 0x4bd0b0
mov eax, dword [esi]
mov ecx, 0x7ffe0320
mov edx, 0x7ffe0328
mov edi, dword [ecx]
cmp eax, dword [edx]
je 0x4bd16a
jmp 0x4bd160
pause
mov eax, dword [esi]
mov edi, dword [ecx]
cmp eax, dword [edx]
jne 0x4bd160
mov ebx, dword [ebp + 0x1c]
mov ecx, 0x7ffe0004
mov esi, 0
mov ecx, dword [ecx]
mul ecx
shld edx, eax, 8
shl eax, 8
sub ebx, eax
mov eax, edi
mov edi, dword [ebp + 0x1c]
sbb esi, edx
mul ecx
shrd eax, edx, 0x18
shr edx, 0x18
sub ebx, eax
sbb esi, edx
add ebx, dword [esp + 0x10]
adc esi, dword [esp + 0xc]
test esi, esi
mov esi, 0x7ffe0324
jg 0x4bd0b0
jl 0x4bd1b7
test ebx, ebx
jae 0x4bd0b0
mov ecx, dword [esp + 0x74]
mov eax, dword ds:[ebp + 0x20]
test eax, eax
je 0x4bd1d1
mov dword [eax], ecx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
test ecx, ecx
je 0x4bd1dc
push ecx
call dword [sym.imp.ntdll.dll_NtClose]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x1c