joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007020
Capabilities:
Delete directory

Disassembly:
push r13
mov eax, 0x44a8
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14000d8d0
sub rsp, rax
mov r8d, 0x1000
lea r13, [rsp + 0x2490]
mov rdx, rcx
lea rsi, [rsp + 0x480]
mov rcx, r13
call fcn.140007e20
mov rdx, r13
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscpy
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rbp, rax
movzx eax, word [rsp + rax*2 + 0x47e]
cmp ax, 0x2f
je 0x140007080
cmp ax, 0x5c
jne 0x1400070c8
lea rdx, [0x1400125a8]
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscat
lea rbx, [rsp + 0x250]
mov rcx, rsi
mov rdx, rbx
call fcn.14000df60
cmp rax, 0xffffffffffffffff
mov r12, rax
jne 0x1400070e0
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrmdir]
nop
add rsp, 0x44a8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rdx, [0x1400125a4]
mov rcx, rsi
add rbp, 1
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscat
jmp 0x140007080
lea rdi, [rsp + 0x20]
nop dword [rax]
mov r8d, 0x230
mov rdx, rbx
mov rcx, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.140007130
mov rdx, rbx
mov rcx, r12
call fcn.14000dfe0
test eax, eax
je 0x1400070e8
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__findclose]
jmp 0x1400070ab

Function at 0x140007130
Capabilities:
Delete directory
Delete file

Disassembly:
push rbp
mov eax, 0x1038
push rdi
push rsi
push rbx
call fcn.14000d8d0
sub rsp, rax
lea rsi, [r8 + 0x24]
mov rbp, rcx
mov rdi, rdx
lea rdx, [0x1400125ac]
mov rcx, rsi
mov rbx, r8
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
jne 0x140007170
add rsp, 0x1038
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rdx, [0x1400125b0]
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x140007161
xor eax, eax
mov rcx, rbp
mov rdx, rsi
mov word [rbp + rdi*2], ax
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscat
test byte [rbx], 0x10
mov rcx, rbp
je 0x1400071d0
call fcn.1400081e0
test eax, eax
jne 0x1400071f8
lea rbx, [rsp + 0x20]
mov r8d, 0x1000
mov rdx, rbp
mov rcx, rbx
call fcn.140007c50
mov rcx, rbx
call fcn.140007020
jmp 0x140007161
mov rbx, qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
call rbx
test eax, eax
je 0x140007161
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbp
call rbx
jmp 0x140007161
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrmdir]
jmp 0x140007161
Function at 0x1400073f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rdi
mov eax, 0x1020
push rsi
push rbx
call fcn.14000d8d0
sub rsp, rax
mov rsi, rdx
mov rdi, r8
lea rdx, [0x140012644]
call fcn.140003f50
mov rdx, rdi
mov rcx, rsi
mov rbx, rax
call fcn.140007210
test rbx, rbx
mov rdi, rax
je 0x1400074e9
test rax, rax
je 0x1400074dc
lea rsi, [rsp + 0x20]
nop word [rax + rax]
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_feof
test eax, eax
jne 0x1400074d8
mov r8d, 0x1000
mov r9, rbx
mov edx, 1
mov rcx, rsi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
test rax, rax
mov r8, rax
jne 0x140007488
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ferror
test eax, eax
je 0x140007440
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_clearerr
jmp 0x1400074b1
mov r9, rdi
mov edx, 1
mov rcx, rsi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
test rax, rax
je 0x1400074a9
mov rcx, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ferror
test eax, eax
je 0x140007440
mov rcx, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_clearerr
mov esi, 0xffffffff
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rcx, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov eax, esi
add rsp, 0x1020
pop rbx
pop rsi
pop rdi
ret
xor esi, esi
jmp 0x1400074b6
test rbx, rbx
je 0x1400074e9
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
test rdi, rdi
je 0x1400074f6
mov rcx, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov esi, 0xffffffff
jmp 0x1400074c6
Function at 0x140007570
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
push r12
mov eax, 0x2110
push rbp
push rdi
push rsi
push rbx
call fcn.14000d8d0
sub rsp, rax
mov r8d, 0x1000
xor ebx, ebx
lea rsi, [rsp + 0x110]
mov rdx, rcx
mov dword [rsp + 0x5c], 0
lea r12, [rsp + 0xa0]
mov rcx, rsi
call fcn.140007e20
mov edx, 1
lea rcx, [0x1400069d0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov rcx, r12
mov dword [rsp + 0x60], 0x18
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x70], 1
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, 1
pxor xmm0, xmm0
mov rbp, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
movups xmmword [rsp + 0xa8], xmm0
xor ecx, ecx
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xdc], 0x101
mov word [rsp + 0xe0], ax
call rbp
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll__fileno
mov rdi, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle]
mov ecx, eax
call rdi
mov ecx, 1
cmp rax, 0xffffffffffffffff
cmove rax, rbx
mov qword [rsp + 0xf0], rax
call rbp
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll__fileno
mov ecx, eax
call rdi
mov ecx, 2
cmp rax, 0xffffffffffffffff
cmove rax, rbx
mov qword [rsp + 0xf8], rax
call rbp
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll__fileno
mov ecx, eax
call rdi
cmp rax, 0xffffffffffffffff
cmove rax, rbx
mov qword [rsp + 0x100], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
mov qword [rsp + 0x40], r12
mov rcx, rsi
mov dword [rsp + 0x28], 0
lea r8, [rsp + 0x60]
mov rdx, rax
lea rax, [rsp + 0x80]
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140007710
mov rcx, qword [rsp + 0x80]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x80]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rsp + 0x5c]
add rsp, 0x2110
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rdx, str.Error_creating_child_process__n
lea rcx, str.CreateProcessW
call fcn.140002a20
mov eax, 0xffffffff
add rsp, 0x2110
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140007900
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r12, rcx
mov ecx, 0x2000
mov rbp, rdx
mov rdi, r8
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test rax, rax
mov rsi, rax
je 0x1400079f0
xor edx, edx
mov r8d, 2
mov rcx, r12
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
test eax, eax
js 0x1400079f0
mov rcx, r12
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
movsxd rbx, eax
cmp rbx, rdi
jb 0x1400079f0
mov r15d, 1
sub r15, rdi
mov qword [rsp + 0x28], r15
mov r13d, 0x2000
cmp rbx, r13
cmovae r13, rbx
lea r14, [r13 - 0x2000]
sub rbx, r14
cmp rbx, rdi
jb 0x1400079f0
xor r8d, r8d
mov edx, r14d
mov rcx, r12
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
test eax, eax
js 0x1400079f0
mov r9, r12
mov r8, rbx
mov edx, 1
mov rcx, rsi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
cmp rax, rbx
jne 0x1400079f0
mov rdx, qword [rsp + 0x28]
lea rbx, [rdx + rax]
jmp 0x1400079da
lea r15, [rbx - 1]
mov r8, rdi
mov rdx, rbp
lea rcx, [rsi + r15]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
je 0x140007a10
mov rbx, r15
test rbx, rbx
jne 0x1400079c0
lea rbx, [r14 + rdi - 1]
test r14, r14
jne 0x140007969
nop dword [rax]
xor ebx, ebx
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rax, rbx
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [r13 + rbx - 0x2001]
jmp 0x1400079f2
Function at 0x140008050
Capabilities:
Create directory

Disassembly:
push r13
mov eax, 0x2068
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14000d8d0
sub rsp, rax
mov dword [rsp + 0x3c], 0
mov rsi, rcx
mov qword [rsp + 0x40], 0xffffffffffffffff
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140008148
lea rdi, [rsp + 0x60]
xor ebx, ebx
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rcx, qword [rsp + 0x40]
cmp rcx, 0xffffffffffffffff
je 0x1400080c6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
lea r9, str.S_1_3_4
mov edx, 0x1000
mov rcx, rdi
lea r8, str.D:_A__FA____s_
test rbx, rbx
cmovne r9, rbx
call fcn.140007a20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor r9d, r9d
mov edx, 1
mov rcx, rdi
mov dword [rsp + 0x40], 0x18
lea r8, [rsp + 0x48]
mov dword [rsp + 0x50], 0
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x1400081d0
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 1
sbb eax, eax
add rsp, 0x2068
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea r12, [rsp + 0x3c]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
mov rdi, qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov qword [rsp + 0x20], r12
mov edx, 1
call rdi
test eax, eax
jne 0x14000817e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400080a6
mov edx, dword [rsp + 0x3c]
mov ecx, 1
mov r13, rdx
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov rcx, qword [rsp + 0x40]
test rax, rax
mov rbx, rax
je 0x1400080a6
mov qword [rsp + 0x20], r12
mov r9d, r13d
mov r8, rax
mov edx, 1
call rdi
lea rdi, [rsp + 0x60]
test eax, eax
je 0x1400080ad
mov rcx, qword [rbx]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
jmp 0x1400080ad
mov eax, 0xffffffff
jmp 0x140008135

Function at 0x140008810
Capabilities:
Hash data with crc32

Disassembly:
push rbx
mov r10d, 0x80000000
test ecx, ecx
je 0x140008884
lea rbx, [0x140012900]
mov r11d, 3
jmp 0x140008838
add r11d, 1
sar ecx, 1
je 0x140008884
test cl, 1
je 0x140008830
mov eax, r11d
mov edx, r10d
mov r8d, 0x80000000
and eax, 0x1f
xor r10d, r10d
mov r9d, dword [rbx + rax*4]
jmp 0x14000886b
mov eax, edx
shr edx, 1
and eax, 1
shr r8d, 1
neg eax
and eax, 0xedb88320
xor edx, eax
test r9d, r8d
je 0x140008858
lea eax, [r8 - 1]
xor r10d, edx
test eax, r9d
jne 0x140008858
add r11d, 1
sar ecx, 1
jne 0x140008838
mov eax, r10d
pop rbx
ret
Function at 0x14000cb10
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.14000e290
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x14000cb80
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140027484]
test esi, esi
mov rbx, rcx
jle 0x14000ccb0
mov rax, qword [0x140027488]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000cbcb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000cc55
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000cbb0
mov rcx, rbx
call fcn.14000d5f0
test rax, rax
mov rdi, rax
je 0x14000ccd2
mov rax, qword [0x140027488]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000d730
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140027488]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000ccb7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000cc4e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000cc60
add dword [0x140027484], 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 [0x140027488]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000cc4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000cb10
nop dword [rax]
xor esi, esi
jmp 0x14000cbd8
mov rax, qword [0x140027488]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.14000cb10
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.14000cb10
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x14000d240
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400274e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400274c0]
test rbx, rbx
je 0x14000d29c
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 0x14000d293
test rsi, rsi
je 0x14000d293
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000d278
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 0x14000d4b0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14000d4e8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14000d4f0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x14000d4c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14000d4e8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14000d4f0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x14000d4d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14000d4e8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14000d4f0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

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

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

Function at 0x14000d670
Capabilities:
Parse pe header

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

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

Function at 0x1400012b2
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
mov r8d, 0x3000
mov r9d, 0x40
call sub.KERNEL32.dll_VirtualAlloc
add rsp, 0x28
ret
Function at 0x1400027d0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0xa0
mov qword [rsp + 0x90], 0x1335a1b5
mov qword [rsp + 0x78], 0x134c79ec
mov dword [rsp + 0x5c], 0x755196e
mov eax, dword [rsp + 0x5c]
imul r8d, eax, 0x17d56760
mov qword [rsp + 0x50], rcx
mov rcx, rdx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x44], r8d
mov dword [rsp + 0x40], eax
call fcn.140002e40
mov r8d, 0x1d214659
mov r9d, dword [rsp + 0x44]
mov dword [rsp + 0x8c], r9d
mov r9d, dword [rsp + 0x40]
cmp r8d, r9d
mov qword [rsp + 0x38], rax
jne 0x1400029b2
jmp 0x1400028ed
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
mov edx, dword [rcx + 0xc]
mov r8d, dword [rsp + 0x40]
xor r8d, 0x2cc2d10f
mov edx, edx
mov r9d, edx
mov dword [rsp + 0x8c], r8d
mov word [rax], es
add byte [rax], al
mov r10, qword [rsp + 0x50]
add r10, r9
mov edx, dword [rcx + 0x14]
mov r9d, edx
mov r11, qword [rsp + 0x48]
add r11, r9
mov edx, dword [rcx + 0x10]
mov r8d, edx
mov qword [rsp + 0x30], rcx
mov rcx, r10
mov rdx, r11
mov qword [rsp + 0x28], rax
call fcn.1400033e0
mov rcx, qword [rsp + 0x28]
add rcx, 1
mov rdx, qword [rsp + 0x68]
movzx esi, word [rdx]
mov edx, esi
mov r8, qword [rsp + 0x30]
add r8, 0x28
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x60], r8
mov r8, qword [rsp + 0x98]
mov eax, dword [rsp + 0x98]
and r8, 0x151ca4c8
mov qword [rsp + 0x98], r8
cmp rcx, rdx
mov qword [rsp + 0x20], rax
jb 0x140002846
jmp 0x14000298f
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x90]
add byte [rax], al
mov rdx, qword [rsp + 0x78]
add rcx, 0x45a8db66
mov qword [rsp + 0x70], 0x5f22f381
mov qword [rsp + 0x60], 0
cmp rdx, rcx
jae 0x140002846
mov rax, qword [rsp + 0x98]
and rax, qword [rsp + 0x98]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x98]
add rax, 0x18
mov qword [rsp + 0x98], rcx
mov rcx, qword [rsp + 0x38]
movzx edx, word [rcx + 0x14]
mov r8d, edx
add rax, r8
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x60], rax
jmp 0x140002846
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x54]
mov r8d, ecx
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
add rsp, 0xa0
pop rsi
jmp fcn.1400033e0
mov rax, qword [rsp + 0x38]
add rax, 6
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov cx, word [rax]
mov rax, qword [rsp + 0x98]
xor rax, 0x419dfaba
mov qword [rsp + 0x98], rax
cmp cx, 0
je 0x14000298f
jmp 0x1400028ed

Function at 0x1400029f0
Capabilities:
Parse pe header

Disassembly:
push rsi
sub rsp, 0x80
mov qword [rsp + 0x78], 0x62bf8222
mov dword [rsp + 0x64], 0x57a4a7df
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x74]
mov dword [rsp + 0x14], ecx
mov edx, dword [rsp + 0x14]
shl edx, cl
mov dword [rsp + 0x74], edx
mov r8, rax
xor r8, 0x3dcf9269
mov qword [rsp + 0x38], r8
cmp qword [rsp + 0x38], 0x10a02c9
leave
add cl, byte [rdx]
add dword [rax - 0x77], ecx
and al, 8

Function at 0x140002a34
Capabilities:
Parse pe header

Disassembly:
leave
add cl, byte [rdx]
add dword [rax - 0x77], ecx
and al, 8
ja 0x140002a52
jmp 0x140002b98
lea rax, [fcn.1400029f0]
mov dword [rsp + 0x2c], 0x2cc81851
mov qword [rsp + 0x40], rax
jmp 0x140002a8b
Function at 0x140002ab4
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
imul rcx, rax, 0x6e22f04d
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x58], rdx
mov rcx, qword [rsp + 0x58]
cmp word [rcx], 0x5a4d
mov rax, qword [rsp + 8]
imul rax, rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 8]
add rax, 0x660dc07d
mov qword [rsp + 0x68], rax
and al, 0x68
mov qword [rsp + 0x18], rcx
mov rax, qword [rsp + 8]
sub rax, 0x27822da7
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
cmp rcx, qword [rsp + 0x20]
jb fcn.140002b2f
mov rax, qword [rsp + 0x18]
mov ecx, dword [rsp + 0x14]
add ecx, 0xca28d50
mov dword [rsp + 0x74], ecx
mov ecx, dword [rsp + 0x14]
mov edx, dword [rsp + 0x14]
shr edx, cl
add rax, 0xfffffffffffff000
mov dword [rsp + 0x74], edx
and rax, 0xfffffffffffff000
mov qword [rsp + 0x40], rax
jmp 0x140002a8b

Function at 0x140002bc8
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp + 0x58]
add rsp, 0x80
pop rsi
ret
mov rax, qword [rsp + 0x58]
add rax, 0x3c
mov ecx, dword [rsp + 0x2c]
mov qword [rsp + 0x48], rax
cmp ecx, 0x313dbadf
jae 0x140002b98
jmp 0x140002b98
imul edx, dword [rsp + 0x2c]
mov r8, qword [rsp + 0x30]
mov r9, r8
imul r9, r9
mov r10, r9
imul r10, r10
mov r11, r9
sub r11, r10
mov qword [rsp + 0x50], r11
mov r10, r8
sub r10, r9
add r8, r9
imul r10, r8
mov qword [rsp + 0x20], r10
mov esi, dword [rsp + 0x14]
shl esi, cl
mov dword [rsp + 0x74], esi
cmp eax, edx
jae 0x140002a68
jmp sym.UxTheme.dll_Ordinal_10
mov eax, 0x635139cb
mov ecx, eax
mov eax, 0x10215310
mov edx, eax
mov r8, qword [rsp + 0x48]
mov eax, dword [r8]
mov eax, dword [rax]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 8]
mov qword [rsp], rcx
mov rcx, r9
shl rdx, cl
movsxd r10, eax
mov qword [rsp + 0x68], rdx
and al, 0x68
mov rcx, qword [rsp]
shl r9, cl
mov qword [rsp + 0x68], r9
mov eax, dword [rsp + 0x14]
or eax, eax
mov dword [rsp + 0x74], eax
mov rdx, qword [rsp + 8]
or byte [rax + 0x21], cl
rol byte [rbx - 0x75], cl
add al, 0x10
mov qword [rsp + 0x68], rdx
cmp eax, 0x4550
je 0x140002a44
jmp fcn.140002b2f

Function at 0x140002d1c
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x14], eax
mov qword [rsp + 8], r9
je 0x140002dc1
add byte [rax], al
invalid

Function at 0x1400033e0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x30
xor eax, eax
mov r9d, eax
cmp r8, 0
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x10], r8
mov qword [rsp + 8], rcx
mov qword [rsp], r9
je 0x14000344a
mov rax, qword [rsp]
mov ecx, 0x13a4d006
shl byte [rbx + rdx + 0x4c8bca89], 1
and al, 0x24
xor ecx, dword [rsp + 0x24]
mov dword [rsp + 0x24], ecx
mov r8, qword [rsp + 0x18]
mov r9b, byte [r8 + rax]
mov r10, qword [rsp + 8]
mov byte [r10 + rax], r9b
mov rcx, qword [rsp + 0x28]
shr rdx, cl
add rax, 1
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x10]
cmp rax, rdx
mov qword [rsp], rax
jne 0x140003402
mov rax, qword [rsp + 8]
add rsp, 0x30
ret