joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015170
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rsi, rdx
mov rbx, rcx
je 0x14001520b
mov rdi, r8
test r8, r8
jle 0x140015200
mov rcx, rbx
call fcn.140016b40
test rax, rax
jle 0x1400151e0
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14003a430
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400151f8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140015200
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400151a2
sub r14, rdi
mov rax, r14
jmp 0x1400152ba
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140015222
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140015224
xor ecx, ecx
movsxd rdi, ecx
test r14, r14
jle 0x1400152b4
test ecx, ecx
jle 0x14001525c
cmp r14, rdi
mov rcx, rsi
cmovl rdi, r14
mov r8, rdi
call fcn.14003a430
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub r14, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
test r14, r14
jle 0x1400152b4
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x1400152b4
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400152a1
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov r9, qword [rbx + 0x80]
mov r8, r14
mov edx, 1
mov rcx, rsi
call fcn.14003fe00
sub r14, rax
sub rbp, r14
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140015730
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400880a0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001575d
xor eax, eax
jmp 0x1400158a3
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140015797
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140015797
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400158a3
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140015896
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400157da
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400157e9
movsx ecx, dil
jmp 0x14001583d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
js 0x140015896
cmp eax, 1
jle 0x140015857
cmp eax, 3
jne 0x140015896
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.14003ce80
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14001589b
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140015884
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.14003f4d0
cmp rsi, rax
jne 0x140015896
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14001589b
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140038530
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14001b440
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x58], r12
mov rsi, r8
mov qword [rsp + 0x50], r13
mov r13, qword [r8 + 0x18]
mov qword [rsp + 0x48], r14
mov r14, qword [r8 + 0x10]
mov qword [rsp + 0x38], rdx
cmp r13, 0x10
jb 0x14001b470
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r14, r14
je 0x14001b4a4
movabs r9, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r9
cmp rdx, r14
jb 0x14001b490
and rcx, qword [0x14008b7c0]
mov rax, qword [0x14008b7a8]
mov rdi, qword [0x14008b798]
shl rcx, 4
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x40], r15
mov r12, qword [rcx + rax]
add rax, 8
add rax, rcx
mov rbx, r12
mov qword [rsp + 0x30], rax
nop dword [rax]
cmp r12, rdi
jne 0x14001b4ea
mov rax, rdi
jmp 0x14001b4f0
mov rax, qword [rax]
mov rax, qword [rax]
cmp rbx, rax
je 0x14001b563
lea rcx, [rbx + 0x10]
mov rdx, rsi
cmp r13, 0x10
jb 0x14001b505
mov rdx, qword [rsi]
mov r15, qword [rcx + 0x18]
mov rbp, qword [rcx + 0x10]
cmp r15, 0x10
jb 0x14001b516
mov rcx, qword [rcx]
cmp rbp, r14
jne 0x14001b527
mov r8, rbp
call fcn.14003ab90
test eax, eax
je 0x14001b531
mov rbx, qword [rbx]
mov rax, qword [rsp + 0x30]
jmp 0x14001b4e0
lea rdx, [rbx + 0x10]
cmp r15, 0x10
jb 0x14001b53e
mov rdx, qword [rdx]
mov rcx, rsi
cmp r13, 0x10
jb 0x14001b54a
mov rcx, qword [rsi]
cmp r14, rbp
jne 0x14001b55b
mov r8, r14
call fcn.14003ab90
test eax, eax
je 0x14001b55e
mov rbx, rdi
mov rax, rbx
jmp 0x14001b569
mov rbx, rdi
mov rax, rdi
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x80]
cmp rax, rdi
jne 0x14001b603
mov rbx, qword [rdi]
lea rax, [rsp + 0x30]
mov rdx, rbx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x20], rax
mov rdi, qword [rbx + 8]
mov r8, rdi
call fcn.14001f120
mov rdx, qword [0x14008b7a0]
movabs rcx, 0x333333333333332
sub rcx, rdx
cmp rcx, 1
jb 0x14001b620
lea rcx, [rdx + 1]
mov rdx, qword [rsp + 0x38]
mov qword [0x14008b7a0], rcx
lea rcx, [0x14008b790]
mov qword [rbx + 8], rax
mov qword [rdi], rax
mov r9, qword [0x14008b798]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
call fcn.14001c2e0
mov rax, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
mov r15, qword [rsp + 0x38]
mov rax, r15
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov r15, qword [rsp + 0x40]
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
lea rcx, str.list_T__too_long
call fcn.140036720
int3
Function at 0x14001dd60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov r9, qword [r8 + 0x20]
mov rdi, r8
add r8, 0x10
mov rsi, rdx
mov r10, rcx
cmp qword [rdi + 0x28], 0x10
jb 0x14001dd8b
mov r8, qword [rdi + 0x10]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test r9, r9
je 0x14001ddc4
movabs rbx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, rbx
cmp rcx, r9
jb 0x14001ddb0
mov r8, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and r8, rdx
shl r8, 4
add rcx, r8
mov rax, qword [rcx]
cmp qword [rcx + 8], rdi
jne 0x14001de04
cmp rax, rdi
jne 0x14001ddfa
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [r8 + rcx + 8], rax
jmp 0x14001de0f
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x14001de0f
cmp rax, rdi
jne 0x14001de0f
mov rax, qword [rdi]
mov qword [rcx], rax
mov rdx, qword [rdi + 8]
lea rcx, [rdi + 0x10]
mov rbx, qword [rdi]
mov qword [rdx], rbx
mov r8, qword [rdi]
mov rdx, qword [rdi + 8]
mov qword [r8 + 8], rdx
dec qword [r10 + 0x10]
call fcn.140005590
mov edx, 0x50
mov rcx, rdi
call fcn.140038554
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14001f5a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
lea rbx, [0x1400762a0]
mov r10, r8
mov r9, rdx
not ecx
cmp r8, 4
jb 0x14001f632
mov r11, r8
shr r11, 2
imul rax, r11, 0xfffffffffffffffc
add r10, rax
nop dword [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
mov edx, dword [rbx + rax*4]
xor edx, ecx
movzx ecx, byte [r9 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 2]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 3]
add r9, 4
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ecx, dword [rbx + rax*4]
xor ecx, edx
sub r11, 1
jne 0x14001f5d0
test r10, r10
je 0x14001f660
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [rbx + r8*4]
xor ecx, eax
sub r10, 1
jne 0x14001f640
mov rbx, qword [rsp + 8]
not ecx
mov eax, ecx
ret
Function at 0x14003ce74
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14003cd07
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003cd07
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003cd07
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003cd07
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003cd07
cmp dword [rcx + 0x84], 0xe
jbe 0x14003cd07
cmp dword [rcx + 0xf8], 0
je 0x14003cd07
mov ecx, ebx
call fcn.14003cda8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14003cb98
cmp dword [rbp + 0x20], 0
je 0x14003cd54
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003cd5c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14003cca0
Function at 0x1800061d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x180006237
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x1800061f2
mov ecx, dword [r10]
jmp 0x180006346
cmp ecx, 0x270
jb 0x180006346
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
nop word [rax + rax]
mov r9, qword [rbx + 8]
lea rbx, [rbx + 8]
mov rdx, r9
xor rdx, rax
and rdx, 0xffffffff80000000
xor rdx, r9
movzx eax, dl
and al, 1
neg al
mov rax, r9
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx + 0x4d8]
xor rcx, rdx
mov qword [rbx - 0x9c8], rcx
sub rdi, 1
jne 0x180006270
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov r9, qword [rbx]
mov r8, qword [rbx + 8]
lea rbx, [rbx + 8]
xor r9, r8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rbx - 0xea8]
xor rcx, r9
mov r9, r8
mov qword [rbx - 0x9c8], rcx
sub rdi, 1
jne 0x1800062c1
mov rdx, qword [r10 + 8]
xor rdx, qword [r10 + 0x1380]
mov rdi, qword [rsp]
and rdx, 0xffffffff80000000
xor rdx, qword [r10 + 8]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret
Function at 0x180006810
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, qword [0x1802e3dc8]
mov rbx, r8
lea rsi, [rdi + 0x164]
lea rcx, [rdi + 0x16c]
mov dword [rsi], 1
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + 0x168], ebx
add rbx, 8
je 0x1800068eb
mov rax, qword [rdi]
test rax, rax
je 0x18000689b
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x18000689b
test rsi, rsi
je 0x18000689b
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov r8d, ebx
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x18000689b
cmp dword [rsp + 0x40], ebx
je 0x1800068eb
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x1800068ba
mov eax, dword [rdi + 8]
dec eax
test eax, 0xfffffffd
jne 0x1800068ba
mov ecx, dword [rdi + 0x60]
lea rdx, [rdi + 0x64]
call r8
mov rbx, qword [rdi]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
xor al, al
mov byte [rbx], 0
mov dword [rdi + 8], 0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x48]
mov al, 1
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180012ab0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test rcx, rcx
je 0x180012b10
mov r8, qword [rcx]
test r8, r8
je 0x180012b10
mov r8, qword [r8 + 0x10]
mov eax, 0xffffffff
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180012ad0
test ecx, ecx
je 0x180012b0d
mov r9d, ecx
lea r10, [0x180243020]
nop dword [rax + rax]
movsx edx, byte [r8]
lea r8, [r8 + 1]
mov ecx, eax
shr eax, 8
xor rdx, rcx
movzx ecx, dl
xor eax, dword [r10 + rcx*4]
sub r9, 1
jne 0x180012af0
not eax
ret
xor eax, eax
ret

