Function at 0x401130
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2064
call fcn.00435d70
mov eax, dword [0x46fd40]
xor eax, ebp
mov dword [ebp - 0xc], eax
push esi
push edi
push str.SeDebugPrivilege
call fcn.004010b0
add esp, 4
mov eax, dword [ebp + 8]
push eax
push 0
push 0x1fffff
call dword [0x4572a0]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [0x45729c]
xor edx, edx
mov dword [ebp - 0x2054], edx
mov dword [ebp - 0x2050], edx
mov dword [ebp - 0x204c], edx
mov dword [ebp - 0x2048], edx
mov dword [ebp - 0x2044], edx
mov dword [ebp - 0x2040], edx
mov dword [ebp - 0x203c], edx
xor eax, eax
mov dword [ebp - 0x2034], eax
mov dword [ebp - 0x2030], eax
mov dword [ebp - 0x202c], eax
mov dword [ebp - 0x2028], eax
mov dword [ebp - 0x2024], eax
mov dword [ebp - 0x2020], eax
mov dword [ebp - 0x201c], eax
mov dword [ebp - 0x2018], eax
mov dword [ebp - 0x2014], eax
xor ecx, ecx
mov word [ebp - 0x2010], cx
push 0x1ffe
push 0
lea edx, [ebp - 0x200e]
push edx
call fcn.00432500
add esp, 0xc
mov dword [ebp - 0x2038], 0
lea eax, [ebp - 0x2034]
push eax
call dword [0x457298]
mov ecx, dword [ebp - 0x202c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x2028]
jae 0x4013c7
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2054], eax
push 0x1c
lea ecx, [ebp - 0x2054]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [0x457294]
mov ecx, dword [ebp - 0x2054]
add ecx, dword [ebp - 0x2048]
mov dword [ebp - 4], ecx
cmp dword [ebp - 0x203c], 0x20000
jne 0x40126a
cmp dword [ebp - 0x204c], 4
je 0x40126c
jmp 0x401217
mov edx, dword [ebp - 0x2054]
mov dword [ebp - 0x2058], edx
jmp 0x40128c
mov eax, dword [ebp - 0x2058]
add eax, dword [ebp - 0x2030]
mov dword [ebp - 0x2058], eax
mov ecx, dword [ebp - 0x2058]
cmp ecx, dword [ebp - 4]
jae 0x4013c2
lea edx, [ebp - 0x2038]
push edx
mov eax, dword [ebp - 0x2030]
push eax
lea ecx, [ebp - 0x2010]
push ecx
mov edx, dword [ebp - 0x2058]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [0x457290]
test eax, eax
jne 0x4012c7
jmp 0x40127a
mov dword [ebp - 0x205c], 0
jmp 0x4012e2
mov ecx, dword [ebp - 0x205c]
add ecx, 1
mov dword [ebp - 0x205c], ecx
mov edx, dword [ebp - 0x205c]
cmp edx, dword [ebp - 0x2030]
jge 0x4013bd
mov eax, dword [ebp + 0x10]
push eax
call dword [0x45728c]
mov dword [ebp - 0x2060], eax
mov ecx, dword [ebp - 0x2060]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x205c]
lea esi, [ebp + edx*2 - 0x2010]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4013b8
mov ecx, dword [ebp - 0x205c]
sub ecx, 1
mov dword [ebp - 0x205c], ecx
xor edx, edx
mov eax, dword [ebp - 0x205c]
mov word [ebp + eax*2 - 0x2010], dx
mov dword [ebp - 0x2064], 0
jmp 0x40135e
mov ecx, dword [ebp - 0x2064]
add ecx, 1
mov dword [ebp - 0x2064], ecx
cmp dword [ebp - 0x2064], 0x1000
jge 0x401396
mov edx, dword [ebp - 0x205c]
sub edx, dword [ebp - 0x2064]
movzx eax, word [ebp + edx*2 - 0x2010]
cmp eax, 0x5c
jne 0x401394
mov ecx, dword [ebp - 0x2064]
sub ecx, 1
mov dword [ebp - 0x2064], ecx
jmp 0x401396
jmp 0x40134f
mov edx, dword [ebp - 0x205c]
sub edx, dword [ebp - 0x2064]
lea eax, [ebp + edx*2 - 0x2010]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x457288]
mov al, 1
jmp 0x4013d3
jmp 0x4012d3
jmp 0x40127a
jmp 0x401217
mov edx, dword [ebp - 8]
push edx
call dword [0x457284]
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0042f8f0
mov esp, ebp
pop ebp
ret