joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b160
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140148080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1400e4268
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14000b3d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14000b1d9
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400e3fb0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x14000b320
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140148080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1400e4268
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14000b3d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14000b396
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400e3fb0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14000b410
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rcx, rcx
je 0x14000b5b3
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000b5b3
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14000b5b3
mov edx, 0x20b
cmp word [rax + rcx + 0x18], dx
jne 0x14000b5b3
mov qword [rbx], rcx
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
mov qword [rsp + 0x40], rdi
mov qword [rbx + 8], rcx
xor edi, edi
mov qword [rsp + 0x48], r14
lea rax, [rcx + 4]
mov qword [rbx + 0x10], rax
lea r14, [rcx + 0x18]
lea rax, [rcx + 0x18]
mov qword [rbx + 0x18], rax
lea rax, [rcx + 0x88]
mov qword [rbx + 0x20], rax
lea rax, [rcx + 0x90]
mov qword [rbx + 0x28], rax
lea rax, [rcx + 0x98]
mov qword [rbx + 0x30], rax
lea rax, [rcx + 0xa0]
mov qword [rbx + 0x38], rax
lea rax, [rcx + 0xa8]
mov qword [rbx + 0x40], rax
lea rax, [rcx + 0xb0]
mov qword [rbx + 0x48], rax
lea rax, [rcx + 0xb8]
mov qword [rbx + 0x50], rax
lea rax, [rcx + 0xc0]
mov qword [rbx + 0x58], rax
lea rax, [rcx + 0xc8]
mov qword [rbx + 0x60], rax
lea rax, [rcx + 0xd0]
mov qword [rbx + 0x68], rax
lea rax, [rcx + 0xd8]
mov qword [rbx + 0x70], rax
lea rax, [rcx + 0xe0]
mov qword [rbx + 0x78], rax
lea rax, [rcx + 0xe8]
mov qword [rbx + 0x80], rax
lea rax, [rcx + 0xf0]
mov qword [rbx + 0x88], rax
lea rax, [rcx + 0xf8]
mov qword [rbx + 0x90], rax
lea rax, [rcx + 0x100]
mov qword [rbx + 0x98], rax
movzx eax, word [rcx + 0x14]
add r14, rax
cmp di, word [rcx + 6]
jae 0x14000b5a1
mov qword [rsp + 0x38], rsi
nop dword [rax]
mov rdx, qword [rbx + 0xa8]
movsxd rax, edi
lea rcx, [rax + rax*4]
lea rax, [r14 + rcx*8]
mov qword [rsp + 0x30], rax
cmp rdx, qword [rbx + 0xb0]
je 0x14000b57d
mov qword [rdx], rax
add qword [rbx + 0xa8], 8
jmp 0x14000b58e
lea r8, [rsp + 0x30]
lea rcx, [rbx + 0xa0]
call fcn.14000b5c0
mov rax, qword [rbx + 0x10]
inc edi
movzx ecx, word [rax + 2]
cmp edi, ecx
jl 0x14000b550
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x48]
mov al, 1
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14000c070
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140148080]
xor rax, rsp
mov qword [rbp + 0x20], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
lea rdx, [rsp + 0x30]
call fcn.14000b410
test al, al
je 0x14000c223
mov dword [rsp + 0x20], 0xb5a9bfe4
mov word [rsp + 0x24], 0xba
mov byte [rsp + 0x26], 1
xor ecx, ecx
lea eax, [rcx - 0x36]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 5
jb 0x14000c0d0
mov byte [rsp + 0x26], 0
mov rbx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
cmp rbx, rdi
je 0x14000c116
mov rsi, qword [rbx]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x14000c118
add rbx, 8
cmp rbx, rdi
jne 0x14000c0f2
xor esi, esi
mov dword [rsp + 0x28], 0xaca8b9e4
mov dword [rsp + 0x2c], 0x100aeba
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx - 0x36]
xor byte [rsp + rcx + 0x28], al
inc rcx
cmp rcx, 6
jb 0x14000c130
mov byte [rsp + 0x2f], 0
mov rbx, qword [rbp - 0x30]
mov r14, qword [rbp - 0x28]
cmp rbx, r14
je 0x14000c176
mov rdi, qword [rbx]
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x14000c178
add rbx, 8
cmp rbx, r14
jne 0x14000c152
xor edi, edi
test rsi, rsi
je 0x14000c223
cmp rsi, rdi
jae 0x14000c223
mov dword [rbp - 0x10], 1
mov dword [rbp - 0xc], 2
mov dword [rbp - 8], 4
mov dword [rbp - 4], 8
mov dword [rbp], reloc.WS2_32.dll_recv
mov dword [rbp + 4], reloc.WLDAP32.dll_Ordinal_32
mov dword [rbp + 8], 0x40
mov dword [rbp + 0xc], 0x80
mov dword [rbp + 0x10], 0x100
mov dword [rbp + 0x14], 0x200
mov dword [rbp + 0x18], 0x400
mov dword [rbp + 0x1c], 0x80000000
lea r14, [rbp - 0x10]
mov r8d, dword [rsi + 8]
add r8d, 0x1000
mov r9d, dword [r14]
mov rdx, qword [rsp + 0x48]
mov rdx, qword [rdx + 0x18]
call fcn.14000c290
mov r8d, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
mov rax, qword [rsp + 0x48]
add rdx, qword [rax + 0x18]
mov r9d, dword [r14]
call fcn.14000c290
add r14, 4
lea rax, [rbp + 0x20]
cmp r14, rax
jne 0x14000c1e2
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14000c264
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c25f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c25f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e44f4
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400e3fb0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000c290
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140148080]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x50], ebx
mov edi, r9d
mov qword [rsp + 0x58], r8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword gs:[0x58]
mov rsi, rax
mov eax, 4
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x14014c420], ecx
jle 0x14000c35a
lea rcx, [0x14014c420]
call fcn.1400e4158
cmp dword [0x14014c420], 0xffffffff
jne 0x14000c35a
movdqa xmm0, xmmword [0x140133940]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xb3b6bf94
mov dword [rsp + 0x44], 0x100a7af
nop dword [rax]
nop word [rax + rax]
lea eax, [rbx - 0x37]
xor byte [rsp + rbx + 0x30], al
inc rbx
cmp rbx, 0x16
jb 0x14000c320
mov rcx, qword [0x14014bfc8]
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x47], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14014c420]
mov qword [0x14014c410], rax
call fcn.1400e40f8
mov rax, qword [0x14014c410]
test rax, rax
je 0x14000c384
lea rcx, [rsp + 0x50]
mov r9d, edi
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x58]
mov rcx, rsi
lea rdx, [rsp + 0x48]
call rax
jmp 0x14000c38f
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400e3fb0
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000dc80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000dcdd
lea rbx, [0x1401105d0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000dcc4
cmp r10, 2
jb 0x14000dcc4
cmp byte [r9], r8b
jne 0x14000dcc4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000dca0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000dd1f
lea rbx, [0x1401105d0]
cmp r8b, 0x23
jne 0x14000dd03
cmp byte [r9], r8b
jne 0x14000dd03
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000dcf0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14000de60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000de7a
mov qword [r8], 0
lea rdx, [0x140131fb4]
call fcn.14000dd30
mov rbx, rax
test rax, rax
jne 0x14000de9a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14000df71
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000df71
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000df71
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000df71
cmp rdi, 0xffffffffffffffff
je 0x14000df71
mov rax, qword [0x14014bee0]
test rax, rax
je 0x14000df0e
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000df71
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000df5e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14014bee0]
test rax, rax
je 0x14000df53
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000df7a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000df6c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000df7c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14001c610
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov rax, qword [0x14014bee0]
lea r10, [0x1401105d0]
mov r9, qword [rax + 0x1d18]
movsxd rdx, dword [r9 + 0x108]
mov rax, qword [r9 + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
not r8d
movzx eax, cl
movzx edx, r8b
shr r8d, 8
xor rdx, rax
movzx eax, byte [rsp + 0x31]
xor r8d, dword [r10 + rdx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x32]
xor r8d, dword [r10 + rcx*4]
movzx ecx, r8b
shr r8d, 8
xor rcx, rax
movzx eax, byte [rsp + 0x33]
xor r8d, dword [r10 + rcx*4]
lea rcx, [r9 + 0x108]
movzx edx, r8b
xor rdx, rax
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
lea rdx, [rsp + 0x30]
not r8d
mov dword [rsp + 0x30], r8d
call fcn.14002e1f0
add rsp, 0x28
ret

Function at 0x14001d570
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140148080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14014bee0]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x14001d5d0
cmp byte [rbx + 0x20d6], 0
jne 0x14001d5d0
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14000dc00
test dil, 1
je 0x14001d6f6
jmp 0x14001d65f
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3178]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1401333ec]
mulss xmm1, dword [0x1401333d4]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x140133334]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
call fcn.14000dc00
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001d6b0
lea r11, [0x1401105d0]
nop
cmp r9b, 0x23
jne 0x14001d693
cmp byte [r8], r9b
jne 0x14001d693
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001d680
not ecx
call fcn.140016060
test rax, rax
je 0x14001d6f6
cmp byte [rax + 0xcf], 0
je 0x14001d6f6
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x3178]
call fcn.14000dc00
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.140018b40
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400e3fb0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140022400
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400224a7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002245a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14002eb00
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000e530
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3270]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14014bed8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400224af
mov rcx, rbx
call fcn.14000e530
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400228f0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140022942
lea r11, [0x1401105d0]
cmp r9b, 0x23
jne 0x140022925
cmp byte [r8], r9b
jne 0x140022925
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140022912
mov r11, qword [0x14014bee0]
mov r10, qword [r11 + 0x3228]
test r10, r10
je 0x140022989
lea r9, [r10 + 4]
test r9, r9
je 0x140022989
not eax
cmp dword [r9], eax
je 0x140022992
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x3220]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140022960
mov rcx, rbx
pop rbx
jmp fcn.140022800
mov rax, r9
pop rbx
ret
Function at 0x140025ed0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14002610e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140148080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1401105d0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x1400260d6
mov rcx, rbp
call fcn.140025560
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x140025fa1
movsxd rdx, dword [rbp + 0x31c0]
mov r8, qword [rbp + 0x31c8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x140025f91
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x140025f89
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x140025f8c
mov rdx, rcx
test rdx, rdx
jne 0x140025f60
cmp r8, r10
je 0x140025fa1
cmp dword [r8], r9d
jne 0x140025fa1
mov rcx, qword [r8 + 8]
jmp 0x140025fa3
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x140026037
cmp qword [rcx + 0x18], 0
jne 0x14002602c
mov qword [rcx + 0x18], rbx
jmp 0x140026037
cmp qword [rcx + 0x20], 0
jne 0x140026037
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov rcx, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14002606c
nop
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140026060
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, reloc.WS2_32.dll_sendto
call fcn.14000dc00
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x1400260c8
cmp r9b, 0x23
jne 0x1400260ab
cmp byte [r8], r9b
jne 0x1400260ab
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x140026098
not ecx
call fcn.140016060
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x140025f20
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400e3fb0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140041820
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140148080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14014c360]
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
mov rdi, qword [0x14014bee0]
movdqu xmmword [rsp + 0x20], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x20]
movd xmm1, eax
mov eax, dword [rsp + 0x2c]
sub eax, dword [rsp + 0x24]
cmp byte [reloc.WS2_32.dll_accept], 0
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
je 0x1400418e7
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x14014bee0]
mov ecx, dword [rbx + 0x161c]
test ecx, ecx
jns 0x1400418bd
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1618]
test eax, eax
cmovg edx, eax
call fcn.14002e4a0
xor r9d, r9d
mov dword [rbx + 0x1618], 0
lea r8, [0x1400416f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov rbx, qword [rsp + 0x50]
mov byte [reloc.WS2_32.dll_accept], 0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x30]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x14014c368]
cvtsi2ss xmm0, qword [0x14014c370]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x14014c368], rcx
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_recv
and al, 1
mov byte [rdi + 0x13c], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, 1
mov byte [rdi + 0x13d], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x13f], 0
mov byte [rdi + 0x13e], al
call fcn.140041220
cmp byte [rdi + 0xcf], 0
mov rdi, qword [rsp + 0x40]
je 0x140041991
mov eax, 0xffffffff
jmp 0x14004199e
mov rax, qword [0x14014bee0]
mov eax, dword [rax + 0x20d0]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x1400419b1
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.1400410a0
call fcn.140041420
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400e3fb0
add rsp, 0x48
ret
Function at 0x140053710
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x140148080]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
xor edi, edi
movabs rax, 0xa3a74e7e9aea6e5b
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rcx, 0x4f24265c3e57429a
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
movabs rax, 0x9396064dae980615
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x1400537d0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.140004830
nop
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov r14, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x48]
test r15, r15
je 0x14005386c
mov rdx, r15
mov rcx, rsi
call fcn.14007fac0
mov rbx, qword [rsi]
mov r8, r15
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [r15 + rbx]
mov qword [rsi + 8], rax
mov r8, qword [rsp + 0x58]
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x48]
cmp r14, 0x10
cmovae rcx, rbp
xor edx, edx
mov rax, rdi
div r8
add rdx, rcx
mov rcx, qword [rsi]
movzx eax, byte [rcx + rdi]
xor al, byte [rdx]
mov byte [rcx + rdi], al
inc rdi
cmp rdi, r15
jne 0x140053840
cmp r14, 0x10
jb 0x1400538a6
lea rdx, [r14 + 1]
mov rax, rbp
cmp rdx, 0x1000
jb 0x14005389e
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005389e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbp
call fcn.1400e44f4
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400e3fb0
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret