Function at 0x416b50
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559f41
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5b03ec]
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.004e4ef6
mov edi, eax
mov dword [ebp - 0x14], edi
push 0x248
push 0
push edi
mov dword [ebp - 4], 0
call fcn.00521d00
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.00521d00
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.004e4ef6
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.0043d910
mov dword [esi], eax
lea ecx, [edi + 0x200]
mov byte [ebp - 4], 5
call fcn.00426690
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.004e4ef6
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.0045f140
mov dword [edi + 0x240], 0
mov ecx, str.SeDebugPrivilege
mov byte [edi + 0x244], 0
call fcn.0045d8e0
mov ecx, str.SeSystemProfilePrivilege
call fcn.0045d8e0
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.00433810
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 0x416d3f
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x416d3f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x416d3c
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.0045efa0
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 [0x5baa40]
test al, 1
jne 0x416dcc
or eax, 1
mov dword [0x5baa90], 0
mov dword [0x5baa40], eax
mov byte [ebp - 0x2d], 0
movlpd qword [ebp - 0x18], xmm0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xb
push eax
call fcn.004627c5
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 0x430640
push 0x5baa90
call fcn.00462aae
add esp, 0x10
test eax, eax
je 0x417192
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xd
push eax
call fcn.004627ff
mov ecx, 0x5b89a0
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 0x416e40
sub ecx, edx
sar ecx, 1
push ecx
push 0x5b89a0
lea ecx, [ebp - 0x48]
call fcn.00429120
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x24], eax
je 0x416e9b
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 0x416ea8
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042c3a0
lea ecx, [ebp - 0x48]
call fcn.00428da0
mov eax, dword [0x5ba9f8]
test al, 1
jne 0x416ecb
or eax, 1
mov dword [0x5baa48], 0
mov dword [0x5ba9f8], 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.004627c5
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 0x4306e0
push 0x5baa48
call fcn.00462aae
add esp, 0x10
test eax, eax
je 0x41717c
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x13
push eax
call fcn.004627ff
mov ecx, 0x5b8fd0
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 0x416f40
sub ecx, edx
sar ecx, 1
push ecx
push 0x5b8fd0
lea ecx, [ebp - 0x48]
call fcn.00429120
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x24], eax
je 0x416f9b
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 0x416fa8
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042c3a0
lea ecx, [ebp - 0x48]
call fcn.00428da0
mov eax, dword [0x5baa38]
test al, 1
jne 0x416fcb
or eax, 1
mov dword [0x5baa18], 0
mov dword [0x5baa38], 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.004627c5
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 0x430780
push 0x5baa18
call fcn.00462aae
add esp, 0x10
test eax, eax
je 0x417162
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x19
push eax
call fcn.004627ff
mov ecx, 0x5b89b4
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 0x417040
sub ecx, edx
sar ecx, 1
push ecx
push 0x5b89b4
lea ecx, [ebp - 0x48]
call fcn.00429120
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x24], eax
je 0x41709b
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 0x4170a8
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042c3a0
lea ecx, [ebp - 0x48]
call fcn.00428da0
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.0043d930
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 0x417135
mov esi, dword [ecx]
push edi
call fcn.0043e7a0
mov ecx, dword [ebp - 0x1c]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x50]
push eax
call fcn.0043fc20
mov ecx, dword [ebp - 0x1c]
add edi, 0x18
cmp edi, dword [ebp - 0x14]
jne 0x417110
mov ecx, dword [ebp - 0x4c]
call fcn.00419f60
lea ecx, [ebp - 0x2c]
call fcn.00428970
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.004e4cdc
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x1a
push eax
call fcn.00462820
add esp, 4
mov byte [ebp - 4], 0x18
test al, al
je 0x4171bb
jmp 0x4171a8
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x14
push eax
call fcn.00462820
add esp, 4
mov byte [ebp - 4], 0x12
jmp 0x417176
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xe
push eax
call fcn.00462820
add esp, 4
mov byte [ebp - 4], 0xc
jmp 0x417176
sub esp, 8
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00411b40
call fcn.00411c00
call fcn.00462ac6
int3