joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140212840
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, r9
mov r14, rdx
mov rsi, rcx
mov edx, dword [r8]
movzx r8d, dl
movabs rax, 0xcbf29ce484222325
xor r8, rax
movabs r9, 0x100000001b3
imul r8, r9
mov eax, edx
shr eax, 8
movzx ecx, al
xor r8, rcx
imul r8, r9
mov eax, edx
shr eax, 0x10
movzx ecx, al
xor r8, rcx
imul r8, r9
mov eax, edx
shr rax, 0x18
xor r8, rax
imul r8, r9
mov r9, qword [rsi + 0x30]
and r9, r8
add r9, r9
mov rcx, qword [rsi + 0x18]
mov rbx, qword [rsi + 8]
mov rax, qword [rcx + r9*8]
cmp rbx, rax
je 0x14021291c
mov rbx, qword [rcx + r9*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x14021291c
mov rbx, qword [rbx + 8]
cmp edx, dword [rbx + 0x10]
jne 0x1402128d7
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
mov edx, 0x18
mov rcx, rdi
call fcn.14009f0ec
nop
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x140212a4b
mov qword [rsp + 0x80], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x140212959
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r9*8]
cmp rax, qword [rsi + 8]
jne 0x140212976
mov qword [rdx + r9*8], rdi
mov rax, qword [rsi + 0x18]
mov qword [rax + r9*8 + 8], rdi
jmp 0x1402129a5
cmp rax, rbx
jne 0x140212981
mov qword [rdx + r9*8], rdi
jmp 0x1402129a5
mov rax, qword [rdx + r9*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r9*8 + 8], rcx
cmp rcx, rdi
je 0x1402129a5
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r9*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r9*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x14023a924]
test rax, rax
jns 0x1402129c6
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x1402129d7
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140212a40
cmp rdx, 0x200
jae 0x1402129f3
lea rdx, [rdx*8]
jmp 0x140212a05
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140212a05
add rdx, rdx
mov rcx, rsi
call fcn.140079bc0
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x140212a40
mov r15, qword [rax + 8]
nop word [rax + rax]
mov rbx, qword [rsi + 8]
mov rbx, qword [rbx]
lea r8, [rbx + 0x10]
mov r9, rbx
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140212840
cmp rbx, r15
jne 0x140212a20
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1402135f0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov rsi, rdx
mov rdi, rcx
mov r10d, dword [r8 + 0x10]
movzx r11d, r10b
movabs rax, 0xcbf29ce484222325
xor r11, rax
movabs rdx, 0x100000001b3
imul r11, rdx
mov eax, r10d
shr eax, 8
movzx r9d, al
xor r11, r9
imul r11, rdx
mov eax, r10d
shr eax, 0x10
movzx ecx, al
xor r11, rcx
imul r11, rdx
shr r10, 0x18
xor r11, r10
imul r11, rdx
mov rdx, qword [rdi + 0x30]
and rdx, r11
shl rdx, 4
mov rcx, qword [rdi + 0x18]
add rcx, rdx
cmp qword [rcx + 8], r8
jne 0x14021369b
cmp qword [rcx], r8
jne 0x140213691
mov rax, qword [rdi + 8]
mov qword [rcx], rax
mov rax, qword [rdi + 8]
mov rcx, qword [rdi + 0x18]
mov qword [rdx + rcx + 8], rax
jmp 0x1402136a6
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x1402136a6
cmp qword [rcx], r8
jne 0x1402136a6
mov rax, qword [r8]
mov qword [rcx], rax
mov rbx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
dec qword [rdi + 0x10]
mov edx, 0x18
mov rcx, r8
call fcn.14009f0ec
nop
mov qword [rsi], rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14021a200
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x40
mov r10d, dword [rdx]
mov rbp, rcx
mov eax, r10d
mov qword [rsp + 0x70], rsi
shr eax, 8
movabs rcx, 0xcbf29ce484222325
movzx r9d, al
mov rbx, rdx
mov r8, qword [rbp + 0x30]
movabs rdx, 0x100000001b3
movzx eax, r10b
xor rax, rcx
imul rax, rdx
xor r9, rax
mov eax, r10d
imul r9, rdx
shr eax, 0x10
movzx ecx, al
mov eax, r10d
xor r9, rcx
shr rax, 0x18
mov rcx, qword [rbp + 0x18]
imul r9, rdx
xor r9, rax
imul r9, rdx
mov rdx, qword [rbp + 8]
and r8, r9
add r8, r8
mov r9, qword [rcx + r8*8]
lea r11, [rcx + r8*8]
mov rax, r9
cmp r9, rdx
jne 0x14021a28b
mov rcx, rdx
jmp 0x14021a292
mov rcx, qword [r11 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x14021a2a7
cmp dword [rax + 0x10], r10d
je 0x14021a2a2
mov rax, qword [rax]
jmp 0x14021a281
cmp rax, rdx
jne 0x14021a322
mov qword [rsp + 0x68], rbx
lea rax, [rsp + 0x60]
mov rbx, qword [rdx]
lea r9, [0x140242de0]
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 8]
lea rax, [rsp + 0x68]
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rsi, qword [rbx + 8]
mov r8, rsi
call fcn.140211de0
mov rdx, rax
movabs rcx, 0xaaaaaaaaaaaaaa9
mov rax, qword [rbp + 0x10]
sub rcx, rax
cmp rcx, 1
jb 0x14021a333
inc rax
mov rcx, rbp
mov qword [rbp + 0x10], rax
mov qword [rbx + 8], rdx
mov qword [rsi], rdx
lea rdx, [rsp + 0x30]
mov r9, qword [rbp + 8]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
call fcn.140212840
mov rax, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x70]
add rax, 0x14
add rsp, 0x40
pop rdi
pop rbp
pop rbx
ret
lea rcx, str.list_T__too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x14021b120
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x670
mov rax, qword [0x140302028]
xor rax, rsp
mov qword [rsp + 0x660], rax
cmp qword [rcx + 0x18], 8
mov rdi, rcx
mov rax, rcx
jb 0x14021b14b
mov rax, qword [rcx]
xor ecx, ecx
xor edx, edx
mov qword [rdi + 0x10], rcx
mov r8d, CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
mov word [rax], cx
lea rcx, [rsp + 0x250]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea rax, [rsp + 0x250]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x14021b193
xor al, al
jmp 0x14021b2a4
lea rdx, str.Nitro
mov qword [rsp + 0x688], rbx
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [0x140256698]
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [0x1402bffb8]
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rbx, 0xffffffffffffffff
lea rax, [rsp + 0x250]
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14021b1f0
lea rdx, [rsp + 0x250]
mov rcx, rdi
call fcn.140074a60
cmp qword [rdi + 0x18], 8
mov rax, rdi
jb 0x14021b218
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.14021ad00
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x14021b25a
mov rcx, qword [rdi]
mov r8d, 0x104
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
dec eax
cmp eax, 0x102
ja 0x14021b29a
lea rax, [rsp + 0x40]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14021b280
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140074a60
mov rbx, qword [rsp + 0x688]
mov al, 1
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.14009f440
add rsp, 0x670
pop rdi
ret
Function at 0x14021d250
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [r8 + 0x28], 0x10
lea r11, [r8 + 0x10]
mov rbx, qword [r11 + 0x10]
mov rsi, rdx
mov rdi, rcx
jb 0x14021d277
mov r11, qword [r11]
xor r9d, r9d
movabs r10, 0xcbf29ce484222325
test rbx, rbx
je 0x14021d2b4
movabs rcx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + r11]
inc r9
xor r10, rax
imul r10, rcx
cmp r9, rbx
jb 0x14021d2a0
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rdi + 0x18]
and rdx, r10
shl rdx, 4
add rcx, rdx
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x14021d2f4
cmp rax, r8
jne 0x14021d2ea
mov rax, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x14021d2ff
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x14021d2ff
cmp rax, r8
jne 0x14021d2ff
mov rax, qword [r8]
mov qword [rcx], rax
mov rax, qword [r8 + 8]
lea rcx, [rdi + 8]
mov rbx, qword [r8]
mov qword [rax], rbx
mov rdx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
mov rdx, r8
dec qword [rcx + 8]
call fcn.14021bfa0
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140222610
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get startup folder

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x690
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x140302028]
xor rax, rsp
mov qword [rsp + 0x680], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 7
mov word [rcx], si
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
lea rcx, [r11 - 0x428]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x270]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x28]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdi, [rsi - 1]
test eax, eax
js 0x1402226bd
lea rax, [rsp + 0x270]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1402226b0
jmp 0x14022270b
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1402226ca
mov rax, qword [rbx]
mov qword [rbx + 0x10], rsi
mov word [rax], si
lea r9, str.USERPROFILE
mov r8d, 0x204
lea rdx, [rsp + 0x270]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wgetenv_s]
nop
test eax, eax
jne 0x140222769
lea rax, [rsp + 0x270]
mov r8, rdi
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140222700
lea rdx, [rsp + 0x270]
mov rcx, rbx
call fcn.140074a60
mov r8d, ntohs
lea rdx, str..nitro_test
mov rcx, rbx
call fcn.140128e50
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14022273d
mov rcx, qword [rbx]
cmp si, word [rcx]
je 0x140222807
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140222755
test al, 0x10
jne 0x140222769
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140222762
mov rax, qword [rbx]
mov qword [rbx + 0x10], rsi
mov word [rax], si
cmp qword [rbx + 0x10], 0
jne 0x140222778
mov rcx, rbx
call fcn.14021b120
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x60]
xor ecx, ecx
call fcn.140211a40
mov r8d, 1
lea rdx, [0x1402bd7f0]
mov rcx, rbx
call fcn.140128e50
lea rax, [rsp + 0x60]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1402227b0
mov r8, rdi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140128e50
mov r8d, 9
lea rdx, str._:d.log
mov rcx, rbx
call fcn.140128e50
mov rax, rbx
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.14009f440
lea r11, [rsp + 0x690]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea rdx, str.DirectoryExists:_empty_path
lea rcx, [rsp + 0x48]
call fcn.140076ca0
lea rdx, [0x1402fa960]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140225040
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x1d0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140302028]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
mov rdi, rcx
mov qword [rsp + 0x40], 0
lea rsi, vtable.fmt::v6::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], 0xfa
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x70]
mov rbx, qword [rsp + 0x40]
add rcx, rbx
mov qword [rdi + 0x70], rcx
cmp rcx, qword [rdi + 0x60]
jbe 0x1402250cf
mov rcx, rdi
call fcn.140224300
mov rbx, qword [rsp + 0x40]
mov qword [rdi + 0x70], rbx
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, rbx
jne 0x14022515a
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
je 0x140225135
mov rdx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022512f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022512f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009f0ec
nop
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
call fcn.14009f440
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
nop
mov ebx, dword [rax]
lea rdx, [rdi + 0x88]
lea rcx, [rsp + 0x188]
call fcn.14021d5a0
nop
mov r8, rax
lea rdx, str.Failed_writing_to_file
lea rcx, [rsp + 0x1a8]
call fcn.1400babe0
nop
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1402185f0
lea rdx, [0x1402fb6b0]
lea rcx, [rsp + 0x150]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x140013a60
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 0x14001129e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014da0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014dc0
xor al, al
jmp 0x140014e41
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014dd3
xor al, al
jmp 0x140014e41
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 0x140014dfd
xor al, al
jmp 0x140014e41
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014e11
xor al, al
jmp 0x140014e41
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014e23
xor al, al
jmp 0x140014e41
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014e3f
xor al, al
jmp 0x140014e41
mov al, 1
add rsp, 0x38
ret
Function at 0x140011307
Capabilities:
Execute command

Disassembly:
jmp 0x140011c20
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400230a4]
call fcn.1400113a2
mov rax, qword [rbp + 0xe0]
cmp dword [rax + 0x18], 1
jne 0x140011e80
mov rax, qword [rbp + 0xe0]
add rax, 0x1c
mov rdx, rax
lea rcx, [0x14001af30]
call fcn.1400111a9
mov rax, qword [rbp + 0xe0]
mov edx, dword [rax]
lea rcx, [0x14001af48]
call fcn.1400111a9
mov rax, qword [rbp + 0xe0]
mov edx, dword [rax + 4]
lea rcx, [0x14001af58]
call fcn.1400111a9
lea rcx, [0x14001af80]
call fcn.1400111a9
mov rax, qword [rbp + 0xe0]
add rax, 0xc
mov rdx, rax
lea rcx, [0x14001af78]
call fcn.14001109b
mov rax, qword [rbp + 0xe0]
mov edx, dword [rax + 0xc]
lea rcx, [0x14001afa8]
call fcn.1400111a9
lea rcx, [0x14001af9c]
call fcn.1400111a9
mov rax, qword [rbp + 0xe0]
cmp dword [rax + 0xc], 0
jne 0x140011d4d
mov rax, qword [rbp + 0xe0]
mov eax, dword [rax + 4]
mov rcx, qword [rbp + 0xe0]
add eax, dword [rcx + 0x14]
mov rcx, qword [rbp + 0xe0]
mov dword [rcx + 4], eax
mov rax, qword [rbp + 0xe0]
mov eax, dword [rax]
dec eax
mov rcx, qword [rbp + 0xe0]
mov dword [rcx], eax
mov rax, qword [rbp + 0xe0]
mov eax, dword [rax + 0x10]
inc eax
mov rcx, qword [rbp + 0xe0]
mov dword [rcx + 0x10], eax
mov rax, qword [rbp + 0xe0]
mov eax, dword [rax + 0x14]
inc eax
mov rcx, qword [rbp + 0xe0]
mov dword [rcx + 0x14], eax
jmp 0x140011dee
mov rax, qword [rbp + 0xe0]
mov eax, dword [rax]
mov rcx, qword [rbp + 0xe0]
add eax, dword [rcx + 0xc]
mov rcx, qword [rbp + 0xe0]
mov dword [rcx], eax
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rbp + 0xe0]
mov ecx, dword [rcx + 0x10]
mov eax, dword [rax + 4]
sub eax, ecx
mov rcx, qword [rbp + 0xe0]
mov dword [rcx + 4], eax
mov rax, qword [rbp + 0xe0]
cmp dword [rax + 0x10], 0
jne 0x140011dac
mov rax, qword [rbp + 0xe0]
mov eax, dword [rax + 4]
dec eax
mov rcx, qword [rbp + 0xe0]
mov dword [rcx + 4], eax
mov rax, qword [rbp + 0xe0]
cmp dword [rax + 4], 0
jge 0x140011dc7
mov rax, qword [rbp + 0xe0]
mov dword [rax + 4], 0
mov rax, qword [rbp + 0xe0]
mov dword [rax + 0x10], 0
mov rax, qword [rbp + 0xe0]
mov eax, dword [rax + 0x14]
cdq
sub eax, edx
sar eax, 1
mov rcx, qword [rbp + 0xe0]
mov dword [rcx + 0x14], eax
mov rax, qword [rbp + 0xe0]
mov dword [rax + 0xc], 0
lea rcx, [0x14001afa0]
call qword [sym.imp.ucrtbased.dll_system]
mov rax, qword [rbp + 0xe0]
cmp dword [rax], 0
jle 0x140011e4a
mov rax, qword [rbp + 0xe0]
cmp dword [rax + 4], 0xf
jge 0x140011e4a
mov rax, qword [rbp + 0xe0]
add rax, 0x1c
mov rdx, rax
lea rcx, [0x14001afa4]
call fcn.1400111a9
lea rcx, [0x14001afc0]
call fcn.1400111a9
jmp 0x140011e7e
mov rax, qword [rbp + 0xe0]
add rax, 0x1c
mov rdx, rax
lea rcx, [0x14001afa4]
call fcn.1400111a9
lea rcx, [0x14001afd8]
call fcn.1400111a9
mov rax, qword [rbp + 0xe0]
mov dword [rax + 0x18], 0xffffffff
jmp 0x140011e9a
mov rax, qword [rbp + 0xe0]
add rax, 0x1c
mov rdx, rax
lea rcx, [0x14001af00]
call fcn.1400111a9
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x14000d2d0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov r15, rdx
mov r13, rcx
mov rax, qword [0x140129050]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdx, qword [0x14012b378]
test rdx, rdx
jne 0x14000d3b9
cmp qword [0x14012b388], 0
je 0x14000d3b9
cmp byte [0x14012b398], 0
jne 0x14000d3a8
mov byte [0x14012b398], 1
lea rdx, [rsp + 0x50]
mov ecx, 0x106
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x14000d3a8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, eax
lea rcx, str._sputty__lu__llu.chm
xor r14d, r14d
lea rdx, [rsp + 0x50]
mov r8d, eax
xor r9d, r9d
call fcn.140042250
mov rbx, rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
mov rcx, rax
mov edx, 0x40000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x14000d42c
mov rsi, rax
jmp 0x14000d4be
xor ebx, ebx
mov rcx, rbx
call fcn.140042f50
mov rdx, qword [0x14012b378]
test rdx, rdx
je 0x14000d407
test r15, r15
je 0x14000d3f1
lea rcx, str._s::__s.html_main
mov r8, r15
call fcn.140042250
mov rsi, rax
mov rcx, r13
mov rdx, rax
xor r8d, r8d
xor r9d, r9d
call qword [0x14012b370]
mov rcx, rsi
call fcn.140042f50
jmp 0x14000d400
mov rcx, r13
xor r8d, r8d
xor r9d, r9d
call qword [0x14012b370]
mov byte [0x14012b390], 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400b8cc0
nop
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x40], r13
mov edi, 1
lea r13, [rsp + 0x50]
mov r12, qword [sym.imp.KERNEL32.dll_CreateFileA]
nop word cs:[rax + rax]
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x14000d54f
mov rcx, rbx
call fcn.140042f50
lea rcx, str._sputty__lu__llu.chm
mov rdx, r13
mov r8d, ebp
mov r9, rdi
call fcn.140042250
mov rbx, rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
mov rcx, rax
mov edx, 0x40000000
mov r8d, 1
xor r9d, r9d
call r12
add rdi, 1
cmp rax, 0xffffffffffffffff
je 0x14000d450
mov rsi, rax
mov r13, qword [rsp + 0x40]
mov rbp, qword [0x14012b388]
lea r12, [rsp + 0x4c]
mov rdi, qword [sym.imp.KERNEL32.dll_WriteFile]
nop word cs:[rax + rax]
nop dword [rax + rax]
mov r8d, dword [0x14012b394]
sub r8d, r14d
jbe 0x14000d51f
mov dword [rsp + 0x4c], 0
mov edx, r14d
add rdx, rbp
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov r9, r12
call rdi
add r14d, dword [rsp + 0x4c]
test eax, eax
jne 0x14000d4e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x14000d52f
mov qword [0x14012b378], rbx
mov byte [0x14012b380], 1
xor ebx, ebx
mov rcx, rbx
call fcn.140042f50
cmp rsi, 0xffffffffffffffff
je 0x14000d3b2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000d3b2
mov r13, qword [rsp + 0x40]
jmp 0x14000d3aa
Function at 0x140012250
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x18
mov rax, rcx
xor edi, edi
test edx, edx
cmovs edx, edi
mov cl, byte [rsp + 0x88]
mov byte [rsp + 7], cl
test r8d, r8d
cmovns edi, r8d
mov ecx, dword [rsp + 0x80]
mov ebp, dword [rax + 0x178]
lea r8d, [rbp - 1]
cmp ebp, r9d
cmovg r8d, r9d
movsxd rbx, dword [rax + 0x174]
lea r11d, [rbx - 1]
cmp ebx, ecx
cmovg r11d, ecx
cmp edi, r11d
jg 0x1400123c9
mov r9d, edx
shr r9d, 1
mov r13d, r8d
shr r13d, 0x1f
add r13d, r8d
sar r13d, 1
add r13d, 1
cmp r9d, r13d
mov esi, r13d
cmovg esi, r9d
mov edi, edi
cmp rdi, rbx
jge 0x1400123c9
mov ebx, edx
mov r15, rbx
shr r15, 1
add esi, r15d
sub esi, r9d
add esi, 1
lea r10d, [r8 + 1]
add r11d, 1
lea rcx, [r15 + r15*4]
lea r12, [rcx*4 + 4]
mov qword [rsp + 0x10], rbx
lea rcx, [rbx + rbx*4]
lea rcx, [rcx*4 + 4]
mov qword [rsp + 8], rcx
nop word cs:[rax + rax]
nop
mov rcx, qword [rax + 0x28]
mov rcx, qword [rcx + rdi*8]
test byte [rcx], 3
je 0x140012370
cmp r9d, r13d
jg 0x1400123b0
mov rbp, r12
mov rcx, r15
nop dword [rax + rax]
movsxd rbx, dword [rax + 0x178]
cmp rcx, rbx
jge 0x1400123b0
mov rbx, qword [rax + 0x28]
mov rbx, qword [rbx + rdi*8]
mov rbx, qword [rbx + 0x18]
or dword [rbx + rbp], 0x3ffff
add rcx, 1
add rbp, 0x14
cmp rsi, rcx
jne 0x140012340
jmp 0x1400123b0
cmp edx, r8d
jg 0x1400123b0
mov rbp, qword [rsp + 8]
mov r14, qword [rsp + 0x10]
nop
movsxd rcx, dword [rax + 0x178]
cmp r14, rcx
jge 0x1400123b0
mov rcx, qword [rax + 0x28]
mov rcx, qword [rcx + rdi*8]
mov rcx, qword [rcx + 0x18]
or dword [rcx + rbp], 0x3ffff
add r14, 1
add rbp, 0x14
cmp r10, r14
jne 0x140012380
nop dword [rax]
add rdi, 1
cmp rdi, r11
je 0x1400123c9
movsxd rcx, dword [rax + 0x174]
cmp rdi, rcx
jl 0x140012320
cmp byte [rsp + 7], 0
je 0x1400123e8
mov rcx, rax
add rsp, 0x18
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14000d840
cmp byte [rax + 0x10f1], 0
je 0x140012402
add rsp, 0x18
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov byte [rax + 0x10f1], 1
lea rcx, [0x14001bb50]
mov rdx, rax
add rsp, 0x18
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14002c370

Function at 0x1400223e0
Capabilities:
Hide graphical window

Disassembly:
push rsi
sub rsp, 0x30
mov rcx, qword [0x140129f18]
mov qword [rsp + 0x20], 0
lea r9, [fcn.140022430]
mov edx, 0x6f
xor r8d, r8d
call qword [sym.imp.USER32.dll_CreateDialogParamA]
mov rsi, rax
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetActiveWindow]
mov rcx, rsi
add rsp, 0x30
pop rsi
jmp qword [sym.imp.USER32.dll_DestroyWindow]