Function at 0x140004af0
Capabilities:
Acquire debug privileges
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1400e5558]
xor rax, rsp
mov qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp - 0x10]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rbx, qword [rbp - 0x10]
lea r8, [rsp + 0x60]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
xor r14d, r14d
mov esi, 1
test eax, eax
je 0x140004b95
mov rax, qword [rsp + 0x60]
lea r9d, [rsi + 0xf]
mov qword [rsp + 0x28], r14
lea r8, [rbp]
xor edx, edx
mov qword [rbp + 4], rax
mov rcx, rbx
mov dword [rbp], esi
mov dword [rbp + 0xc], 2
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x140004b95
call qword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.14000dfd0
lea rax, [0x140003ff0]
mov dword [rsp + 0x70], 0x50
xor ecx, ecx
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x74], 0x40
mov qword [rbp - 0x80], r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x78], rax
lea rcx, [rsp + 0x70]
lea rax, [0x1400b39c8]
movdqu xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
mov qword [rbp - 0x50], rax
movdqu xmmword [rbp - 0x60], xmm1
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], r14
lea r8, [rbp - 0x10]
movabs rcx, 0xae122b5296d15206
movabs rax, 0xf9c48338846a6c9
mov qword [rsp + 0x60], rax
mov r9d, 0xc80000
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rsp + 0x60]
mov qword [rbp - 8], rax
movabs rax, 0xfbc48138866a6e9
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp], rax
mov qword [rsp + 0x60], rcx
xor ecx, ecx
mov rax, qword [rsp + 0x60]
movdqa xmm0, xmmword [rbp - 0x10]
mov rdx, qword [rbp - 0x50]
mov qword [rbp + 8], rax
mov rax, qword [rbp - 0x78]
pxor xmm0, xmmword [rbp]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], 0x1f4
mov dword [rsp + 0x30], 0x2bc
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
movdqa xmmword [rbp - 0x10], xmm0
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, rax
mov rdi, rax
call fcn.140001a70
test al, al
jne 0x140004cc6
call fcn.140001a20
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, esi
jmp 0x140004f14
mov edx, 0xa
movaps xmmword [rsp + 0x120], xmm6
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov qword [rsp + 0x30], 2
lea rcx, str.1.89.6_WIP
mov qword [rsp + 0x28], socket
mov edx, 0x37b8
mov r9d, 8
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r8d, 0x42c
call fcn.14001f820
xor ecx, ecx
call fcn.14001f4c0
call fcn.140021f00
call fcn.14000f1a0
mov rcx, rdi
call fcn.140014ed0
mov rcx, qword [0x1400e99b8]
call fcn.1400141e0
xor r9d, r9d
mov qword [rsp + 0x28], r14
lea r8, [0x140004aa0]
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
movss xmm6, dword [0x1400b39e4]
xor bl, bl
nop word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
lea rcx, [rbp - 0x40]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140004dd0
nop word [rax + rax]
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rbp - 0x38], 0x12
lea rcx, [rbp - 0x40]
movzx ebx, bl
cmove ebx, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140004d90
test bl, bl
jne 0x140004edd
call fcn.1400142f0
call fcn.140015060
call fcn.140028330
call fcn.14000edb0
call fcn.140020020
mov rcx, qword [0x1400e99b8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400e99b8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400e99b8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400e99b8]
mov r9d, 3
mov dword [rsp + 0x30], r14d
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], 0xff728c99
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x1400e99b8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140004e93
call fcn.140029fc0
call fcn.140021c40
mov rcx, rax
call fcn.140014350
mov rcx, qword [0x1400e99b8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400e99b8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140004d70
mov rcx, qword [0x1400e99b8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140004d70
call fcn.140001bd0
jmp 0x140004d70
call fcn.140014d80
call fcn.140015380
xor ecx, ecx
call fcn.14001f8b0
call fcn.140001a20
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassW]
movaps xmm6, xmmword [rsp + 0x120]
xor eax, eax
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140076350
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret