joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000e290
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 0x18000e2ed
lea rbx, [0x180105810]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18000e2d4
cmp r10, 2
jb 0x18000e2d4
cmp byte [r9], r8b
jne 0x18000e2d4
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 0x18000e2b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000e32f
lea rbx, [0x180105810]
cmp r8b, 0x23
jne 0x18000e313
cmp byte [r9], r8b
jne 0x18000e313
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 0x18000e300
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18000e520
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x18000e539
mov qword [r8], 0
lea rdx, [0x180112150]
call fcn.18000e340
mov rbx, rax
test rax, rax
jne 0x18000e558
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18000e618
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x18000e618
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18000e618
mov rax, qword [0x180136a98]
mov rbp, rsi
test rax, rax
je 0x18000e5b5
inc dword [rax + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x18000e618
mov r9, rbx
mov r8, rbp
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, rbp
je 0x18000e605
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180136a98]
test rax, rax
je 0x18000e5fa
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000e621
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x18000e613
mov qword [rdi], rbp
mov rax, rsi
jmp 0x18000e623
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180012570
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x180113019]
mov dword [rsp + 0x2c], eax
lea r11, [0x180105810]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov edx, r10d
mov r9b, 0x57
nop
cmp r9b, 0x23
jne 0x1800125c3
cmp byte [r8], r9b
jne 0x1800125c3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x1800125b0
mov ecx, dword [rbx + 0x2ed4]
lea rax, [0x18001d860]
mov edi, dword [rbx + 0x2ed0]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x18001d930]
mov qword [rsp + 0x38], rax
lea rax, [0x18001da20]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x1800126c5
inc edi
test ecx, ecx
je 0x18001262f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180012634
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1800126c5
mov rax, qword [0x180136a98]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x180012658
inc dword [rax + 0x3b0]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x2ed8]
mov rsi, rax
test rdx, rdx
je 0x1800126b3
movsxd rcx, dword [rbx + 0x2ed0]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2ed8]
test rcx, rcx
je 0x1800126ad
mov rax, qword [0x180136a98]
test rax, rax
je 0x1800126ad
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2ed8], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2ed4], edi
movsxd rax, dword [rbx + 0x2ed0]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2ed8]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2ed0]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x1800138e0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180013930
lea r11, [0x180105810]
nop dword [rax]
cmp r9b, 0x23
jne 0x180013913
cmp byte [r8], r9b
jne 0x180013913
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 0x180013900
mov rcx, qword [0x180136a98]
not eax
movsxd rdx, dword [rcx + 0x1a00]
mov r9, qword [rcx + 0x1a08]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180013991
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180013989
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18001398c
mov rdx, r8
test rdx, rdx
jne 0x180013960
cmp r9, r10
je 0x1800139a0
cmp dword [r9], eax
jne 0x1800139a0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x18001d2e0
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x40
mov r8, qword [0x180136a98]
xor eax, eax
mov qword [rsp + 0x50], rbx
mov rbx, r8
mov qword [rsp + 0x60], rsi
mov rsi, rcx
mov qword [rsp + 0x20], rax
mov ecx, dword [r8 + 0x2ee4]
mov edi, dword [r8 + 0x2ee0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x34], rax
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x3c], al
cmp edi, ecx
jne 0x18001d3c8
inc edi
test ecx, ecx
je 0x18001d33d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18001d342
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x18001d3c8
mov qword [rsp + 0x58], rbp
test rbx, rbx
je 0x18001d35c
inc dword [r8 + 0x3b0]
movsxd rcx, edi
shl rcx, 5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x2ee8]
mov rbp, rax
test rdx, rdx
je 0x18001d3af
movsxd r8, dword [rbx + 0x2ee0]
mov rcx, rax
shl r8, 5
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2ee8]
test rcx, rcx
je 0x18001d3a9
mov rax, qword [0x180136a98]
test rax, rax
je 0x18001d3a9
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x180136a98]
mov qword [rbx + 0x2ee8], rbp
mov rbp, qword [rsp + 0x58]
mov dword [rbx + 0x2ee4], edi
movsxd rcx, dword [rbx + 0x2ee0]
mov rax, qword [rbx + 0x2ee8]
movups xmm0, xmmword [rsp + 0x20]
shl rcx, 5
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rcx + rax], xmm0
movups xmmword [rcx + rax + 0x10], xmm1
movsxd rcx, dword [rbx + 0x2ee0]
mov rdi, rcx
shl rdi, 5
lea eax, [rcx + 1]
mov dword [rbx + 0x2ee0], eax
add rdi, qword [rbx + 0x2ee8]
mov rbx, 0xffffffffffffffff
cmp byte [rsi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x18001d412
test r8, r8
je 0x18001d429
inc dword [r8 + 0x3b0]
lea rcx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0x50]
lea r8, [rsi + 1]
mov qword [rdi], rax
mov r10d, 0xffffffff
movzx r9d, byte [rsi]
mov edx, r10d
mov rsi, qword [rsp + 0x60]
test r9b, r9b
je 0x18001d4a0
lea r11, [0x180105810]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001d483
cmp byte [r8], r9b
jne 0x18001d483
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x18001d470
not edx
mov rax, rdi
mov dword [rdi + 8], edx
add rsp, 0x40
pop rdi
ret
Function at 0x18001d4b0
Capabilities:
Hash data with crc32

Disassembly:
push r13
push r14
sub rsp, 0x38
mov r13, qword [0x180136a98]
mov qword [rsp + 0x50], rbx
mov rbx, rdx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x30], rdi
mov rdi, rcx
mov qword [rsp + 0x28], r12
test rdx, rdx
jne 0x18001d4f9
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rcx + rbx], 0
jne 0x18001d4f0
test r13, r13
je 0x18001d505
inc dword [r13 + 0x3b0]
lea rcx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x58], rax
mov r14, rax
lea r12, [rax + rbx]
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
mov byte [r12], 0
xor esi, esi
mov rdi, r14
cmp r14, r12
jae 0x18001d6ca
mov qword [rsp + 0x20], r15
movzx eax, byte [rdi]
cmp al, 0xa
je 0x18001d714
cmp al, 0xd
je 0x18001d714
mov rbx, rdi
cmp rdi, r12
jae 0x18001d573
nop
movzx eax, byte [rbx]
cmp al, 0xa
je 0x18001d573
cmp al, 0xd
je 0x18001d573
inc rbx
cmp rbx, r12
jb 0x18001d560
mov byte [rbx], 0
movzx eax, byte [rdi]
cmp al, 0x3b
je 0x18001d6b3
cmp al, 0x5b
jne 0x18001d69a
cmp rbx, rdi
jbe 0x18001d69a
cmp byte [rbx - 1], 0x5d
lea r14, [rbx - 1]
jne 0x18001d69a
lea rsi, [rdi + 1]
mov byte [r14], 0
mov r8, r14
mov rcx, rsi
sub r8, rsi
mov edx, 0x5d
call sub.VCRUNTIME140.dll_memchr
mov r15, rax
test rax, rax
je 0x18001d5e2
lea rcx, [rax + 1]
mov edx, 0x5b
sub r14, rcx
mov r8, r14
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x18001d5e2
mov byte [r15], 0
jmp 0x18001d5ec
lea rsi, str.Window
mov rax, rdi
movzx r9d, byte [rsi]
lea r11, [rax + 1]
mov r10, qword [0x180136a98]
mov r14d, 0xffffffff
lea r8, [rsi + 1]
mov eax, r14d
test r9b, r9b
je 0x18001d646
nop dword [rax]
cmp r9b, 0x23
jne 0x18001d623
cmp byte [r8], r9b
jne 0x18001d623
cmp byte [r8 + 1], r9b
cmove eax, r14d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
lea rcx, [0x180105810]
inc r8
xor eax, dword [rcx + rdx*4]
test r9b, r9b
jne 0x18001d610
mov r8d, dword [r10 + 0x2ed0]
xor ecx, ecx
not eax
test r8d, r8d
jle 0x18001d670
mov r9, qword [r10 + 0x2ed8]
lea rdx, [r9 + 8]
cmp dword [rdx], eax
je 0x18001d676
inc ecx
add rdx, 0x30
cmp ecx, r8d
jl 0x18001d661
xor esi, esi
xor ebp, ebp
jmp 0x18001d6b3
movsxd rax, ecx
lea rsi, [rax + rax*2]
shl rsi, 4
add rsi, r9
je 0x18001d672
mov rax, qword [rsi + 0x10]
mov r8, r11
mov rdx, rsi
mov rcx, r13
call rax
mov rbp, rax
jmp 0x18001d6b3
test rsi, rsi
je 0x18001d6b3
test rbp, rbp
je 0x18001d6b3
mov r9, rdi
mov r8, rbp
mov rdx, rsi
mov rcx, r13
call qword [rsi + Ordinal_26]
lea rdi, [rbx + 1]
cmp rdi, r12
jb 0x18001d543
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
test r14, r14
je 0x18001d6fa
mov rax, qword [0x180136a98]
test rax, rax
je 0x18001d6fa
dec dword [rax + 0x3b0]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [r13 + 0x2eb4], 1
add rsp, 0x38
pop r14
pop r13
ret
inc rdi
jmp 0x18001d543
Function at 0x18001d720
Capabilities:
Write file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov rbx, qword [0x180136a98]
xor r15d, r15d
mov r14, rcx
mov dword [rbx + 0x2eb8], r15d
test rcx, rcx
je 0x18001d84b
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
lea rdi, [rbx + 0x2ec0]
mov dword [rbx + 0x2eb8], r15d
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x18001d784
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.18001eb10
mov dword [rdi], r15d
cmp dword [rdi + 4], r15d
jne 0x18001d79a
mov edx, 8
mov rcx, rdi
call fcn.18001eb10
movsxd rcx, dword [rdi]
mov ebp, r15d
mov rax, qword [rdi + 8]
mov byte [rcx + rax], r15b
inc dword [rdi]
cmp dword [rbx + 0x2ed0], r15d
jle 0x18001d7e5
mov rsi, r15
nop word [rax + rax]
mov r9, qword [rbx + 0x2ed8]
mov r8, rdi
add r9, rsi
mov rcx, rbx
mov rdx, r9
call qword [r9 + reloc.WLDAP32.dll_Ordinal_32]
inc ebp
add rsi, 0x30
cmp ebp, dword [rbx + 0x2ed0]
jl 0x18001d7c0
mov eax, dword [rdi]
lea rdx, [0x1801130e4]
test eax, eax
lea rdi, [0x18012cf57]
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2ec8]
cmove ecx, r15d
test rax, rax
movsxd rsi, ecx
mov rcx, r14
cmovne rdi, rax
call fcn.18000e340
mov rbp, qword [rsp + 0x40]
mov rbx, rax
test rax, rax
je 0x18001d841
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x180028f90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x180029121
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x180029000
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.1800289b0
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.180028010
mov dword [rbx + 0x80], 0
jmp 0x18002910d
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.180026ef0
movzx edx, word [rbx + 0x4c]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x4c], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x180030e60
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x18012c070]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x180136f88]
lea rdx, [rsp + 0x38]
mov rdi, qword [0x180136a98]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
sub eax, dword [rsp + 0x38]
movd xmm1, eax
mov eax, dword [rsp + 0x44]
sub eax, dword [rsp + 0x3c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x30]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x180136f90]
cvtsi2ss xmm0, qword [0x180136f98]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x180136f90], 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 + 0x138], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, 1
mov byte [rdi + 0x139], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x180136a98]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x13b], 0
mov byte [rdi + 0x13a], al
cmp byte [rcx + 0x397], 0
lea rbx, [rcx + 0x120]
je 0x180030f8c
cvttss2si eax, dword [rbx]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
cvttss2si eax, dword [rcx + 0x124]
mov rcx, qword [0x180136f88]
mov dword [rsp + 0x24], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x180030ffd
mov rdx, qword [0x180136f88]
cmp rax, rdx
je 0x180030fbd
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x180030ffd
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x180030ffd
mov rcx, qword [0x180136f88]
lea rdx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x180030ffd
movd xmm0, dword [rsp + 0x28]
movd xmm1, dword [rsp + 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc0], 0
je 0x18003100d
mov eax, 0xffffffff
jmp 0x18003101a
mov rax, qword [0x180136a98]
mov eax, dword [rax + 0x1e70]
cmp dword [reloc.WS2_32.dll_htonl], eax
je 0x18003102d
mov dword [reloc.WS2_32.dll_htonl], eax
call fcn.180030a50
call fcn.180030bb0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800d2160
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x180042900
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x20
movzx edi, cl
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x180136aa8]
jne 0x180042986
mov qword [rsp + 0x30], rbx
mov ecx, edi
mov ebx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180042941
lea rdx, [0x180000000]
mov cl, 1
lea rax, [rdx + 0x137090]
add rax, rbx
jmp 0x180042960
cmp rbx, 0xff
jae 0x18004298c
lea rdx, [0x180000000]
lea rax, [rdx + 0x137090]
add rax, rbx
xor cl, cl
mov byte [rax], 0
mov byte [rdi + rdx + 0x137190], cl
cmp byte [rax], 0
jne 0x180042981
test cl, cl
je 0x180042981
cmp byte [0x18012d7d4], 0
mov byte [rax], 1
sete byte [0x18012d7d4]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.1800d2a94
int3

Function at 0x180043110
Capabilities:
Hook routines via microsoft detours
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [0x180136aa8]
call fcn.18000a820
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.18000aee0
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindowUnicode]
mov edx, 0xfffffffc
mov rcx, rbx
test eax, eax
je 0x18004314d
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
jmp 0x180043153
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
lea rdx, [0x180043180]
mov qword [0x180136aa0], rax
lea rcx, [0x180136aa0]
call fcn.18000af80
add rsp, 0x30
pop rbx
jmp fcn.18000aa50
Function at 0x1800488a0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800488c8
xor eax, eax
lea r8, [0x180048220]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180049310
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x18012c070]
xor rax, rsp
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor r15d, r15d
xor edx, edx
mov r14d, eax
mov esi, r15d
lea rdi, [r15 - 1]
lea ecx, [rdi + 5]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, rdi
je 0x180049437
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], Ordinal_33
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18004942e
mov qword [rsp + 0xa0], rbx
cmp dword [rsp + 0x3c], r14d
jne 0x180049410
mov r8d, dword [rsp + 0x38]
mov edx, 1
lea ecx, [rdx + 0x3f]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x180049410
xor eax, eax
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x64], rax
lea r9, [rsp + 0x60]
mov dword [rsp + 0x6c], eax
lea r8, [rsp + 0x58]
lea rax, [rsp + 0x68]
xorps xmm0, xmm0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, rbx
movups xmmword [rsp + 0x54], xmm0
call qword [sym.imp.KERNEL32.dll_GetThreadTimes]
test eax, eax
je 0x180049407
movsxd rax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x50]
shl rax, 0x20
or rax, rcx
je 0x180049407
cmp rax, rdi
jae 0x180049407
mov esi, dword [rsp + 0x38]
mov rdi, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180049385
mov rbx, qword [rsp + 0xa0]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800d2160
lea r11, [rsp + 0x80]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x180049460
Capabilities:
Enumerate threads
Resume thread

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x18012c070]
xor rax, rsp
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, 4
mov dword [rsp + 0x20], Ordinal_33
mov edx, eax
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180049512
mov qword [rsp + 0x60], rbx
cmp dword [rsp + 0x2c], edi
jne 0x1800494f2
mov r8d, dword [rsp + 0x28]
mov edx, 1
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x1800494f2
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800494e9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1800494b0
mov rbx, qword [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800d2160
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret