joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008d030
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400f0140]
test ecx, ecx
je 0x14008d146
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14008d062
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x14008d140
mov ecx, dword [0x1400f0140]
test ecx, ecx
je 0x14008d168
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14008d185
mov rdi, rax
test rax, rax
jne 0x14008d0ec
mov qword [rsp + 0x28], 0
lea rax, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
mov qword [rsp + 0x20], rax
mov rax, qword [0x140129088]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14008d1a4
mov rdi, rax
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
mov ecx, dword [0x1400f0140]
test ecx, ecx
je 0x14008d191
dec ecx
mov rdx, rdi
call fcn.1400edbbc
test rsi, rsi
je 0x14008d106
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x14008d108
mov rax, qword [rsi + 8]
jmp 0x14008d108
xor eax, eax
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rcx
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
test rdx, rdx
je 0x14008d140
test rcx, rcx
je 0x14008d140
lock dec qword [rcx]
jne 0x14008d140
lea rcx, [rsp + 0x28]
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>, alloc::alloc::Global>
add rdi, 0x10
jmp 0x14008d187
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call sym.std::sys::windows::thread_local_key::StaticKey::init::h41c7057ce68b86c9
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14008d054
jmp 0x14008d062
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call sym.std::sys::windows::thread_local_key::StaticKey::init::h41c7057ce68b86c9
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14008d081
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call sym.std::sys::windows::thread_local_key::StaticKey::init::h41c7057ce68b86c9
mov ecx, eax
jmp 0x14008d0e4
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x14008d1d0
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400f0160]
test ecx, ecx
je 0x14008d203
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14008d21c
mov rcx, rax
cmp qword [rax + 8], 0
je 0x14008d21c
add rcx, 0x10
jmp 0x14008d319
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h41c7057ce68b86c9
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14008d1f0
mov ecx, dword [0x1400f0160]
test ecx, ecx
je 0x14008d2fa
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14008d317
mov rdi, rax
test rax, rax
jne 0x14008d292
mov rax, qword [0x140129088]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14008d336
mov rdi, rax
lea rax, dbg.destroy_value_core::cell::Cell__usize__bool___
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x1400f0160]
test ecx, ecx
je 0x14008d323
dec ecx
mov rdx, rdi
call fcn.1400edbbc
test rsi, rsi
je 0x14008d2af
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
mov qword [rsi], 0
cmp rcx, 1
je 0x14008d2e4
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x14008d2df
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14008d2e4
call dbg.fallback_rng
mov qword [rdi + 8], 1
lea rcx, [rdi + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rdx
jmp 0x14008d319
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h41c7057ce68b86c9
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14008d23b
xor ecx, ecx
mov rax, rcx
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h41c7057ce68b86c9
mov ecx, eax
jmp 0x14008d28a
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
ud2
Function at 0x1400d4a30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1400d4aaa
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400d4aa0
cmp r11, r10
ja 0x1400d4b43
cmp r10, rdx
ja 0x1400d4b57
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1400d4aa2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400d4a80
jmp 0x1400d4b17
ja 0x1400d4aaa
mov r11, r10
cmp rax, r8
jne 0x1400d4a52
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1400d4b1b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400d4af0
mov r8, r10
sub ecx, r9d
jns 0x1400d4b0e
jmp 0x1400d4b1d
cmp r10, rdx
je 0x1400d4b29
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1400d4b1d
xor al, 1
cmp r8, rdx
jne 0x1400d4ad0
jmp 0x1400d4b1d
xor eax, eax
jmp 0x1400d4b1d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14011a551]
lea r8, [0x14011c8c0]
mov edx, 0x2b
call dbg.panic
ud2
lea r8, [0x14011c8d8]
mov rcx, r11
mov rdx, r10
call dbg.slice_index_order_fail
ud2
lea r8, [0x14011c8d8]
mov rcx, r10
call dbg.slice_end_index_len_fail
ud2
Function at 0x1400ed2b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
mov qword [rsp + 0x38], rdx
lea rbp, [rcx + 2]
lea r13, [rcx + 4]
lea r12, [rcx + 6]
lea r15, [rcx + 8]
lea r14, [rcx + 0xa]
lea rdi, [rcx + 0xc]
lea rsi, [rcx + 0xe]
lea r11, [rcx + 0x10]
lea r10, [rcx + 0x12]
lea r9, [rcx + 0x14]
lea r8, [rcx + 0x16]
lea rdx, [rcx + 0x18]
lea rax, [rcx + 0x3e]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
lea rax, dbg.drop_in_place_i16_
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbp
lea rbp, [rcx + 0x1a]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r13
lea r13, [rcx + 0x1c]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r12
lea r12, [rcx + 0x1e]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], r15
lea r15, [rcx + 0x20]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], r14
lea r14, [rcx + 0x22]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rdi
lea rdi, [rcx + 0x24]
mov qword [rsp + 0xb0], rax
and al, 0xb0
add byte [rax], al
add byte [rax - 0x77], cl
mov ah, 0x24
mov eax, 0x48000000
lea esi, [rcx + 0x26]

Function at 0x1400ef070
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x1400ef0e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401412c4]
mov rbx, rcx
test esi, esi
jle 0x1400ef210
mov rax, qword [0x1401412c8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400ef12b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400ef1b5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400ef110
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400ef232
mov rax, qword [0x1401412c8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401412c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400ef217
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400ef1ae
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400ef1c0
add dword [0x1401412c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1401412c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400ef1ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400ef138
mov rax, qword [0x1401412c8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400ef7c0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140141320]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140141300]
test rbx, rbx
je 0x1400ef81c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400ef813
test eax, eax
jne 0x1400ef813
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400ef7f8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400efa30
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400efa48
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400efa50
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x1400efa60
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400efaad
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400efaa4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400efaaf
add rax, 0x28
cmp rax, r9
jne 0x1400efa90
xor eax, eax
ret

Function at 0x1400efab0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400efb40
mov rdx, qword [0x140128fd0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400efb2e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400efb2e
cmp word [rax + 0x18], 0x20b
jne 0x1400efb2e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400efb40
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400efb19
add rbx, 0x28
cmp rbx, rdi
je 0x1400efb40
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400efb10
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400efb50
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140128fd0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400efb70
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400efb78
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400efb70
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400efbcd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400efbc4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400efb70
add rax, 0x28
cmp rax, r9
jne 0x1400efbb0
xor eax, eax
ret

Function at 0x1400efbd0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140128fd0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400efbef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400efbf8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400efbef
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400efc10
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140128fd0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400efc30
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400efc38
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400efc30
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400efc80
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400efc77
test rcx, rcx
je 0x1400efc30
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400efc68
xor eax, eax
ret
Function at 0x1400efc90
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140128fd0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400efcaf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400efcb8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400efcd0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140128fd0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400efcf0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400efcf8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400efcf0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400efcf0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400efd44
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400efd50
add rdx, 0x28
cmp rdx, r9
jne 0x1400efd30
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400efd60
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140128fd0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400efd82
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400efd90
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400efd82
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400efd82
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400efd82
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400efde5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400efdf8
add rdx, 0x28
cmp r10, rdx
jne 0x1400efdd0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400efe07
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400efe17
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400efdee
test ecx, ecx
jg 0x1400efe00
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140103754
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400f3cf0
sub rsp, rax
mov rax, qword [0x140120098]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1401020c0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1401037a3
mov rax, rbp
jmp 0x1401038ab
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x122440]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140104874
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x122440]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1401038a7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401038a7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140104874
test rax, rax
js 0x1401038a7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1401038a7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140103899
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140103899
cmp byte [rcx], 0xd
jne 0x14010387f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14010388e
cmp byte [rcx + 1], 0xa
jne 0x14010388e
inc rcx
jmp 0x14010388e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x120490]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140103861
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1401038ab
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400f42c0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14012fdfa
Capabilities:
Set thread local storage value

Disassembly:
push rax
pushf
mov eax, 0xcd4dc759
pushf
not eax
add eax, 0xe6330c31
xor eax, 0xe7fd1700
rol eax, 0xf9
popf
pushf
not eax
add eax, 0xef42d29e
xor eax, 0xa8d7194b
rol eax, 0xa2
popf
pushf
not eax
add eax, 0xf6d8d725
xor eax, 0x9889f42e
rol eax, 0x89
popf
cmp eax, 2
jne 0x14012fe4a
popf
pop rax
jmp 0x14012ffb8
cmp eax, 0
jne 0x14012fe59
popf
pop rax
jmp 0x14012fe77
cmp eax, 3
jne 0x14012fe68
popf
pop rax
jmp 0x14012fff1
cmp eax, 1
jne 0x14012fe77
popf
pop rax
jmp 0x14012ffaf
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1a56479ac]
pushf
sub r9, 0x65533f14
popf
mov edi, ecx
lea rdx, [0x1981b8ec5]
pushf
sub rdx, 0x580a542d
popf
mov ecx, 0xd4588729
pushf
not ecx
add ecx, 0xb5baf08f
xor ecx, 0xe15f3dee
rol ecx, 0xf2
popf
pushf
not ecx
add ecx, 0xefc310ba
xor ecx, 0xf4b2a03b
rol ecx, 0x1e
popf
pushf
not ecx
add ecx, 0xcc8d91ce
xor ecx, 0xf24426ce
rol ecx, 0x98
popf
lea r8, [0x181215991]
pushf
sub r8, 0x41101f01
popf
call fcn.1400f9c9c
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14012ff68
push rax
pushf
mov eax, 0x5079937d
pushf
not eax
add eax, 0x9effcecf
xor eax, 0xc678e147
rol eax, 0x44
popf
pushf
not eax
add eax, 0xe9d09727
xor eax, 0xbbfeb111
rol eax, 0x3b
popf
pushf
not eax
add eax, 0xbba0511c
xor eax, 0xadcf3cfb
rol eax, 0xf7
popf
pushf
not eax
add eax, 0xd51d42fd
xor eax, 0xce54a0d3
rol eax, 0x37
popf
jmp 0x14012fe3b
push rax
pushf
mov eax, 0x4f7c1246
pushf
not eax
add eax, 0xed9c4215
xor eax, 0x859734e6
rol eax, 0xad
popf
pushf
not eax
add eax, 0xd6adf9b8
xor eax, 0xcfb07400
rol eax, 0x52
popf
pushf
not eax
add eax, 0x8aeb52d1
xor eax, 0x81e65aee
rol eax, 0x77
popf
jmp 0x14012fe3b
call qword [0x1401112e8]
jmp 0x14012fff1
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
push rax
pushf
mov eax, 0x58bd191b
pushf
not eax
add eax, 0x93a50ba9
xor eax, 0x8ea1fddb
rol eax, 0xc0
popf
pushf
not eax
add eax, 0xa0f1da1c
xor eax, 0xec9bcac5
rol eax, 0xac
popf
jmp 0x14012fe3b
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1401459b9
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Get common file path
Hash data using murmur3
Parse pe header

Disassembly:
push rax
pushf
mov eax, 0x1929b725
pushf
not eax
add eax, 0xea4ba6bc
xor eax, 0x8244b80b
rol eax, 0xdf
popf
pushf
not eax
add eax, 0xb4114794
xor eax, 0x9a75c6e6
rol eax, 0xf0
popf
pushf
not eax
add eax, 0x9252c72f
xor eax, 0xc19b7ea3
rol eax, 0x82
popf
pushf
not eax
add eax, 0xb34aeb2e
xor eax, 0xe079c4aa
rol eax, 0x5e
popf
Function at 0x14023bf06
Capabilities:
Get thread local storage value

Disassembly:
push rax
pushf
mov eax, 0x4d123e80
pushf
not eax
add eax, 0xebce57ed
xor eax, 0x8941f4ee
rol eax, 0xc3
popf
pushf
not eax
add eax, 0xb172914e
xor eax, 0xc01ac3e5
rol eax, 0x13
popf
pushf
not eax
add eax, 0xdc3d8f50
xor eax, 0xa57c0280
rol eax, 2
popf
cmp eax, 2
jne 0x14023bf56
popf
pop rax
jmp 0x14023c09a
cmp eax, 0
jne 0x14023bf65
popf
pop rax
jmp 0x14023bf74
cmp eax, 1
jne 0x14023bf74
popf
pop rax
jmp 0x14023c08e
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1809e745d]
pushf
sub r9, 0x408d39dd
popf
mov ecx, 0x2fc9b879
pushf
not ecx
add ecx, 0xfa19a09e
xor ecx, 0x95eaff79
rol ecx, 0x16
popf
pushf
not ecx
add ecx, 0xb02e9592
xor ecx, 0xcda09e64
rol ecx, 0xd8
popf
pushf
not ecx
add ecx, 0xc9f7245f
xor ecx, 0xa1e1ae28
rol ecx, 0xff
popf
lea r8, [0x188b68814]
pushf
sub r8, 0x48a54d9c
popf
lea rdx, [0x1a4bba407]
pushf
sub rdx, 0x64aa6987
popf
call fcn.1400f9c9c
mov ecx, ebx
test rax, rax
je 0x14023c035
push rax
pushf
mov eax, 0x1bc58ff5
pushf
not eax
add eax, 0xf9496b3f
xor eax, 0xa6737cbd
rol eax, 0xe7
popf
pushf
not eax
add eax, 0xa732c4ac
xor eax, 0xaedfca6e
rol eax, 0x10
popf
jmp 0x14023bf47
push rax
pushf
mov eax, 0xcdaf8940
pushf
not eax
add eax, 0x9890b778
xor eax, 0x9f836269
rol eax, 0x25
popf
pushf
not eax
add eax, 0x97e528a7
xor eax, 0xac5873f2
rol eax, 0xd6
popf
pushf
not eax
add eax, 0x8ed762d2
xor eax, 0x956553c1
rol eax, 0xec
popf
pushf
not eax
add eax, 0xe2ce8ad8
xor eax, 0xe0ad1555
rol eax, 0x7c
popf
jmp 0x14023bf47
add rsp, 0x20
pop rbx
jmp qword [0x1401112e8]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x140242e4d
Capabilities:
Allocate thread local storage

Disassembly:
push rax
pushf
mov eax, 0xe351cac7
pushf
not eax
add eax, 0xc710ab0a
xor eax, 0xfa0b1f52
rol eax, 0x9f
popf
pushf
not eax
add eax, 0xc7e21172
xor eax, 0x9f9653e1
rol eax, 0xe6
popf
pushf
not eax
add eax, 0xd2ee5096
xor eax, 0xd962c2ef
rol eax, 0x5c
popf
pushf
not eax
add eax, 0xc0581cc0
xor eax, 0x88d82bf9
rol eax, 0x53
popf
cmp eax, 2
jne 0x140242eb0
popf
pop rax
jmp 0x140242fa1
cmp eax, 0
jne 0x140242ebf
popf
pop rax
jmp 0x140242ece
cmp eax, 1
jne 0x140242ece
popf
pop rax
jmp 0x140242f92
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x182760707]
pushf
sub r9, 0x4264ccaf
popf
xor ecx, ecx
lea r8, [0x19bf529ee]
pushf
sub r8, 0x5be3ef9e
popf
lea rdx, [0x1bd5c5097]
pushf
sub rdx, 0x7d4b163f
popf
call fcn.1400f9c9c
test rax, rax
je 0x140242f4c
push rax
pushf
mov eax, 0x6512bc69
pushf
not eax
add eax, 0x97a6b3cb
xor eax, 0xd646689b
rol eax, 0xd6
popf
pushf
not eax
add eax, 0xa5e93422
xor eax, 0xe72ffeba
rol eax, 0xa2
popf
jmp 0x140242ea1
push rax
pushf
mov eax, 0x10b324eb
pushf
not eax
add eax, 0xe1cce755
xor eax, 0xee24a1cb
rol eax, 0xb4
popf
pushf
not eax
add eax, 0x8d257233
xor eax, 0xa45370ae
rol eax, 0xe9
popf
pushf
not eax
add eax, 0x901f31d9
xor eax, 0xec014bee
rol eax, 0xdf
popf
jmp 0x140242ea1
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1401112e8]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]