joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401dcbd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140292140]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.1401dd260
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1401dce70
nop
lea rax, [0x1401dcab0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.1401dd2a0
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1401dcc74
lea rcx, [rsp + 0x40]
call fcn.1401dd2c0
nop
jmp 0x1401dcc8b
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.1401dcf90
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401e9b40
add rsp, 0x58
ret

Function at 0x1401dccb0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140292140]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.1401dd280
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1401dcee0
nop
lea rax, [0x1401dcb40]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.1401dd2b0
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1401dcd54
lea rcx, [rsp + 0x40]
call fcn.1401dd2f0
nop
jmp 0x1401dcd6b
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.1401dcfe0
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401e9b40
add rsp, 0x58
ret

Function at 0x1401e7924
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1401e795e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401e7963
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1401e79ac
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140244be0]
cmp byte [rcx + rax], 0
je 0x1401e79ac
dec r8
sub rdx, 1
jne 0x1401e7992
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1401e8b3c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1401e7e38
mov ebx, eax
test eax, eax
jne 0x1401e8b6c
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1401e8bcf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401e8bc6
test al, 0x10
je 0x1401e8bc6
bt eax, 0xa
jae 0x1401e8bbf
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1401e8bec
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1401e8bbb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1401e8bbb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x1401e8bc6
and dword [rsp + 0x3c], 0
jmp 0x1401e8bcb
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401ead3c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401ead86
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401ead86
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401ead86
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401ead86
cmp dword [rcx + 0x84], 0xe
jbe 0x1401ead86
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401ead88
xor al, al
add rsp, 0x28
ret
Function at 0x140001290
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rdx
mov r15, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov ecx, 0x100
call fcn.140002e00
mov rbx, rax
mov qword [rsp + 0x28], rax
lea rsi, [rax + 0x100]
mov qword [rsp + 0x38], rsi
xor edx, edx
mov r8d, 0x100
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x30], rsi
mov ecx, 0x100
call fcn.140002e00
mov rbp, rax
xor edx, edx
mov r8d, 0x100
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xor r10d, r10d
mov r11d, r10d
mov r9, rbp
mov r14, rbx
sub r14, rbp
nop dword [rax]
nop dword [rax + rax]
mov byte [r14 + r9], r11b
mov r8, qword [rdi]
mov rcx, qword [rdi + 8]
sub rcx, r8
mov rax, r9
sub rax, rbp
xor edx, edx
div rcx
movzx eax, byte [rdx + r8]
mov byte [r9], al
inc r11d
inc r9
cmp r11d, 0x100
jl 0x140001330
mov eax, r10d
mov r8, rbx
mov rdi, rbp
sub rdi, rbx
mov r11d, 0x100
movzx r9d, byte [r8]
movzx ecx, byte [rdi + r8]
add eax, ecx
add eax, r9d
and eax, 0x800000ff
jge 0x140001390
dec eax
or eax, 0xffffff00
inc eax
movsxd rdx, eax
movzx ecx, byte [rdx + rbx]
mov byte [r8], cl
mov byte [rdx + rbx], r9b
inc r8
sub r11, 1
jne 0x140001372
mov r9d, r10d
mov r14d, r10d
mov rax, qword [r15 + 8]
cmp rax, qword [r15]
je 0x14000142e
mov rdi, r10
nop dword [rax]
lea eax, [r10 + 1]
and eax, 0x800000ff
jge 0x1400013d4
dec eax
or eax, 0xffffff00
inc eax
movsxd r10, eax
movzx r11d, byte [r10 + rbx]
add r9d, r11d
and r9d, 0x800000ff
jge 0x1400013f5
dec r9d
or r9d, 0xffffff00
inc r9d
movsxd rcx, r9d
movzx eax, byte [rcx + rbx]
mov byte [r10 + rbx], al
mov byte [rcx + rbx], r11b
mov rdx, qword [r15]
movzx ecx, byte [r10 + rbx]
add rcx, r11
movzx eax, cl
movzx eax, byte [rax + rbx]
xor byte [rdx + rdi], al
inc r14d
inc rdi
mov r8, qword [r15 + 8]
sub r8, qword [r15]
movsxd rax, r14d
cmp rax, r8
jb 0x1400013c0
test rbp, rbp
je 0x140001441
mov edx, 0x100
mov rcx, rbp
call fcn.140002e3c
nop
test rbx, rbx
je 0x140001475
sub rsi, rbx
cmp rsi, 0x1000
jb 0x14000146a
add rsi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14000149c
mov rbx, rcx
mov rdx, rsi
mov rcx, rbx
call fcn.140002e3c
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140002de0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140001cd0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140001cf1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140001d1e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001d20
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001d79
test ecx, ecx
jle 0x140001d59
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140001d79
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001d79
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
hlt
Function at 0x140001da0
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 0x140001dc2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140001dd1
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 0x140001df4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140001df6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140001e32
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 0x140001ece
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140001e6d
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 0x140001eae
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 0x140001ece
cmp rbx, rax
ja 0x140001e80
test rbx, rbx
je 0x140001ece
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
xor dword [rcx - 0x509912bf], esi
cwde
pop rax
xor dword [rdi - 0x30], esi
and esp, dword [rsi]
mov dh, 0xe4
pop rax
insb byte [rdi], dx
push rax
mov ebx, 0x56262bd9
int3
Function at 0x140002330
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000235d
xor eax, eax
jmp 0x1400024c9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002397
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002397
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400024c9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400024bc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400023da
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140002405
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400024c1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002474
sub eax, 1
je 0x140002474
cmp eax, 2
jne 0x1400024bc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400024c1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400024a2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400024bc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400024c1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140002de0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002730
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002803
cmp byte [rcx + 0x71], 0
je 0x140002803
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400027ff
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 0x1400027c4
sub eax, 1
je 0x1400027c8
cmp eax, 2
jne 0x1400027ff
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002de0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400027f6
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 0x1400027ff
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400027ac
xor al, al
jmp 0x1400027ac
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002de0
add rsp, 0x60
pop rbx
ret

Function at 0x140003794
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400037de
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400037de
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400037de
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400037de
cmp dword [rcx + 0x84], 0xe
jbe 0x1400037de
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400037e0
xor al, al
add rsp, 0x28
ret
Function at 0x1421f5058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1421f51df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1421f5089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1421f506f
add dl, dl
jne 0x1421f5096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1421f50f6
xor eax, eax
add dl, dl
jne 0x1421f50a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1421f51ad
add dl, dl
jne 0x1421f50b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1421f50c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1421f50d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1421f50dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1421f50ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1421f507e
mov eax, 1
add dl, dl
jne 0x1421f5106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1421f5113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1421f50fb
sub eax, ebx
mov ebx, 1
jne 0x1421f514c
mov ecx, 1
add dl, dl
jne 0x1421f512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1421f513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1421f5123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1421f507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1421f5168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1421f5175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1421f515d
cmp eax, 0x7d00
jae 0x1421f519b
cmp eax, 0x500
jb 0x1421f5196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1421f507e
cmp eax, 0x7f
ja 0x1421f519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1421f507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1421f51d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1421f507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400c8f00
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14012ce90
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x14012ceb8
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x14012cf02
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x14012cead
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x1400ca639
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1401e4900
mov rax, rcx
neg rcx
test rax, 7
je 0x1401e491d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1401e4978
test al, 7
jne 0x1401e4910
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1401e4931
mov rdx, qword [rax - 8]
test dl, dl
je 0x1401e49a2
test dh, dh
je 0x1401e499c
shr rdx, 0x10
test dl, dl
je 0x1401e4996
test dh, dh
je 0x1401e4990
shr rdx, 0x10
test dl, dl
je 0x1401e498a
test dh, dh
je 0x1401e4984
shr edx, 0x10
test dl, dl
je 0x1401e497e
test dh, dh
jne 0x1401e4931
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400ca67f
Capabilities:
Query environment variable

Disassembly:
jmp 0x14023c9d0
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14023c550
lea rcx, [rsp + 0x20]
call fcn.14023c5a0
movzx eax, al
test eax, eax
jne 0x14023ca15
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.14023c580
mov rax, qword [rsp + 0x40]
jmp 0x14023cb0f
lea rcx, [rsp + 0x20]
call fcn.14023c6a0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14023c640
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.1400caa17
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400c9f9f
lea rcx, [rsp + 0x28]
call fcn.1400caf35
movzx eax, al
test eax, eax
jne 0x14023caaf
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400cc4b1
lea rcx, [rsp + 0x20]
call fcn.14023c580
mov rax, qword [rsp + 0x50]
jmp 0x14023cb0f
lea rcx, [rsp + 0x20]
call fcn.14023c6a0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400cd50a
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1400ca959
lea rcx, [rsp + 0x28]
call fcn.1400cded8
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400cc4b1
lea rcx, [rsp + 0x20]
call fcn.14023c580
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x1400cabd9
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1401804d0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14017fe50
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14018050f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1402dc020]
jmp 0x140180519
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x1400cae54
Capabilities:
Query environment variable

Disassembly:
jmp 0x14023c720
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14023c550
lea rcx, [rsp + 0x40]
call fcn.14023c6d0
movzx eax, al
test eax, eax
jne 0x14023c768
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14023c580
mov rax, qword [rsp + 0x70]
jmp 0x14023c939
lea rcx, [rsp + 0x40]
call fcn.14023c6a0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14023c640
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.14023c6a0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1400cc0c9
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14023c80e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14023c580
mov rax, qword [rsp + 0x80]
jmp 0x14023c939
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400caa17
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400ca7ec
lea rcx, [rsp + 0x48]
call fcn.1400ca1cf
movzx eax, al
test eax, eax
jne 0x14023c875
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1400c8d66
lea rcx, [rsp + 0x40]
call fcn.14023c580
mov rax, qword [rsp + 0x88]
jmp 0x14023c939
lea rcx, [rsp + 0x48]
call fcn.1400cb377
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14023c6a0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1400cc0c9
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14023c90b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1400c8d66
lea rcx, [rsp + 0x40]
call fcn.14023c580
mov rax, qword [rsp + 0xa0]
jmp 0x14023c939
lea rcx, [rsp + 0x48]
call fcn.1400ca7a1
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1400c8d66
lea rcx, [rsp + 0x40]
call fcn.14023c580
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret