Function at 0x416ba0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544ad1
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5953a4]
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 - 0x4c], eax
push 0x248
mov dword [eax + 0xac], 1
call fcn.004e0b76
mov edi, eax
mov dword [ebp - 0x14], edi
push 0x248
push 0
push edi
mov dword [ebp - 4], 0
call fcn.00519d60
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.00519d60
mov dword [edi + 0x1c0], 0
mov dword [edi + 0x1ec], 0
mov byte [ebp - 4], 3
lea esi, [edi + 0x1f0]
mov dword [ebp - 0x1c], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004e0b76
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 - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043b130
mov dword [esi], eax
lea ecx, [edi + 0x200]
mov byte [ebp - 4], 5
call fcn.00425300
mov byte [ebp - 4], 6
lea esi, [edi + 0x220]
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
push 0x28
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004e0b76
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.0045b9e0
mov dword [edi + 0x240], 0
mov ecx, str.SeDebugPrivilege
mov byte [edi + 0x244], 0
call fcn.00459e60
mov ecx, str.SeSystemProfilePrivilege
call fcn.00459e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
push dword [ebp - 0x14]
mov dword [ebp - 0x54], 0
push edi
mov dword [ebp - 0x50], 0
call fcn.0042fcf0
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x50]
mov esi, dword [ecx + 0x18]
mov dword [ecx + 0x18], eax
mov dword [ebp - 4], 9
test esi, esi
je 0x416d8f
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x416d8f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x416d8c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x30]
mov ecx, dword [ecx + 0x14]
lea edx, [ebp - 0x48]
push eax
add ecx, 0x1f0
mov dword [ebp - 0x48], 0x20000
push edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x6000000
mov dword [ebp - 0x34], 0
call fcn.0045b8d0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xa
mov eax, dword [0x59fb10]
test al, 1
jne 0x416e1c
or eax, 1
mov dword [0x59fcec], 0
mov dword [0x59fb10], eax
mov byte [ebp - 0x2d], 0
movlpd qword [ebp - 0x18], xmm0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xb
push eax
call fcn.00460eb5
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2d]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push 0x42bc10
push 0x59fcec
call fcn.00460f59
add esp, 0x10
test eax, eax
je 0x4171e2
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xd
push eax
call fcn.00460eef
mov ecx, 0x59d948
mov byte [ebp - 4], 0xa
add esp, 4
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416e90
sub ecx, edx
sar ecx, 1
push ecx
push 0x59d948
lea ecx, [ebp - 0x48]
call fcn.00426a90
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x24], eax
je 0x416eeb
movups xmm0, xmmword [ebp - 0x48]
mov dword [eax + 0x10], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x38]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x28], 0x18
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
jmp 0x416ef8
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004299c0
lea ecx, [ebp - 0x48]
call fcn.00426890
mov eax, dword [0x59fc84]
test al, 1
jne 0x416f1b
or eax, 1
mov dword [0x59fbf8], 0
mov dword [0x59fc84], eax
xorps xmm0, xmm0
mov byte [ebp - 0x2d], 0
movlpd qword [ebp - 0x18], xmm0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x11
push eax
call fcn.00460eb5
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2d]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push 0x42bcb0
push 0x59fbf8
call fcn.00460f59
add esp, 0x10
test eax, eax
je 0x4171cc
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x13
push eax
call fcn.00460eef
mov ecx, 0x59d7a4
mov byte [ebp - 4], 0xa
add esp, 4
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416f90
sub ecx, edx
sar ecx, 1
push ecx
push 0x59d7a4
lea ecx, [ebp - 0x48]
call fcn.00426a90
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x24], eax
je 0x416feb
movups xmm0, xmmword [ebp - 0x48]
mov dword [eax + 0x10], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x38]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x28], 0x18
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
jmp 0x416ff8
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004299c0
lea ecx, [ebp - 0x48]
call fcn.00426890
mov eax, dword [0x59fbb0]
test al, 1
jne 0x41701b
or eax, 1
mov dword [0x59fb8c], 0
mov dword [0x59fbb0], eax
xorps xmm0, xmm0
mov byte [ebp - 0x2d], 0
movlpd qword [ebp - 0x18], xmm0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x17
push eax
call fcn.00460eb5
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2d]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push 0x42bd50
push 0x59fb8c
call fcn.00460f59
add esp, 0x10
test eax, eax
je 0x4171b2
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x19
push eax
call fcn.00460eef
mov ecx, 0x59dc38
mov byte [ebp - 4], 0xa
add esp, 4
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417090
sub ecx, edx
sar ecx, 1
push ecx
push 0x59dc38
lea ecx, [ebp - 0x48]
call fcn.00426a90
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x24], eax
je 0x4170eb
movups xmm0, xmmword [ebp - 0x48]
mov dword [eax + 0x10], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x38]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x28], 0x18
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
jmp 0x4170f8
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004299c0
lea ecx, [ebp - 0x48]
call fcn.00426890
mov ecx, dword [ebp - 0x28]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x2c]
sub ecx, edi
mov esi, dword [ebp - 0x4c]
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 - 0x1c], ecx
lea eax, [eax + eax*2]
lea eax, [edi + eax*8]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x1d
mov esi, dword [ecx]
push dword [esi + 4]
call fcn.0043b150
mov ecx, dword [ebp - 0x1c]
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 - 0x14]
je 0x417185
mov esi, dword [ecx]
push edi
call fcn.0043bfc0
mov ecx, dword [ebp - 0x1c]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x50]
push eax
call fcn.0043d180
mov ecx, dword [ebp - 0x1c]
add edi, 0x18
cmp edi, dword [ebp - 0x14]
jne 0x417160
mov ecx, dword [ebp - 0x4c]
call fcn.00419100
lea ecx, [ebp - 0x2c]
call fcn.004265a0
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.004e095c
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x1a
push eax
call fcn.00460f10
add esp, 4
mov byte [ebp - 4], 0x18
test al, al
je 0x41720b
jmp 0x4171f8
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x14
push eax
call fcn.00460f10
add esp, 4
mov byte [ebp - 4], 0x12
jmp 0x4171c6
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xe
push eax
call fcn.00460f10
add esp, 4
mov byte [ebp - 4], 0xc
jmp 0x4171c6
sub esp, 8
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00413140
call fcn.00413200
call fcn.00460f71
int3