Function at 0x140002680
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
mov rax, qword [0x14030b0c0]
xor rax, rsp
mov qword [rbp + 0x48], rax
xor r15d, r15d
cmp byte [0x1403552f0], r15b
jne 0x140002748
movabs rbx, 0x7ffffffed5fa0dff
movabs rsi, 0x12a05f200
movabs rdi, 0x7fffffffffffffff
mov r14d, 0xff
nop
lea rcx, [0x140355270]
call fcn.140024190
cmp byte [0x1403552f0], r15b
jne 0x140002748
lea rcx, [rbp - 0x60]
call fcn.140002040
mov rax, qword [rbp - 0x60]
mov qword [rbp - 0x78], rax
cmp rax, rbx
je 0x140002732
mov ecx, 1
cmovl ecx, r14d
test cl, cl
jns 0x140002732
lea rcx, [rax + rsi]
mov qword [rbp - 0x78], rcx
jmp 0x140002736
mov qword [rbp - 0x78], rdi
lea rcx, [rbp - 0x78]
call fcn.140004eb0
cmp byte [0x1403552f0], r15b
je 0x1400026f0
mov ecx, dword [0x140355338]
call fcn.14007d0d0
call fcn.14007d3d0
mov ecx, 1
call fcn.1400e7f70
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140005340]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x140003279
cmp dword [rbp - 0x68], 0
je 0x14000326d
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000326d
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
mov ecx, 1
call fcn.1400e7f70
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140005370]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14000325d
cmp dword [rbp - 0x68], 0
je 0x140003251
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140003251
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
mov ecx, 1
call fcn.1400e7f70
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x1400053a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x140003241
cmp dword [rbp - 0x68], 0
je 0x140003235
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140003235
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
mov ecx, 1
call fcn.1400e7f70
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x1400053d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x140003225
cmp dword [rbp - 0x68], 0
je 0x140003219
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140003219
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
mov ecx, 1
call fcn.1400e7f70
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140005400]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x140003209
cmp dword [rbp - 0x68], 0
je 0x1400031fd
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400031fd
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
cmp byte [0x1403540d3], al
je 0x1400031bd
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
mov rsi, qword [0x1403541b8]
mov rdi, qword [0x140354158]
mov dword [rbp - 0x18], 6
mov byte [rbp - 0x14], 1
mov rax, qword [0x1403541b0]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x20], rdi
mov rbx, qword [0x140354148]
mov ecx, 0x61c8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov r8, qword [0x140354148]
test r8, r8
je 0x140002a2d
mov r10d, dword [r8 + 0x3f90]
movsx rax, word [r8 + 0x6078]
lea rdx, [r8 + 0x607c]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x140002a22
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], r15d
inc word [rdx + 4]
inc dword [r8 + 0x6070]
mov qword [rbp - 0x60], r9
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r9
test r9, r9
je 0x140002a51
xor edx, edx
mov rcx, r9
call fcn.14002b700
jmp 0x140002a54
mov rax, r15
mov qword [0x140354148], rax
call fcn.14002fe50
test rbx, rbx
je 0x140002a6c
mov qword [0x140354148], rbx
mov rcx, qword [rbp - 0x30]
call fcn.14005cc30
mov rdx, rsi
mov rcx, rdi
call fcn.14005ca70
nop
mov rax, qword [0x140354148]
mov dword [rax + 0x3900], 0x41200000
mov dword [rax + 0x3904], 0x3f800000
mov qword [rax + 0x38f8], r15
mov dword [rax + 0x39d4], r15d
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 [0x1402f4ec0]
movups xmmword [rax + 0x3a20], xmm2
movups xmmword [rax + 0x3ac0], xmm0
movdqa xmm1, xmmword [0x1402f4eb0]
movups xmmword [rax + 0x3ad0], xmm1
movups xmmword [rax + 0x3af0], xmm1
movups xmmword [rax + 0x3ae0], xmm1
movups xmmword [rax + 0x3a00], xmm1
movups xmmword [rax + 0x3a30], xmm2
mov rcx, qword [rbp - 0x20]
call fcn.140075010
lea rcx, [0x140355718]
call fcn.140006bc0
lea rax, [0x1400fd550]
mov qword [rsp + 0x48], rax
lea rax, [0x14007bb50]
mov qword [rsp + 0x50], rax
movzx eax, byte [rbp - 0x48]
mov byte [rsp + 0x58], al
movzx eax, byte [rbp - 0x47]
mov byte [rsp + 0x59], al
movzx eax, byte [rbp - 0x46]
mov byte [rsp + 0x5a], al
movzx eax, byte [rbp - 0x45]
mov byte [rsp + 0x5b], al
lea rax, [rbp - 0x30]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x48]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x48]
mov qword [rbp - 0x60], rax
lea rdx, [rsp + 0x48]
call fcn.14007d970
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140002bbd
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
movss xmm6, dword [0x1402f4974]
movss xmm7, dword [0x1402f4a18]
movss xmm8, dword [0x1402f49a8]
nop word [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x1403541b0]
lea rcx, [rbp + 0x18]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140002c27
lea rcx, [rbp + 0x18]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x18]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rcx, qword [0x140354148]
movzx eax, byte [rbp - 0x14]
mov byte [rcx + 0x58], al
lea rcx, [0x140355270]
call fcn.1400251f0
call fcn.140026fa0
mov r8d, dword [rbp - 0x10]
mov r9d, dword [rbp - 0xc]
test r9d, r9d
jne 0x140002c58
test r8d, r8d
je 0x140002cd5
mov rcx, qword [0x1403541e0]
test rcx, rcx
je 0x140002c79
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1403541e0], r15
mov r9d, dword [rbp - 0xc]
mov r8d, dword [rbp - 0x10]
mov rcx, qword [0x1403541c8]
mov rax, qword [rcx]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor edx, edx
call qword [rax + 0x68]
mov qword [rbp - 0x10], r15
mov rcx, qword [0x1403541c8]
mov rax, qword [rcx]
lea r9, [rbp - 0x78]
lea r8, [0x1402f4858]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140354158]
mov rax, qword [rcx]
lea r9, [0x1403541e0]
xor r8d, r8d
mov rdx, qword [rbp - 0x78]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x78]
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 0x140002d3d
cmp byte [0x1403550a9], 0
jne 0x140002d44
mov byte [0x1403550a9], 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 0x140002d25
mov r8d, 0x80000a8
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x140002d44
mov r8d, 0x80800a8
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x140002d44
mov byte [0x1403550a9], 0
lea rdx, [rbp - 0x70]
mov rcx, qword [0x1403541c0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov r9d, 2
lea r8, [rbp - 0x70]
xor edx, edx
mov rcx, qword [0x1403541c0]
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [rbp - 0x64]
mov r8d, dword [rbp - 0x6c]
sub eax, r8d
mov r9d, dword [rbp - 0x68]
mov edx, dword [rbp - 0x70]
sub r9d, edx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], eax
mov rcx, qword [0x1403541b0]
call qword [sym.imp.USER32.dll_MoveWindow]
movzx eax, byte [reloc.WS2_32.dll_accept]
cmp al, byte [0x1403540a4]
je 0x140002e6e
mov byte [0x1403540a4], 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 0x140002e44
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x140002e44
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, 0xa7beb3ef
movzx ecx, byte [r8]
inc r8
test cl, cl
je 0x140002e3f
nop
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [r8]
lea r8, [r8 + 1]
test cl, cl
jne 0x140002e20
cmp edx, 0x65016d1
je 0x140002e49
test r9d, r9d
jne 0x140002e00
mov rax, qword [rax]
jmp 0x140002dd0
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 [0x1403541b0]
call rax
mov rax, qword [0x140354148]
test rax, rax
je 0x140002e83
mov rcx, qword [rax + 0x98]
jmp 0x140002e86
mov rcx, r15
cmp qword [rcx + 0x48], 0
jne 0x140002e92
call fcn.14005c410
call fcn.14005d640
call fcn.140032720
movaps xmm0, xmmword [0x1403528d0]
movups xmmword [rbp - 8], xmm0
movups xmm0, xmmword [0x1403528e4]
movups xmmword [rbp + 8], xmm0
movups xmm0, xmmword [0x1403528bc]
movups xmmword [rbp - 0x50], xmm0
mov rax, qword [0x140354148]
cmp byte [0x1403528cc], 0
je 0x140002f86
mov rax, qword [rax + 0x4b00]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.140031d80
mov rbx, rax
lea rcx, [rbp - 8]
call fcn.14002dce0
mov edi, eax
movd xmm2, dword [0x140352784]
cvtdq2ps xmm2, xmm2
mov rax, qword [0x140354148]
movss xmm1, dword [rax + 0x14]
mulss xmm1, xmm6
movss xmm0, dword [rax + 0x10]
mulss xmm0, xmm6
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
test edi, 0xff000000
je 0x140002f86
comiss xmm6, xmm2
ja 0x140002f86
subss xmm2, xmm6
mov dword [rsp + 0x28], 0x167
movss dword [rsp + 0x20], xmm7
xorps xmm3, xmm3
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140052490
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.140050ab0
mov dword [rbx + 0x78], r15d
mov rax, qword [0x140354148]
cmp byte [0x1403528e0], 0
je 0x140003048
mov rax, qword [rax + 0x4b00]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.140031d80
mov rbx, rax
lea rcx, [rbp + 8]
call fcn.14002dce0
mov edi, eax
movd xmm2, dword [reloc.WLDAP32.dll_Ordinal_30]
cvtdq2ps xmm2, xmm2
mov rax, qword [0x140354148]
movss xmm1, dword [rax + 0x14]
mulss xmm1, xmm6
movss xmm0, dword [rax + 0x10]
mulss xmm0, xmm6
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
test edi, 0xff000000
je 0x140003048
comiss xmm6, xmm2
ja 0x140003048
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.140052490
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.140050ab0
mov dword [rbx + 0x78], r15d
mov rax, qword [0x140354148]
cmp byte [0x1403528b8], 0
je 0x1400030ff
mov rax, qword [rax + 0x4b00]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.140031d80
mov rbx, rax
lea rcx, [rbp - 0x50]
call fcn.14002dce0
mov edi, eax
movd xmm2, dword [0x14035279c]
cvtdq2ps xmm2, xmm2
mov rcx, qword [0x140354148]
movss xmm1, dword [rcx + 0x14]
mulss xmm1, xmm6
movss xmm0, dword [rcx + 0x10]
mulss xmm0, xmm6
movss dword [rbp - 0x60], xmm0
movss dword [rbp - 0x5c], xmm1
test eax, 0xff000000
je 0x1400030ff
comiss xmm6, xmm2
ja 0x1400030ff
subss xmm2, xmm6
mov dword [rsp + 0x28], 0x167
movss dword [rsp + 0x20], xmm7
xorps xmm3, xmm3
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.140052490
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.140050ab0
mov dword [rbx + 0x78], r15d
cmp byte [0x1403528a0], 0
je 0x14000310d
call fcn.1400224c0
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14000311b
call fcn.140020150
lea rcx, [rbp - 0x30]
call fcn.14007acb0
call fcn.140034320
call fcn.140034740
mov rcx, qword [0x1403541b8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1403541e0]
mov edx, 1
call qword [rax + 0x108]
mov rcx, qword [0x1403541b8]
mov rax, qword [rcx]
lea r8, [0x140355260]
mov rdx, qword [0x1403541e0]
call qword [rax + 0x190]
mov rax, qword [0x140354148]
mov rax, qword [rax + 0x4b00]
mov rcx, qword [rax]
add rcx, 0x48
mov rax, r15
cmp byte [rcx], r15b
cmovne rax, rcx
mov rcx, rax
call fcn.14005b9a0
mov rcx, qword [0x1403541c8]
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x40]
cmp byte [0x140352944], 0
jne 0x1400031f5
cmp dword [rbp + 0x20], 0x12
jne 0x140002bf0
call fcn.14007bba0
nop
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.1400e7f50
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]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14007bba0
nop
jmp 0x1400031bd
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x68], r15d
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 - 0x68], r15d
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 - 0x68], r15d
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 - 0x68], r15d
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 - 0x68], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3