Function at 0x48cd9d
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push esi
xor esi, esi
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 8], esi
jne 0x48cde8
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x48cdde
test byte [eax + 0x1c], 1
je 0x48cdde
cmp byte [eax + 0x19], 2
jb 0x48cdde
push 0x4ab14c
push 0x53
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0042524a
add esp, 0x10
mov eax, 0x80070057
jmp 0x48cf55
lea ecx, [ebp - 0x24]
call fcn.0043b911
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.0043bc01
test eax, eax
jne 0x48ce5e
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x48ce4c
test byte [eax + 0x1c], 1
je 0x48ce4c
cmp byte [eax + 0x19], 2
jb 0x48ce4c
lea ecx, [ebp - 0x24]
call fcn.0043eae2
push eax
push dword [ebp + 8]
mov eax, dword [0x4c6094]
push 0x4ab14c
push 0x54
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00444114
add esp, 0x18
lea ecx, [ebp - 0x24]
call fcn.0043bbea
mov eax, 0x80004005
jmp 0x48cf55
push ebx
push edi
lea ecx, [ebp - 0x8c]
call fcn.00447b2c
push 0x4a5890
lea ecx, [ebp - 0x8c]
call fcn.00448297
mov edi, 0x4ab14c
test al, al
jne 0x48cea3
mov eax, dword [0x4c6094]
mov ebx, 0x4c6094
cmp eax, ebx
je 0x48cece
test byte [eax + 0x1c], 1
je 0x48cece
cmp byte [eax + 0x19], 3
jb 0x48cece
push edi
push 0x55
jmp 0x48cec0
mov eax, dword [0x4c6094]
mov ebx, 0x4c6094
cmp eax, ebx
je 0x48cece
test byte [eax + 0x1c], 1
je 0x48cece
cmp byte [eax + 0x19], 4
jb 0x48cece
push edi
push 0x56
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0042524a
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], esi
call fcn.00443e7a
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
lea ecx, [ebp - 8]
call fcn.00443f06
lea ecx, [ebp - 8]
call fcn.00443e87
test al, al
jne 0x48cf5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4c6094]
cmp ecx, ebx
je 0x48cf33
test byte [ecx + 0x1c], 1
je 0x48cf33
cmp byte [ecx + 0x19], 2
jb 0x48cf33
push eax
push esi
push edi
push 0x57
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.004898cd
add esp, 0x18
lea ecx, [ebp - 8]
call fcn.00443efb
lea ecx, [ebp - 0x8c]
call fcn.00447ed5
lea ecx, [ebp - 0x24]
call fcn.0043bbea
mov eax, 0x80004005
pop edi
pop ebx
pop esi
leave
ret 0xc
mov eax, dword [0x4c6094]
cmp eax, ebx
je 0x48cf81
test byte [eax + 0x1c], 1
je 0x48cf81
cmp byte [eax + 0x19], 4
jb 0x48cf81
push esi
push edi
push 0x58
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00425267
add esp, 0x14
push 0xc
lea eax, [ebp - 0x30]
push 0
push eax
call fcn.004501b0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add esp, 0xc
call esi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 1
call esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
lea ecx, [ebp - 8]
mov dword [ebp - 0x38], 0x48cd27
mov dword [ebp - 0x34], eax
call fcn.00443e99
mov esi, eax
lea eax, [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.0043b92a
push eax
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
push dword [esi]
call dword [eax + 0xc]
test eax, eax
jne 0x48d048
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4c6094]
cmp ecx, ebx
je 0x48d021
test byte [ecx + 0x1c], 1
je 0x48d021
cmp byte [ecx + 0x19], 2
jb 0x48d021
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0xc]
push edi
push 0x59
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.00446cd4
add esp, 0x20
mov esi, 0x80004005
lea ecx, [ebp - 8]
call fcn.00443efb
lea ecx, [ebp - 0x8c]
call fcn.00447ed5
lea ecx, [ebp - 0x24]
call fcn.0043bbea
mov eax, esi
jmp 0x48cf53
xor esi, esi
jmp 0x48d026