Function at 0x140003b10
Capabilities:
Acquire debug privileges

Disassembly:
jmp 0x140003b10
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x1400973cb]
call fcn.1400012c1
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1400126a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x48], rax
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetTokenInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x68], rax
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140012710]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x48], 0
je 0x140003d90
cmp qword [rbp + 0x68], 0
je 0x140003d90
cmp qword [rbp + 0x88], 0
je 0x140003d90
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 0x28]
mov edx, 0x28
mov rcx, rax
call qword [rbp + 0x48]
test eax, eax
je 0x140003d90
lea rax, [rbp + 0xc4]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0xa4]
mov edx, socket
mov rcx, qword [rbp + 0x28]
call qword [rbp + 0x68]
test eax, eax
je 0x140003c24
mov eax, dword [rbp + 0xa4]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x140003d90
mov dword [rbp + 0xe4], 0
lea rax, [rbp + 0xe4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 3
mov rcx, qword [rbp + 0x28]
call qword [rbp + 0x68]
mov eax, dword [rbp + 0xe4]
mov qword [rbp + 0x218], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rbp + 0x218]
mov r8, rcx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x108], rax
cmp qword [rbp + 0x108], 0
je 0x140003d6e
lea rax, [rbp + 0xe4]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0xe4]
mov r8, qword [rbp + 0x108]
mov edx, 3
mov rcx, qword [rbp + 0x28]
call qword [rbp + 0x68]
test eax, eax
je 0x140003d6e
lea r8, [rbp + 0x128]
lea rdx, [0x140012758]
xor ecx, ecx
call qword [rbp + 0x88]
test eax, eax
je 0x140003d6e
mov dword [rbp + 0x144], 0
jmp 0x140003cfc
mov eax, dword [rbp + 0x144]
inc eax
mov dword [rbp + 0x144], eax
mov rax, qword [rbp + 0x108]
mov eax, dword [rax]
cmp dword [rbp + 0x144], eax
jae 0x140003d6e
mov eax, dword [rbp + 0x144]
imul rax, rax, 0xc
mov rcx, qword [rbp + 0x108]
mov edx, dword [rbp + 0x128]
cmp dword [rcx + rax + 4], edx
jne 0x140003d6c
mov eax, dword [rbp + 0x144]
imul rax, rax, 0xc
mov rcx, qword [rbp + 0x108]
mov edx, dword [rbp + 0x12c]
cmp dword [rcx + rax + 8], edx
jne 0x140003d6c
mov eax, dword [rbp + 0x144]
imul rax, rax, 0xc
mov rcx, qword [rbp + 0x108]
mov eax, dword [rcx + rax + 0xc]
and eax, 2
test eax, eax
je 0x140003d6c
mov dword [rbp + 4], 1
jmp 0x140003d6e
jmp 0x140003cee
cmp qword [rbp + 0x108], 0
je 0x140003d90
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0x108]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x28], 0
je 0x140003da1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x140011740]
call fcn.140001262
mov eax, edi
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret