joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400032a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x40
mov rsi, rdx
mov ebp, ecx
xor r15d, r15d
mov edx, 0xfffe
mov rdi, r9
mov rbx, r8
lea ecx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rdi], rax
test rax, rax
je 0x140003460
mov edx, 0x20a
mov qword [rsp + 0x60], r14
lea ecx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
test rax, rax
je 0x14000345b
mov edx, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov rcx, qword [rdi]
lea rax, str.services.exe
mov qword [rsp + 0x38], rbx
lea r8, str._ws_ws__d___ws___ws
mov qword [rsp + 0x30], rsi
mov ebx, 0x7fff
mov edx, ebx
mov dword [rsp + 0x28], ebp
mov r9, r14
mov qword [rsp + 0x20], rax
call fcn.140001070
cmp dword [0x14000b688], r15d
je 0x1400033b9
mov rdx, qword [rdi]
mov ecx, ebx
mov rax, rdx
nop dword [rax]
cmp word [rax], r15w
je 0x140003360
add rax, 2
sub rcx, 1
jne 0x140003350
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140003435
lea rcx, [rdx + rax*2]
sub rbx, rax
je 0x140003426
lea r8, [0x140007a58]
mov eax, 0x7ffffffe
sub r8, rcx
nop
test rax, rax
je 0x140003426
movzx edx, word [r8 + rcx]
test dx, dx
je 0x140003426
mov word [rcx], dx
dec rax
add rcx, 2
sub rbx, 1
jne 0x140003390
jmp 0x140003426
cmp dword [0x14000b68c], r15d
je 0x140003435
mov rdx, qword [rdi]
mov rcx, rbx
mov rax, rdx
nop dword [rax + rax]
cmp word [rax], r15w
je 0x1400033e0
add rax, 2
sub rcx, 1
jne 0x1400033d0
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140003435
lea rcx, [rdx + rax*2]
sub rbx, rax
je 0x140003426
lea r8, [0x140007a60]
mov eax, 0x7ffffffe
sub r8, rcx
test rax, rax
je 0x140003426
movzx edx, word [r8 + rcx]
test dx, dx
je 0x140003426
mov word [rcx], dx
dec rax
add rcx, 2
sub rbx, 1
jne 0x140003407
test rbx, rbx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop rdi
pop rsi
ret
mov eax, r15d
jmp 0x140003443
mov eax, r15d
jmp 0x140003448
Function at 0x140003a70
Capabilities:
Get session user name

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
sub rsp, 0x278
mov rax, qword [0x14000b008]
xor rax, rsp
mov qword [rsp + 0x250], rax
cmp dword [0x14000b68c], 0
je 0x140003bee
mov qword [r11 - 8], rbx
lea rcx, [rsp + 0x40]
mov qword [r11 - 0x10], rsi
xor edx, edx
mov r8d, 0x202
mov qword [r11 - 0x18], rdi
xor ebx, ebx
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], pe_nt_image_headers64
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp dword [0x14000b688], ebx
lea rsi, [rsp + 0x288]
je 0x140003b06
lea rdx, [rsp + 0x40]
lea rcx, str.__ws_
call fcn.1400036a0
mov ebx, eax
add ebx, ebx
call fcn.140001000
mov r9, qword [rsp + 0x280]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rsp + 0x20], 0
mov rcx, qword [rax]
or rcx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
test eax, eax
mov ecx, 0xffffffff
cmovs eax, ecx
mov ecx, 0x40
inc eax
lea eax, [rbx + rax*2]
mov edx, eax
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140003bd6
cmp dword [0x14000b688], 0
je 0x140003b78
lea r9, [rsp + 0x40]
mov edx, edi
lea r8, str.__ws_
mov rcx, rax
call fcn.1400037c0
mov rcx, rdi
mov rax, rbx
shr rcx, 1
mov r8, rcx
je 0x140003b96
cmp word [rax], 0
je 0x140003b9b
add rax, 2
sub rcx, 1
jne 0x140003b86
test rcx, rcx
je 0x140003bcd
sub r8, rcx
mov r9, rsi
add r8, r8
sub rdi, r8
shr r8, 1
mov rdx, rdi
lea rcx, [rbx + r8*2]
mov r8, qword [rsp + 0x280]
call fcn.140003700
mov rdx, rbx
lea rcx, [0x140007518]
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rsi, qword [rsp + 0x268]
mov rbx, qword [rsp + 0x270]
mov rdi, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400043a0
add rsp, 0x278
ret
Function at 0x140003c10
Capabilities:
Get session user name

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
sub rsp, 0x278
mov rax, qword [0x14000b008]
xor rax, rsp
mov qword [rsp + 0x250], rax
cmp dword [0x14000b688], 0
je 0x140003d7c
mov qword [r11 - 8], rbx
lea rcx, [rsp + 0x40]
mov qword [r11 - 0x10], rsi
xor edx, edx
mov r8d, 0x202
mov qword [r11 - 0x18], rdi
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], pe_nt_image_headers64
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rdx, [rsp + 0x40]
lea rcx, str._DEBUG___ws_
lea rsi, [rsp + 0x288]
call fcn.1400036a0
mov ebx, eax
add ebx, ebx
call fcn.140001000
mov r9, qword [rsp + 0x280]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rsp + 0x20], 0
mov rcx, qword [rax]
or rcx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
test eax, eax
mov ecx, 0xffffffff
cmovs eax, ecx
add ebx, 2
mov ecx, 0x40
lea eax, [rbx + rax*2]
mov edx, eax
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140003d64
lea r9, [rsp + 0x40]
mov edx, edi
lea r8, str._DEBUG___ws_
mov rcx, rax
call fcn.1400037c0
mov r8d, edi
mov rcx, rbx
shr r8, 1
mov r10, r8
je 0x140003d24
cmp word [rcx], 0
je 0x140003d29
add rcx, 2
sub r8, 1
jne 0x140003d14
test r8, r8
je 0x140003d5b
sub r10, r8
mov r9, rsi
mov r8, qword [rsp + 0x280]
add r10, r10
sub rdi, r10
shr r10, 1
mov rdx, rdi
lea rcx, [rbx + r10*2]
call fcn.140003700
mov rdx, rbx
lea rcx, [0x140007518]
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rsi, qword [rsp + 0x268]
mov rbx, qword [rsp + 0x270]
mov rdi, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400043a0
add rsp, 0x278
ret
Function at 0x140003da0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x14000b008]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r12, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x238
xor edi, edi
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea ecx, [rdi + 2]
mov r15d, edi
mov ebp, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140003e0a
lea rcx, [0x140008460]
call fcn.1400038f0
jmp 0x140003eee
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140003e35
lea rcx, str.Process32First
call fcn.1400038f0
jmp 0x140003ee9
mov qword [rsp + 0x2b0], rbx
nop dword [rax]
mov rdx, rsi
lea rcx, [rsp + 0x4c]
mov ebx, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140003e8d
lea rax, [rsp + 0x4c]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], bx
jne 0x140003e60
inc rdx
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchRemoveExtension]
test eax, eax
jne 0x140003e97
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140003e97
mov r15d, dword [rsp + 0x28]
mov ebx, 1
lea eax, [rbp + 1]
test ebx, ebx
lea rdx, [rsp + 0x20]
mov rcx, r14
cmove eax, ebp
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140003e40
mov rbx, qword [rsp + 0x2b0]
test ebp, ebp
jne 0x140003ecd
lea rcx, str.____Failed_to_find_a_process_that_matches_the_provided_name._n
call fcn.140001010
jmp 0x140003ee9
cmp ebp, 1
jbe 0x140003ee0
lea rcx, str.____Found_more_than_one_process_that_matches_the_provided_name._Please_provide_a_PID_instead._n
call fcn.140001010
jmp 0x140003ee9
mov dword [r12], r15d
mov edi, 1
test r14, r14
je 0x140003ef7
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400043a0
mov rbp, qword [rsp + 0x2b8]
add rsp, 0x270
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140004140
Capabilities:
Get token privileges

Disassembly:
push rsi
push r12
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x14000b008]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor eax, eax
xor esi, esi
mov qword [rsp + 0x38], rax
mov r12d, r8d
mov dword [rsp + 0x40], eax
mov r14, rdx
xorps xmm0, xmm0
mov dword [rsp + 0x34], esi
lea rax, [rsp + 0x34]
mov dword [rsp + 0x30], esi
lea edx, [rsi + 3]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov r15, rcx
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x1400041ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1400041ba
lea rcx, [0x140008670]
call fcn.1400038f0
jmp 0x140004369
mov edx, dword [rsp + 0x34]
mov ecx, 0x40
mov qword [rsp + 0xa8], rbp
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbp, rax
test rax, rax
je 0x140004361
mov r9d, dword [rsp + 0x34]
lea rax, [rsp + 0x34]
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x140004212
lea rcx, [0x140008670]
call fcn.1400038f0
jmp 0x140004358
mov qword [rsp + 0x60], rdi
mov edi, esi
cmp dword [rbp], esi
jbe 0x140004353
mov qword [rsp + 0xa0], rbx
nop word [rax + rax]
mov eax, edi
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rax + rax*2]
movsd xmm0, qword [rbp + rcx*4 + 4]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [rbp + rcx*4 + 0xc]
xor ecx, ecx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x30], esi
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeNameW]
test eax, eax
jne 0x140004276
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140004338
mov eax, dword [rsp + 0x30]
mov ecx, 0x40
inc eax
mov edx, eax
add rdx, rdx
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14000432b
lea r9, [rsp + 0x30]
mov r8, rax
lea rdx, [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeNameW]
test eax, eax
je 0x140004316
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140004322
test r12d, r12d
je 0x140004346
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x28], rsi
mov r9d, 0x10
xor edx, edx
mov qword [rsp + 0x4c], rax
mov rcx, r15
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x54], 2
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140004346
lea rcx, [0x140008728]
call fcn.1400038f0
jmp 0x14000434b
lea rcx, str.LookupPrivilegeName
call fcn.1400038f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
inc edi
cmp edi, dword [rbp]
jb 0x140004230
jmp 0x14000434b
lea rcx, str.LookupPrivilegeName
call fcn.1400038f0
jmp 0x14000434b
mov esi, 1
mov rbx, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbp, qword [rsp + 0xa8]
mov eax, esi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400043a0
add rsp, 0x68
pop r15
pop r14
pop r12
pop rsi
ret
Function at 0x180001b40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x40
mov rbx, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x38], 0xffffffffffffffff
xor edi, edi
mov qword [rsp + 0x30], rdi
cmp dword [0x180108694], edi
jne 0x180001c27
mov eax, dword [0x180108690]
test eax, eax
jne 0x180001c27
mov r8d, dword [0x18010869c]
test r8d, r8d
je 0x180001bb6
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180108690]
mov r8d, dword [0x18010869c]
test eax, eax
jne 0x180001c27
test r8d, r8d
jne 0x180001bc8
call fcn.1800021b0
test eax, eax
je 0x180001bde
lea rdx, [rsp + 0x30]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x180001c27
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x180001c1d
cmp eax, 0x78
je 0x180001c1d
cmp eax, 1
je 0x180001c1d
cmp eax, 0x32
je 0x180001c1d
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret
mov dword [0x180108690], 1
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, rsi
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_DialogBoxParamA]
mov rsi, rax
mov qword [rsp + 0x38], rax
cmp dword [0x180108694], 0
je 0x180001c5d
cmp dword [0x180108690], 0
jne 0x180001c8b
mov ebx, edi
cmp rsi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x180001c72
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x180001c8b
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x180001c02
Function at 0x180004250
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor ebx, ebx
mov r15, r9
mov qword [r9], rbx
mov ebp, r8d
mov edi, edx
mov rsi, rcx
cmp edx, 0x53545220
jne 0x18000432b
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x100
call fcn.18007d940
xor ecx, ecx
call fcn.1800028f0
mov rcx, rax
lea r8, [rsp + 0x50]
mov r9d, 0xff
mov edx, ebp
call qword [sym.imp.USER32.dll_LoadStringA]
movsxd rdi, eax
test eax, eax
je 0x180004443
lea rdx, [rdi + 2]
mov rcx, rsi
call fcn.180004b20
mov rbx, rax
test rax, rax
je 0x180004443
mov r8b, 1
mov rdx, rax
mov rcx, rsi
call fcn.180004a00
mov r14, rax
test rax, rax
je 0x180004443
lea rcx, [rax + 1]
mov r8, rdi
lea rdx, [rsp + 0x50]
call fcn.180003f90
mov byte [r14], dil
mov rdx, rbx
mov byte [rdi + r14 + 1], 0
mov rcx, rsi
add rdi, 2
call fcn.180004e10
jmp 0x180004443
movzx eax, word [0x1800dfeb0]
lea rcx, [rsp + 0x53]
mov word [rsp + 0x50], ax
xor edx, edx
movzx eax, byte [0x1800dfeb2]
mov r8d, 0xfd
mov byte [rsp + 0x52], al
call fcn.18007d940
mov r8d, 0xa
lea rdx, [rsp + 0x28]
mov ecx, ebp
call fcn.18008b420
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.180004d70
mov eax, dword [0x1800dfeb4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov ecx, edi
movzx eax, byte [0x1800dfeb8]
mov byte [rsp + 0x24], al
call fcn.1800051a0
xor ecx, ecx
call fcn.1800028f0
mov rcx, rax
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
je 0x180004446
xor ecx, ecx
call fcn.1800028f0
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
mov r14, rax
call fcn.1800028f0
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x18000443a
mov edx, edi
mov rcx, rsi
call fcn.180004b20
mov rbx, rax
test rax, rax
je 0x18000443a
mov r8b, 1
mov rdx, rax
mov rcx, rsi
call fcn.180004a00
mov rbp, rax
test rax, rax
je 0x18000443a
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x18000442f
mov r8d, edi
mov rdx, rax
mov rcx, rbp
call fcn.180003f90
mov rdx, rbx
mov rcx, rsi
call fcn.180004e10
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov qword [r15], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18007b2f0
mov rbx, qword [rsp + 0x198]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000d5b0
Capabilities:
Delete file

Disassembly:
test rcx, rcx
je 0x18000d70a
push rbx
sub rsp, 0x430
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rbx, rcx
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x18000d5e0
test eax, eax
jle 0x18000d6f2
cmp eax, 7
jle 0x18000d624
add rcx, 0xfffffffffffffffa
mov qword [rsp + 0x448], rdi
movsxd rdi, eax
lea rdx, str.dgtpst
add rcx, rdi
call fcn.1800a5f7c
test eax, eax
jne 0x18000d61c
mov byte [rdi + rbx - 7], al
mov rdi, qword [rsp + 0x448]
xor ecx, ecx
lea rdx, [0x180109460]
nop dword [rax]
movzx eax, byte [rcx + rdx]
mov byte [rsp + rcx + 0x20], al
lea rcx, [rcx + 1]
test al, al
jne 0x18000d630
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000d650
mov eax, dword [str.User_]
mov dword [rcx], eax
movzx eax, word [0x1800e037c]
mov word [rcx + 4], ax
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000d675
xor edx, edx
movzx eax, byte [rbx + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x18000d681
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000d6a0
movzx eax, word [0x1800e0380]
mov word [rcx], ax
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000d6c0
mov eax, dword [str.dgtpst]
mov dword [rcx], eax
movzx eax, word [0x1800e036c]
mov word [rcx + 4], ax
movzx eax, byte [0x1800e036e]
mov byte [rcx + 6], al
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.18007b2f0
add rsp, 0x430
pop rbx
ret
Function at 0x18000d5b9
Capabilities:
Delete file
Encrypt data using rc4 prga

Disassembly:
test rcx, rcx
je 0x18000d70a
push rbx
sub rsp, 0x430
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rbx, rcx
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x18000d5e0
test eax, eax
jle 0x18000d6f2
cmp eax, 7
jle 0x18000d624
add rcx, 0xfffffffffffffffa
mov qword [rsp + 0x448], rdi
movsxd rdi, eax
lea rdx, str.dgtpst
add rcx, rdi
call fcn.1800a5f7c
test eax, eax
jne 0x18000d61c
mov byte [rdi + rbx - 7], al
mov rdi, qword [rsp + 0x448]
xor ecx, ecx
lea rdx, [0x180109460]
nop dword [rax]
movzx eax, byte [rcx + rdx]
mov byte [rsp + rcx + 0x20], al
lea rcx, [rcx + 1]
test al, al
jne 0x18000d630
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000d650
mov eax, dword [str.User_]
mov dword [rcx], eax
movzx eax, word [0x1800e037c]
mov word [rcx + 4], ax
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000d675
xor edx, edx
movzx eax, byte [rbx + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x18000d681
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000d6a0
movzx eax, word [0x1800e0380]
mov word [rcx], ax
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000d6c0
mov eax, dword [str.dgtpst]
mov dword [rcx], eax
movzx eax, word [0x1800e036c]
mov word [rcx + 4], ax
movzx eax, byte [0x1800e036e]
mov byte [rcx + 6], al
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.18007b2f0
add rsp, 0x430
pop rbx
ret

Function at 0x18000d7a0
Capabilities:
Write file on windows

Disassembly:
test rdx, rdx
je 0x18000d87b
push rbx
sub rsp, 0x130
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rsp + 0x120], rax
cmp byte [rdx], 0x3b
mov r10, rdx
mov rbx, rcx
jne 0x18000d7e4
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x18000d7d5
mov rcx, r10
jmp 0x18000d83f
mov eax, 0x3b
lea rcx, [rsp + 0x20]
mov word [rsp + 0x20], ax
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000d7f6
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r10 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x18000d810
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18000d830
lea rcx, [rsp + 0x20]
mov r9, rbx
mov edx, 1
call fcn.1800ad2dc
mov edx, 1
lea rcx, [0x1800e03b8]
mov r8d, edx
mov r9, rbx
call fcn.1800ad2dc
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.18007b2f0
add rsp, 0x130
pop rbx
ret
Function at 0x18000d7a9
Capabilities:
Write file on windows

Disassembly:
test rdx, rdx
je 0x18000d87b
push rbx
sub rsp, 0x130
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rsp + 0x120], rax
cmp byte [rdx], 0x3b
mov r10, rdx
mov rbx, rcx
jne 0x18000d7e4
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x18000d7d5
mov rcx, r10
jmp 0x18000d83f
mov eax, 0x3b
lea rcx, [rsp + 0x20]
mov word [rsp + 0x20], ax
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000d7f6
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r10 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x18000d810
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18000d830
lea rcx, [rsp + 0x20]
mov r9, rbx
mov edx, 1
call fcn.1800ad2dc
mov edx, 1
lea rcx, [0x1800e03b8]
mov r8d, edx
mov r9, rbx
call fcn.1800ad2dc
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.18007b2f0
add rsp, 0x130
pop rbx
ret

Function at 0x18000d880
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x450
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rax, qword [rsp + 0x480]
lea r8, [rsp + 0x30]
mov rbx, rcx
mov dword [rsp + 0x30], edx
lea rdx, str._s__.2f__s__n
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x40]
mov byte [rsp + 0x34], 0
movq r9, xmm3
call fcn.180002390
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18000d8e0
mov r9, rbx
lea rcx, [rsp + 0x40]
mov edx, 1
call fcn.1800ad2dc
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.18007b2f0
add rsp, 0x450
pop rbx
ret

