joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006f1c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180131010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180141060]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18006f233
mov eax, 0xa
jmp 0x18006f2c6
test esi, esi
je 0x18006f255
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18006f278
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18006f278
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18006f271
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18006f278
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18006fda0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x18006f2f0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x18014106c]
mov ebx, edi
test ecx, ecx
je 0x18006f42b
mov rax, qword [0x180141060]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18006f348
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18006f320
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18006f42b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.18006f010
mov r8d, dword [0x18014106c]
cmp ebx, r8d
jae 0x18006f3b8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180141060]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x18006f3b1
mov edx, esi
mov ecx, ebx
call fcn.18006f1c0
mov edi, eax
test eax, eax
jne 0x18006f3b8
mov r8d, dword [0x18014106c]
inc ebx
cmp ebx, r8d
jb 0x18006f380
cmp qword [rsp + 0x20], 0
je 0x18006f42b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18006f417
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18006f408
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18006f3e0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180140c28]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18009a018
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18009a09c
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800d5e60]
cmp byte [rcx + rax], 0
je 0x18009a09c
dec r8
sub rdx, 1
jne 0x18009a082
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400029b8
Capabilities:
Parse pe header

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

Function at 0x14000bd20
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000bb1c
Function at 0x14001114c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14001117c
xor eax, eax
jmp 0x14001123f
mov rbp, rbx
cmp word [rax], si
je 0x1400111a1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140011188
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140011184
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14001106c
movsxd r14, eax
test eax, eax
jne 0x1400111df
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140011175
mov rcx, r14
call fcn.14000d80c
mov rdi, rax
test rax, rax
jne 0x1400111f8
xor ecx, ecx
call fcn.14000cb94
jmp 0x1400111d4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14001106c
test eax, eax
jne 0x140011229
mov rcx, rdi
call fcn.14000cb94
jmp 0x140011233
xor ecx, ecx
call fcn.14000cb94
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140015528
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001553e
mov al, 1
jmp 0x14001559e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001554f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001559c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400119b4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001559c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001559c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001559c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001559e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400166a0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14001013c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001672a
cmp byte [rbp - 0x21], r15b
je 0x140016725
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140016760
call fcn.14000cde4
test eax, eax
jne 0x14001674c
cmp byte [rbp - 0x21], r15b
je 0x140016744
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140016760
cmp byte [rbp - 0x21], r15b
je 0x14001675d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000f71c
test eax, eax
jne 0x140016800
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001013c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001679f
cmp byte [rbp - 0x21], r15b
je 0x1400167d4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400167d4
call fcn.14000cde4
test eax, eax
jne 0x1400167c0
cmp byte [rbp - 0x21], r15b
je 0x1400167b9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400167d4
cmp byte [rbp - 0x21], r15b
je 0x1400167d1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000f71c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140016800
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140016803
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140016811
mov rcx, rdi
call fcn.14000cb94
cmp byte [rbp + 0x3f], r15b
je 0x140016820
mov rcx, qword [rbp + 0x27]
call fcn.14000cb94
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140018d90
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140018db8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140018db8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001780
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400044a8]
jne 0x14000178b
repz ret
jmp 0x140001ae0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400065b0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400066a8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140001b65
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400065b0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140001b87
mov rax, qword [rsp + 0x88]
mov qword [0x1400066a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140006648], rax
mov rax, qword [0x1400066a8]
mov qword [0x140006520], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140006630], rax
mov dword [0x140006510], 0xc0000409
mov dword [0x140006514], 1
mov rax, qword [0x1400044a8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140006258]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400065a8], eax
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400044b0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400065a8], 0
jne 0x140001c0e
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x1400022d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov rbp, rsp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1400044a8]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov rdi, rcx
mov rsi, rdx
lea rcx, [rsp + 0x22]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], bx
call sub.MSVCR100.dll_memset
lea r8d, [rbx + 0x2b]
lea rdx, [rsp + 0x20]
xor r9d, r9d
xor ecx, ecx
mov word [rdi], bx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14000234a
cmp word [rsp + 0x20], bx
je 0x14000234a
lea rdx, [0x1400046e8]
lea rcx, [rsp + 0x20]
mov r9, rsi
mov r8, rdi
call fcn.1400021dc
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.140001780
mov rbx, qword [rsp + 0x270]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400023d8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
mov rbp, rsp
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x1400044a8]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r15d, r15d
lea rax, [r11 - 0x50]
mov r14, r9
mov rsi, r8
mov r9d, 0x20019
xor r8d, r8d
mov qword [r11 - 0x68], rax
mov edi, 0x16
mov qword [r11 - 0x50], r15
mov ebx, r15d
mov dword [r11 - 0x58], r15d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400024bc
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400024bc
mov ecx, dword [rsp + 0x30]
add rcx, rcx
call qword [sym.imp.MSVCR100.dll_malloc]
mov rbx, rax
test rax, rax
je 0x1400024bc
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400024bc
mov eax, dword [rsp + 0x30]
mov rdx, qword [rbp + 0x30]
mov r8, rbx
shr rax, 1
mov rcx, r14
mov word [rbx + rax*2 - 2], r15w
mov r9d, dword [rsp + 0x30]
call qword [sym.imp.MSVCR100.dll_wcsncpy_s]
mov edi, eax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400024d1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], r15
test rbx, rbx
je 0x1400024df
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_free]
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001780
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x1400024fc
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x370
mov rax, qword [0x1400044a8]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor ebx, ebx
cmp dword [rsp + 0x34], 6
jne 0x1400025aa
cmp dword [rsp + 0x38], ebx
jne 0x14000259e
mov edi, 0x104
lea rcx, [rsp + 0x150]
xor edx, edx
mov r8d, edi
call sub.MSVCR100.dll_memset
lea r9, [rsp + 0x150]
lea r8, str.CurrentVersion
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rdi
call fcn.1400023d8
lea ecx, [rbx + 4]
lea rsi, [rsp + 0x150]
lea rdi, [0x140004790]
repe cmpsw word [rsi], word [rdi]
setne bl
jmp 0x1400025b1
cmp dword [rsp + 0x38], 2
jae 0x1400025ac
cmp dword [rsp + 0x34], 6
jbe 0x1400025b1
mov ebx, 1
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140001780
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140853276
Capabilities:
Encode data using base64

Disassembly:
cmp ebx, 4
jne 0x140845bd4
mov r9, rax
jmp 0x140829b95
push rax
mov eax, 0x46977524
not ax
neg al
mov rax, qword [rbp + rbx*8 + 0x20]
jne 0x140829b94
call fcn.140813014
push 0xffffffffb01a9438
lea rsp, [rsp + 0x10]
jne 0x14081234e
mov r8, rax
jmp 0x14084968e
Function at 0x140072f88
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.140038b30
sub rsp, rax
mov dil, r8b
mov rbx, rdx
mov esi, 0x7fff
lea r8, [rbp + 0xff80]
mov edx, esi
call fcn.14007441c
lea r8, [rbp - 0x80]
mov edx, esi
mov rcx, rbx
call fcn.14007441c
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.DLL_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x140073022
test dil, dil
je 0x14007301b
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call fcn.140027784
test eax, eax
je 0x140073014
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.DLL_MoveFileW]
mov al, 1
jmp 0x1400730c6
xor al, al
jmp 0x1400730c6
lea rcx, [rbp + 0xff80]
call fcn.14007492c
test al, al
je 0x14007301b
lea rcx, [rbp - 0x80]
call fcn.14007492c
test al, al
je 0x1400730df
test dil, dil
je 0x14007301b
lea rdx, str..
lea rcx, [rbp + 0xff80]
call fcn.140026cec
lea rcx, [rbp + 0xff80]
call fcn.140026b28
lea rcx, [rbp - 0x80]
mov word [rbp + rax*2 + 0xff82], si
call fcn.140026b28
lea rcx, [rsp + 0x20]
xorps xmm0, xmm0
mov word [rbp + rax*2 - 0x7e], si
lea rax, [rbp + 0xff80]
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov dword [rsp + 0x44], esi
mov qword [rsp + 0x38], rax
mov eax, 0x614
mov qword [rsp + 0x20], rsi
mov word [rsp + 0x40], ax
mov dword [rsp + 0x28], 2
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete 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.14001f0bc
lea rcx, [rsp + 0x58]
call fcn.1400733f4
lea rcx, [rsp + 0x58]
test al, al
sete bl
call fcn.14001c29c
test bl, bl
jne 0x14007301b
lea rcx, [rbp - 0x80]
call fcn.14007492c
test al, al
jmp 0x140073046
Function at 0x14007351c
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
lea rcx, [rsp + 0x30]
xor edi, edi
mov r14b, dil
call fcn.14001e640
lea rcx, [rsp + 0x70]
call fcn.14001e640
lea rcx, [rsp + 0x50]
call fcn.14001e640
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001a41c
mov rcx, qword [rsp + 0x30]
call fcn.14007492c
test al, al
je 0x140073590
lea rdx, str..
lea rcx, [rsp + 0x30]
call fcn.14001ef20
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
call fcn.14001a1cc
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov sil, 1
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140073633
cmp sil, 1
jne 0x140073633
test byte [rbp - 0x70], 0x10
jne 0x140073612
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
mov r14b, sil
call fcn.14001f350
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14001ec60
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x30]
call fcn.14001ef20
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp eax, 1
jne 0x140073628
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x1400735c7
mov sil, dil
jmp 0x1400735c7
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FindClose]
jmp 0x14007363f
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov dil, r14b
lea rcx, [rsp + 0x50]
call fcn.14001c29c
lea rcx, [rsp + 0x70]
call fcn.14001c29c
lea rcx, [rsp + 0x30]
call fcn.14001c29c
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
Function at 0x1400112b7
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140016f20
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140016f40
xor al, al
jmp 0x140016fc1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140016f53
xor al, al
jmp 0x140016fc1
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 0x140016f7d
xor al, al
jmp 0x140016fc1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140016f91
xor al, al
jmp 0x140016fc1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140016fa3
xor al, al
jmp 0x140016fc1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140016fbf
xor al, al
jmp 0x140016fc1
mov al, 1
add rsp, 0x38
ret
Function at 0x140002e38
Capabilities:
Encode data using xor

Disassembly:
and al, 0xd0
add byte [rax], al
add byte [rax - 0x77], cl
xchg esp, eax
and al, 8
add dword [rax], eax
add byte [rax + 0x69], cl
shl eax, 1
add byte [rax], al
add byte [rcx - 0x77], cl
ret 0x149

Function at 0x140003790
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
lea rax, [fcn.140003790]
mov ecx, dword [rsp + 0x24]
mov edx, ecx
and edx, 0x4ba75a8
mov dword [rsp + 0x24], edx
mov dword [rsp + 0x10], ecx
mov qword [rsp + 8], rax
jmp 0x1400037e6

Function at 0x1400037e8
Capabilities:
Parse pe header

Disassembly:
mov ax, word [rsp + 0x16]
and ax, 0xbbea
mov word [rsp + 0x16], ax
mov rcx, qword [rsp]
add rcx, 0xfffffffffffff000
and rcx, 0xfffffffffffff000
mov qword [rsp + 8], rcx
jmp 0x1400037e6
invalid
mov rax, qword [rsp]
add rsp, 0x28
ret
mov rax, qword [rsp + 8]
and al, 8
mov cx, word [rsp + 0x16]
and cx, 0x458b
mov word [rsp + 0x16], cx
mov dl, byte [rsp + 0x15]
and dl, 0x7c
mov byte [rsp + 0x15], dl
adc eax, 0x4d388166
pop rdx
mov qword [rsp], rax
jne 0x1400037b6
imul ax, word [rsp + 0x16], 0xda60
mov word [rsp + 0x16], ax
mov cl, byte [rsp + 0x15]
add cl, byte [rsp + 0x15]
mov byte [rsp + 0x15], cl
mov rdx, qword [rsp]
movsxd r8, dword [rdx + 0x3c]
mov qword [rsp + 0x18], 0xffffffffed4fc748
mov r9d, dword [rsp + 0x10]
add r9d, r9d
mov dword [rsp + 0x24], r9d
mov cl, byte [rsp + 0x15]
add cl, byte [rsp + 0x15]
mov r9d, dword [rdx + r8]
mov byte [rsp + 0x15], cl
cmp r9d, 0x4550
je 0x1400037dd
jmp 0x1400037b6

Function at 0x140003fa4
Capabilities:
Encode data using xor

Disassembly:
add byte [rbp + 0x20], al
fiadd dword [rcx - 0xa]
ret 0xf01