Function at 0x559750
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov eax, 0x2140
push edi
push ebx
call fcn.00567770
sub esp, eax
lea eax, [esp + 0x2140]
mov dword [esp + 0x54], 0x567468
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 0x58], 0x5c5880
mov dword [esp + 0x60], 0x559a8d
mov dword [esp + 0x64], esp
call fcn.00567748
mov dword [esp], str.ntdll
mov dword [esp + 0x40], 0xffffffff
call dword [0x639b9c]
sub esp, 4
mov dword [esp + 4], str.NtQueryInformationProcess
mov dword [esp], eax
call dword [0x639ba0]
sub esp, 8
test eax, eax
mov dword [esp + 0x2c], eax
je 0x559a43
mov dword [esp + 0x74], 0
call dword [0x639b80]
lea edx, [esp + 0x74]
mov dword [esp + 4], 0x28
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [0x639b28]
sub esp, 0xc
mov eax, dword [esp + 0x74]
mov dword [esp + 8], 1
mov dword [esp + 4], str.SeDebugPrivilege
mov dword [esp], eax
call fcn.00555310
mov eax, dword [esp + 0x2150]
mov dword [esp + 4], 0
mov dword [esp], 0x410
mov dword [esp + 8], eax
call dword [0x639bfc]
sub esp, 0xc
test eax, eax
mov dword [esp + 0x30], eax
je 0x559a73
lea eax, [esp + 0x7c]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], 0x18
mov dword [esp + 4], 0
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], eax
call dword [esp + 0x2c]
sub esp, 0x14
mov dword [esp], 0
mov dword [esp + 0x38], eax
call dword [0x639c20]
sub esp, 4
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x140]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x34], eax
test ebx, ebx
je 0x559970
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], eax
mov eax, dword [0x639b60]
mov dword [esp + 0x38], eax
call eax
sub esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call dword [esp + 0x38]
sub esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
lea eax, [esp + 0x78]
mov dword [esp], eax
call dword [0x63a0fc]
mov ecx, dword [esp + 0x2154]
lea eax, [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 0x40], 1
call dword [0x63a104]
sub esp, 4
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
test edx, edx
je 0x559945
cmp edx, 0xffffffff
je 0x559926
lock sub dword [eax], 1
setne dl
test dl, dl
je 0x559941
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.00567750
movzx eax, byte [esp + 0x2c]
add esp, 0x2140
pop ebx
pop edi
pop ebp
ret
mov eax, dword [esp + 0x78]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
mov dword [esp + 0x40], 0xffffffff
call dword [0x639f58]
jmp 0x559926
lea eax, [esp + 0x70]
mov dword [esp + 0xc], 0x1c
mov dword [esp + 0x10], eax
lea eax, [esp + 0x94]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [0x639c1c]
mov dword [esp + 0x2c], eax
call eax
sub esp, 0x14
test eax, eax
je 0x559a50
lea eax, [esp + 0x70]
mov dword [esp + 0xc], 0x90
mov dword [esp + 0x10], eax
lea eax, [esp + 0xb0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call dword [esp + 0x2c]
sub esp, 0x14
test eax, eax
je 0x559a50
mov eax, dword [esp + 0x38]
mov ecx, 0x800
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0xf4]
movzx ebx, word [esp + 0xf0]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call dword [esp + 0x2c]
sub esp, 0x14
test eax, eax
setne byte [esp + 0x2c]
jmp 0x5598a5
mov byte [esp + 0x2c], 0
jmp 0x559926
mov dword [esp + 0x40], 0xffffffff
call dword [0x639b90]
lea eax, [esp + 0x140]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x34], eax
jmp 0x5598a5
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call dword [0x639b60]
sub esp, 4
mov byte [esp + 0x2c], 0
jmp 0x559926