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

Disassembly:
cld
pop r11
jmp 0x14001f60d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14001f61d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14001f605
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14001f635
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14001f622
sub eax, 3
jb 0x14001f64f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14001f686
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14001f676
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14001f674
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14001f663
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14001f5c2
jmp 0x14001f60d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x10e00
mov dl, 6
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14001f6d6
cmp rsi, rcx
jae 0x14001f6de
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14001f6bd
cmp al, 0x8f
ja 0x14001f6bd
cmp byte [rsi - 2], 0xf
je 0x14001f6c3
sub al, 0xe8
cmp al, 1
ja 0x14001f6a7
cmp rsi, rcx
jae 0x14001f6de
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14001f6ad
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14001f6de
lodsb al, byte [rsi]
jmp 0x14001f6bd
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1d000]
mov eax, dword [rdi]
or eax, eax
je 0x14001f73b
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1f4ec]
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 0x14001f6eb
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 0x14001f735
mov qword [rbx], rax
add rbx, 8
jmp 0x14001f70b
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 0x14001f775
cmp al, 0xef
ja 0x14001f767
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14001f747
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14001f756
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 + 0x1af]
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
mov byte [fcn.14001f7f4], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14001f7f4
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14001f7e4
sub rsp, 0xffffffffffffff80
jmp 0x1400014e0
Function at 0x1401669c0
Capabilities:
Query environment variable

