Function at 0x140002d90
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
push rbp
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
mov rax, qword [0x140351f00]
xor rax, rsp
mov qword [rbp + 0x28], rax
xor esi, esi
mov r15d, 0xff
movabs r14, 0x7fffffffffffffff
cmp byte [0x140376080], sil
jne 0x140002e62
movabs rbx, 0x7ffffffed5fa0dff
movabs rdi, 0x12a05f200
lea rcx, [0x140376000]
call fcn.14001ebe0
cmp byte [0x140376080], sil
jne 0x140002e62
lea rcx, [rsp + 0x40]
call fcn.140002750
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
cmp rax, rbx
je 0x140002e4a
mov ecx, 1
cmovl ecx, r15d
test cl, cl
jns 0x140002e4a
lea rcx, [rax + rdi]
mov qword [rsp + 0x30], rcx
jmp 0x140002e4f
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x30]
call fcn.1400055d0
cmp byte [0x140376080], sil
je 0x140002e04
mov ecx, dword [0x1403760c8]
call fcn.140075e60
call fcn.140076030
mov ecx, 1
call fcn.14011d5c0
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140005a80]
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 0x140003949
cmp dword [rbp - 0x58], 0
je 0x14000393d
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 0x14000393d
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
mov ecx, 1
call fcn.14011d5c0
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140005ab0]
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 0x14000392e
cmp dword [rbp - 0x58], 0
je 0x140003922
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 0x140003922
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
mov ecx, 1
call fcn.14011d5c0
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140005ae0]
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 0x140003913
cmp dword [rbp - 0x58], 0
je 0x140003907
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 0x140003907
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
mov ecx, 1
call fcn.14011d5c0
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140005b10]
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 0x1400038f8
cmp dword [rbp - 0x58], 0
je 0x1400038ec
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 0x1400038ec
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
cmp byte [0x140375a13], al
je 0x140003797
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x18], 1
mov byte [rbp - 0x14], 1
mov rax, qword [0x140375b28]
mov qword [rsp + 0x20], rax
mov r9, qword [0x140375ac8]
mov rdx, qword [0x140375b20]
lea rcx, [rbp - 0x30]
call fcn.140072410
nop
mov rcx, qword [rbp - 0x20]
call fcn.1400712d0
lea rcx, [0x140376700]
call fcn.140006e20
lea rax, [0x1401432c0]
mov qword [rsp + 0x50], rax
lea rax, [0x140075920]
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.140076a20
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400030f0
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 0x78], rsi
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
movdqa xmm9, xmmword [0x140339080]
movdqa xmm10, xmmword [0x1403392b0]
movss xmm6, dword [0x140338aa4]
movss xmm7, dword [0x140338b40]
movss xmm8, dword [0x140338adc]
nop word [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140375b20]
lea rcx, [rbp - 8]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140003167
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 [0x140375a78]
movzx eax, byte [rbp - 0x14]
mov byte [rcx + 0x58], al
lea rcx, [0x140376000]
call fcn.140023e10
call fcn.140026660
mov r8d, dword [rbp - 0x10]
mov r9d, dword [rbp - 0xc]
test r9d, r9d
jne 0x140003198
test r8d, r8d
je 0x140003213
mov rcx, qword [0x140375b50]
test rcx, rcx
je 0x1400031b9
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140375b50], rsi
mov r9d, dword [rbp - 0xc]
mov r8d, dword [rbp - 0x10]
mov rcx, qword [0x140375b38]
mov rax, qword [rcx]
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor edx, edx
call qword [rax + 0x68]
mov qword [rbp - 0x10], rsi
mov rcx, qword [0x140375b38]
mov rax, qword [rcx]
lea r9, [rbp - 0x70]
lea r8, [0x140338a20]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140375ac8]
mov rax, qword [rcx]
lea r9, [0x140375b50]
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 [0x1403743bc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000327b
cmp byte [0x140375fe8], 0
jne 0x140003282
mov byte [0x140375fe8], 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 0x140003263
mov r8d, 0x80000a8
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x140003282
mov r8d, 0x80800a8
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x140003282
mov byte [0x140375fe8], 0
lea rdx, [rbp - 0x60]
mov rcx, qword [0x140375b30]
call qword [sym.imp.USER32.dll_GetClientRect]
mov r9d, 2
lea r8, [rbp - 0x60]
xor edx, edx
mov rcx, qword [0x140375b30]
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], esi
mov dword [rsp + 0x20], eax
mov rcx, qword [0x140375b20]
call qword [sym.imp.USER32.dll_MoveWindow]
movzx eax, byte [0x1403743c0]
cmp al, byte [0x1403759f4]
je 0x1400033ae
mov byte [0x1403759f4], 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 word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov r11d, dword [rcx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x140003384
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x140003384
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [r10 + r9*4]
mov r8d, dword [rdx + rbx]
add r8, r10
mov edx, 0xb7cdef87
movzx ecx, byte [r8]
inc r8
test cl, cl
je 0x14000337f
nop
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [r8]
lea r8, [r8 + 1]
test cl, cl
jne 0x140003360
cmp edx, 0xebbb489
je 0x140003389
test r9d, r9d
jne 0x140003340
mov rax, qword [rax]
jmp 0x140003310
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 [0x140375b20]
call rax
mov rax, qword [0x140375a78]
test rax, rax
je 0x1400033c3
mov rcx, qword [rax + 0x98]
jmp 0x1400033c6
mov rcx, rsi
cmp qword [rcx + 0x48], 0
jne 0x1400033d2
call fcn.140062ed0
call fcn.140063ee0
call fcn.14003a4f0
mov rax, qword [0x140375a78]
cmp byte [0x140374390], 0
je 0x1400034ab
mov rax, qword [rax + 0x4900]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.140039b50
mov rbx, rax
movups xmmword [rsp + 0x30], xmm10
lea rcx, [rsp + 0x30]
call fcn.140036030
mov edi, eax
movd xmm2, dword [reloc.WS2_32.dll_ioctlsocket]
cvtdq2ps xmm2, xmm2
mov rax, qword [0x140375a78]
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 edi, 0xff000000
je 0x1400034ab
comiss xmm6, xmm2
ja 0x1400034ab
subss xmm2, xmm6
mov dword [rsp + 0x28], 0x167
movss dword [rsp + 0x20], xmm7
xorps xmm3, xmm3
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140058140
movss dword [rsp + 0x28], xmm8
mov dword [rsp + 0x20], 1
mov r9d, edi
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.1400566d0
mov dword [rbx + 0x78], esi
mov rax, qword [0x140375a78]
cmp byte [0x140374391], 0
je 0x14000356b
mov rax, qword [rax + 0x4900]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.140039b50
mov rbx, rax
movups xmmword [rsp + 0x30], xmm9
lea rcx, [rsp + 0x30]
call fcn.140036030
mov edi, eax
movd xmm2, dword [0x1403742f8]
cvtdq2ps xmm2, xmm2
mov rcx, qword [0x140375a78]
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 eax, 0xff000000
je 0x14000356b
comiss xmm6, xmm2
ja 0x14000356b
subss xmm2, xmm6
mov dword [rsp + 0x28], 0x167
movss dword [rsp + 0x20], xmm7
xorps xmm3, xmm3
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140058140
movss dword [rsp + 0x28], xmm8
mov dword [rsp + 0x20], 1
mov r9d, edi
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.1400566d0
mov dword [rbx + 0x78], esi
cmp byte [0x140374378], 0
je 0x140003579
call fcn.14001ccb0
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x140003587
call fcn.14001a770
lea rcx, [rbp - 0x30]
call fcn.140072eb0
call fcn.14003c1f0
call fcn.14003c610
mov rcx, qword [0x140375b28]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140375b50]
mov edx, 1
call qword [rax + 0x108]
mov rcx, qword [0x140375b28]
mov rax, qword [rcx]
lea r8, [0x140375ff0]
mov rdx, qword [0x140375b50]
call qword [rax + 0x190]
mov rax, qword [0x140375a78]
mov rax, qword [rax + 0x4900]
mov rcx, qword [rax]
add rcx, 0x48
mov rax, rsi
cmp byte [rcx], sil
cmovne rax, rcx
mov rcx, rax
call fcn.140062460
mov rcx, qword [0x140375b38]
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x40]
cmp byte [0x1403743b4], 0
jne 0x1400037d9
movsxd rbx, dword [reloc.WS2_32.dll_accept]
lea rcx, [rbp - 0x40]
call fcn.140002750
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x30], rax
test rbx, rbx
je 0x140003675
js 0x140003675
imul rdx, rbx, 0xf4240
imul r8, rbx, 0xf4240
mov rcx, r14
sub rcx, r8
cmp rax, rcx
je 0x140003670
mov r8d, 1
cmovl r8d, r15d
test r8b, r8b
jns 0x140003670
lea rcx, [rdx + rax]
mov qword [rsp + 0x30], rcx
jmp 0x140003675
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x30]
call fcn.1400055d0
cmp dword [rbp], 0x12
jne 0x140003130
mov rbx, qword [0x140375a78]
test rbx, rbx
je 0x14000369e
mov rdi, qword [rbx + 0x98]
jmp 0x1400036a1
mov rdi, rsi
call fcn.140063410
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400036b5
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400036c3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400036d2
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x98], rsi
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x140375a78]
test rax, rax
je 0x1400036f6
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140375a78]
test rax, rax
je 0x140003714
mov rdi, qword [rax + 0x90]
jmp 0x140003717
mov rdi, rsi
lea rbx, [rax + 8]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140003731
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140375a78]
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x88], rsi
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x14000374b
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140375a78]
mov qword [0x140375a78], rbx
call fcn.1400381d0
mov qword [0x140375a78], rsi
test rbx, rbx
je 0x140003797
mov rcx, rbx
call fcn.14004e2c0
mov rax, qword [0x140375a78]
test rax, rax
je 0x14000378d
dec dword [rax + 0xf0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.14011d5a0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rbx, qword [0x140375a78]
test rbx, rbx
je 0x1400037ee
mov rdi, qword [rbx + 0x98]
jmp 0x1400037f1
mov rdi, rsi
call fcn.140063410
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140003805
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140003813
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140003822
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x98], rsi
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x140375a78]
test rax, rax
je 0x140003846
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140375a78]
test rax, rax
je 0x140003864
mov rdi, qword [rax + 0x90]
jmp 0x140003867
mov rdi, rsi
lea rbx, [rax + 8]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140003881
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140375a78]
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x88], rsi
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x14000389b
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140375a78]
mov qword [0x140375a78], rbx
call fcn.1400381d0
mov qword [0x140375a78], rsi
test rbx, rbx
je 0x1400038e7
mov rcx, rbx
call fcn.14004e2c0
mov rax, qword [0x140375a78]
test rax, rax
je 0x1400038dd
dec dword [rax + 0xf0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
jmp 0x140003797
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x58], esi
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], esi
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], esi
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], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3