Function at 0x417580
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555da9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5ac3e4]
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.004e0596
mov edi, eax
mov dword [ebp - 0x40], edi
push 0x248
push 0
push edi
mov dword [ebp - 4], 0
call fcn.0051d990
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.0051d990
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.004e0596
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.0043af70
mov dword [esi], eax
lea ecx, [edi + 0x200]
mov byte [ebp - 4], 5
call fcn.00426bd0
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.004e0596
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.0045ac10
mov dword [edi + 0x240], 0
mov ecx, str.SeDebugPrivilege
mov byte [edi + 0x244], 0
call fcn.00459080
mov ecx, str.SeSystemProfilePrivilege
call fcn.00459080
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.00431e10
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 0x41776f
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41776f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x41776c
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.0045aa70
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.004295e0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
je 0x417839
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 0x417849
lea ecx, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042d350
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
cmp edx, 8
jb 0x417884
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41787a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417a82
push edx
push ecx
call fcn.004e0941
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.004295e0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
je 0x4178dc
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 0x4178ec
lea ecx, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042d350
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
cmp edx, 8
jb 0x417927
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41791d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417a87
push edx
push ecx
call fcn.004e0941
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.004295e0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
je 0x41797f
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 0x41798f
lea ecx, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042d350
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
cmp edx, 8
jb 0x4179ca
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4179c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417a8c
push edx
push ecx
call fcn.004e0941
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.0043af90
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 0x417a55
nop word [eax + eax]
mov esi, dword [ecx]
push edi
call fcn.0043bc40
mov ecx, dword [ebp - 0x20]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x44]
push eax
call fcn.0043cb10
mov ecx, dword [ebp - 0x20]
add edi, 0x18
cmp edi, dword [ebp - 0x40]
jne 0x417a30
mov ecx, dword [ebp - 0x3c]
call fcn.0041a420
lea ecx, [ebp - 0x1c]
call fcn.00428e90
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.004e037c
mov esp, ebp
pop ebp
ret 4
call fcn.0052511b
call fcn.0052511b
call fcn.0052511b
int3