Function at 0x4170f0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540ec9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5923e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x3c], eax
push 0x248
mov dword [eax + 0xac], 1
call fcn.004dbe96
mov edi, eax
mov dword [ebp - 0x40], edi
push 0x248
push 0
push edi
mov dword [ebp - 4], 0
call fcn.00515e40
mov dword [edi], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0
push 0x1a0
lea eax, [edi + 0x20]
push 0
push eax
call fcn.00515e40
mov dword [edi + 0x1c0], 0
mov dword [edi + 0x1ec], 0
mov byte [ebp - 4], 3
lea esi, [edi + 0x1f0]
mov dword [ebp - 0x20], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004dbe96
add esp, 0x20
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 4
lea esi, [edi + 0x1f8]
mov dword [ebp - 0x20], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043a860
mov dword [esi], eax
lea ecx, [edi + 0x200]
mov byte [ebp - 4], 5
call fcn.00426740
mov byte [ebp - 4], 6
lea esi, [edi + 0x220]
mov dword [ebp - 0x20], esi
mov dword [esi], 0
push 0x28
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004dbe96
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 8
mov ecx, esi
push 8
mov dword [esi], 0x3f800000
call fcn.0045a140
mov dword [edi + 0x240], 0
mov ecx, str.SeDebugPrivilege
mov byte [edi + 0x244], 0
call fcn.004585b0
mov ecx, str.SeSystemProfilePrivilege
call fcn.004585b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
push dword [ebp - 0x40]
mov dword [ebp - 0x48], 0
push edi
mov dword [ebp - 0x44], 0
call fcn.00431730
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x44]
mov esi, dword [ecx + 0x18]
mov dword [ecx + 0x18], eax
mov dword [ebp - 4], 9
test esi, esi
je 0x4172df
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4172df
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4172dc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
mov ecx, dword [ecx + 0x14]
lea edx, [ebp - 0x38]
push eax
add ecx, 0x1f0
mov dword [ebp - 0x38], 0x20000
push edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x6000000
mov dword [ebp - 0x24], 0
call fcn.00459fa0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x38]
push 7
xor eax, eax
mov dword [ebp - 0x28], 0
push str.Process
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.00429050
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
je 0x4173a9
movups xmm0, xmmword [ebp - 0x38]
mov dword [eax + 0x10], 0
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x18], 0x18
mov word [ebp - 0x38], ax
jmp 0x4173b9
lea ecx, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042ccf0
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
cmp edx, 8
jb 0x4173f4
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4173ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4175f2
push edx
push ecx
call fcn.004dc241
add esp, 8
push 4
xor eax, eax
mov dword [ebp - 0x28], 0
push str.File
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.00429050
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
je 0x41744c
movups xmm0, xmmword [ebp - 0x38]
mov dword [eax + 0x10], 0
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x18], 0x18
mov word [ebp - 0x38], ax
jmp 0x41745c
lea ecx, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042ccf0
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
cmp edx, 8
jb 0x417497
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41748d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4175f7
push edx
push ecx
call fcn.004dc241
add esp, 8
push 8
xor eax, eax
mov dword [ebp - 0x28], 0
push str.Registry
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.00429050
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
je 0x4174ef
movups xmm0, xmmword [ebp - 0x38]
mov dword [eax + 0x10], 0
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x18], 0x18
mov word [ebp - 0x38], ax
jmp 0x4174ff
lea ecx, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042ccf0
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
cmp edx, 8
jb 0x41753a
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417530
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4175fc
push edx
push ecx
call fcn.004dc241
add esp, 8
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x1c]
sub ecx, edi
mov esi, dword [ebp - 0x3c]
imul ecx
mov esi, dword [esi + 0x14]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [esi + 0x1f8]
mov dword [ebp - 0x20], ecx
lea eax, [eax + eax*2]
lea eax, [edi + eax*8]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0xe
mov esi, dword [ecx]
push dword [esi + 4]
call fcn.0043a880
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
mov dword [eax + 4], esi
mov eax, dword [ecx]
mov dword [eax], esi
mov eax, dword [ecx]
mov byte [ebp - 4], 0xa
mov dword [eax + 8], esi
mov dword [ecx + 4], 0
cmp edi, dword [ebp - 0x40]
je 0x4175c5
nop word [eax + eax]
mov esi, dword [ecx]
push edi
call fcn.0043b530
mov ecx, dword [ebp - 0x20]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x44]
push eax
call fcn.0043c400
mov ecx, dword [ebp - 0x20]
add edi, 0x18
cmp edi, dword [ebp - 0x40]
jne 0x4175a0
mov ecx, dword [ebp - 0x3c]
call fcn.00419f90
lea ecx, [ebp - 0x1c]
call fcn.00428900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dbc7c
mov esp, ebp
pop ebp
ret 4
call fcn.0051d5cb
call fcn.0051d5cb
call fcn.0051d5cb
int3