Function at 0x18000d940
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x450
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov qword [rsp + 0x20], r9
mov rbx, rcx
mov r9d, r8d
mov dword [rsp + 0x30], edx
lea r8, [rsp + 0x30]
mov byte [rsp + 0x34], 0
lea rdx, str._s__d__s_n
lea rcx, [rsp + 0x40]
call fcn.180002390
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18000d991
mov r9, rbx
lea rcx, [rsp + 0x40]
mov edx, 1
call fcn.1800ad2dc
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.18007b2f0
add rsp, 0x450
pop rbx
ret

Function at 0x18000d9d0
Capabilities:
Write file on windows

Disassembly:
test r8, r8
je 0x18000da64
push rbx
sub rsp, 0x450
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov qword [rsp + 0x20], r9
mov rbx, rcx
mov r9, r8
mov dword [rsp + 0x30], edx
lea r8, [rsp + 0x30]
mov byte [rsp + 0x34], 0
lea rdx, str._s__s__s__n
lea rcx, [rsp + 0x40]
call fcn.180002390
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18000da30
mov r9, rbx
lea rcx, [rsp + 0x40]
mov edx, 1
call fcn.1800ad2dc
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.18007b2f0
add rsp, 0x450
pop rbx
ret
Function at 0x18000d9d9
Capabilities:
Write file on windows

Disassembly:
test r8, r8
je 0x18000da64
push rbx
sub rsp, 0x450
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov qword [rsp + 0x20], r9
mov rbx, rcx
mov r9, r8
mov dword [rsp + 0x30], edx
lea r8, [rsp + 0x30]
mov byte [rsp + 0x34], 0
lea rdx, str._s__s__s__n
lea rcx, [rsp + 0x40]
call fcn.180002390
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18000da30
mov r9, rbx
lea rcx, [rsp + 0x40]
mov edx, 1
call fcn.1800ad2dc
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.18007b2f0
add rsp, 0x450
pop rbx
ret