joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x1400186f0]
xor edi, edi
mov rax, qword gs:[0x30]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
mov rsi, qword [rax + 8]
jmp 0x1400011c0
cmp rsi, rax
je 0x140001320
mov ecx, 0x3e8
call rbp
mov rax, rdi
lock cmpxchg qword [rbx], rsi
test rax, rax
jne 0x1400011b0
mov rsi, qword [0x140018700]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x140001337
mov eax, dword [rsi]
test eax, eax
je 0x1400013a0
mov dword [0x14001b008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x14000134c
test edi, edi
je 0x14000136d
mov rax, qword [0x140018660]
mov rax, qword [rax]
test rax, rax
je 0x140001223
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call fcn.140013de0
mov rcx, qword [0x140018780]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [0x1400186e0]
lea rcx, section..text
mov qword [rdx], rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.140013bf0
mov ebx, dword [0x14001b028]
lea edi, [rbx + 1]
movsxd rdi, edi
shl rdi, 3
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test ebx, ebx
mov r12, qword [0x14001b020]
mov rbp, rax
jle 0x1400013c0
sub rdi, 8
xor ebx, ebx
mov rcx, qword [r12 + rbx]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
lea rsi, [rax + rax + 2]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, rsi
mov qword [rbp + rbx], rax
mov rdx, qword [r12 + rbx]
mov rcx, rax
add rbx, 8
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
cmp rdi, rbx
jne 0x140001280
add rdi, rbp
mov qword [rdi], 0
mov qword [0x14001b020], rbp
call fcn.1400139f0
mov rax, qword [0x140018670]
mov r8, qword [0x14001b018]
mov ecx, dword [0x14001b028]
mov rax, qword [rax]
mov qword [rax], r8
mov rdx, qword [0x14001b020]
call fcn.14000ed10
mov ecx, dword [0x14001b00c]
mov dword [0x14001b010], eax
test ecx, ecx
je 0x1400013c8
mov edx, dword [0x14001b008]
test edx, edx
je 0x140001380
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [0x140018700]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011e1
mov ecx, 0x1f
call fcn.140014b70
mov eax, dword [rsi]
cmp eax, 1
jne 0x140001200
mov rdx, qword [0x140018720]
mov rcx, qword [0x140018710]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
test edi, edi
mov dword [rsi], 2
jne 0x140001208
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001208
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14001b010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [0x140018740]
mov dword [rsi], 1
mov rcx, qword [0x140018730]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x1400011f5
mov rdi, rax
jmp 0x1400012b6
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
sub rsp, 0x28
mov rax, qword [0x140018690]
mov dword [rax], 1
call fcn.140001180
nop
nop
add rsp, 0x28
ret
Function at 0x140007ca0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
mov ecx, 2
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
nop word cs:[rax + rax]
nop

Function at 0x140007cc0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x140025040]
test rcx, rcx
je 0x140007cfb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007d20
mov rcx, qword [0x140025040]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140026060], 0
jne 0x140007d38
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x140025040]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140007cee
lea r12, [rsp + 0x20]
mov edx, 0x414
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov qword [rsp + 0x20], 0
lea rsi, [0x140017330]
mov dword [rsp + 0x28], 3
mov rcx, r12
mov ebx, 0x14
lea rdi, [0x140026080]
movq xmm0, rsi
mov word [rsp + 0x40], dx
movq xmm6, rdi
mov dword [rsp + 0x44], 0
punpcklqdq xmm6, xmm0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x48], 0
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007e04
test al, 0x10
je 0x140007d04
mov ecx, 0x64
call r14
mov eax, 0x414
movaps xmmword [rsp + 0x30], xmm6
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
call rbp
sub ebx, 1
je 0x140007d04
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140007db0
jmp 0x140007d04
Function at 0x14000ebd0
Capabilities:
Create directory
Extract resource via kernel32 functions

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.1400149a0
sub rsp, rax
mov eax, dword [0x14002a080]
test eax, eax
mov rsi, rcx
je 0x14000ec70
lea rdi, [0x140028080]
xor ebx, ebx
test eax, eax
jg 0x14000ec0c
jmp 0x14000ec20
add rbx, 1
cmp dword [0x14002a080], ebx
jle 0x14000ec20
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
jne 0x14000ec00
jmp 0x14000ec57
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
cmp rax, 2
jne 0x14000ec35
cmp word [rsi + 2], 0x3a
je 0x14000ec57
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000ecc0
movsxd rbx, dword [0x14002a080]
cmp ebx, 0x3ff
jle 0x14000ecd8
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
mov r8d, 0x1000
lea rbx, str._HOME_
mov rcx, rdi
mov rdx, rbx
call fcn.140007580
test al, al
je 0x14000ecfa
movsxd rbx, dword [0x14002a080]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsdup
lea rdi, [0x140028080]
mov qword [rdi + rbx*8], rax
mov eax, dword [0x14002a080]
add eax, 1
mov dword [0x14002a080], eax
jmp 0x14000ebf1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000ec44
xor eax, eax
jmp 0x14000ec5c
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsdup
add dword [0x14002a080], 1
mov rdx, rax
lea rax, [0x140028080]
mov qword [rax + rbx*8], rdx
jmp 0x14000ec57
mov rcx, rbx
call fcn.140007c00
nop
nop word cs:[rax + rax]
nop
Function at 0x140013c00
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.1400149e0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x140013c70
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14002a144]
test esi, esi
mov rbx, rcx
jle 0x140013da0
mov rax, qword [0x14002a148]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140013cbb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140013d45
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140013ca0
mov rcx, rbx
call fcn.1400146c0
test rax, rax
mov rdi, rax
je 0x140013dc2
mov rax, qword [0x14002a148]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140014800
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14002a148]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140013da7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140013d3e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140013d50
add dword [0x14002a144], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x14002a148]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140013d3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140013c00
nop dword [rax]
xor esi, esi
jmp 0x140013cc8
mov rax, qword [0x14002a148]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.140013c00
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.140013c00
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140014330
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14002a1a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14002a180]
test rbx, rbx
je 0x14001438c
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 eax, eax
jne 0x140014383
test rsi, rsi
je 0x140014383
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140014368
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 0x1400146c0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140014740
Capabilities:
Parse pe header

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

Function at 0x140014800
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140018630]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14001481f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140014828
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400111c2
Capabilities:
Create thread

Disassembly:
jmp 0x1400154d0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x14002c040]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x14003306d]
call fcn.1400118d9
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14001128a
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.14001149c
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.1400111e5
nop
lea rcx, [rbp + 0x108]
call fcn.1400113a2
lea rax, [0x140011613]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.14001163b
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x1400155d0
lea rcx, [rbp + 8]
call fcn.1400113ca
jmp 0x1400155e9
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1400111fe
nop
lea rcx, [rbp + 8]
call fcn.1400113a2
lea rcx, [rbp - 0x30]
lea rdx, [0x140026d70]
call fcn.140011780
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.14001146a
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x14001141a
Capabilities:
Delete file

Disassembly:
jmp 0x14001a990
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x158]
mov rax, qword [0x14002c040]
xor rax, rbp
mov qword [rbp + 0x108], rax
lea rcx, [0x1400330fd]
call fcn.1400118d9
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 0x38
rep stosb byte [rdi], al
mov dword [rbp + 0x10], 3
mov rcx, qword [rbp + 0x130]
call fcn.1400110cd
mov qword [rbp + 0x18], rax
mov eax, 0x614
mov word [rbp + 0x28], ax
lea rcx, [rbp + 8]
call qword [sym.imp.SHELL32.dll_SHFileOperationA]
lea rcx, [rbp - 0x20]
lea rdx, [0x140026180]
call fcn.140011780
mov rcx, qword [rbp + 0x108]
xor rcx, rbp
call fcn.14001146a
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x140011492
Capabilities:
Set file attributes

Disassembly:
jmp 0x14001abb0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400330fd]
call fcn.1400118d9
mov rcx, qword [rbp + 0xe0]
call fcn.1400110cd
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x140011514
Capabilities:
Terminate process

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

Disassembly:
jmp 0x14001eb60
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001eb80
xor al, al
jmp 0x14001ec01
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001eb93
xor al, al
jmp 0x14001ec01
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 0x14001ebbd
xor al, al
jmp 0x14001ec01
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001ebd1
xor al, al
jmp 0x14001ec01
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001ebe3
xor al, al
jmp 0x14001ec01
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001ebff
xor al, al
jmp 0x14001ec01
mov al, 1
add rsp, 0x38
ret
Function at 0x140160a40
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140160a4d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140160a5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140160a45
lea eax, [rcx + 1]
jmp 0x140160a6b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140160a7e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140160a64
sub eax, 3
jb 0x140160a9e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140160aed
sar eax, 1
movsxd rbp, eax
jb 0x140160ad4
jmp 0x140160aac
add ebx, ebx
jne 0x140160aaa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140160ad4
inc ecx
add ebx, ebx
jne 0x140160aba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140160ad4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140160acd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140160abc
add ecx, 2
jmp 0x140160ad9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140160a02
jmp 0x140160a4d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2d000
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140160b3d
cmp rsi, rcx
jae 0x140160b45
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140160b24
cmp al, 0x8f
ja 0x140160b24
cmp byte [rsi - 2], 0xf
je 0x140160b2a
sub al, 0xe8
cmp al, 1
ja 0x140160b0e
cmp rsi, rcx
jae 0x140160b45
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140160b14
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140160b45
lodsb al, byte [rsi]
jmp 0x140160b24
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x143000]
mov eax, dword [rdi]
or eax, eax
je 0x140160ba2
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x160b30]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140160b52
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140160b9c
mov qword [rbx], rax
add rbx, 8
jmp 0x140160b72
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140160bdc
cmp al, 0xef
ja 0x140160bce
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140160bae
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140160bbd
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140160c30
sub rsp, 0xffffffffffffff80
jmp 0x140013ff0
Function at 0x140010760
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14001076d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14001077d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140010765
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140010795
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140010782
sub eax, 3
jb 0x1400107af
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400107e6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x1400107d6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400107d4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400107c3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140010722
jmp 0x14001076d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x5c00
mov dl, 4
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140010832
cmp rsi, rcx
jae 0x14001083a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140010819
cmp al, 0x8f
ja 0x140010819
cmp byte [rsi - 2], 0xf
je 0x14001081f
sub al, 0xe8
cmp al, 1
ja 0x140010803
cmp rsi, rcx
jae 0x14001083a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140010809
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14001083a
lodsb al, byte [rsi]
jmp 0x140010819
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xe000]
mov eax, dword [rdi]
or eax, eax
je 0x140010897
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x10000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140010847
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140010891
mov qword [rbx], rax
add rbx, 8
jmp 0x140010867
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400108d1
cmp al, 0xef
ja 0x1400108c3
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400108a3
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400108b2
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140010925
sub rsp, 0xffffffffffffff80
jmp 0x14000141c
Function at 0x180004230
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, [0x18008c5f0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x18000432e
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.180011d80
mov rdi, rax
cmp rbx, rax
je 0x1800042e1
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x1800042b3
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800042ae
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800043b6
mov rcx, r8
call fcn.18005d068
xor eax, eax
mov qword [rbx + 0x10], rax
mov word [rbx], ax
mov qword [rbx + 0x18], 7
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 0x180004323
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000431e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800043b6
call fcn.18005d068
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
call fcn.18005af4c
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.180003af0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180003d40
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1800043a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000439f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800043b0
call fcn.18005d068
nop
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call fcn.18006c23c
int3
call fcn.18006c23c
int3

Function at 0x18001b160
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 0x18001b1bd
lea rbx, [0x18009c130]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18001b1a4
cmp r10, 2
jb 0x18001b1a4
cmp byte [r9], r8b
jne 0x18001b1a4
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 0x18001b180
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001b1ff
lea rbx, [0x18009c130]
cmp r8b, 0x23
jne 0x18001b1e3
cmp byte [r9], r8b
jne 0x18001b1e3
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 0x18001b1d0
mov rbx, qword [rsp + 8]
not eax
ret