joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140045fd9
Capabilities:
Reference wmi statements

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
and qword [rsp + 0x38], 0
nop
push rdx
pop rsi
nop
push rcx
pop rdi
cmp qword [rdx + 0x10], 0
je 0x14004609d
lea rcx, [0x1400b84c2]
call sub.OLEAUT32.dll_SysAllocString
push rax
nop
pop rbx
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.OLEAUT32.dll_SysAllocString
mov r14, rax
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
and qword [rsp + 0x20], 0
nop
push rbx
pop rdx
mov r8, r14
mov r9d, 0x30
call qword [rax + 0xa0]
mov ebp, eax
push rbx
pop rcx
nop
call sub.OLEAUT32.dll_SysFreeString
mov rcx, r14
call sub.OLEAUT32.dll_SysFreeString
or ebp, ebp
js 0x14004609d
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x28]
call fcn.140040d12
mov qword [rsi + 0x20], 1
mov qword [rsi + 0x28], rbx
mov rax, qword [rsi + 0x30]
mov qword [rdi + 0x30], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rax, qword [rsi + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rsi + 0x28]
mov qword [rdi + 0x28], rax
jmp 0x1400460ac
mov qword [rdi], 2
nop
push rsi
pop rcx
call fcn.140040c96
nop
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x1400474a0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400482b0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400482b0
mov rdx, r12
push rax
nop
pop rcx
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x140047510
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x1400bf1b4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
or edi, edi
jle 0x1400476c0
mov rax, qword [0x1400bf1b8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14004755c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1400475e7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x140047540
mov rcx, r12
call fcn.140047fc0
push rax
pop rbp
nop
test rax, rax
je 0x14004771d
mov rax, qword [0x1400bf1b8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.1400480f0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1400bf1b8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140047702
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400475e0
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140047670
add dword [0x1400bf1b4], 1
cmp ebx, 8
jae 0x140047618
test bl, 4
jne 0x1400476d0
test ebx, ebx
je 0x140047609
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x1400476f0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x140047609
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x14004764a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x1400bf1b8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
or eax, eax
jne 0x1400475e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400474a0
xor edi, edi
jmp 0x140047567
mov eax, dword [rsi]
push rax
pop rax
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x140047609
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x140047609
mov rax, qword [0x1400bf1b8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.1400474a0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1400474a0
nop
nop dword [rax]
Function at 0x140047c30
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1400bf220]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400bf200]
test rbx, rbx
je 0x140047c84
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140047c7b
test r12, r12
je 0x140047c7b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
or rbx, rbx
jne 0x140047c60
lea rcx, [0x1400bf220]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140047fc0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x1400b9120]
sub r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140048039
mov rcx, r10
call fcn.140047e90
or eax, eax
je 0x140048039
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140048036
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
nop
push rdx
pop rax
cmp rcx, rdx
jb 0x14004802d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140048039
add r8, 0x28
cmp r8, r9
jne 0x140048018
sub r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x140473e42
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
lea rsp, [rsp + 0x10]
je 0x140473e9a
mov edi, 0x1a9c880a
ror di, 0x25
lea rdi, [0x1404604b0]
movzx esi, byte [rax]
xor esi, ecx
push 0xffffffff8f330003
shr word [rsp + 6], 8
and esi, 0xff
mov esi, dword [rdi + rsi*4]
shr ecx, 8
xor ecx, esi
inc rax
xor ecx, 0xbf8b5637
push 0x7e0e3610
dec r9
lea rsp, [rsp + 0x10]
jne 0x140473e60
call fcn.14044a110
add rdi, 6
shrd ebp, edx, cl
mov dword [rdi], ebp
lea rsp, [rsp + 8]
jmp fcn.14044fc85
Function at 0x140001c10
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x14006b008]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov esi, edx
mov rdi, rcx
xor edx, edx
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.140008710
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], 0
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x34], 0x208
lea rdx, [0x140054620]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001cc6
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x40]
xor r8d, r8d
lea rdx, [0x140054608]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140001cc6
lea ebx, [rax + 1]
jmp 0x140001cc8
xor ebx, ebx
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001cd8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140001d3a
cmp dword [rsp + 0x30], 2
jne 0x140001cfd
mov r8d, 0x103
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x140001d3a
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x140001d3a
lea rcx, [0x140054678]
mov rdx, rsi
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
mov rcx, rdi
lea r8, [0x140054690]
call fcn.140004810
test eax, eax
js 0x140001d3a
mov eax, 1
jmp 0x140001d3c
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400074e0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140002800
Capabilities:
Check if file exists
Copy file

Disassembly:
push rbx
push rbp
push r14
push r15
sub rsp, 0x4c8
mov rax, qword [0x14006b008]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
lea rax, str.CertificateValidation.dll
mov rbp, r8
mov qword [rsp + 0x70], rax
lea rbx, str.libsbb.dll
lea rax, str.Lenovo.CertificateValidation.Native.dll
mov qword [rsp + 0x68], rbx
mov r14, rdx
mov qword [rsp + 0x78], rax
mov r15, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x80]
call fcn.140008710
xor edx, edx
lea rcx, [rsp + 0x290]
mov r8d, 0x208
call fcn.140008710
test r14, r14
je 0x1400029b7
test rbp, rbp
je 0x1400029b7
mov qword [rsp + 0x508], rsi
mov qword [rsp + 0x4c0], rdi
lea rdi, [rsp + 0x68]
mov qword [rsp + 0x4b8], r12
xor r12d, r12d
mov qword [rsp + 0x4b0], r13
mov esi, r12d
mov r13d, 0x614
nop word [rax + rax]
mov r9, r14
mov qword [rsp + 0x20], rbx
lea r8, [0x1400548e0]
mov edx, 0x104
lea rcx, [rsp + 0x80]
call fcn.140004810
test eax, eax
js 0x140002990
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140002990
mov r9, rbp
mov qword [rsp + 0x20], rbx
lea r8, [0x1400548f0]
mov edx, 0x104
lea rcx, [rsp + 0x290]
call fcn.140004810
test eax, eax
js 0x140002990
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], 2
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
lea rax, [rsp + 0x290]
mov dword [rsp + 0x62], r12d
xorps xmm0, xmm0
mov qword [rsp + 0x48], rax
movdqu xmmword [rsp + 0x52], xmm0
mov word [rsp + 0x66], r12w
mov qword [rsp + 0x30], r15
mov word [rsp + 0x50], r13w
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
mov ecx, r12d
sete cl
test eax, eax
jne 0x140002993
inc esi
add rdi, 8
cmp esi, 3
jae 0x140002993
mov rbx, qword [rdi]
jmp 0x1400028c0
mov ecx, r12d
mov r13, qword [rsp + 0x4b0]
mov eax, ecx
mov r12, qword [rsp + 0x4b8]
mov rdi, qword [rsp + 0x4c0]
mov rsi, qword [rsp + 0x508]
jmp 0x1400029b9
xor eax, eax
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1400074e0
add rsp, 0x4c8
pop r15
pop r14
pop rbp
pop rbx
ret
Function at 0x140004aa0
Capabilities:
Delete registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x14006b008]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
cmp rcx, 0xffffffff80000001
jne 0x140004bac
xor eax, eax
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x30], rax
xor ebx, ebx
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov dword [rsp + 0x50], eax
mov qword [r11 - 0x38], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
lea edx, [rbx + 0x2f]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140004b35
lea r8, [rsp + 0x3c]
xor ecx, ecx
lea rdx, str.SeRestorePrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x140004b35
lea r8, [rsp + 0x48]
xor ecx, ecx
lea rdx, str.SeBackupPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
lea eax, [rbx + 1]
jne 0x140004b37
mov eax, ebx
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x44], 2
mov dword [rsp + 0x50], 2
test eax, eax
je 0x140004b7b
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edi, 1
test eax, eax
jne 0x140004b7d
mov edi, ebx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140004b8d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
mov rdi, qword [rsp + 0x80]
je 0x140004bbf
mov rcx, rsi
call fcn.140005230
test eax, eax
je 0x140004bbf
mov eax, 1
jmp 0x140004bc1
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, 0xfffffffd
mov ebx, 0
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400074e0
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rsi
ret

Function at 0x140004cc0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
xor esi, esi
mov r14d, r8d
mov ebx, esi
mov rdi, rdx
mov rbp, rcx
nop word [rax + rax]
mov r9, rbp
mov dword [rsp + 0x20], ebx
lea r8, [0x140055290]
mov rdx, r14
mov rcx, rdi
call fcn.140004810
test eax, eax
js 0x140004d1a
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140004d24
inc ebx
cmp ebx, 0x3e8
jl 0x140004cf0
mov rbp, qword [rsp + 0x48]
cmp ebx, 0x3e8
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
setl sil
mov eax, esi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x140004d60
Capabilities:
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x6b0
mov rax, qword [0x14006b008]
xor rax, rsp
mov qword [rsp + 0x6a0], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x490]
mov r8d, 0x208
call fcn.140008710
xor edx, edx
lea rcx, [rsp + 0x280]
mov r8d, 0x208
call fcn.140008710
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x250
call fcn.140008710
mov r9, rdi
lea r8, [0x140055268]
mov edx, 0x104
lea rcx, [rsp + 0x490]
call fcn.140004810
test eax, eax
js 0x140004eb3
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x490]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140004eb3
lea rdx, [0x140055274]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x140004e7a
lea rdx, [0x140055278]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x140004e7a
lea rax, [rsp + 0x5c]
mov r9, rdi
lea r8, [0x140055280]
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x280]
call fcn.140004810
test eax, eax
js 0x140004e7a
test byte [rsp + 0x30], 0x10
lea rcx, [rsp + 0x280]
je 0x140004e6e
call fcn.140004d60
jmp 0x140004e7a
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140004e02
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x140004eb3
mov eax, 1
jmp 0x140004eb5
xor eax, eax
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.1400074e0
mov rbx, qword [rsp + 0x6c8]
add rsp, 0x6b0
pop rdi
ret
Function at 0x140004ee0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x8c0
mov rax, qword [0x14006b008]
xor rax, rsp
mov qword [rsp + 0x8b0], rax
mov rdi, rdx
mov r14, rcx
xor edx, edx
lea rcx, [rsp + 0x6a0]
mov r8d, 0x20a
mov esi, 1
call fcn.140008710
xor edx, edx
lea rcx, [rsp + 0x280]
mov r8d, 0x208
call fcn.140008710
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x250
call fcn.140008710
mov r9, r14
lea r8, [0x1400552a0]
mov edx, 0x105
lea rcx, [rsp + 0x6a0]
call fcn.140004810
xor r15d, r15d
test eax, eax
js 0x140005105
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x6a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140005105
mov qword [rsp + 0x900], rbx
nop word [rax + rax]
lea rdx, [0x14005528c]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x1400050c5
lea rdx, [0x1400552ac]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x1400050c5
lea rax, [rsp + 0x5c]
mov r9, r14
lea r8, [0x1400552b8]
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x280]
call fcn.140004810
test eax, eax
js 0x1400050c5
xor edx, edx
lea rcx, [rsp + 0x490]
mov r8d, 0x208
call fcn.140008710
test byte [rsp + 0x30], 0x10
lea rcx, [rsp + 0x280]
mov rdx, rdi
je 0x14000503e
call fcn.140004ee0
test eax, eax
jne 0x1400050c5
mov esi, r15d
jmp 0x1400050c5
call qword [sym.imp.KERNEL32.dll_DeleteFileTransactedW]
test eax, eax
jne 0x1400050c5
mov esi, r15d
mov ebx, r15d
nop
lea r9, [rsp + 0x280]
mov dword [rsp + 0x20], ebx
lea r8, [0x140055290]
mov edx, 0x104
lea rcx, [rsp + 0x490]
call fcn.140004810
test eax, eax
js 0x14000508b
lea rcx, [rsp + 0x490]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140005097
inc ebx
cmp ebx, 0x3e8
jl 0x140005050
jmp 0x1400050c5
cmp ebx, 0x3e8
jge 0x1400050c5
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x490]
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_MoveFileTransactedW]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140004fa0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x900]
test esi, esi
je 0x140005105
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryTransactedW]
test eax, eax
mov eax, 1
jne 0x140005108
mov eax, r15d
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.1400074e0
add rsp, 0x8c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002ffac
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002fd34
Function at 0x18001e7e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
lea r9, [rcx + 4]
lea r11, [rcx + 8]
mov ebx, 0x2bc2ade9
mov r10d, 0x26850ec
jmp 0x18001e820
mov rax, qword [rsp + 0x38]
mov esi, dword [rsp + 0x14]
mov dword [rax], esi
mov ebx, 0x91175735
nop word cs:[rax + rax]
nop
cmp ebx, 0xfc89710c
jg 0x18001e860
cmp ebx, 0xb8f10449
jg 0x18001e8f0
cmp ebx, 0x95ad2c3c
je 0x18001e977
cmp ebx, 0xb72087da
jne 0x18001e9c0
mov rax, qword [rsp + 0x30]
mov esi, dword [rsp + 0x10]
mov dword [rax], esi
mov ebx, 0x59238e08
jmp 0x18001e820
cmp ebx, 0x2bc2ade8
jg 0x18001e930
cmp ebx, 0xfc89710d
je 0x18001e98e
cmp ebx, 0x26850ec
jne 0x18001e820
mov ebx, dword [rsp + 0x10]
add ebx, 1
movzx ebx, bl
mov dword [rsp + 8], ebx
movsxd r13, dword [rsp + 8]
mov rsi, qword [rsp + 0x18]
mov ebp, dword [rsi + r13*4]
mov edi, dword [rsp + 0x14]
add edi, ebp
movzx edi, dil
mov dword [rsp + 0xc], edi
movsxd rdi, dword [rsp + 0xc]
mov rax, qword [rsp + 0x18]
mov ebx, dword [rax + rdi*4]
mov dword [rsi + r13*4], ebx
mov dword [rax + rdi*4], ebp
add ebx, ebp
movzx eax, bl
mov rsi, qword [rsp + 0x18]
mov eax, dword [rsi + rax*4]
movsxd rsi, dword [rsp + 4]
add rsi, rdx
mov qword [rsp + 0x40], rsi
mov rsi, qword [rsp + 0x40]
movzx esi, byte [rsi]
xor esi, eax
mov dword [rsp + 0x2c], esi
mov ebx, 0xb8f1044a
jmp 0x18001e820
cmp ebx, 0xb8f1044a
je 0x18001e9ab
cmp ebx, 0xf0ec7b7b
jne 0x18001e820
mov dword [rsp + 4], r12d
mov dword [rsp + 0x10], r14d
mov dword [rsp + 0x14], r15d
mov ebx, dword [rsp + 4]
cmp ebx, r8d
mov ebx, 0xb72087da
cmovl ebx, r10d
jmp 0x18001e820
cmp ebx, 0x59238e08
je 0x18001e805
cmp ebx, 0x2bc2ade9
jne 0x18001e820
mov qword [rsp + 0x30], rcx
mov rbx, qword [rsp + 0x30]
mov ebx, dword [rbx]
mov dword [rsp + 0x24], ebx
mov qword [rsp + 0x38], r9
mov rbx, qword [rsp + 0x38]
mov ebx, dword [rbx]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x18], r11
mov ebx, 0x95ad2c3c
jmp 0x18001e820
mov r14d, dword [rsp + 0x24]
mov ebx, 0xf0ec7b7b
xor r12d, r12d
mov r15d, dword [rsp + 0x28]
jmp 0x18001e820
mov r12d, dword [rsp + 4]
add r12d, 1
mov r14d, dword [rsp + 8]
mov ebx, 0xf0ec7b7b
mov r15d, dword [rsp + 0xc]
jmp 0x18001e820
mov eax, dword [rsp + 0x2c]
mov rsi, qword [rsp + 0x40]
mov byte [rsi], al
mov ebx, 0xfc89710d
jmp 0x18001e820
cmp ebx, 0x91175735
jne 0x18001e820
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x180030df0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x40
mov eax, 0xb831a452
mov r8d, 0x7fdce10c
jmp 0x180030e10
mov eax, 0xc0c92f62
mov r9, qword [rsp + 0x18]
nop dword [rax + rax]
cmp eax, 0xdbfa482a
jg 0x180030e40
cmp eax, 0xc0c92f61
jg 0x180030e70
cmp eax, 0x9921505a
je 0x180030e01
cmp eax, 0xb831a452
jne 0x180030fc9
mov eax, 0xdbfa482b
jmp 0x180030e10
cmp eax, 0x2e22ee1
jg 0x180030eb0
cmp eax, 0xdbfa482b
je 0x180030f7d
cmp eax, 0xfe730f3d
jne 0x180030e10
mov rax, qword [rsp + 0x20]
movzx edx, word [rsp + 6]
mov word [rax], dx
mov eax, 0x9921505a
jmp 0x180030e10
cmp eax, 0xc0c92f62
je 0x180030f8a
cmp eax, 0xd34b2fb5
jne 0x180030e10
mov rax, qword [rsp + 0x10]
mov word [rax + 0x86], 0
mov rax, qword [rsp + 0x10]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, 0xb795b955
jmp 0x180030e10
cmp eax, 0x2e22ee2
je 0x180030fa6
cmp eax, 0x7fdce10c
jne 0x180030e10
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
mov edx, 0x8ec1629e
nop
cmp edx, 0xd9f97795
je 0x180030fb5
cmp edx, 0x8ec1629e
jne 0x180030ef0
mov edx, 0x31e06469
nop dword [rax]
cmp edx, 0x45644e5d
je 0x180030f6a
cmp edx, 0x31e06469
jne 0x180030f10
mov qword [rsp + 0x38], rcx
mov edx, 0x4cb6a7b5
nop word [rax + rax]
cmp edx, 0x35092079
je 0x180030f54
cmp edx, 0x4cb6a7b5
jne 0x180030f30
mov rdx, qword [rsp + 0x38]
movzx edx, word [rdx]
mov word [rsp + 0xa], dx
mov edx, 0x35092079
jmp 0x180030f30
movzx edx, word [rsp + 0xa]
xor dx, ax
movzx edx, dx
mov dword [rsp + 0xc], edx
mov edx, 0x45644e5d
jmp 0x180030f10
mov edx, dword [rsp + 0xc]
mov word [rsp + 8], dx
mov edx, 0xd9f97795
jmp 0x180030ef0
mov eax, 0xc0c92f62
xor r9d, r9d
jmp 0x180030e10
mov qword [rsp + 0x28], r9
mov rax, qword [rsp + 0x28]
cmp rax, 0x42
mov eax, 0x2e22ee2
cmovb eax, r8d
jmp 0x180030e10
mov qword [rsp + 0x10], rcx
mov eax, 0xd34b2fb5
jmp 0x180030e10
movzx eax, word [rsp + 8]
mov word [rsp + 6], ax
mov eax, 0xfe730f3d
jmp 0x180030e10
cmp eax, 0xb795b955
jne 0x180030e10
mov rax, qword [rsp + 0x30]
add rsp, 0x40
ret
Function at 0x180031750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x40
mov eax, 0x30d11389
mov r8d, 0x19c56729
jmp 0x180031770
movzx eax, word [rsp + 2]
mov word [rsp], ax
mov eax, 0x95831896
nop
cmp eax, 0x159e3636
jg 0x1800317b0
cmp eax, 0x97c1de26
jle 0x1800317f0
cmp eax, 0x9b44ba62
je 0x180031850
cmp eax, 0xdb4bcb1a
jne 0x180031936
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov word [rax + 0x10], 0
mov eax, 0x9b44ba62
jmp 0x180031770
cmp eax, 0x30d11388
jg 0x180031830
cmp eax, 0x159e3637
je 0x180031864
cmp eax, 0x19c56729
jne 0x180031770
mov rax, qword [rsp + 0x20]
add rax, 1
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x18], rax
mov eax, 0x159e3637
jmp 0x180031770
cmp eax, 0x8b567bdf
je 0x18003190d
cmp eax, 0x95831896
jne 0x180031770
mov rax, qword [rsp + 0x18]
movzx edx, word [rsp]
mov word [rax], dx
mov eax, 0x39f2c8d7
mov r9, qword [rsp + 0x10]
jmp 0x180031770
cmp eax, 0x39f2c8d7
je 0x18003191a
cmp eax, 0x30d11389
jne 0x180031770
mov eax, 0x8b567bdf
jmp 0x180031770
mov rax, qword [rsp + 8]
mov qword [rsp + 0x28], rax
mov eax, 0x97c1de27
jmp 0x180031770
mov rax, qword [rsp + 0x18]
movzx eax, word [rax]
mov edx, 0x31ec629c
nop word cs:[rax + rax]
nop dword [rax + rax]
cmp edx, 0xc4471cba
je 0x180031761
cmp edx, 0x31ec629c
jne 0x180031880
mov edx, 0x46f491c2
nop dword [rax]
cmp edx, 0xe117043c
je 0x1800318fa
cmp edx, 0x46f491c2
jne 0x1800318a0
mov qword [rsp + 0x30], rcx
mov edx, 0x361de116
nop word [rax + rax]
cmp edx, 0x683d929e
je 0x1800318e1
cmp edx, 0x361de116
jne 0x1800318c0
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rdx
mov edx, 0x683d929e
jmp 0x1800318c0
mov rdx, qword [rsp + 0x38]
movzx edx, word [rdx]
xor dx, ax
movzx edx, dx
mov dword [rsp + 4], edx
mov edx, 0xe117043c
jmp 0x1800318a0
mov edx, dword [rsp + 4]
mov word [rsp + 2], dx
mov edx, 0xc4471cba
jmp 0x180031880
mov eax, 0x39f2c8d7
xor r9d, r9d
jmp 0x180031770
mov qword [rsp + 0x20], r9
mov rax, qword [rsp + 0x20]
cmp rax, 7
mov eax, 0xdb4bcb1a
cmovb eax, r8d
jmp 0x180031770
cmp eax, 0x97c1de27
jne 0x180031770
mov rax, qword [rsp + 0x28]
add rax, 2
add rsp, 0x40
ret