Function at 0x180013470
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
test rcx, rcx
jne 0x18001347d
xor eax, eax
jmp 0x1800134f6
mov r9, qword [rcx]
test r9, r9
jne 0x180013489
xor eax, eax
jmp 0x1800134f6
mov r9, qword [r9 + 0x10]
test r9, r9
jne 0x180013496
xor eax, eax
jmp 0x1800134f6
mov r10, r9
mov qword [rsp + 8], r9
xor edx, edx
mov r8d, 0xffffffff
lea r11, [0x180243020]
mov dword [rsp], edx
mov ecx, r8d
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [r9 + rax], 0
jne 0x1800134c0
cmp edx, eax
jae 0x1800134ec
movsx eax, byte [r10]
xor rax, rcx
movzx ecx, al
shr r8d, 8
xor r8d, dword [r11 + rcx*4]
inc r10
mov qword [rsp + 8], r10
inc edx
jmp 0x1800134ad
not r8d
mov eax, r8d
jmp 0x1800134f6
add rsp, 0x18
ret

Function at 0x180013b80
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x1802c26a6], 0
mov rbx, rcx
je 0x180013bf1
mov ecx, dword [0x1802c277c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180013bf1
cmp dword [0x1802c26c0], 1
jne 0x180013bf1
lea rcx, [rbx + 0x98]
cmp rcx, 0x40000
jbe 0x180013bf1
lea rax, [rcx + 8]
movabs rdx, 0x7fffffff0000
cmp rax, rdx
jae 0x180013bf1
mov rcx, qword [rcx]
add rcx, 0x1dc
cmp rcx, 0x40000
jbe 0x180013bf1
lea rax, [rcx + 4]
cmp rax, rdx
jae 0x180013bf1
mov dword [rcx], 0x3c23d70a
add rsp, 0x20
pop rbx
ret

Function at 0x180017da0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x28
cmp byte [0x1802c259c], 0
jne 0x180017e00
lea rcx, [rsp + 0x30]
mov byte [0x1802c259c], 1
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm0, qword [rsp + 0x38]
cvtsi2ss xmm1, qword [rsp + 0x30]
movss dword [0x1802c27a8], xmm0
movss dword [0x1802c25fc], xmm1
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x30]
subss xmm0, dword [0x1802c25fc]
divss xmm0, dword [0x1802c27a8]
add rsp, 0x28
ret
Function at 0x180019b60
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1802c2660]
add rax, 0x40cbe0
call rax
mov rcx, rax
call fcn.1800145d0
mov rbx, rax
test rax, rax
je 0x180019d82
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1800139d0
cmp dword [rsp + 0x20], 0
je 0x180019d82
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x180019d82
cmp eax, 0xfffffffe
jne 0x180019c46
mov rcx, rbx
call fcn.180013c00
cmp byte [0x1802c2656], 0
je 0x180019d82
add rbx, 0x98
cmp rbx, 0x40000
jbe 0x180019d82
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180019d82
mov rdx, qword [rbx]
mov r8, rdx
lea r9, [rdx + 0x340]
cmp r9, 0x40000
jbe 0x180019c19
lea rax, [r9 + 1]
cmp rax, rcx
jae 0x180019c19
mov byte [r9], 1
lea rdx, [r8 + 0x344]
cmp rdx, 0x40000
jbe 0x180019d82
lea rax, [rdx + 4]
cmp rax, rcx
jae 0x180019d82
mov dword [rdx], 0x3f800000
add rsp, 0x70
pop rbx
ret
cmp eax, 3
jne 0x180019cae
mov rcx, rbx
call fcn.180013c00
cmp byte [0x1802c2692], 0
je 0x180019ca1
lea rdx, [rbx + 0x98]
cmp rdx, 0x40000
jbe 0x180019ca1
lea rax, [rdx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180019ca1
mov rdx, qword [rdx]
add rdx, 0x1dc
cmp rdx, 0x40000
jbe 0x180019ca1
lea rax, [rdx + 4]
cmp rax, rcx
jae 0x180019ca1
mov dword [rdx], 0x3c23d70a
mov rcx, rbx
add rsp, 0x70
pop rbx
jmp fcn.180013b80
cmp eax, 2
jne 0x180019d07
mov rcx, rbx
call fcn.180013c00
mov rcx, rbx
call fcn.180013b80
cmp byte [0x1802c2655], 0
je 0x180019d82
add rbx, 0x98
cmp rbx, 0x40000
jbe 0x180019d82
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180019d82
mov rdx, qword [rbx]
add rdx, 0x270
jmp 0x180019d6d
cmp eax, 0xffffffff
jne 0x180019d82
mov rcx, rbx
call fcn.180013c00
cmp byte [0x1802c2698], 0
je 0x180019d82
add rbx, 0x98
cmp rbx, 0x40000
jbe 0x180019d82
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180019d82
mov rdx, qword [rbx]
mov r8, rdx
lea r9, [rdx + 0x340]
cmp r9, 0x40000
jbe 0x180019d66
lea rax, [r9 + 4]
cmp rax, rcx
jae 0x180019d66
mov dword [r9], 0x3f800000
lea rdx, [r8 + 0x350]
cmp rdx, 0x40000
jbe 0x180019d82
lea rax, [rdx + 1]
cmp rax, rcx
jae 0x180019d82
mov byte [rdx], 1
add rsp, 0x70
pop rbx
ret
Function at 0x18001c6f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18001c768
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x18001c768
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x18001c755
nop
cmp rbx, rcx
jae 0x18001c768
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x18001c740
cmp rbx, rcx
jae 0x18001c768
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x18001c76a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18003ece0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
je 0x18003ecf0
xor al, al
add rsp, 0x38
ret
xor eax, eax
lea r8, [0x18003ea90]
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]
test rax, rax
je 0x18003ed1d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret
Function at 0x1800452c0
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 0x18004531d
lea rbx, [0x180266e40]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180045304
cmp r10, 2
jb 0x180045304
cmp byte [r9], r8b
jne 0x180045304
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 0x1800452e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18004535f
lea rbx, [0x180266e40]
cmp r8b, 0x23
jne 0x180045343
cmp byte [r9], r8b
jne 0x180045343
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 0x180045330
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1800454a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800454ba
mov qword [r8], 0
lea rdx, [0x18026fe54]
call fcn.180045370
mov rbx, rax
test rax, rax
jne 0x1800454da
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 0x1800455b3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800455b3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800455b3
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 0x1800455b3
cmp rdi, 0xffffffffffffffff
je 0x1800455b3
mov rax, qword [0x1802c27d8]
test rax, rax
je 0x180045550
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1800455b3
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 0x1800455a0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1802c27d8]
test rax, rax
je 0x180045595
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800455bc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1800455ae
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800455be
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