joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400594d0
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 [0x14009b0f8]
test ecx, ecx
je 0x1400595d2
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140059502
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x1400595cc
mov ecx, dword [0x14009b0f8]
test ecx, ecx
je 0x1400595f4
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140059611
mov rdi, rax
test rax, rax
jne 0x140059578
mov rax, qword [0x1400c06a8]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140059630
mov rdi, rax
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 [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x14009b0f8]
test ecx, ecx
je 0x14005961d
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x140059592
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x140059594
mov rax, qword [rsi + 8]
jmp 0x140059594
xor eax, eax
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
test rdx, rdx
je 0x1400595cc
test rcx, rcx
je 0x1400595cc
lock dec qword [rcx]
jne 0x1400595cc
lea rcx, [rsp + 0x30]
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>, alloc::alloc::Global>
add rdi, 0x10
jmp 0x140059613
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::h7d7bf06adc6e12db
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x1400594f4
jmp 0x140059502
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::h7d7bf06adc6e12db
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140059521
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::h7d7bf06adc6e12db
mov ecx, eax
jmp 0x140059570
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x140059650
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 [0x14009b118]
test ecx, ecx
je 0x140059683
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14005969c
mov rcx, rax
cmp qword [rax + 8], 0
je 0x14005969c
add rcx, 0x10
jmp 0x140059799
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h7d7bf06adc6e12db
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140059670
mov ecx, dword [0x14009b118]
test ecx, ecx
je 0x14005977a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140059797
mov rdi, rax
test rax, rax
jne 0x140059712
mov rax, qword [0x1400c06a8]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400597b6
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 [0x14009b118]
test ecx, ecx
je 0x1400597a3
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x14005972f
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
mov qword [rsi], 0
cmp rcx, 1
je 0x140059764
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 0x14005975f
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x140059764
call dbg.fallback_rng
mov qword [rdi + 8], 1
lea rcx, [rdi + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rdx
jmp 0x140059799
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h7d7bf06adc6e12db
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400596bb
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::h7d7bf06adc6e12db
mov ecx, eax
jmp 0x14005970a
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
ud2
Function at 0x14008dae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14008db5a
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 0x14008db50
cmp r11, r10
ja 0x14008dbf3
cmp r10, rdx
ja 0x14008dc07
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14008db52
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14008db30
jmp 0x14008dbc7
ja 0x14008db5a
mov r11, r10
cmp rax, r8
jne 0x14008db02
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14008dbcb
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 0x14008dba0
mov r8, r10
sub ecx, r9d
jns 0x14008dbbe
jmp 0x14008dbcd
cmp r10, rdx
je 0x14008dbd9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14008dbcd
xor al, 1
cmp r8, rdx
jne 0x14008db80
jmp 0x14008dbcd
xor eax, eax
jmp 0x14008dbcd
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1400b38d1]
lea r8, [0x1400b5740]
mov edx, 0x2b
call dbg.panic
ud2
lea r8, [0x1400b5758]
mov rcx, r11
mov rdx, r10
call dbg.slice_index_order_fail
ud2
lea r8, [0x1400b5758]
mov rcx, r10
call dbg.slice_end_index_len_fail
ud2
Function at 0x140099230
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 0x1400992a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400ce274]
mov rbx, rcx
test esi, esi
jle 0x1400993d0
mov rax, qword [0x1400ce278]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400992eb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140099375
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400992d0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400993f2
mov rax, qword [0x1400ce278]
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 [0x1400ce278]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400993d7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14009936e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140099380
add dword [0x1400ce274], 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 [0x1400ce278]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14009936e
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 0x1400992f8
mov rax, qword [0x1400ce278]
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 0x140099980
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400ce2e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400ce2c0]
test rbx, rbx
je 0x1400999dc
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 0x1400999d3
test eax, eax
jne 0x1400999d3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400999b8
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 0x140099bf0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140099c08
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140099c10
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140099c20
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 0x140099c6d
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 0x140099c64
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140099c6f
add rax, 0x28
cmp rax, r9
jne 0x140099c50
xor eax, eax
ret

Function at 0x140099c70
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140099d00
mov rdx, qword [0x1400c05f0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x140099cee
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x140099cee
cmp word [rax + 0x18], 0x20b
jne 0x140099cee
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140099d00
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140099cd9
add rbx, 0x28
cmp rbx, rdi
je 0x140099d00
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140099cd0
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 0x140099d10
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400c05f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140099d30
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140099d38
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140099d30
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140099d8d
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 0x140099d84
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140099d30
add rax, 0x28
cmp rax, r9
jne 0x140099d70
xor eax, eax
ret

Function at 0x140099d90
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c05f0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140099daf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140099db8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140099daf
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140099dd0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400c05f0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140099df0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140099df8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140099df0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140099e40
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140099e37
test rcx, rcx
je 0x140099df0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140099e28
xor eax, eax
ret

Function at 0x140099e50
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x1400c05f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140099eb0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140099eb8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140099eb0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140099eb0
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 0x140099f04
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140099f10
add rdx, 0x28
cmp rdx, r9
jne 0x140099ef0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x1400c05f0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140099f42
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140099f50
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140099f42
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140099f42
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140099f42
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 0x140099fa5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140099fb8
add rdx, 0x28
cmp r10, rdx
jne 0x140099f90
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140099fc7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140099fd7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140099fae
test ecx, ecx
jg 0x140099fc0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140011159
Capabilities:
Write file on windows

Disassembly:
jmp 0x140021660
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14004d1f3]
call fcn.140011df2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x1400216b7
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x1400217c3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14002175c
cmp qword [rbp + 0x28], 0
jle 0x14002175c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1400216fc
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140011d07
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x1400217b2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x1400217b2
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x14001179e
Capabilities:
Terminate process

Disassembly:
jmp 0x14002c320
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400119b0
Capabilities:
Parse pe header

Disassembly:
jmp 0x14002d000
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14002d020
xor al, al
jmp 0x14002d0a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14002d033
xor al, al
jmp 0x14002d0a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14002d05d
xor al, al
jmp 0x14002d0a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14002d071
xor al, al
jmp 0x14002d0a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14002d083
xor al, al
jmp 0x14002d0a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002d09f
xor al, al
jmp 0x14002d0a1
mov al, 1
add rsp, 0x38
ret
Function at 0x140011dc0
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001dc10
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x140044018]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x14004d1f3]
call fcn.140011df2
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x14001dc76
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001dc7d
mov al, 1
jmp 0x14001ddd7
call fcn.1400113bb
mov rcx, qword [rbp + 0x1d0]
mov rcx, qword [rcx]
mov qword [rbp + 0x198], rcx
mov edx, eax
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rbp + 0x198]
call qword [rax + 0x18]
mov dword [rbp + 0x164], eax
call fcn.1400113bb
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.140011bae
movzx eax, al
test eax, eax
je 0x14001dcd8
xor al, al
jmp 0x14001ddd7
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1d0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x194], eax
cmp dword [rbp + 0x194], 0
je 0x14001dd3d
cmp dword [rbp + 0x194], 1
je 0x14001dd48
cmp dword [rbp + 0x194], 3
je 0x14001ddc6
jmp 0x14001ddd5
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14001dd98
mov rax, qword [rbp + 0x1d0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14001dd98
xor al, al
jmp 0x14001ddd7
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001ddb3
mov dword [rbp + 0x194], 1
jmp 0x14001ddbd
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x14001ddd7
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001ddd7
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140011b90
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.140011695
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x140001e88
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x2b8
mov rax, qword [0x14005b018]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
lea rdx, [rsp + 0x90]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140001f28
lea rcx, [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x140001f28
lea r8d, [rax + 0x28]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
je 0x140001f28
lea rax, [rsp + 0x40]
mov edx, 0x104
lea r9, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r8, [0x14002fb10]
lea rcx, [0x140060280]
call fcn.140002e0c
cmp eax, 0xffffffff
je 0x140001f28
mov al, 1
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140011450
add rsp, 0x2b8
ret
xor al, al
jmp 0x140001f10
Function at 0x14000fcc4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x40
and qword [r11 + 0x10], 0
lea rax, [r11 + 0x10]
mov r9d, 0x201
mov qword [r11 - 0x28], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftVSCommon15.0SQM_vctip14.29.30145.0
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400230c6
xor al, al
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
and qword [rsp + 0x60], 0
lea r8, str.LastCrash
mov qword [rsp + 0x30], rax
mov r9d, 0x40
lea rax, [rsp + 0x60]
mov dword [rsp + 0x50], 8
mov qword [rsp + 0x28], rax
xor edx, edx
and qword [rsp + 0x20], 0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140023149
cmp dword [rsp + 0x50], 8
jne 0x140023149
mov rdi, qword [rsp + 0x60]
test rbx, rbx
je 0x140023129
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rdi, rdi
je 0x14000fd02
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, rdi
cmp rax, 0x36ee80
setb al
jmp 0x14000fd04
test rbx, rbx
je 0x14000fd02
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x14000fd02

Function at 0x14000fd10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x130
mov rax, qword [0x14005b018]
xor rax, rsp
mov qword [rsp + 0x120], rax
and qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
mov r9d, 0x201
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Client
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000fdf8
mov rbx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, str.Version
lea rax, [rsp + 0x50]
mov edi, 0xc8
mov qword [rsp + 0x28], rax
mov r9d, 2
and qword [rsp + 0x20], 0
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x40], edi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14000fdfc
cmp dword [rsp + 0x40], edi
ja 0x14000fdfc
lea rdx, [0x140030378]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
setns dil
test rbx, rbx
je 0x14000fdd4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140011450
mov rbx, qword [rsp + 0x140]
add rsp, 0x130
pop rdi
ret
xor al, al
jmp 0x14000fdd7
xor dil, dil
jmp 0x14000fdc6