joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002e70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
movss dword [rax + 0x20], xmm3
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x70
and dword [rax - 0x68], 0
mov rdi, rcx
mov r8d, dword [0x1802d31c0]
mov sil, dl
movaps xmmword [rax - 0x28], xmm6
movss xmm6, dword [0x180169454]
movaps xmmword [rax - 0x38], xmm7
movaps xmm7, xmm3
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov eax, dword [rcx + rax]
cmp dword [0x1803098a4], eax
jg 0x18000303e
movabs rbx, 0xcbf29ce484222325
xor edx, edx
mov rcx, rbx
movabs rbp, 0x100000001b3
movzx eax, byte [rsp + rdx + 0x90]
inc rdx
xor rcx, rax
imul rcx, rbp
cmp rdx, 8
jb 0x180002ee5
mov rax, qword [0x180309850]
mov rdx, qword [0x180309838]
and rax, rcx
mov r9, qword [0x180309828]
add rax, rax
mov rcx, qword [rdx + rax*8 + 8]
cmp rcx, r9
je 0x180002f39
mov r8, qword [rdx + rax*8]
jmp 0x180002f31
cmp rcx, r8
je 0x180002f39
mov rcx, qword [rcx + 8]
cmp rdi, qword [rcx + 0x10]
jne 0x180002f28
jmp 0x180002f3b
xor ecx, ecx
test rcx, rcx
mov rax, r9
cmovne rax, rcx
cmp rax, r9
jne 0x180002fbf
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdi
call fcn.180003288
xor ecx, ecx
movzx eax, byte [rsp + rcx + 0x90]
inc rcx
xor rbx, rax
imul rbx, rbp
cmp rcx, 8
jb 0x180002f65
and rbx, qword [0x180309850]
mov rdx, qword [0x180309838]
add rbx, rbx
mov rax, qword [0x180309828]
mov rcx, qword [rdx + rbx*8 + 8]
cmp rcx, rax
je 0x180002fb6
mov r8, qword [rdx + rbx*8]
jmp 0x180002fae
cmp rcx, r8
je 0x180002fb6
mov rcx, qword [rcx + 8]
cmp rdi, qword [rcx + 0x10]
jne 0x180002fa5
jmp 0x180002fb8
xor ecx, ecx
test rcx, rcx
cmovne rax, rcx
mov rcx, qword [0x1802d3a90]
lea rdx, [rax + 0x18]
movss xmm0, dword [rdx]
subss xmm6, dword [rcx + 0x18]
mulss xmm6, dword [rsp + 0xb0]
test sil, sil
je 0x180002fec
comiss xmm0, xmm7
jae 0x180002ffd
addss xmm0, xmm6
jmp 0x180002ff9
comiss xmm0, dword [0x18016930c]
jbe 0x180002ffd
subss xmm0, xmm6
movss dword [rdx], xmm0
comiss xmm0, dword [0x18016930c]
mov rbx, qword [rsp + 0x98]
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0xa8]
movaps xmm6, xmmword [rsp + 0x60]
cmovae rcx, rdx
comiss xmm7, xmm0
movaps xmm7, xmmword [rsp + 0x50]
cmovae rax, rcx
movss xmm0, dword [rax]
movss dword [rdx], xmm0
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1803098a4]
call fcn.18007489c
cmp dword [0x1803098a4], 0xffffffff
jne 0x180002ecc
mov ecx, 0x20
call fcn.1800747b8
xorps xmm0, xmm0
lea rcx, [0x180309838]
mov r8, rax
mov edx, 0x10
mov qword [rax], rax
mov qword [rax + 8], rax
and qword [0x180309838], 0
mov qword [0x180309828], rax
movdqa xmmword [0x180309840], xmm0
mov qword [0x180309850], 7
mov qword [0x180309858], 8
mov dword [0x180309820], 0x3f800000
call fcn.180003148
lea rcx, [0x1800e0910]
call fcn.180074c6c
lea rcx, [0x1803098a4]
call fcn.180074830
jmp 0x180002ecc
Function at 0x180003288
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [rcx + r8]
movabs rdx, 0x100000001b3
xor r15, rax
inc rcx
imul r15, rdx
cmp rcx, 8
jb 0x1800032b7
mov rax, qword [0x180309850]
mov rcx, qword [0x180309838]
and rax, r15
mov r14, qword [0x180309828]
add rax, rax
mov rbx, qword [rcx + rax*8 + 8]
cmp rbx, r14
jne 0x180003322
mov rbx, r14
mov rbp, r14
movabs rax, 0x7ffffffffffffff
cmp qword [0x180309830], rax
jne 0x180003361
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rdx, qword [rcx + rax*8]
mov rax, qword [r8]
jmp 0x180003334
cmp rbx, rdx
je 0x180003357
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x18000332b
mov r14, qword [rbx]
mov rax, rbx
mov rbp, r14
mov rbx, r14
test rax, rax
je 0x180003301
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x1800034a8
mov r14, rbx
xor eax, eax
mov rbp, rbx
jmp 0x180003346
mov ecx, 0x20
call fcn.1800747b8
movups xmm0, xmmword [r12]
mov rdi, rax
xorps xmm1, xmm1
movdqu xmmword [rax + 0x10], xmm0
mov r8, qword [0x180309830]
lea rcx, [r8 + 1]
test rcx, rcx
js 0x180003392
cvtsi2ss xmm1, rcx
jmp 0x1800033a7
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
mov rcx, qword [0x180309858]
xorps xmm0, xmm0
test rcx, rcx
js 0x1800033bd
cvtsi2ss xmm0, rcx
jmp 0x1800033d2
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x180309820]
comiss xmm0, xmm1
jae 0x180003440
call fcn.180003710
mov rcx, qword [0x180309850]
mov rdx, qword [0x180309838]
and rcx, r15
mov rbx, qword [0x180309828]
add rcx, rcx
mov rax, qword [rdx + rcx*8 + 8]
cmp rax, rbx
je 0x18000342c
mov r8, qword [rdx + rcx*8]
mov rcx, qword [rdi + 0x10]
jmp 0x180003423
mov rbx, rax
cmp rax, r8
je 0x180003483
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x180003417
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, qword [rsp + 0x20]
mov rbp, rbx
mov r8, qword [0x180309830]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x180309830], r8
mov qword [rdi], r14
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [0x180309850]
mov rcx, qword [0x180309838]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x180309828]
jne 0x18000348a
mov qword [rcx + rax*8], rdi
jmp 0x18000349c
mov qword [rsp + 0x20], rax
jmp 0x180003431
cmp r8, rbp
jne 0x180003495
mov qword [rcx + rax*8], rdi
jmp 0x1800034a1
cmp qword [rcx + rax*8 + 8], rdx
jne 0x1800034a1
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x1800034cc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [rcx + r8]
movabs rdx, 0x100000001b3
xor r15, rax
inc rcx
imul r15, rdx
cmp rcx, 8
jb 0x1800034fb
mov rax, qword [0x180309890]
mov rcx, qword [0x180309878]
and rax, r15
mov r14, qword [0x180309868]
add rax, rax
mov rbx, qword [rcx + rax*8 + 8]
cmp rbx, r14
jne 0x180003566
mov rbx, r14
mov rbp, r14
movabs rax, 0x7ffffffffffffff
cmp qword [0x180309870], rax
jne 0x1800035a5
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rdx, qword [rcx + rax*8]
mov rax, qword [r8]
jmp 0x180003578
cmp rbx, rdx
je 0x18000359b
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x18000356f
mov r14, qword [rbx]
mov rax, rbx
mov rbp, r14
mov rbx, r14
test rax, rax
je 0x180003545
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x1800036ec
mov r14, rbx
xor eax, eax
mov rbp, rbx
jmp 0x18000358a
mov ecx, 0x20
call fcn.1800747b8
movups xmm0, xmmword [r12]
mov rdi, rax
xorps xmm1, xmm1
movdqu xmmword [rax + 0x10], xmm0
mov r8, qword [0x180309870]
lea rcx, [r8 + 1]
test rcx, rcx
js 0x1800035d6
cvtsi2ss xmm1, rcx
jmp 0x1800035eb
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
mov rcx, qword [0x180309898]
xorps xmm0, xmm0
test rcx, rcx
js 0x180003601
cvtsi2ss xmm0, rcx
jmp 0x180003616
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x180309860]
comiss xmm0, xmm1
jae 0x180003684
call fcn.180003960
mov rcx, qword [0x180309890]
mov rdx, qword [0x180309878]
and rcx, r15
mov rbx, qword [0x180309868]
add rcx, rcx
mov rax, qword [rdx + rcx*8 + 8]
cmp rax, rbx
je 0x180003670
mov r8, qword [rdx + rcx*8]
mov rcx, qword [rdi + 0x10]
jmp 0x180003667
mov rbx, rax
cmp rax, r8
je 0x1800036c7
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x18000365b
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, qword [rsp + 0x20]
mov rbp, rbx
mov r8, qword [0x180309870]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x180309870], r8
mov qword [rdi], r14
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [0x180309890]
mov rcx, qword [0x180309878]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x180309868]
jne 0x1800036ce
mov qword [rcx + rax*8], rdi
jmp 0x1800036e0
mov qword [rsp + 0x20], rax
jmp 0x180003675
cmp r8, rbp
jne 0x1800036d9
mov qword [rcx + rax*8], rdi
jmp 0x1800036e5
cmp qword [rcx + rax*8 + 8], rdx
jne 0x1800036e5
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x180003710
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rcx, qword [0x180309830]
mov esi, 1
add rcx, rsi
xorps xmm1, xmm1
js 0x18000373a
cvtsi2ss xmm1, rcx
jmp 0x18000374f
mov rax, rcx
and rcx, rsi
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm1, dword [0x180309820]
cvttss2si ecx, xmm1
cmp ecx, 0x80000000
je 0x180003782
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
je 0x180003782
unpcklps xmm1, xmm1
movmskps eax, xmm1
and eax, esi
xor eax, esi
add ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x1801696a4]
xor ecx, ecx
comiss xmm1, xmm0
jb 0x1800037a7
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x1800037a7
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x180309858]
cvttss2si rax, xmm1
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x1800037dc
cmp rdx, 0x200
jae 0x1800037d9
shl rdx, 3
cmp rdx, rcx
jae 0x1800037dc
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov rax, rsi
shl rax, cl
cmp rdx, rax
jbe 0x180003803
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [0x180309828]
lea rax, [rdx - 1]
or rax, rsi
mov rdi, rsi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180309838]
lea rdx, [rdi + rdi]
call fcn.180003148
mov rax, qword [0x180309828]
lea r9, [rdi - 1]
mov qword [0x180309850], r9
mov qword [0x180309858], rdi
mov rax, qword [rax]
mov rdx, rax
cmp rax, rbx
je 0x18000394f
mov rdx, qword [rdx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx ecx, byte [r8 + rax + 0x10]
movabs r10, 0x100000001b3
xor r11, rcx
add r8, rsi
imul r11, r10
cmp r8, 8
jb 0x180003868
mov rdi, qword [0x180309838]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x1800038a6
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x180003915
mov rcx, qword [rdi + r11*8 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rcx + 0x10]
jne 0x1800038ea
mov r8, qword [rcx]
cmp r8, rax
je 0x18000389f
mov r10, qword [rax + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rcx, qword [r8 + 8]
mov qword [rcx], rax
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rax + 8], rcx
jmp 0x18000389f
mov rcx, qword [rcx + 8]
cmp r8, qword [rcx + 0x10]
je 0x180003929
cmp qword [rdi + r11*8], rcx
jne 0x1800038e0
mov r10, qword [rax + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], rax
mov qword [rcx + 8], r9
mov qword [rdx + 8], r10
mov qword [rax + 8], r8
mov qword [rdi + r11*8], rax
mov rax, rdx
cmp rdx, rbx
je 0x18000394f
mov r9, qword [0x180309850]
jmp 0x180003858
mov r10, qword [rcx]
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rcx, qword [r10 + 8]
mov qword [rcx], rax
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
jmp 0x180003915
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180003960
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rcx, qword [0x180309870]
mov esi, 1
add rcx, rsi
xorps xmm1, xmm1
js 0x18000398a
cvtsi2ss xmm1, rcx
jmp 0x18000399f
mov rax, rcx
and rcx, rsi
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm1, dword [0x180309860]
cvttss2si ecx, xmm1
cmp ecx, 0x80000000
je 0x1800039d2
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
je 0x1800039d2
unpcklps xmm1, xmm1
movmskps eax, xmm1
and eax, esi
xor eax, esi
add ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x1801696a4]
xor ecx, ecx
comiss xmm1, xmm0
jb 0x1800039f7
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x1800039f7
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x180309898]
cvttss2si rax, xmm1
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x180003a2c
cmp rdx, 0x200
jae 0x180003a29
shl rdx, 3
cmp rdx, rcx
jae 0x180003a2c
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov rax, rsi
shl rax, cl
cmp rdx, rax
jbe 0x180003a53
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [0x180309868]
lea rax, [rdx - 1]
or rax, rsi
mov rdi, rsi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180309878]
lea rdx, [rdi + rdi]
call fcn.180003148
mov rax, qword [0x180309868]
lea r9, [rdi - 1]
mov qword [0x180309890], r9
mov qword [0x180309898], rdi
mov rax, qword [rax]
mov rdx, rax
cmp rax, rbx
je 0x180003b9f
mov rdx, qword [rdx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx ecx, byte [r8 + rax + 0x10]
movabs r10, 0x100000001b3
xor r11, rcx
add r8, rsi
imul r11, r10
cmp r8, 8
jb 0x180003ab8
mov rdi, qword [0x180309878]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x180003af6
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x180003b65
mov rcx, qword [rdi + r11*8 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rcx + 0x10]
jne 0x180003b3a
mov r8, qword [rcx]
cmp r8, rax
je 0x180003aef
mov r10, qword [rax + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rcx, qword [r8 + 8]
mov qword [rcx], rax
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rax + 8], rcx
jmp 0x180003aef
mov rcx, qword [rcx + 8]
cmp r8, qword [rcx + 0x10]
je 0x180003b79
cmp qword [rdi + r11*8], rcx
jne 0x180003b30
mov r10, qword [rax + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], rax
mov qword [rcx + 8], r9
mov qword [rdx + 8], r10
mov qword [rax + 8], r8
mov qword [rdi + r11*8], rax
mov rax, rdx
cmp rdx, rbx
je 0x180003b9f
mov r9, qword [0x180309890]
jmp 0x180003aa8
mov r10, qword [rcx]
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rcx, qword [r10 + 8]
mov qword [rcx], rax
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
jmp 0x180003b65
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180003bb0
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x70
mov eax, dword [0x1800fee40]
mov rbx, rcx
movups xmm0, xmmword [0x1800fee18]
mov dword [rsp + 0x68], eax
movzx eax, word [0x1800fee44]
movups xmm1, xmmword [0x1800fee28]
mov word [rsp + 0x6c], ax
mov eax, 0x30
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x1800fee38]
movsd qword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x50], xmm1
jmp 0x180003c15
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x180003c1c
movzx eax, word [rsp + 0x6a]
cmp ax, 0x39
jae 0x180003c75
inc ax
mov word [rsp + 0x6a], ax
jmp 0x180003c37
cmp eax, 0xe7
jne 0x180003c75
mov edx, 0x2710
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x180003c75
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
and dword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
je 0x180003bfc
mov byte [rbx], 1
mov al, 1
add rsp, 0x70
pop rbx
ret
xor al, al
jmp 0x180003c6f

Function at 0x180003c7c
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, r8
test r8, r8
jne 0x180003c90
lea eax, [r8 + 1]
jmp 0x180003cd1
test rcx, rcx
je 0x180003ccf
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x180003ccf
test rdx, rdx
je 0x180003ccf
and dword [rsp + 0x50], 0
lea r9, [rsp + 0x50]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 1
cmp eax, ecx
jne 0x180003cc9
cmp dword [rsp + 0x50], ebx
je 0x180003ccb
xor cl, cl
mov al, cl
jmp 0x180003cd1
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x180003cd8
Capabilities:
Read file on windows
Read pipe

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x180003d6b
test rcx, rcx
je 0x180003d6b
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x180003d6b
and qword [rax - 0x10], 0
xor r9d, r9d
and dword [rax + 0x10], 0
lea rax, [rax + 0x10]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x180003d59
mov eax, dword [rsp + 0x48]
cmp rax, rdi
jb 0x180003d6b
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x58]
and dword [rsp + 0x58], 0
mov r8d, edi
and qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x180003d59
jmp 0x180003d6d
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or qword [rbx + 8], 0xffffffffffffffff
mov byte [rbx], 0
xor al, al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180003e6c
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
xor esi, esi
mov rdi, r8
mov qword [r11 + 8], rsi
mov rbx, rcx
test rdx, rdx
je 0x180003ec3
cmp word [rdx], si
je 0x180003ec3
mov qword [r11 - 0x18], rsi
lea rax, [r11 + 8]
mov qword [r11 - 0x20], rax
xor r9d, r9d
mov qword [r11 - 0x28], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x180003f06
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x88]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rax, qword [rsp + 0x80]
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
mov edi, eax
test rcx, rcx
je 0x180003f04
cmp rcx, rbx
je 0x180003f04
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1800042f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
inc dword [0x1802637e8]
mov r9d, 0x138
mov edx, dword [0x1802637f0]
cmp edx, r9d
jne 0x18000435b
lea r8, [0x180263800]
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8]
lea r8, [r8 + 8]
mov al, dl
and al, 1
neg al
movabs rax, 0xb5026f5aa96619e9
sbb rcx, rcx
shr rdx, 1
and rcx, rax
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x180004314
jmp 0x18000436f
cmp edx, 0x270
jb 0x180004375
lea rcx, [0x1802637f0]
call fcn.1800055f0
mov edx, dword [0x1802637f0]
mov eax, edx
lea rcx, [0x1802637f8]
inc edx
xorps xmm2, xmm2
mov rcx, qword [rcx + rax*8]
mov rax, rcx
mov dword [0x1802637f0], edx
shr rax, 0x1d
movabs rdx, 0x38eb3ffff6d3
and rax, qword [0x180264b78]
xor rcx, rax
mov rax, rcx
and rax, rdx
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rdx, rcx
shr rdx, 0x2b
xor rdx, rcx
js 0x1800043d8
cvtsi2sd xmm2, rdx
jmp 0x1800043ed
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2sd xmm2, rax
addsd xmm2, xmm2
mov rbx, qword [0x1802637e0]
movsd xmm0, qword [0x180264b88]
subsd xmm0, qword [0x180264b80]
mulsd xmm2, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rbx
mulsd xmm2, qword [0x180169360]
addsd xmm2, qword [0x180264b80]
mulsd xmm2, xmm0
mulsd xmm2, qword [0x1801696f0]
cvttsd2si rax, xmm2
sub rbx, rax
cmp qword [0x1802637d8], rbx
cmovl rbx, qword [0x1802637d8]
mov qword [0x1802637e0], rbx
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
imul rcx, rbx, 0x2710
add rax, rcx
mov qword [0x1802d4ba0], rax
add rsp, 0x20
pop rbx
ret
Function at 0x1800055f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
lea r10, [rcx + 0x9c8]
mov r9, rcx
mov rax, qword [r10]
mov r11d, 0x9c
mov rbx, 0xffffffff80000000
movabs rdi, 0xb5026f5aa96619e9
lea r8, [r10 + 8]
mov rdx, qword [r8]
xor rdx, rax
and rdx, rbx
xor rdx, qword [r8]
mov al, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, rdi
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 - 0x9c0], rcx
lea r10, [r8]
sub r11, 1
jne 0x18000561e
lea r10, [r9 + 0xea8]
mov r11d, 0x9b
mov rax, qword [r10]
lea r8, [r10 + 8]
mov rdx, qword [r8]
xor rdx, rax
and rdx, rbx
xor rdx, qword [r8]
mov al, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, rdi
xor rcx, qword [r10 - 0xea0]
xor rcx, rdx
mov qword [r10 - 0x9c0], rcx
lea r10, [r8]
sub r11, 1
jne 0x18000566a
mov rdx, qword [r9 + 8]
xor rdx, qword [r9 + 0x1380]
and rdx, rbx
mov rbx, qword [rsp + 8]
xor rdx, qword [r9 + 8]
mov al, dl
and al, 1
neg al
sbb rcx, rcx
and dword [r9], 0
and rcx, rdi
shr rdx, 1
xor rcx, qword [r9 + 0x4e0]
mov rdi, qword [rsp + 0x10]
xor rcx, rdx
mov qword [r9 + 0x9c0], rcx
ret
Function at 0x18000fc20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [0x1802d38f0]
test rbx, rbx
je 0x18000fce7
mov rcx, rbx
call fcn.18000f3d4
cmp qword [rax], 0
je 0x18000fce7
mov rcx, rbx
call fcn.18000f3d4
mov rdi, qword [rax]
test rdi, rdi
je 0x18000fce7
mov ecx, dword [0x1802d31c0]
or rbx, 0xffffffffffffffff
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x180309ac0], eax
jg 0x18000fcf4
mov rax, qword [0x180309a80]
mov rcx, rdi
call rax
test rax, rax
je 0x18000fce7
mov rax, qword [rax]
test rax, rax
je 0x18000fce7
mov r8, qword [rax + 0x10]
or edx, 0xffffffff
inc rbx
cmp byte [r8 + rbx], 0
jne 0x18000fca7
test ebx, ebx
je 0x18000fce7
mov r9d, ebx
movsx ecx, byte [r8]
mov eax, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
inc r8
lea rcx, [0x180162480]
xor edx, dword [rcx + rax*4]
sub r9, 1
jne 0x18000fcb8
not edx
cmp edx, 0xafa91f9a
sete al
jmp 0x18000fce9
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x180309ac0]
call fcn.18007489c
cmp dword [0x180309ac0], ebx
jne 0x18000fc87
mov ecx, 0x99c155f5
call fcn.18000a200
lea rcx, [0x180309ac0]
mov rdx, qword [rax]
mov qword [0x180309a80], rdx
call fcn.180074830
jmp 0x18000fc87

Function at 0x180010afc
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
call fcn.18000fe3c
mov rcx, rax
call fcn.18000fb6c
mov rcx, rax
call fcn.18000f068
mov rcx, qword [rax]
call fcn.18000e2f8
lea rcx, [0x180264c70]
mov r8d, 0x48
mov edx, dword [rax]
movups xmm0, xmmword [rcx + 0x10]
movaps xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rcx + 0x30]
cmp dword [rcx], edx
je 0x180010b5d
add rcx, r8
lea rax, [0x1802650a8]
cmp rcx, rax
jne 0x180010b31
xor edx, edx
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
jmp 0x180010b6a
movups xmm1, xmmword [rcx + 0x10]
movsd xmm0, qword [rcx + 0x40]
movaps xmmword [rbp - 0x40], xmm1
mov ecx, dword [0x1802d3a44]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180010b98
cmp byte [0x1802d392e], 0
je 0x180010b93
movss xmm0, dword [0x180264be8]
mulss xmm0, dword [rbp - 0x38]
jmp 0x180010b98
movss xmm0, dword [rbp - 0x38]
add rsp, 0x70
pop rbp
ret