joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015aa0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1407ddd00]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1407e5d20]
mov edi, ecx
cmp byte [rbx + 0x4bed], 0
jne 0x140015b01
cmp byte [rbx + 0x4bee], 0
jne 0x140015b01
movsx r9d, word [rbx + 0x5cfa]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140003850
test dil, 1
je 0x140015c29
jmp 0x140015b91
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5cfa]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1404e8920]
mulss xmm1, dword [0x1404e8908]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe04]
addss xmm1, dword [rbx + 0xe08]
mov qword [rbx + 0x48e4], rax
mov dword [rbx + 0x48cc], 1
movss dword [rbx + 0x48dc], xmm0
mov byte [rbx + 0x4904], 1
movss dword [rbx + 0x48e0], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x1404e8870]
or dword [rbx + 0x48c8], 0x41
movss dword [rbx + 0x4928], xmm0
call fcn.140003850
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140015be1
lea r11, [0x1404e1240]
cmp r9b, 0x23
jne 0x140015bc4
cmp byte [r8], r9b
jne 0x140015bc4
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 0x140015bb1
not ecx
call fcn.14000bfa0
test rax, rax
je 0x140015c29
cmp byte [rax + 0xe3], 0
je 0x140015c29
mov byte [rax + 0xea], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0x108], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5cfa]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5cfa]
call fcn.140003850
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000ec40
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401db8e0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001b140
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 + 0x5e28], 0
lea rbx, [rcx + 0x5e30]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001b1e7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001b19a
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.140028e10
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004230
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5e28]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5e38]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1407e5d18]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001b1ef
mov rcx, rbx
call fcn.140004230
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001b540
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1407e5d20]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001b5a3
mov qword [rsp], rbx
lea rbx, [0x1404e1240]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001b583
cmp byte [r8], r9b
jne 0x14001b583
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001b570
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5d98]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001b5d7
mov r10, qword [r10 + 0x5da0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001b5de
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001b5c4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14001f1f0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001f43e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1407ddd00]
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, [0x1404e1240]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14001f406
mov rcx, rbp
call fcn.14001e850
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14001f2c1
movsxd rdx, dword [rbp + 0x5d48]
mov r8, qword [rbp + 0x5d50]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14001f2b1
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14001f2a9
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14001f2ac
mov rdx, rcx
test rdx, rdx
jne 0x14001f280
cmp r8, r10
je 0x14001f2c1
cmp dword [r8], r9d
jne 0x14001f2c1
mov rcx, qword [r8 + 8]
jmp 0x14001f2c3
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xc4]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xc4], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x14001f357
cmp qword [rcx + 0x20], 0
jne 0x14001f34c
mov qword [rcx + 0x20], rbx
jmp 0x14001f357
cmp qword [rcx + 0x28], 0
jne 0x14001f357
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 6]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14001f39c
nop word [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14001f390
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x20]
call fcn.140003850
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14001f3f8
cmp r9b, 0x23
jne 0x14001f3db
cmp byte [r8], r9b
jne 0x14001f3db
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 0x14001f3c8
not ecx
call fcn.14000bfa0
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001f240
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.1401db8e0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140026ef0
Capabilities:
Resolve function by parsing pe exports

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, 0x50
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x140026f3d
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x140026f42
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x140026f6d
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140026f6d
mov rax, qword [rax + 0x3a0]
test rax, rax
je 0x140026f6d
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
jmp 0x140026f72
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x140026f8c
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x140026f91
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], sil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x140027013
inc ecx
test r8d, r8d
je 0x140026ffe
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140027003
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.1400286e0
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x140027052
lea r8d, [rsi + 1]
mov rcx, rbp
call fcn.140026ef0
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x140027062
inc esi
jmp 0x140026f20
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x14004f230
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1407e6038]
test rax, rax
jne 0x14004f434
mov rax, qword gs:[0x60]
xor r8d, r8d
mov qword [rsp + 0x48], rbx
mov ebx, 0x694a8c81
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax]
mov rdi, rbp
movups xmm0, xmmword [rdi + 0x58]
movd eax, xmm0
sub ax, 8
test r8d, r8d
je 0x14004f2cd
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r9, [rcx + rax*2]
cmp rcx, r9
je 0x14004f2c4
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r9
jne 0x14004f2b0
cmp edx, r8d
jne 0x14004f3f7
mov r10, qword [rdi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov r11d, ecx
shr r15, 0x20
add r11, r10
cmp r11, r10
je 0x14004f3f7
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x14004f3f7
mov r14d, dword [r11 + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov edx, 0x811c9dc5
lea rax, [r14 + r9*4]
mov ecx, dword [rax + r10]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x14004f347
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x14004f330
cmp edx, ebx
je 0x14004f355
test r9d, r9d
jne 0x14004f310
jmp 0x14004f3f7
mov ecx, dword [r11 + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
cmp rax, r11
jbe 0x14004f40f
lea rcx, [r15 + r11]
cmp rax, rcx
jae 0x14004f40f
movzx ecx, byte [rax]
mov r8d, 0x811c9dc5
mov dword [rsp + 0x40], r8d
mov edx, r8d
mov dword [rsp + 0x44], edx
cmp cl, 0x2e
je 0x14004f3bd
nop
movsx ecx, cl
inc rax
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x14004f3a0
mov dword [rsp + 0x40], r8d
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x14004f3ea
nop dword [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x14004f3d0
mov dword [rsp + 0x44], edx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rbp]
shr rbx, 0x20
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rbp
je 0x14004f40d
cmp qword [rax + 0x30], 0
jne 0x14004f281
xor eax, eax
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov qword [0x1407e6038], rax
add rsp, 0x38
jmp rax
Function at 0x140054870
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x21], 0
je 0x140054893
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x10]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x20
jb 0x140054880
mov byte [rcx + 0x21], 0
mov rax, rcx
ret
Function at 0x1400564e0
Capabilities:
Get common file path

Disassembly:
push rsi
push r14
sub rsp, 0x88
mov rax, qword [0x1407ddd00]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
lea rcx, [0x1404df660]
xor r8d, r8d
lea r9, [rsp + 0x48]
xor edx, edx
xor r14d, r14d
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x14005660f
mov r8, qword [rsp + 0x48]
xor edx, edx
mov qword [rsp + 0xa8], rbx
mov ecx, 0xfde9
mov qword [rsp + 0x38], r14
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x30], r14
mov r9d, ebx
mov qword [rsp + 0xb0], rbp
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.1401dc0ac
mov r8, qword [rsp + 0x48]
mov r9d, ebx
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov ecx, 0xfde9
mov dword [rsp + 0x28], edi
mov rbp, rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rdi, qword [rsp + 0x80]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
nop dword [rax]
inc rbx
cmp byte [rbx + rbp], r14b
jne 0x1400565c0
mov r8, rbx
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.140062980
mov rcx, rbp
call fcn.1401dbfcc
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rsp + 0x50]
mov rbp, qword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0x60]
mov rbx, qword [rsp + 0xa8]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140056652
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [0x1404e6310]
call fcn.1400607d0
lea rdx, [0x140060fa0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
lea rdx, [0x1404df8b6]
movups xmmword [rsi], xmm0
xor r8d, r8d
mov qword [rsi + 0x10], r14
mov rcx, rsi
mov qword [rsi + 0x18], r14
call fcn.140062980
mov rax, rsi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401db8e0
add rsp, 0x88
pop r14
pop rsi
ret
Function at 0x140056670
Capabilities:
Get common file path

Disassembly:
push rsi
push r14
sub rsp, 0x88
mov rax, qword [0x1407ddd00]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
lea rcx, [0x1404df650]
xor r8d, r8d
lea r9, [rsp + 0x48]
xor edx, edx
xor r14d, r14d
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x14005679f
mov r8, qword [rsp + 0x48]
xor edx, edx
mov qword [rsp + 0xa8], rbx
mov ecx, 0xfde9
mov qword [rsp + 0x38], r14
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x30], r14
mov r9d, ebx
mov qword [rsp + 0xb0], rbp
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.1401dc0ac
mov r8, qword [rsp + 0x48]
mov r9d, ebx
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov ecx, 0xfde9
mov dword [rsp + 0x28], edi
mov rbp, rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rdi, qword [rsp + 0x80]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
nop dword [rax]
inc rbx
cmp byte [rbx + rbp], r14b
jne 0x140056750
mov r8, rbx
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.140062980
mov rcx, rbp
call fcn.1401dbfcc
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rsp + 0x50]
mov rbp, qword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0x60]
mov rbx, qword [rsp + 0xa8]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400567e2
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [0x1404e6310]
call fcn.1400607d0
lea rdx, [0x140060fa0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
lea rdx, [0x1404df8b6]
movups xmmword [rsi], xmm0
xor r8d, r8d
mov qword [rsi + 0x10], r14
mov rcx, rsi
mov qword [rsi + 0x18], r14
call fcn.140062980
mov rax, rsi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401db8e0
add rsp, 0x88
pop r14
pop rsi
ret
Function at 0x140056800
Capabilities:
Get common file path

Disassembly:
push rsi
push r14
sub rsp, 0x88
mov rax, qword [0x1407ddd00]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
lea rcx, [0x1404df670]
xor r8d, r8d
lea r9, [rsp + 0x48]
xor edx, edx
xor r14d, r14d
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x14005692f
mov r8, qword [rsp + 0x48]
xor edx, edx
mov qword [rsp + 0xa8], rbx
mov ecx, 0xfde9
mov qword [rsp + 0x38], r14
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x30], r14
mov r9d, ebx
mov qword [rsp + 0xb0], rbp
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.1401dc0ac
mov r8, qword [rsp + 0x48]
mov r9d, ebx
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov ecx, 0xfde9
mov dword [rsp + 0x28], edi
mov rbp, rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rdi, qword [rsp + 0x80]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
nop dword [rax]
inc rbx
cmp byte [rbx + rbp], r14b
jne 0x1400568e0
mov r8, rbx
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.140062980
mov rcx, rbp
call fcn.1401dbfcc
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rsp + 0x50]
mov rbp, qword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0x60]
mov rbx, qword [rsp + 0xa8]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140056972
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [0x1404e6310]
call fcn.1400607d0
lea rdx, [0x140060fa0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
lea rdx, [0x1404df8b6]
movups xmmword [rsi], xmm0
xor r8d, r8d
mov qword [rsi + 0x10], r14
mov rcx, rsi
mov qword [rsi + 0x18], r14
call fcn.140062980
mov rax, rsi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401db8e0
add rsp, 0x88
pop r14
pop rsi
ret
Function at 0x140056990
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x1407ddd00]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x40]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140056a85
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x190], rsi
lea r8, [rsp + 0x50]
xor esi, esi
mov dword [rsp + 0x48], 0x104
mov qword [rsp + 0x38], rsi
xor edx, edx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x140056a66
nop word [rax + rax]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
call fcn.140056990
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x48], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x140056a20
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rsi, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401db8e0
mov rbx, qword [rsp + 0x198]
add rsp, 0x170
pop rdi
ret
Function at 0x14005cf60
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14005cf82
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14005cf91
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14005cfb4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14005cfb6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14005cff2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14005d08e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14005d02d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14005d06e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14005d08e
cmp rbx, rax
ja 0x14005d040
test rbx, rbx
je 0x14005d08e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
ret 0xc2bd