Disassembly:
push r14
mov eax, 0x10080
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.1401cb2f0
sub rsp, rax
xor eax, eax
xor edx, edx
xor esi, esi
mov r14d, 0x28
movzx edi, byte [rcx]
mov word [rsp + 0x30], dx
lea rbp, [rsp + 0x30]
test dil, dil
mov r12, rcx
mov word [rsp + 0x80], ax
lea r13, [rsp + 0x2e]
je 0x140166a69
nop dword [rax]
lea rbx, [rbp + rsi*2]
mov rax, r14
sub rax, rsi
cmp word [rbp + rsi*2], 0
je 0x140166a2e
nop dword [rax + rax]
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x140166a20
test rax, rax
je 0x1401cc77e
mov rcx, rbx
add rsi, 1
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov r8d, 2
mov rdx, r13
mov byte [rsp + 0x2e], dil
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x2f], 0
call sub.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs
movzx edi, byte [r12 + rsi]
test dil, dil
jne 0x140166a08
lea rbx, [rsp + 0x80]
mov r8d, 0x10000
mov rcx, rbp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x140166a98
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsdup
add rsp, 0x10080
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x140166ab0
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
xor eax, eax
xor esi, esi
mov r13d, 0x28
movzx r15d, byte [rcx]
test r15b, r15b
mov rbp, rcx
mov r14, rdx
mov word [rsp + 0x30], ax
lea rdi, [rsp + 0x30]
lea r12, [rsp + 0x2e]
je 0x140166b52
nop dword [rax + rax]
lea rbx, [rdi + rsi*2]
mov rax, r13
sub rax, rsi
cmp word [rdi + rsi*2], 0
je 0x140166b16
nop dword [rax]
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x140166b08
test rax, rax
je 0x1401cc784
mov rcx, rbx
add rsi, 1
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov r8d, 2
mov rdx, r12
mov byte [rsp + 0x2e], r15b
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x2f], 0
call sub.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs
movzx r15d, byte [rbp + rsi]
test r15b, r15b
jne 0x140166af0
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401c8270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp byte [0x1401fe499], 0
mov rbp, rcx
mov r12, rdx
mov rdi, r8
je 0x1401c82f8
lea rdx, [0x1401de072]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1401c8360
mov rbx, qword [0x1401fe358]
jmp 0x1401c82b5
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
test esi, esi
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
jne 0x1401c82b0
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, rbp
mov rdx, r12
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.1401b6850
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x1401fe358], rax
mov ebx, dword [rax]
mov qword [0x1401fe358], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1401fe358], rdx
call fcn.1401c73a0
cmp eax, ebx
jne 0x1401c83fa
mov byte [0x1401fe499], 1
jmp 0x1401c828e
cmp byte [0x1401fe498], 0
jne 0x1401c82a5
mov rbx, qword [sym.imp.python37.dll_PyDict_New]
lea rsi, [0x1401fdb48]
call rbx
mov qword [0x1401fedc8], rax
call rbx
mov qword [0x1401fedc0], rax
call rbx
mov qword [0x1401fedb8], rax
call rbx
mov qword [0x1401fedb0], rax
call rbx
mov qword [0x1401feda8], rax
call rbx
mov qword [0x1401feda0], rax
call rbx
mov qword [0x1401fed98], rax
call rbx
mov r13, qword [sym.imp.python37.dll_PyLong_FromLong]
mov rbx, 0xfffffffffffffffb
mov qword [0x1401fed90], rax
nop dword [rax]
mov ecx, ebx
call r13
mov qword [rsi + rbx*8], rax
add rbx, 1
cmp rbx, 0x101
jne 0x1401c83d8
mov byte [0x1401fe498], 1
jmp 0x1401c82a5
lea rcx, str.Error__corrupted_constants_object
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x1401ca530
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.1401cc060
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]
Function at 0x1401ca5a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401ff1c4]
test esi, esi
mov rbx, rcx
jle 0x1401ca6d0
mov rax, qword [0x1401ff1c8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1401ca5eb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1401ca675
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1401ca5d0
mov rcx, rbx
call fcn.1401cb010
test rax, rax
mov rdi, rax
je 0x1401ca6f2
mov rax, qword [0x1401ff1c8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1401cb150
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401ff1c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1401ca6d7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1401ca66e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1401ca680
add dword [0x1401ff1c4], 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 [0x1401ff1c8]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1401ca66e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1401ca530
nop dword [rax]
xor esi, esi
jmp 0x1401ca5f8
mov rax, qword [0x1401ff1c8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.1401ca530
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.1401ca530
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1401cac60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1401ff220]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401ff200]
test rbx, rbx
je 0x1401cacbc
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 0x1401cacb3
test rsi, rsi
je 0x1401cacb3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1401cac98
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 0x1401caed0
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 0x1401caf08
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1401caf10
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x1401caee0
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 0x1401caf08
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1401caf10
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1401caef0
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 0x1401caf08
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1401caf10
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

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

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

Function at 0x1401cb090
Capabilities:
Parse pe header

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

Function at 0x1401cb150
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401e1660]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1401cb16f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1401cb178
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001de0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
movsxd rax, dword [rcx + 0x3c]
mov eax, dword [rax + rcx + 0x88]
mov r14d, eax
mov ebx, r14d
call fcn.14003eb20
mov eax, dword [0x1400a70d8]
mov ecx, dword [0x1400a70dc]
shrd ecx, eax, 0xf
xor ecx, 0xcd1cbc44
cmp r14d, ecx
je 0x140001ebe
mov eax, dword [r14 + rsi + 0x18]
mov r15d, eax
mov ebx, r15d
call fcn.14003eba0
mov eax, dword [0x1400a70e0]
mov ecx, dword [0x1400a70e4]
shrd ecx, eax, 0xf
xor ecx, 0x290b1901
cmp r15d, ecx
jle 0x140001ebe
mov eax, dword [rsi + r14 + 0x20]
mov r12d, eax
add r12, rsi
lea r13, [0x140098e20]
xor ebp, ebp
nop word [rax + rax]
mov eax, dword [r12 + rbp*4]
mov ecx, eax
add rcx, rsi
mov rdx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov ebx, eax
call fcn.14003ecb0
imul eax, dword [str._fWx], 0xcaa96571
imul ecx, dword [0x1400a70ec], 0xa35e813c
add eax, ecx
add eax, 0x6bf4e054
cmp ebx, eax
je 0x140001ed1
call fcn.14003ec30
cdqe
mov rcx, rbp
add rcx, qword [r13 + rax*8]
mov rbp, rcx
cmp rcx, r15
jne 0x140001e70
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rsi + r14 + 0x1c]
mov ecx, dword [rsi + r14 + 0x24]
add rax, rsi
add rcx, rsi
movzx ecx, word [rcx + rbp*2]
mov eax, dword [rax + rcx*4]
add rax, rsi
jmp 0x140001ec0
Function at 0x1400541d0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
cmp qword [rcx + 0x68], 0
je case.default.0x1400541f5
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov rdi, qword [rax]
test rdi, rdi
je 0x1400542a7
mov rbx, rdx
mov r14, rcx
mov rax, qword [rcx + 0x58]
mov ebp, dword [rax]
call fcn.14008b500
mov rax, qword [0x1400c7b70]
mov rcx, qword [0x1400c7b78]
shrd rcx, rax, 0x20
movabs r15, 0xc4791915bfa5e9d9
xor r15, rcx
call fcn.14008b580
cmp rsi, r15
jle 0x1400542b2
imul eax, dword [0x1400c7b80], 0xd0157e4d
imul ecx, dword [0x1400c7b84], 0x7ac2d703
add eax, ecx
add eax, 0x3afb13e0
cmp ebp, eax
mov rax, rbx
jle 0x1400542af
mov ebx, ebp
cmp rbx, rsi
cmovae rbx, rsi
mov rcx, rdi
mov rdi, rax
mov rdx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, rdi
add rax, rbx
mov ecx, ebx
mov rdx, r14
mov r8, qword [r14 + 0x58]
sub dword [r8], ebx
mov rcx, qword [r14 + 0x40]
add qword [rcx], rbx
mov rdi, rsi
sub rdi, rbx
mov rbx, rax
jmp 0x1400542b5
mov r14, rcx
mov rbx, rdx
jmp 0x1400542b2
mov rbx, rax
mov rdi, rsi
call fcn.14008b600
movabs rax, 0xe4ca34278e63b764
imul rax, qword [0x1400c7b88]
movabs rcx, 0xd47eb3e5dbbb3ac1
imul rcx, qword [0x1400c7b90]
add rcx, rax
movabs rax, 0x1ff7eac89ef3e838
add rax, rcx
cmp rdi, rax
jle 0x140054342
mov r9, qword [r14 + 0x80]
test r9, r9
je 0x140054342
movabs rax, 0x12c690db1d8b0b38
imul rax, qword [0x1400c7b98]
movabs rcx, 0xc28b9238f1f514d3
imul rcx, qword [0x1400c7ba0]
add rcx, rax
movabs rdx, 0xdd305362df6fea4f
add rdx, rcx
mov rcx, rbx
mov r8, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rdi, rax
sub rsi, rdi
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140054bf0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x10
lea rbp, [rsp + 0x10]
mov rax, qword [0x1400e2880]
xor rax, rbp
mov qword [rbp - 8], rax
imul eax, dword [0x1400c7c6c], 0x60f3f76d
mov rsi, rcx
imul ecx, dword [0x1400c7c70], 0x4de274a0
add eax, ecx
add eax, 0x2fae6521
shl rax, 5
call fcn.140095c50
sub rsp, rax
mov r14, rsp
imul eax, dword [0x1400c7c74], 0x91a60de6
imul ecx, dword [0x1400c7c78], 0x31caead3
add eax, ecx
add eax, 0x594f9efb
lea rax, [rax*8 + 0xf]
and rax, 0xfffffffffffffff0
call fcn.140095c50
sub rsp, rax
mov rbx, rsp
cmp qword [rsi + 0x68], 0
je 0x140054ca1
movzx edi, byte [rsi + 0x71]
sub rsp, 0x20
call fcn.14008c070
add rsp, 0x20
movzx eax, byte [0x1400c7c7c]
movzx ecx, byte [0x1400c7c7d]
shr cl, 3
shl al, 5
or al, cl
xor al, 0x87
cmp dil, al
jne 0x140054ca5
mov al, 1
jmp 0x140054cf3
imul eax, dword [0x1400c7c80], 0x15585529
imul ecx, dword [0x1400c7c84], 0x1af30803
mov r8, qword [rsi]
lea edx, [rax + rcx]
add edx, 0xa25fb4df
sub rsp, 0x20
mov rcx, rsi
call qword [r8 + 0x18]
add rsp, 0x20
mov edi, eax
sub rsp, 0x20
call fcn.14008c0e0
add rsp, 0x20
cdqe
lea rcx, [0x14009d0d4]
cmp edi, dword [rcx + rax*4]
jne 0x140054d15
xor eax, eax
mov ebx, eax
mov rcx, qword [rbp - 8]
xor rcx, rbp
sub rsp, 0x20
call fcn.140095cb0
add rsp, 0x20
mov eax, ebx
mov rsp, rbp
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov rdi, r14
mov rcx, qword [rsi + 0x68]
lea r9, [r14 + 0x20]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
sub rsp, 0x30
mov qword [rsp + 0x20], rbx
mov r8, r14
call qword [rax + 0x40]
add rsp, 0x30
test eax, eax
jle 0x140054d4e
cmp eax, 3
jge 0x140054e0b
cmp eax, 1
jne 0x140054cf1
jmp 0x140054d79
jne 0x140054cf1
sub rsp, 0x20
call fcn.14008c170
add rsp, 0x20
movzx eax, byte [0x1400c7c88]
movzx ecx, byte [0x1400c7c89]
imul eax, eax, 0x6a
imul ecx, ecx, 0xffffffa8
add cl, al
add cl, 0x76
mov byte [rsi + 0x71], cl
mov rbx, qword [rbx]
sub rbx, r14
je 0x140054dd9
mov r9, qword [rsi + 0x80]
movabs rax, 0xd057271e277fce6
imul rax, qword [0x1400c7c90]
movabs rcx, 0xeac864141d3ba25c
imul rcx, qword [0x1400c7c98]
add rcx, rax
movabs rdx, 0xb09c8601624547ed
add rdx, rcx
sub rsp, 0x20
mov rcx, rdi
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add rsp, 0x20
cmp rbx, rax
jne 0x140054cf1
movzx ebx, byte [rsi + 0x71]
sub rsp, 0x20
call fcn.14008c200
add rsp, 0x20
movzx eax, byte [0x1400c7ca0]
movzx ecx, byte [0x1400c7ca1]
shr cl, 1
shl al, 7
or al, cl
xor al, 0xe8
cmp bl, al
sete al
jmp 0x140054cf3
jne 0x140054cf1
sub rsp, 0x20
call fcn.14008c280
add rsp, 0x20
movzx eax, byte [0x1400c7ca2]
movzx ecx, byte [0x1400c7ca3]
imul eax, eax, 0xffffffd1
imul ecx, ecx, 0xffffffbe
add cl, al
add cl, 0xa0
mov byte [rsi + 0x71], cl
jmp 0x140054ca1
Function at 0x140096598
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400965e2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400965e2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400965e2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400965e2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400965e2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400965e4
xor al, al
add rsp, 0x28
ret
Function at 0x14007b51c
Capabilities:
Copy file
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x1ff88]
mov eax, 0x20080
call fcn.140048f00
sub rsp, rax
mov dil, r8b
mov rbx, rdx
mov esi, 0x7fff
lea r8, [rbp + 0xff80]
mov edx, esi
call fcn.14007c924
lea r8, [rbp - 0x80]
mov edx, esi
mov rcx, rbx
call fcn.14007c924
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x14007b5b1
test dil, dil
je 0x14007b5d3
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call fcn.14002952c
test eax, eax
je 0x14007b6a7
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14007b6a7
lea rcx, [rbp + 0xff80]
call fcn.14007cdc4
test al, al
je 0x14007b5d3
lea rcx, [rbp - 0x80]
call fcn.14007cdc4
test al, al
je 0x14007b5ee
test dil, dil
jne 0x14007b626
xor al, al
lea r11, [rsp + 0x20080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000d5e4
lea rcx, [rsp + 0x58]
call fcn.14007b9a8
test al, al
lea rcx, [rsp + 0x58]
sete bl
call fcn.140008b2c
test bl, bl
jne 0x14007b5d3
lea rcx, [rbp - 0x80]
call fcn.14007cdc4
test al, al
je 0x14007b5d3
lea rdx, str..
lea rcx, [rbp + 0xff80]
call fcn.14002dd08
lea rcx, [rbp + 0xff80]
call fcn.140028cc8
lea rcx, [rbp - 0x80]
mov word [rbp + rax*2 + 0xff82], si
call fcn.140028cc8
xorps xmm0, xmm0
mov dword [rsp + 0x44], esi
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rsi
movdqu xmmword [rsp + 0x48], xmm0
mov word [rbp + rax*2 - 0x7e], si
lea rax, [rbp + 0xff80]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov eax, 0x614
mov word [rsp + 0x40], ax
mov dword [rsp + 0x28], 2
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x14007b5d3
mov al, 1
jmp 0x14007b5d5
Function at 0x14007bb60
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x30]
mov r14b, dil
call fcn.1400080e8
lea rcx, [rsp + 0x70]
call fcn.1400080e8
lea rcx, [rsp + 0x50]
call fcn.1400080e8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000416c
mov rcx, qword [rsp + 0x30]
call fcn.14007cdc4
test al, al
je 0x14007bbd4
lea rdx, str..
lea rcx, [rsp + 0x30]
call fcn.140005e6c
xor r9d, r9d
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140005f3c
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov sil, 1
cmp rax, 0xffffffffffffffff
je 0x14007bc77
cmp sil, 1
jne 0x14007bc77
test byte [rbp - 0x70], 0x10
jne 0x14007bc56
lea rdx, [rsp + 0x70]
mov r14b, sil
lea rcx, [rsp + 0x30]
call fcn.14000caa8
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400066b4
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x30]
call fcn.140005e6c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x14007bc6c
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14007bc0b
mov sil, dil
jmp 0x14007bc0b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x14007bc83
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov dil, r14b
lea rcx, [rsp + 0x50]
call fcn.140008b2c
lea rcx, [rsp + 0x70]
call fcn.140008b2c
lea rcx, [rsp + 0x30]
call fcn.140008b2c
lea r11, [rsp + 0x2e0]
mov al, dil
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret