joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022754
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 [0x1401a80c0]
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 0x140022889
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 0x1400227c2
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140005990
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 0x140022846
cmp dword [rax], 0x7865742e
jne 0x140022846
cmp byte [rax + 4], 0x74
jne 0x140022846
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 0x140022831
movzx eax, byte [r9 + r10]
inc r10
crc32 r8d, eax
cmp r10, r11
jb 0x14002281e
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 0x140022875
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022870
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400228b1
call fcn.140148f04
movzx eax, word [rsi + 6]
inc r14d
add rdi, 0x28
cmp r14d, eax
jl 0x1400227af
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140148a70
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 0x1400228b8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401a80c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 8
call fcn.140148bb0
lea rcx, [0x14007d460]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400229e8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140022932
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140148a70
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
and dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140022944
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401a80c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.140148bb0
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400229e8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x1400229ba
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140148a70
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400241c8
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1401a80c0]
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], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x140024230
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rbx
test eax, eax
je 0x140024260
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140024210
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140148a70
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 [0x14027f3b0], eax
jmp 0x14002423f
Function at 0x140024710
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 [0x1401a80c0]
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, Ordinal_35
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp - 0x30]
call fcn.140005990
nop
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140024767
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140011f1c
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
lea r8, [rbp - 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
xor ebx, ebx
test eax, eax
jne 0x14002486a
mov byte [rbp - 0x38], 1
lea esi, [rbx + 4]
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14002486a
mov byte [rbp - 0x37], 3
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x37]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14002486a
mov byte [rbp - 0x36], 3
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x36]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14002486a
mov eax, dword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x140024834
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 - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14002486a
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete bl
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400248a8
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400248a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400248a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140148f04
mov al, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140148a70
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400263b0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x1401a80c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
movdqa xmm0, xmmword [0x14018cec0]
movdqu xmmword [rbp - 0x29], xmm0
mov dword [rbp - 0x19], 0x393a3f35
mov dword [rbp - 0x15], 0x383b393a
mov word [rbp - 0x11], gethostname
xor ecx, ecx
lea edi, [rcx + 1]
mov al, byte [rbp - 0x29]
xor byte [rbp + rcx - 0x28], al
add rcx, rdi
cmp rcx, 0x18
jb 0x140026403
mov byte [rbp - 0x10], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
and qword [rbp + 0x27], 0
and qword [rbp + 0x2f], 0
lea rax, [rbp - 0x28]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140026430
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x17]
call fcn.140005990
nop
lea rcx, [rbp - 9]
call fcn.140026090
nop
lea rdx, [rbp + 0x17]
mov rsi, qword [rbp + 0x17]
mov r15, qword [rbp + 0x2f]
cmp r15, 0xf
cmova rdx, rsi
lea rcx, [rbp - 9]
mov rbx, qword [rbp - 9]
mov r14, qword [rbp + 0xf]
cmp r14, 0xf
cmova rcx, rbx
mov r8, qword [rbp + 7]
cmp r8, qword [rbp + 0x27]
jne 0x140026491
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140026513
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
and qword [rbp - 0x19], 0
and qword [rbp - 0x11], 0
mov r8d, reloc.WLDAP32.dll_Ordinal_33
lea rdx, str.Roblox_version_is_not_up_to_date.
lea rcx, [rbp - 0x29]
call fcn.140005990
nop
lea rdx, [rbp - 0x29]
lea rcx, [0x14027f8f0]
call fcn.14000c4dc
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140026508
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026503
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026503
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140148f04
xor dil, dil
mov r14, qword [rbp + 0xf]
mov rbx, qword [rbp - 9]
cmp r14, 0xf
jbe 0x14002654d
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140026545
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026545
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140148f04
and qword [rbp + 7], 0
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov byte [rbp - 9], 0
cmp r15, 0xf
jbe 0x140026598
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140026590
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026590
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140148f04
mov al, dil
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140148a70
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14003c774
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rcx, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14003c7a7
movzx eax, byte [rdx + r9]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x14003c789
mov eax, ecx
ret
Function at 0x140045f24
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 0x140045f7e
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rbx, [0x14017d750]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x140045f68
cmp rdx, 2
jb 0x140045f68
cmp byte [r10], r11b
jne 0x140045f68
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 0x140045f46
jmp 0x140045fbf
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x140045fbf
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rbx, [0x14017d750]
cmp dl, r11b
jne 0x140045fa3
cmp byte [r10], r11b
jne 0x140045fa3
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 0x140045f91
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x1400460b0
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 0x1400460d1
and qword [r8], 0
lea rdx, [0x14018b478]
call fcn.140045fd0
mov rbx, rax
test rax, rax
je 0x1400461ab
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400461a2
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 0x1400461a2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400461a2
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 0x1400461a2
mov rsi, rdi
cmp rdi, 0xffffffffffffffff
je 0x1400461a2
mov rcx, rdi
call fcn.14004940c
mov rdi, rax
test rax, rax
je 0x1400461a2
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 0x14004618f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14027f458]
test rax, rax
je 0x140046184
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400461ab
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14004619d
mov qword [r14], rsi
mov rax, rdi
jmp 0x1400461ad
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 0x140048bd4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1401a80c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, dword [rcx + 0xf0]
mov r11d, 4
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov dword [rsp + 0x20], edx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x20]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x14017d750]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x140048c13
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f50], ebx
jne 0x140048c4d
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.14005a5c0
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140148a70
add rsp, 0x30
pop rbx
ret

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

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1401a80c0]
xor rax, rsp
mov qword [rsp + 0x10], rax
movss xmm2, dword [rcx + 0x110]
lea r9, [rsp]
movss xmm3, dword [rcx + 0x114]
mov r10d, reloc.WS2_32.dll_recv
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xf8]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xf0]
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, [0x14017d750]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x140048ce1
not r8d
mov eax, r8d
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.140148a70
add rsp, 0x28
ret
Function at 0x1400592d8
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 + 0x5db8], 0
lea rbx, [rcx + 0x5dc0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140059371
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x140059329
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14005b5d0
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.140046a38
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5db8]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x14027f447]
movsxd r8, eax
mov rax, qword [rdi + 0x5dc8]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140059379
mov rcx, rbx
call fcn.140046a38
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140059a00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x14027f458]
mov rbx, rcx
and dword [rax + 0x5d14], 0
test rcx, rcx
je 0x140059a69
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140059a74
lea rdx, [0x14018b474]
mov rcx, rbx
mov rdi, rax
call fcn.140045fd0
mov rbx, rax
test rax, rax
je 0x140059a69
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 0x14006d8f0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14027f458]
test rax, rax
je 0x14006d90b
mov rbx, qword [rax + 0x90]
jmp 0x14006d90d
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 0x14006d938
and dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x14007c490
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r14, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 4
jb 0x14007c4b8
mov rax, qword [0x14027fe80]
and rax, r15
add rax, rax
mov rcx, qword [0x14027fe68]
mov rbx, qword [rcx + rax*8 + 8]
mov rbp, qword [0x14027fe58]
cmp rbx, rbp
jne 0x14007c523
mov rbx, rbp
mov rsi, rbp
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [0x14027fe60], rax
jne 0x14007c562
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 eax, dword [r8]
jmp 0x14007c535
cmp rbx, rdx
je 0x14007c558
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14007c52c
mov rbp, qword [rbx]
mov rsi, rbp
mov rax, rbx
mov rbx, rbp
test rax, rax
je 0x14007c502
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x14007c6be
mov rbp, rbx
xor eax, eax
mov rsi, rbx
jmp 0x14007c546
lea rax, [0x14027fe58]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x28], 0
mov ecx, Ordinal_26
call fcn.140148bb0
mov rdi, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [r12]
mov qword [rax + 0x10], rcx
mov r8, qword [0x14027fe60]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x14007c5a8
cvtsi2ss xmm0, rcx
jmp 0x14007c5bd
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x14027fe88]
xorps xmm1, xmm1
test rcx, rcx
js 0x14007c5d3
cvtsi2ss xmm1, rcx
jmp 0x14007c5e8
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x14027fe50]
seta al
test al, al
je 0x14007c655
call fcn.14007c6d8
mov rcx, qword [0x14027fe80]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x14027fe68]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x14027fe58]
cmp rax, rbx
je 0x14007c641
mov r8, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
jmp 0x14007c639
mov rbx, rax
cmp rax, r8
je 0x14007c698
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14007c62d
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rsi, rbx
mov rbp, qword [rsp + 0x20]
mov r8, qword [0x14027fe60]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x14027fe60], r8
mov qword [rdi], rbp
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [0x14027fe80]
and rax, r15
add rax, rax
mov rcx, qword [0x14027fe68]
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x14027fe58]
jne 0x14007c69f
mov qword [rcx + rax*8], rdi
jmp 0x14007c6b1
mov qword [rsp + 0x20], rax
jmp 0x14007c646
cmp r8, rsi
jne 0x14007c6aa
mov qword [rcx + rax*8], rdi
jmp 0x14007c6b6
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14007c6b6
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14007c6d8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rcx, qword [0x14027fe60]
xorps xmm0, xmm0
add rcx, 1
js 0x14007c6f9
cvtsi2ss xmm0, rcx
jmp 0x14007c70e
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x14027fe50]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x14018cae8]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14007c740
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14007c740
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x14027fe88]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x14007c775
cmp rdx, 0x200
jae 0x14007c772
shl rdx, 3
cmp rdx, rcx
jae 0x14007c775
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x14007c79e
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 [0x14027fe58]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x14027fe68]
lea rdx, [rdi + rdi]
call fcn.14007bf38
mov rax, qword [0x14027fe58]
lea r9, [rdi - 1]
mov qword [0x14027fe80], r9
mov qword [0x14027fe88], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14007c8ec
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [rax + r8 + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 4
jb 0x14007c806
mov rdi, qword [0x14027fe68]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x14007c844
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x14007c8b2
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x14007c887
mov r10, qword [r10]
cmp r10, rax
je 0x14007c83d
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 0x14007c83d
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x14007c8c6
cmp qword [rdi + r11*8], r10
jne 0x14007c87d
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
je 0x14007c8ec
mov r9, qword [0x14027fe80]
jmp 0x14007c7f6
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 0x14007c8b2
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.14007c908
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret