joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004b80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140196180]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140004bef
cmp byte [rcx + 0x71], 0
je 0x140004bef
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140004c44
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140004c09
sub eax, 1
je 0x140004c0d
cmp eax, 2
jne 0x140004c44
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140134110
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140004c3b
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140004c44
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140004bf1
xor al, al
jmp 0x140004bf1
Function at 0x14000ba18
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140196180]
xor rax, rsp
mov qword [rbp - 8], rax
xor r12d, r12d
mov r15, r8
mov qword [rdx], r12
mov rbx, rdx
mov qword [rdx + 8], r12
mov r14d, r12d
mov dword [rdx + 0x10], r12d
movsxd rsi, dword [r8 + 0x3c]
add rsi, r8
movzx eax, word [rsi + 0x14]
lea rdi, [rsi + 0x18]
add rdi, rax
cmp r12w, word [rsi + 6]
jae 0x14000bb4d
xorps xmm0, xmm0
mov qword [rbp - 0x18], r12
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x10], r12
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], r12b
jne 0x14000ba86
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140006080
mov rdx, qword [rbp - 0x10]
lea rax, [rbp - 0x28]
mov rcx, qword [rbp - 0x28]
cmp rdx, 0xf
cmova rax, rcx
cmp qword [rbp - 0x18], 5
jne 0x14000bb0a
cmp dword [rax], 0x7865742e
jne 0x14000bb0a
cmp byte [rax + 4], 0x74
jne 0x14000bb0a
mov r9d, dword [rdi + 0xc]
mov r8d, r12d
mov r11d, dword [rdi + 8]
add r9, r15
mov qword [rbp - 0x40], rdi
mov r10, r12
mov qword [rbp - 0x38], r9
test r11, r11
je 0x14000baf5
movzx eax, byte [r9 + r10]
inc r10
crc32 r8d, eax
cmp r10, r11
jb 0x14000bae2
movups xmm0, xmmword [rbp - 0x40]
mov dword [rbp - 0x30], r8d
movsd xmm1, qword [rbp - 0x30]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp rdx, 0xf
jbe 0x14000bb39
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bb34
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000bb75
call fcn.140134174
movzx eax, word [rsi + 6]
inc r14d
add rdi, 0x28
cmp r14d, eax
jl 0x14000ba73
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140134110
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000e08c
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140196180]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], pe_nt_image_headers64
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x14000e0f4
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rbx
test eax, eax
je 0x14000e124
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14000e0d4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140134110
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov dword [0x140311d20], eax
jmp 0x14000e103
Function at 0x14000e5cc
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140196180]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp - 0x30]
call fcn.140006080
nop
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14000e623
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14000506c
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
lea r8, [rbp - 0x38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
xor ebx, ebx
test eax, eax
jne 0x14000e726
mov byte [rbp - 0x40], 1
lea esi, [rbx + 4]
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000e726
mov byte [rbp - 0x3f], 3
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x3f]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000e726
mov byte [rbp - 0x3e], 3
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x3e]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000e726
mov eax, dword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14000e6f0
mov rdi, qword [rdi]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000e726
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete bl
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14000e764
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e75f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e75f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140134174
mov al, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140134110
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001a00c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov rsi, rdx
mov rbp, rcx
xor edx, edx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [rdx + r8]
xor r15, rax
movabs rcx, 0x100000001b3
imul r15, rcx
inc rdx
cmp rdx, 4
jb 0x14001a03d
mov rax, qword [rbp + 0x30]
and rax, r15
add rax, rax
mov rcx, qword [rbp + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
lea rdx, [rbp + 8]
mov r12, qword [rdx]
cmp rbx, r12
jne 0x14001a083
mov rbx, r12
mov r14, r12
jmp 0x14001a0cb
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x14001a095
cmp rbx, rdx
je 0x14001a0c1
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14001a08c
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r12, rbx
mov r14, rbx
lea rdx, [rbp + 8]
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rbp + 0x10], rax
jne 0x14001a0e9
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rdx
and qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.140134130
mov rdi, rax
mov qword [rsp + 0x28], rax
mov ecx, dword [r13]
mov dword [rax + 0x10], ecx
xor r13d, r13d
mov dword [rax + 0x14], r13d
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x14001a128
cvtsi2ss xmm0, rcx
jmp 0x14001a13d
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14001a150
cvtsi2ss xmm1, rcx
jmp 0x14001a165
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
jbe 0x14001a1bd
mov rcx, rbp
call fcn.14001a238
mov rcx, qword [rbp + 0x30]
and rcx, r15
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rbp + 8]
cmp rax, rbx
je 0x14001a1b0
mov r8, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
jmp 0x14001a1a8
mov rbx, rax
cmp rax, r8
je 0x14001a1f1
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14001a19c
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, rbx
mov r12, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], r12
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rbp + 8]
jne 0x14001a1f8
mov qword [rcx + rax*8], rdi
jmp 0x14001a20a
mov qword [rsp + 0x20], rax
jmp 0x14001a1b5
cmp r8, r14
jne 0x14001a203
mov qword [rcx + rax*8], rdi
jmp 0x14001a20f
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14001a20f
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x14001a0a1
Function at 0x14001a238
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rsi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x14001a268
cvtsi2ss xmm0, rdx
jmp 0x14001a27d
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x140174190]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14001a2ab
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14001a2ab
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14001a2d9
cmp rbx, 0x200
jae 0x14001a2d6
shl rbx, 3
cmp rbx, rcx
jae 0x14001a2d9
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
jbe 0x14001a302
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [rsi + 8]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140019c90
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14001a414
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [rax + r9 + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 4
jb 0x14001a35b
mov r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
and r11, r8
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x14001a39a
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x14001a408
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x14001a3dd
mov r10, qword [r10]
cmp r10, rax
je 0x14001a393
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14001a393
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x14001a42a
cmp qword [rdi + r11*8], r10
jne 0x14001a3d3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14001a34b
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14001a408
Function at 0x14002fbb0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
jmp 0x14002fc1d
cmp ecx, 0x29
jne 0x14002fc32
cmp dword [rbx + 0x1c], 0
jne 0x14002fc27
test dword [rbx + 0x80], 0x10000000
je 0x14002fd52
cmp ecx, 0x5d
jne 0x14002fbf4
test dword [rbx + 0x80], 0x10000000
je 0x14002fd44
mov dl, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.140030d5c
mov dil, 1
mov rcx, rbx
call fcn.14002fb60
test dil, dil
je 0x14002fc18
mov rcx, rbx
call fcn.140030c34
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
je 0x14002fc27
cmp ecx, 0x7c
jne 0x14002fbc4
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x2e
jne 0x14002fc4f
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14002ff30
mov rcx, rbx
call fcn.14002fb60
jmp 0x14002fc10
cmp ecx, 0x5c
jne 0x14002fcad
mov rcx, rbx
call fcn.14002fb60
test byte [rbx + 0x80], 0x80
je 0x14002fca0
mov al, byte [rbx + 0x78]
cmp al, 0x62
jne 0x14002fc84
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14002ff30
mov rcx, rbx
call fcn.14002fb60
jmp 0x14002fc18
cmp al, 0x42
jne 0x14002fca0
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14002ff30
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14002fc7a
mov rcx, rbx
call fcn.140030aa0
jmp 0x14002fc10
cmp ecx, 0x5b
jne 0x14002fccd
mov rcx, rbx
call fcn.14002fb60
mov rcx, rbx
call fcn.140030a3c
cmp dword [rbx + 0x7c], 0x5d
jne 0x14002fd44
jmp 0x14002fc45
cmp ecx, 0x28
jne 0x14002fcf0
mov rcx, rbx
call fcn.14002fb60
mov rcx, rbx
call fcn.140030b94
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x14002fd52
jmp 0x14002fc03
cmp ecx, 0x5e
jne 0x14002fcfd
lea edx, [rcx - 0x5c]
jmp 0x14002fc71
cmp ecx, 0x24
jne 0x14002fd0a
lea edx, [rcx - 0x21]
jmp 0x14002fc71
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14002fd36
cmp ecx, 0x3f
je 0x14002fd36
cmp ecx, 0x7b
je 0x14002fd36
cmp ecx, 0x7d
jne 0x14002fbdf
test dword [rbx + 0x80], 0x10000000
je 0x14002fd60
jmp 0x14002fbf4
mov edx, 0xa
mov rcx, rbx
call fcn.14002ed78
int3
mov edx, 4
mov rcx, rbx
call fcn.14002ed78
int3
mov edx, 5
mov rcx, rbx
call fcn.14002ed78
int3
mov edx, 6
mov rcx, rbx
call fcn.14002ed78
int3
Function at 0x1400376fc
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x140037756
mov r11b, 0x23
lea rbx, [0x140162bc0]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x140037740
cmp rdx, 2
jb 0x140037740
cmp byte [r10], r11b
jne 0x140037740
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x14003771e
jmp 0x140037797
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x140037797
mov r11b, 0x23
lea rbx, [0x140162bc0]
cmp dl, r11b
jne 0x14003777b
cmp byte [r10], r11b
jne 0x14003777b
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x140037769
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x1400378d4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400378f5
and qword [r8], 0
lea rdx, [0x1401714f8]
call int.1400377a8
mov rbx, rax
test rax, rax
je 0x1400379b8
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400379af
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400379af
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400379af
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 0x1400379af
mov rsi, rdi
cmp rdi, 0xffffffffffffffff
je 0x1400379af
mov rcx, rdi
call fcn.14003ac78
mov rdi, rax
test rax, rax
je 0x1400379af
mov r9, rbx
mov r8, rsi
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, rsi
je 0x14003799c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call fcn.14003acc0
jmp 0x1400379b8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400379aa
mov qword [r14], rsi
mov rax, rdi
jmp 0x1400379ba
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
mov r9, rcx
mov rax, qword [rcx + 0x108]
mov r10d, 8
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x140162bc0]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x14003a3e5
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x4084], ebx
jne 0x14003a420
mov r8, rdx
mov ecx, ebx
lea edx, [r10 + 0xc]
call fcn.14004c294
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14003a428
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
mov r11d, 4
mov rax, qword [rcx + 0x108]
mov r9, rcx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x140162bc0]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x14003a457
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x4084], ebx
jne 0x14003a491
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.14004c294
mov eax, ebx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
sub rsp, 0x18
movss xmm2, dword [rcx + 0x120]
lea r9, [rsp]
movss xmm3, dword [rcx + 0x124]
mov r10d, reloc.WS2_32.dll_recv
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0x108]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0x100]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x140162bc0]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x14003a50a
not r8d
mov eax, r8d
add rsp, 0x18
ret

Function at 0x14004b050
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5fc0], 0
lea rdi, [rcx + 0x5fc8]
mov rbx, rcx
mov rsi, r8
mov rcx, rdi
mov rbp, rdx
je 0x14004b0cd
xor edx, edx
call fcn.14004d0bc
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.140038268
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x5fc0]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x140311de3]
movsxd r8, eax
mov rax, qword [rbx + 0x5fd0]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14004b0d2
call fcn.140038268
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14004b700
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140311df0]
mov rbx, rcx
and dword [rax + 0x5f1c], 0
test rcx, rcx
je 0x14004b769
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14004b774
lea rdx, [0x140171500]
mov rcx, rbx
mov rdi, rax
call int.1400377a8
mov rbx, rax
test rax, rax
je 0x14004b769
mov r8, qword [rsp + 0x30]
mov r9, rax
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 rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140066a84
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x140311df0]
test rax, rax
je 0x140066a9f
mov rbx, qword [rax + 0x90]
jmp 0x140066aa1
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140066acc
and dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400874a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea r12, [r8 - 1]
mov qword [rsp + 0x50], rdx
sar r12, 1
mov r14, r9
mov r13, r8
mov rsi, rdx
mov rbp, rcx
mov r15, rdx
cmp rdx, r12
jge 0x14008753f
lea rbx, [r15 + r15]
lea rax, [rbx + 2]
imul rdx, rax, 0x38
lea rcx, [rsp + 0x70]
add rdx, rbp
lea r8, [rdx - 0x38]
call fcn.14007b418
movzx r8d, al
lea r15, [rbx + 1]
xor r8, 1
add r15, r8
imul rdi, r15, 0x38
imul rbx, rsi, 0x38
add rdi, rbp
mov eax, dword [rdi]
lea rdx, [rdi + 8]
add rbx, rbp
lea rcx, [rbx + 8]
mov dword [rbx], eax
call fcn.140012e74
mov rax, qword [rdi + 0x28]
mov rsi, r15
mov qword [rbx + 0x28], rax
mov rax, qword [rdi + 0x30]
mov qword [rbx + 0x30], rax
cmp r15, r12
jl 0x1400874dc
cmp r15, r12
jne 0x140087581
test r13b, 1
jne 0x140087581
imul rdi, r13, 0x38
imul rbx, rsi, 0x38
mov eax, dword [rdi + rbp - 0x38]
lea rdx, [rbp - 0x30]
add rdx, rdi
add rbx, rbp
lea rcx, [rbx + 8]
mov dword [rbx], eax
call fcn.140012e74
mov rax, qword [rdi + rbp - 0x10]
lea rsi, [r13 - 1]
mov qword [rbx + 0x28], rax
mov rax, qword [rdi + rbp - 8]
mov qword [rbx + 0x30], rax
mov r12, qword [rsp + 0x50]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rax
cmp r12, rsi
jge 0x1400875e8
lea rdi, [rsi - 1]
mov r8, r14
sar rdi, 1
lea rcx, [rsp + 0x70]
imul r15, rdi, 0x38
add r15, rbp
mov rdx, r15
call fcn.14007b418
test al, al
je 0x1400875e8
mov eax, dword [r15]
lea rdx, [r15 + 8]
imul rbx, rsi, 0x38
add rbx, rbp
lea rcx, [rbx + 8]
mov dword [rbx], eax
call fcn.140012e74
mov rax, qword [r15 + 0x28]
mov rsi, rdi
mov qword [rbx + 0x28], rax
mov rax, qword [r15 + 0x30]
mov qword [rbx + 0x30], rax
cmp r12, rdi
jl 0x140087595
mov eax, dword [r14]
lea rdx, [r14 + 8]
imul rbx, rsi, 0x38
add rbx, rbp
lea rcx, [rbx + 8]
mov dword [rbx], eax
call fcn.140012e74
mov rax, qword [r14 + 0x28]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x28], rax
mov rax, qword [r14 + 0x30]
mov qword [rbx + 0x30], rax
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret