Function at 0x180002a90
Capabilities:
Access peb ldr_data
Create thread
Encode data using xor
Hash data using fnv
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x180309080]
xor rax, rsp
mov qword [rbp + 0x28], rax
xor r14d, r14d
mov r12d, 0xff
movabs r15, 0x7fffffffffffffff
cmp byte [0x18030b910], r14b
jne 0x180002b62
movabs rbx, 0x7ffffffed5fa0dff
movabs rdi, 0x12a05f200
lea rcx, [0x18030b890]
call fcn.1800229f0
cmp byte [0x18030b910], r14b
jne 0x180002b62
lea rcx, [rsp + 0x40]
call fcn.180002450
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
cmp rax, rbx
je 0x180002b4a
mov ecx, 1
cmovl ecx, r12d
test cl, cl
jns 0x180002b4a
lea rcx, [rax + rdi]
mov qword [rsp + 0x30], rcx
jmp 0x180002b4f
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.1800052d0
cmp byte [0x18030b910], r14b
je 0x180002b04
mov ecx, dword [0x18030b958]
call fcn.180086a60
call fcn.180086c30
mov ecx, 1
call fcn.1800e7cb0
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x180005780]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x18000363f
cmp dword [rbp - 0x58], 0
je 0x180003633
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x180003633
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
mov ecx, 1
call fcn.1800e7cb0
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1800057b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x180003623
cmp dword [rbp - 0x58], 0
je 0x180003617
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x180003617
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
mov ecx, 1
call fcn.1800e7cb0
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1800057e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x180003607
cmp dword [rbp - 0x58], 0
je 0x1800035fb
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1800035fb
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
mov ecx, 1
call fcn.1800e7cb0
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x180005810]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1800035eb
cmp dword [rbp - 0x58], 0
je 0x1800035df
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1800035df
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
cmp byte [0x18030b304], al
je 0x180003596
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
mov rsi, qword [0x18030b3f0]
mov rdi, qword [0x18030b388]
mov dword [rbp - 0x18], 1
mov byte [rbp - 0x14], 1
mov rax, qword [0x18030b3e0]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x20], rdi
mov rbx, qword [0x18030b378]
mov ecx, 0x61c8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov r8, qword [0x18030b378]
test r8, r8
je 0x180002ddd
mov r10d, dword [r8 + 0x3f90]
movsx rax, word [r8 + 0x6078]
lea rdx, [r8 + 0x607c]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x180002dd2
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rdx, [r8 + 0x607c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], r14d
inc word [rdx + 4]
inc dword [r8 + 0x6070]
mov qword [rbp - 0x40], r9
lea rax, [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r9
test r9, r9
je 0x180002e01
xor edx, edx
mov rcx, r9
call fcn.1800324b0
jmp 0x180002e04
mov rax, r14
mov qword [0x18030b378], rax
call fcn.180036c00
test rbx, rbx
je 0x180002e1c
mov qword [0x18030b378], rbx
mov rcx, qword [rbp - 0x30]
call fcn.180063a20
mov rdx, rsi
mov rcx, rdi
call fcn.180063860
nop
mov rax, qword [0x18030b378]
mov dword [rax + 0x3900], 0x40e00000
mov dword [rax + 0x3904], 0x3f800000
mov qword [rax + 0x38f8], r14
mov dword [rax + 0x39d4], r14d
mov qword [rax + 0x3964], 0x40400000
mov dword [rax + 0x3924], 0x40a00000
xorps xmm0, xmm0
movups xmmword [rax + 0x3b90], xmm0
xorps xmm1, xmm1
movups xmmword [rax + 0x3bb0], xmm1
movups xmmword [rax + 0x3ba0], xmm0
movups xmmword [rax + 0x3bc0], xmm1
movups xmmword [rax + 0x3be0], xmm0
movups xmmword [rax + 0x3bd0], xmm1
movdqa xmm2, xmmword [0x1802f44f0]
movups xmmword [rax + 0x3a20], xmm2
movups xmmword [rax + 0x3ac0], xmm0
movdqa xmm1, xmmword [0x1802f4520]
movups xmmword [rax + 0x3ad0], xmm1
movups xmmword [rax + 0x3af0], xmm1
movups xmmword [rax + 0x3ae0], xmm1
movups xmmword [rax + 0x3a00], xmm2
movdqa xmm0, xmmword [0x1802f4510]
movups xmmword [rax + 0x3a30], xmm0
mov rcx, qword [rbp - 0x20]
call fcn.180076fd0
lea rcx, [0x18030bca0]
call fcn.180007040
lea rax, [0x1800fd400]
mov qword [rsp + 0x50], rax
lea rax, [0x180083f20]
mov qword [rsp + 0x58], rax
movzx eax, byte [rbp - 0x58]
mov byte [rsp + 0x60], al
movzx eax, byte [rbp - 0x57]
mov byte [rsp + 0x61], al
movzx eax, byte [rbp - 0x56]
mov byte [rsp + 0x62], al
movzx eax, byte [rbp - 0x55]
mov byte [rsp + 0x63], al
lea rax, [rbp - 0x30]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x40], rax
lea rdx, [rsp + 0x50]
call fcn.180087640
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x180002f75
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
movss xmm7, dword [0x1802f4104]
movss xmm6, dword [0x1802f3f8c]
movss xmm8, dword [0x1802f402c]
movss xmm9, dword [0x1802f3fc0]
nop word [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x18030b3e0]
lea rcx, [rbp - 8]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x180002fe7
lea rcx, [rbp - 8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 8]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rcx, qword [0x18030b378]
movzx eax, byte [rbp - 0x14]
mov byte [rcx + 0x58], al
lea rcx, [0x18030b890]
call fcn.180028cc0
call fcn.18002b430
mov r8d, dword [rbp - 0x10]
mov r9d, dword [rbp - 0xc]
test r9d, r9d
jne 0x180003018
test r8d, r8d
je 0x180003095
mov rcx, qword [0x18030b410]
test rcx, rcx
je 0x180003039
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x18030b410], r14
mov r9d, dword [rbp - 0xc]
mov r8d, dword [rbp - 0x10]
mov rcx, qword [0x18030b3f8]
mov rax, qword [rcx]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor edx, edx
call qword [rax + 0x68]
mov qword [rbp - 0x10], r14
mov rcx, qword [0x18030b3f8]
mov rax, qword [rcx]
lea r9, [rbp - 0x70]
lea r8, [0x1802f3ef0]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x18030b388]
mov rax, qword [rcx]
lea r9, [0x18030b410]
xor r8d, r8d
mov rdx, qword [rbp - 0x70]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov ecx, dword [reloc.WLDAP32.dll_Ordinal_45]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800030fd
cmp byte [0x18030b860], 0
jne 0x180003104
mov byte [0x18030b860], 1
cmp byte [rbp - 0x14], 0
sete al
mov byte [rbp - 0x14], al
mov edx, 0xffffffec
mov rcx, qword [rbp - 0x30]
test al, al
je 0x1800030e5
mov r8d, 0x80000a8
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x180003104
mov r8d, 0x80800a8
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x180003104
mov byte [0x18030b860], 0
lea rdx, [rbp - 0x60]
mov rcx, qword [0x18030b3e8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov r9d, 2
lea r8, [rbp - 0x60]
xor edx, edx
mov rcx, qword [0x18030b3e8]
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [rbp - 0x54]
mov r8d, dword [rbp - 0x5c]
sub eax, r8d
mov r9d, dword [rbp - 0x58]
mov edx, dword [rbp - 0x60]
sub r9d, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], eax
mov rcx, qword [0x18030b3e0]
call qword [sym.imp.USER32.dll_MoveWindow]
movzx eax, byte [reloc.WS2_32.dll_accept]
cmp al, byte [0x18030b2e4]
je 0x18000322e
mov byte [0x18030b2e4], al
neg al
sbb edi, edi
and edi, 0x11
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov r11d, dword [rcx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x180003204
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x180003204
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [rbx + r9*4]
mov r8d, dword [rdx + r10]
add r8, r10
mov edx, 0xe00a6ff6
movzx ecx, byte [r8]
inc r8
test cl, cl
je 0x1800031ff
nop
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [r8]
lea r8, [r8 + 1]
test cl, cl
jne 0x1800031e0
cmp edx, 0xfe111adc
je 0x180003209
test r9d, r9d
jne 0x1800031c0
mov rax, qword [rax]
jmp 0x180003190
mov r8d, dword [r11 + 0x1c]
add r8, r10
mov ecx, dword [r11 + 0x24]
add rcx, r10
movzx ecx, word [rcx + r9*2]
mov eax, dword [r8 + rcx*4]
add rax, r10
mov edx, edi
mov rcx, qword [0x18030b3e0]
call rax
mov rax, qword [0x18030b378]
test rax, rax
je 0x180003243
mov rcx, qword [rax + 0x98]
jmp 0x180003246
mov rcx, r14
cmp qword [rcx + 0x48], 0
jne 0x180003252
call fcn.180063200
call fcn.180064430
call fcn.1800394d0
movss xmm0, dword [0x180309c3c]
mulss xmm0, xmm7
cvttss2si rbx, xmm0
shl ebx, 8
movss xmm1, dword [0x180309c38]
mulss xmm1, xmm7
cvttss2si rax, xmm1
or ebx, eax
shl ebx, 8
movss xmm0, dword [0x180309c34]
mulss xmm0, xmm7
cvttss2si rax, xmm0
or ebx, eax
shl ebx, 8
movss xmm0, dword [0x180309c30]
mulss xmm0, xmm7
cvttss2si rax, xmm0
or ebx, eax
movss xmm0, dword [0x180309c78]
mulss xmm0, xmm7
cvttss2si rdi, xmm0
shl edi, 8
movss xmm1, dword [0x180309c74]
mulss xmm1, xmm7
cvttss2si rax, xmm1
or edi, eax
shl edi, 8
movss xmm0, dword [0x180309c70]
mulss xmm0, xmm7
cvttss2si rax, xmm0
or edi, eax
shl edi, 8
movss xmm0, dword [0x180309c6c]
mulss xmm0, xmm7
cvttss2si rax, xmm0
or edi, eax
mov rax, qword [0x18030b378]
cmp byte [0x180309d00], 0
je 0x1800033c1
mov rax, qword [rax + 0x4b00]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.180038b30
mov rsi, rax
movd xmm2, dword [reloc.WS2_32.dll_ioctlsocket]
cvtdq2ps xmm2, xmm2
mov rax, qword [0x18030b378]
movss xmm1, dword [rax + 0x14]
mulss xmm1, xmm6
movss xmm0, dword [rax + 0x10]
mulss xmm0, xmm6
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
test ebx, 0xff000000
je 0x1800033c1
comiss xmm6, xmm2
ja 0x1800033c1
subss xmm2, xmm6
mov dword [rsp + 0x28], 0x167
movss dword [rsp + 0x20], xmm8
xorps xmm3, xmm3
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.180059240
movss dword [rsp + 0x28], xmm9
mov dword [rsp + 0x20], 1
mov r9d, ebx
mov r8d, dword [rsi + 0x78]
mov rdx, qword [rsi + 0x80]
mov rcx, rsi
call fcn.180057850
mov dword [rsi + 0x78], r14d
mov rax, qword [0x18030b378]
cmp byte [0x180309d01], 0
je 0x180003472
mov rax, qword [rax + 0x4b00]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.180038b30
mov rbx, rax
movd xmm2, dword [0x180309c58]
cvtdq2ps xmm2, xmm2
mov rcx, qword [0x18030b378]
movss xmm1, dword [rcx + 0x14]
mulss xmm1, xmm6
movss xmm0, dword [rcx + 0x10]
mulss xmm0, xmm6
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
test edi, 0xff000000
je 0x180003472
comiss xmm6, xmm2
ja 0x180003472
subss xmm2, xmm6
mov dword [rsp + 0x28], 0x167
movss dword [rsp + 0x20], xmm8
xorps xmm3, xmm3
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.180059240
movss dword [rsp + 0x28], xmm9
mov dword [rsp + 0x20], 1
mov r9d, edi
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.180057850
mov dword [rbx + 0x78], r14d
cmp byte [0x180309ce8], 0
je 0x180003480
call fcn.180020ca0
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x18000348e
call fcn.18001e750
lea rcx, [rbp - 0x30]
call fcn.180082f70
call fcn.18003b0d0
call fcn.18003b4f0
mov rcx, qword [0x18030b3f0]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x18030b410]
mov edx, 1
call qword [rax + 0x108]
mov rcx, qword [0x18030b3f0]
mov rax, qword [rcx]
lea r8, [0x18030b880]
mov rdx, qword [0x18030b410]
call qword [rax + 0x190]
mov rax, qword [0x18030b378]
mov rax, qword [rax + 0x4b00]
mov rcx, qword [rax]
add rcx, 0x48
mov rax, r14
cmp byte [rcx], r14b
cmovne rax, rcx
mov rcx, rax
call fcn.180062790
mov rcx, qword [0x18030b3f8]
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x40]
cmp byte [0x180309d3c], 0
jne 0x1800035d7
movsxd rbx, dword [reloc.WS2_32.dll_accept]
lea rcx, [rbp - 0x40]
call fcn.180002450
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x30], rax
test rbx, rbx
je 0x18000357c
js 0x18000357c
imul rdx, rbx, 0xf4240
imul r8, rbx, 0xf4240
mov rcx, r15
sub rcx, r8
cmp rax, rcx
je 0x180003577
mov r8d, 1
cmovl r8d, r12d
test r8b, r8b
jns 0x180003577
lea rcx, [rdx + rax]
mov qword [rsp + 0x30], rcx
jmp 0x18000357c
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.1800052d0
cmp dword [rbp], 0x12
jne 0x180002fb0
call fcn.180083f70
nop
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1800e7c90
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.180083f70
nop
jmp 0x180003596
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x58], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x58], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x58], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x58], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3