joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401126a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1401126ab
xor eax, eax
ret
lea r11, [0x14013a570]
not ecx
cmp r8d, 8
jb 0x140112781
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1401126d0
test r8d, r8d
je 0x1401127ad
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x140112790
not ecx
mov eax, ecx
ret
Function at 0x140116384
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 0x1401163be
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401163c3
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 0x14011640c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14013acd0]
cmp byte [rcx + rax], 0
je 0x14011640c
dec r8
sub rdx, 1
jne 0x1401163f2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140116b28
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.140116424
mov ebx, eax
test eax, eax
jne 0x140116b58
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140116bbb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140116bb2
test al, 0x10
je 0x140116bb2
bt eax, 0xa
jae 0x140116bab
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140116bcc
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140116ba7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140116ba7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x140116bb2
and dword [rsp + 0x3c], 0
jmp 0x140116bb7
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 0x140117e10
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140117e5a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140117e5a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140117e5a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140117e5a
cmp dword [rcx + 0x84], 0xe
jbe 0x140117e5a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140117e5c
xor al, al
add rsp, 0x28
ret
Function at 0x14000271c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002766
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002766
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002766
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002766
cmp dword [rcx + 0x84], 0xe
jbe 0x140002766
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002768
xor al, al
add rsp, 0x28
ret
Function at 0x1400190c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r12
sub rsp, 0x150
xor r12d, r12d
mov rax, qword [0x1400339e8]
mov edx, 0x100
xor rax, rsp
pxor xmm0, xmm0
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x140], r12d
mov byte [rsp + 0x144], r12b
movaps xmmword [rsp + rdx + 0x30], xmm0
movaps xmmword [rsp + rdx + 0x20], xmm0
movaps xmmword [rsp + rdx + 0x10], xmm0
movaps xmmword [rsp + rdx], xmm0
sub rdx, 0x40
jne 0x140019100
cmp qword [0x140036b80], 0
je 0x1400192e4
lea rcx, [0x140036b80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x140034380], 0xffffffffffffffff
je 0x1400192bb
lea rcx, str.SYSTEMROOT
lea rdx, [rsp + 0x40]
mov r8d, 0x105
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x140019174
mov edx, 0x105
lea rcx, [rsp + 0x40]
lea r8, str._system32_
call fcn.140027a14
mov edx, 0x105
lea rcx, [rsp + 0x40]
lea r8, str.msvcrt.dll
call fcn.140027a14
mov ecx, 1
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
cmp qword [rsp + 0x38], 0
je 0x140019292
mov edx, 1
mov eax, reloc.WLDAP32.dll_Ordinal_16
mov qword [rsp + 0x30], rbx
mov rbx, rax
mov qword [rsp + 0x28], rsi
lea rsi, [0x140010000]
mov qword [rsp + 0x20], rdi
mov rdi, rdx
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsi + rbx + 0x24388]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140019242
mov qword [rsi + rbx + 0x24380], rax
inc rdi
add rbx, 0x10
cmp rdi, 0x32
jl 0x1400191d1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x20]
lea rcx, [0x140036b80]
mov qword [0x140034380], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.14001f520
mov eax, r12d
add rsp, 0x150
pop r12
ret
mov rcx, qword [rsi + rbx + 0x24380]
test rcx, rcx
je 0x14001926a
cmp rcx, rdi
jge 0x1400191f1
shl rcx, 4
mov rcx, qword [rsi + rcx + 0x24380]
mov qword [rsi + rbx + 0x24380], rcx
jmp 0x1400191f1
mov r8, qword [0x140034390]
test r8, r8
je 0x1400191f1
lea rcx, str.Warning:_Missing__s_function_during_Intel_Library_Wrapper_initialization._n
mov rdx, qword [rsi + rbx + 0x24388]
call r8
nop
jmp 0x1400191f1
xor edx, edx
lea rcx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400191ab
mov r12d, 0xffffffff
jmp 0x14001920d
lea rcx, [0x140036b80]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.14001f520
xor eax, eax
add rsp, 0x150
pop r12
ret
lea rcx, [0x140036b80]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
jmp 0x140019127
Function at 0x14001a13c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rcx, 0x26987eeb
jmp 0x1400056b0
dec rcx
jmp 0x1400065a8
jne 0x1400056b0
jmp 0x140006a2f
jmp 0x140006c79
jmp 0x140006d6f
jmp 0x140006d86
jmp 0x140006dd3
jmp 0x140006e29
jmp 0x140006e6e
jmp 0x140006ecf
jmp 0x140006f21
jmp 0x140006f80
jmp 0x140006fde
jmp 0x14000700b
jmp 0x140007087
jmp 0x1400070c1
jmp 0x14000712e
jmp 0x140007165
jmp 0x1400071d1
jmp 0x14000720c
jmp 0x140007249
jmp 0x1400072b2
jmp 0x1400072e2
xor rcx, rcx
nop
nop
nop
mov rdx, 0x8e88
nop
nop
nop
nop
nop
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
nop
call 0x14000730f
pop rsi
add rsi, 0xe69
nop
nop
nop
nop
nop
mov rdi, rax
mov rcx, 0x8e88
rep movsb byte [rdi], byte [rsi]
nop
nop
jmp rax
sub rsp, 0x28
call fcn.14001eb14
add rsp, 0x28
xor rcx, rcx
invalid
in eax, 0x7b
invalid

Function at 0x14001db88
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14001d9f0
Function at 0x140001e34
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001e7e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001e7e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001e7e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001e7e
cmp dword [rcx + 0x84], 0xe
jbe 0x140001e7e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001e80
xor al, al
add rsp, 0x28
ret

Function at 0x141b64058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141b641df
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 0x141b64089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b6406f
add dl, dl
jne 0x141b64096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b640f6
xor eax, eax
add dl, dl
jne 0x141b640a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b641ad
add dl, dl
jne 0x141b640b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b640c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b640d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b640dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141b640ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141b6407e
mov eax, 1
add dl, dl
jne 0x141b64106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b64113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b640fb
sub eax, ebx
mov ebx, 1
jne 0x141b6414c
mov ecx, 1
add dl, dl
jne 0x141b6412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141b6413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b64123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b6407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141b64168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141b64175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b6415d
cmp eax, 0x7d00
jae 0x141b6419b
cmp eax, 0x500
jb 0x141b64196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b6407e
cmp eax, 0x7f
ja 0x141b6419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b6407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141b641d2
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 0x141b6407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003f64
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003fae
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003fae
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003fae
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003fae
cmp dword [rcx + 0x84], 0xe
jbe 0x140003fae
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003fb0
xor al, al
add rsp, 0x28
ret

Function at 0x140008514
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140008310
Function at 0x14000b694
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000b6c4
xor eax, eax
jmp 0x14000b787
mov rbp, rbx
cmp word [rax], si
je 0x14000b6e9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000b6d0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000b6cc
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000b5b4
movsxd r14, eax
test eax, eax
jne 0x14000b727
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000b6bd
mov rcx, r14
call fcn.140009478
mov rdi, rax
test rax, rax
jne 0x14000b740
xor ecx, ecx
call fcn.14000943c
jmp 0x14000b71c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000b5b4
test eax, eax
jne 0x14000b771
mov rcx, rdi
call fcn.14000943c
jmp 0x14000b77b
xor ecx, ecx
call fcn.14000943c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140010e10
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140010e38
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140010e38
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001b58
Capabilities:
Parse pe header

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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x1401a5840]
mov rdi, qword [sym.imp.kernel32.dll_Sleep]
mov rax, qword gs:[0x30]
mov rsi, qword [rax + 8]
jmp 0x1400011c0
cmp rsi, rax
je 0x140001320
mov ecx, 0x3e8
call rdi
xor eax, eax
lock cmpxchg qword [rbx], rsi
jne 0x1400011b0
mov rsi, qword [0x1401a5850]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x140001337
mov eax, dword [rsi]
test eax, eax
je 0x1400013a0
mov dword [0x1401b2008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x14000134c
test edi, edi
je 0x14000136d
mov rax, qword [0x1401a57b0]
mov rax, qword [rax]
test rax, rax
je 0x14000121f
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call fcn.14011e560
mov rcx, qword [0x1401a58d0]
call qword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [str.__e_]
lea rcx, section..text
mov qword [rdx], rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.14011e370
mov ebx, dword [0x1401b2028]
lea edi, [rbx + 1]
movsxd rdi, edi
shl rdi, 3
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r12, qword [0x1401b2020]
mov rbp, rax
test ebx, ebx
jle 0x1400013c0
sub rdi, 8
xor ebx, ebx
nop dword [rax]
mov rcx, qword [r12 + rbx]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, rsi
mov qword [rbp + rbx], rax
mov rdx, qword [r12 + rbx]
mov rcx, rax
add rbx, 8
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
cmp rdi, rbx
jne 0x140001280
add rdi, rbp
mov qword [rdi], 0
mov qword [0x1401b2020], rbp
call fcn.14011e170
mov rax, qword [str.x_e_]
mov r8, qword [0x1401b2018]
mov ecx, dword [0x1401b2028]
mov rax, qword [rax]
mov qword [rax], r8
mov rdx, qword [0x1401b2020]
call fcn.1400171a0
mov ecx, dword [0x1401b200c]
mov dword [0x1401b2010], eax
test ecx, ecx
je 0x1400013c8
mov edx, dword [0x1401b2008]
test edx, edx
je 0x140001380
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [0x1401a5850]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011dd
mov ecx, 0x1f
call fcn.14011de50
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011fc
mov rdx, qword [0x1401a5870]
mov rcx, qword [0x1401a5860]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [rsi], 2
test edi, edi
jne 0x140001204
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001204
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x1401b2010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [str._Pe_]
mov rcx, qword [0x1401a5880]
mov dword [rsi], 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x1400011f1
mov rdi, rax
jmp 0x1400012b5
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
sub rsp, 0x28
mov rax, qword [0x1401a57e0]
mov dword [rax], 1
call fcn.140001180
nop
nop
add rsp, 0x28
ret
Function at 0x140005300
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov esi, dword [0x1401200f8]
test esi, esi
je 0x1400053cd
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140005415
je 0x1400053c9
movzx eax, byte [0x1401b2168]
mov edx, 0x50
xor ecx, ecx
call fcn.1400ff580
test rax, rax
je 0x14000541d
movups xmm0, xmmword [0x14017c1f8]
movups xmmword [rax + 0x30], xmm0
movups xmm0, xmmword [0x14017c1e8]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x14017c1d8]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [0x14017c1c8]
movups xmmword [rax], xmm0
movabs rcx, 0x2000000000000
mov qword [rax + 0x40], rcx
mov dword [rax + 0x48], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140005412
mov rax, qword [rdi + 8]
cmp rax, 2
je 0x140005401
test rax, rax
je 0x1400053ee
mov rax, qword [rdi + 0x10]
lock dec qword [rax]
jne 0x140005401
mov rcx, qword [rdi + 0x10]
call fcn.140004430
jmp 0x140005401
xor eax, eax
jmp 0x140005415
lea rcx, [0x1401200e0]
call fcn.1400d8900
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140005328
jmp 0x140005415
mov rax, qword [rdi + 0x10]
lock dec qword [rax]
jne 0x140005401
mov rcx, qword [rdi + 0x10]
call fcn.140004820
mov rcx, qword [0x1401b2100]
xor edx, edx
mov r8, rdi
call fcn.14011d4ec
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov ecx, 8
mov edx, 0x50
call fcn.140017699
int3
Function at 0x1400171a0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
call fcn.14011e170
lea rdx, [0x1400daa10]
xor ecx, ecx
call sub.kernel32.dll_AddVectoredExceptionHandler
mov dword [rbp - 0x50], 0x5000
lea rcx, [rbp - 0x50]
call sub.kernel32.dll_SetThreadStackGuarantee
call sub.kernel32.dll_GetCurrentThread
mov r8, qword [0x140120040]
lea rdx, [0x14017a7c0]
mov rcx, rax
call r8
mov ecx, dword [0x1401b2128]
test ecx, ecx
je 0x140017207
dec ecx
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x140017224
jmp 0x14001721f
lea rcx, [0x1401b2110]
call fcn.1400d8900
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x140017224
call fcn.1400dac40
mov byte [0x1401b2068], 0
lea rdx, [0x1401b2060]
mov qword [0x1401b2060], rax
xor ecx, ecx
call fcn.1400dacb0
cmp rax, 2
jne 0x14001729c
lea rcx, [0x140005a70]
call fcn.140001570
mov eax, dword [0x1401b205c]
cmp eax, 3
je 0x14001728e
mov byte [rbp - 0x18], 1
lea rax, [rbp - 0x18]
mov qword [rbp - 0x50], rax
lea rax, str.std_src_rt.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1401b205c]
lea r9, [0x140179850]
lea r8, [rbp - 0x50]
xor edx, edx
call fcn.1400dae00
xor eax, eax
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rdi, rax
mov qword [rbp - 0x18], rax
lea rsi, [rbp - 0x10]
mov rbx, rdx
mov qword [rbp - 0x10], rdx
mov dword [rbp - 8], 0
mov byte [rbp - 4], 0
lea rax, str.fatal_runtime_error:_code_running_before_main_must_not_use_thread::current_n
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
mov rax, rbp
mov qword [rbp - 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
lea rcx, [rbp - 8]
lea rdx, [rbp - 0x50]
call fcn.1400d8ae0
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.1400d8c20
mov ecx, 7
int 0x29
ud2
Function at 0x14002eb30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x14002ebc6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet:]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1401222e0]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14002ee00
test rdi, rdi
je 0x14002ec55
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14002ec6e
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x14002ed66
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x14002ede8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x14002ed73
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x14002ec30
cmp r9, 8
jae 0x14002ed7c
jmp 0x14002ede8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14002ee00
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, r9
mov r8, qword [rsp + 0x30]
add r8, rax
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x14002ede8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x14002ede8
mov r8, rcx
cmp r9, 8
jb 0x14002ede8
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x14002ed80
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret