joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013ec0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x141147058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1411471df
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 0x141147089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14114706f
add dl, dl
jne 0x141147096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1411470f6
xor eax, eax
add dl, dl
jne 0x1411470a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1411471ad
add dl, dl
jne 0x1411470b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411470c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411470d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411470dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1411470ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14114707e
mov eax, 1
add dl, dl
jne 0x141147106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141147113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1411470fb
sub eax, ebx
mov ebx, 1
jne 0x14114714c
mov ecx, 1
add dl, dl
jne 0x14114712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14114713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141147123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14114707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141147168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141147175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14114715d
cmp eax, 0x7d00
jae 0x14114719b
cmp eax, 0x500
jb 0x141147196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14114707e
cmp eax, 0x7f
ja 0x14114719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14114707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1411471d2
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 0x14114707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140013ec0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x1400018f8
Capabilities:
Parse pe header

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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d7f85e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d7d79a8
mov rax, qword [0x6d7f85e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d7d786c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d7d78f5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d7d7850
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d7d79dd
mov rax, qword [0x6d7f85e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d7f85e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d7d79c0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d7d78ee
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d7d7950
add dword [0x6d7f85e4], 1
cmp edi, 8
jae 0x6d7d7923
test dil, 4
jne 0x6d7d7994
test edi, edi
je 0x6d7d7918
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d7d79af
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d7d7918
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d7d793c
jmp 0x6d7d7918
add rsi, qword [0x6d7f85e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d7d78ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d7d7918
xor esi, esi
jmp 0x6d7d7877
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d7d7918
mov rax, qword [0x6d7f85e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d7d8130
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d7f88c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d7f88a0]
test rbx, rbx
je 0x6d7d8184
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d7d817b
test rsi, rsi
je 0x6d7d817b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d7d8160
lea rcx, [0x6d7f88c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d7d83c0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d7d83d0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d7d83e0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d7d8421
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d7d8418
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d7d8423
add rax, 0x28
cmp rax, r9
jne 0x6d7d8404
xor eax, eax
ret

Function at 0x6d7d84c0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7f51f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d7d852d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d852d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7d852d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7d8524
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7d852f
add rax, 0x28
cmp rax, r9
jne 0x6d7d8510
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d7d8630
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7f51f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d7d8650
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d8648
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7d86ad
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7d86a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7d86b4
add rax, 0x28
cmp rax, r9
jne 0x6d7d8690
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d7d86d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d7f51f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d7d873e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d873e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d7d873e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d7d873e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d7d8735
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d7d8745
add rcx, 0x28
cmp rcx, rax
jne 0x6d7d8720
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d7d8758
jmp 0x6d7d873e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d7d8766
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d7d873e
test r9d, r9d
jg 0x6d7d8750
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d7d8aa0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__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 sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140043d70
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
mov rbp, rcx
sar rdi, 2
test rdi, rdi
je 0x140043f4f
mov qword [rsp + 0x60], rbx
mov rbx, qword [rcx + 8]
sub rbx, qword [rcx]
mov qword [rsp + 0x30], r13
sar rbx, 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x140043dc0
mov eax, ntohl
jmp 0x140043dee
cmp rdi, 0x44
jb 0x140043dcd
mov eax, 7
jmp 0x140043dee
cmp rdi, 0x27
jb 0x140043dda
mov eax, 5
jmp 0x140043dee
cmp rdi, 7
jb 0x140043de7
mov eax, 3
jmp 0x140043dee
lea rax, [rdi - 1]
shr rax, 1
mov r14, rdi
lea r15, [rbx + 1]
sub r14, rax
shr r14, 1
lea r13, [r14 + rax]
cmp rdi, rbx
jbe 0x140043e07
mov r15, rdi
mov r8, rdi
mov edx, 0x8b8b8b8b
shl r8, 2
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
test r15, r15
je 0x140043ebf
mov qword [rsp + 0x38], r12
nop dword [rax + rax]
xor edx, edx
lea rax, [rcx + r14]
div rdi
mov r11d, dword [rsi + rdx*4]
lea r10, [rsi + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea r12, [rsi + rdx*4]
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
mov r8d, dword [rsi + rdx*4]
xor r8d, dword [r12]
xor r8d, r11d
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x140043e7d
mov rax, rbx
jmp 0x140043e92
cmp rcx, rbx
ja 0x140043e8f
mov rax, qword [rbp]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x140043e92
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [rsi + rdx*4], r8d
mov dword [r12], r8d
cmp rcx, r15
jb 0x140043e30
mov r12, qword [rsp + 0x38]
add r15, rdi
cmp rcx, r15
jae 0x140043f3b
inc r14
lea rbp, [rcx - 1]
inc r13
xor edx, edx
lea rax, [r14 + rbp]
div rdi
mov r10d, dword [rsi + rdx*4]
lea r11, [rsi + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [rsi + rdx*4]
xor edx, edx
add ecx, r10d
add ecx, dword [rsi + r9*4]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [rsi + rdx*4], r8d
mov dword [rsi + r9*4], r8d
cmp rax, r15
jb 0x140043ed1
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140023c40
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub rsp, 0x28
test r8, r8
je 0x140023ca4
mov rdx, qword [r8]
test rdx, rdx
je 0x140023ca4
mov qword [rsp + 0x20], rbx
call fcn.1400217f0
mov rbx, rax
test rax, rax
je 0x140023c98
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140023c98
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rbx
mov ecx, 8
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x20]
mov eax, 1
add rsp, 0x28
ret
mov rbx, qword [rsp + 0x20]
xor eax, eax
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x140026a30
Capabilities:
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call qword [sym.imp.mfc140u.dll_CMFCColorButton::OnFillBackground]
mov rcx, rdi
call fcn.140026b80
mov edx, 0x6be
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonGallery::GetCompactSize]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonSlider::SetACCData]
mov qword [0x140069920], rdi
xor ebx, ebx
call qword [sym.imp.mfc140u.dll_AfxFieldText]
xor r9d, r9d
lea rdx, [0x140026d00]
lea ecx, [rbx + 0xd]
mov r8, qword [rax + 0x10]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
test rax, rax
mov qword [0x140069918], rax
mov ecx, 1
cmovne ebx, ecx
mov dword [rdi + 0x1d8], ebx
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14002ab80
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x140061010]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov eax, dword [rcx + 0x26c]
mov rbx, rcx
movsd qword [rcx + 0x280], xmm1
bt eax, 0xc
jb 0x14002abc9
call fcn.14002b220
movsd xmm1, qword [rbx + 0x280]
mov eax, dword [rbx + 0x26c]
test al, 0x40
je 0x14002abe8
movsd xmm0, qword [rbx + 0x2a0]
ucomisd xmm0, qword [0x1400480f0]
jp 0x14002abe1
je 0x14002abe8
mulsd xmm0, xmm1
movaps xmm1, xmm0
mov r8d, dword [rbx + 0x2b0]
test r8d, r8d
jne 0x14002ac0b
cvttsd2si ecx, xmm1
mov r8d, 0xa
lea rdx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
jmp 0x14002ac60
mov ecx, dword [rbx + 0x2c0]
shr eax, 0xf
not eax
and eax, 1
cmp r8d, 6
jne 0x14002ac2c
cmp ecx, 0x2710
je 0x14002ac2c
mov ecx, 2
movsd xmm3, qword [rbx + 0x298]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x30]
call qword [sym.imp.CrlUtl.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_UNITConvToUnitAndStringEx_double__int__double__unsigned_int__int_]
lea rcx, [rsp + 0x40]
mov rdx, qword [rax]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rbx, qword [rbx + 0x328]
test rbx, rbx
je 0x14002ac70
mov rbx, qword [rbx + 0x40]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rdi, eax
cmp rdi, 0x200
ja 0x14002acb9
mov r8d, 0x100
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, edi
jne 0x14002acb9
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14002acc7
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, 1
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400334c0
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x290
pop rdi
ret
Function at 0x140031ce0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x40
mov rdi, r8
mov rsi, rcx
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x68], rbx
cmp dword [0x14006b2b8], ebx
jne 0x140031da3
mov eax, dword [0x14006b2c0]
test eax, eax
jne 0x140031da3
mov edx, dword [0x14006b2bc]
test edx, edx
je 0x140031d43
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14006b2c0]
mov edx, dword [0x14006b2bc]
test eax, eax
jne 0x140031da3
test edx, edx
jne 0x140031d54
call fcn.140031e30
test eax, eax
je 0x140031d6a
lea rdx, [rsp + 0x68]
mov rcx, qword [0x140061058]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x140031da3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x140031d99
cmp eax, 0x78
je 0x140031d99
cmp eax, 1
je 0x140031d99
cmp eax, 0x32
je 0x140031d99
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [0x14006b2c0], 1
mov qword [rsp + 0x20], rbx
lea r9, [0x140030060]
mov r8, rdi
mov edx, 0x6d47
mov rcx, rsi
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov rsi, rax
mov qword [rsp + 0x30], rax
cmp dword [0x14006b2b8], 0
je 0x140031dda
cmp dword [0x14006b2c0], 0
jne 0x140031e08
mov edi, ebx
test rsi, rsi
sete dil
test edi, edi
je 0x140031def
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x140031e08
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140f06058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140f061df
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 0x140f06089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f0606f
add dl, dl
jne 0x140f06096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f060f6
xor eax, eax
add dl, dl
jne 0x140f060a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f061ad
add dl, dl
jne 0x140f060b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f060c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f060d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f060dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140f060ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140f0607e
mov eax, 1
add dl, dl
jne 0x140f06106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f06113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f060fb
sub eax, ebx
mov ebx, 1
jne 0x140f0614c
mov ecx, 1
add dl, dl
jne 0x140f0612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f0613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f06123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f0607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140f06168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f06175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f0615d
cmp eax, 0x7d00
jae 0x140f0619b
cmp eax, 0x500
jb 0x140f06196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f0607e
cmp eax, 0x7f
ja 0x140f0619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f0607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140f061d2
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 0x140f0607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800042a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
lea rbx, [rcx + 0x58]
lea r9, [rsp + 0x68]
xor r8d, r8d
xor edx, edx
lea rcx, [0x18008d5d0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x18000439e
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.180012340
mov rdi, rax
cmp rbx, rax
je 0x180004351
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x180004323
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18000431e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180004426
mov rcx, r8
call fcn.18005e6ac
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
mov word [rdi], ax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x180004393
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000438e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004426
call fcn.18005e6ac
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
call fcn.18005c9dc
lea rcx, str.R3nzSkin
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 8
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.180003b50
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180003db0
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x180004415
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000440f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004420
call fcn.18005e6ac
nop
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call fcn.18006d77c
int3
call fcn.18006d77c
int3

Function at 0x18001b790
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18001b7ed
lea rbx, [0x180099b50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18001b7d4
cmp r10, 2
jb 0x18001b7d4
cmp byte [r9], r8b
jne 0x18001b7d4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x18001b7b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001b82f
lea rbx, [0x180099b50]
cmp r8b, 0x23
jne 0x18001b813
cmp byte [r9], r8b
jne 0x18001b813
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x18001b800
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x18001b970
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001b98a
mov qword [r8], 0
lea rdx, [0x18009ee94]
call fcn.18001b840
mov rbx, rax
test rax, rax
jne 0x18001b9aa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.18006de1c
mov esi, eax
cmp eax, 0xffffffff
je 0x18001ba78
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.18006d33c
test eax, eax
jne 0x18001ba78
mov rcx, rbx
call fcn.18006de1c
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18001ba78
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.18006d33c
test eax, eax
jne 0x18001ba78
cmp rdi, 0xffffffffffffffff
je 0x18001ba78
mov rax, qword [0x1800b4f48]
test rax, rax
je 0x18001ba1a
inc dword [rax + 0x3b0]
mov rcx, rdi
call fcn.180070e48
mov rsi, rax
test rax, rax
je 0x18001ba78
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.18006cf6c
mov rcx, rbx
cmp rax, rdi
je 0x18001ba66
call fcn.1800690a8
mov rax, qword [0x1800b4f48]
test rax, rax
je 0x18001ba5c
dec dword [rax + 0x3b0]
mov rcx, rsi
call fcn.18006cb48
jmp 0x18001ba80
call fcn.1800690a8
test r14, r14
je 0x18001ba73
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001ba82
mov rcx, rbx
call fcn.1800690a8
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret