Function at 0x403e38
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.004c4d96
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
add ebx, 4
push ebx
push 0xc
call fcn.004c4d96
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x53212c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push ebx
mov ebx, edi
mov ecx, 1
push ecx
push ebx
push 8
call fcn.004c4d96
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebx
push 8
call fcn.004c4d96
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x403e95
pop ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x403f00
push eax
mov ebx, eax
call fcn.004025dc
inc eax
push eax
call fcn.004c4d96
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403f11
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x4ee2e4
push dword [ebp - 4]
call fcn.004026a4
add esp, 8
cmp eax, 0
jne 0x403f48
mov eax, 0x4ee2bc
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403f44
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x403f59
mov dword [ebp + 0x10], 1
mov dword [ebp - 0x10], esp
xor eax, eax
call dword [0x61a23c]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x403f82
push 0x18f
push 0x40fa5de
push 6
call fcn.004c4d9c
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 0x20
push 2
mov ebx, 0xc8
call fcn.004c91f0
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x403fe5
push 0x1a2
push 0x40fa5de
push 6
call fcn.004c4d9c
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x403ffc
mov eax, 0
jmp 0x404242
cmp dword [ebp - 8], 0
jne 0x404010
mov eax, 0
jmp 0x404242
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004c88b0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx + 4]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push dword [ebp - 4]
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x404082
push 0x2da
push 0x40fa5de
push 6
call fcn.004c4d9c
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404095
push ebx
call fcn.004c4d90
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x4040b1
push dword [ebp - 8]
call fcn.004042b8
mov eax, 0
jmp 0x404242
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 1
cmp dword [ebp + 0x10], 0
je 0x4040f3
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx + 4]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 2
mov dword [ebp - 0x10], esp
push 0
push 0
push 0x10
mov eax, dword [ebp - 0xc]
push eax
push 0x10
call fcn.004c4d96
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ecx, 1
mov ebx, dword [ebx]
add ebx, 8
push ebx
push ecx
mov ebx, dword [ebx]
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop ebx
add ebx, 4
dec ecx
jne 0x404138
pop ebx
add ebx, 4
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40419f
push 0x48f
push 0x40fa5de
push 6
call fcn.004c4d9c
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
mov ecx, 1
add edi, 8
push ebx
push edi
push ecx
mov edi, dword [edi]
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop edi
pop ebx
add edi, 4
add ebx, 0xc
dec ecx
jne 0x4041bf
pop edi
add edi, 4
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x404230
push dword [ebp - 8]
call fcn.004042b8
mov eax, 0
jmp 0x404242
push dword [ebp - 8]
call fcn.004042b8
mov eax, 1
jmp 0x404242
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404253
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404278
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404274
imul eax, dword [ebx]
jmp 0x404269
mov ecx, eax
test ecx, ecx
je 0x4042a0
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004c4d90
add esp, 4
pop ebx
call fcn.004c4d90
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40427e
call fcn.004c4d90
add esp, 4
pop ebx
call fcn.004c4d90
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10