joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140095d40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140095f75
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rsp + 0x70], rax
xor ecx, ecx
xor edx, edx
xor esi, esi
xor edi, edi
xor r8d, r8d
jmp 0x140095d80
dec rbx
mov r10, rbx
neg r10
sar r10, 0x3f
and r10d, 1
add rax, r10
mov rcx, r9
nop dword [rax + rax]
test rbx, rbx
je 0x140095f5a
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x46], r8b
mov qword [rsp + 0x50], rbx
movzx r9d, byte [rax]
mov byte [rsp + 0x47], r9b
cmp r9b, 0x20
jbe 0x140095eb6
cmp r9b, 0x22
je 0x140095dc2
cmp r9b, 0x5c
jne 0x140095ecb
lea r9, [rcx + 1]
nop
jmp 0x140095d64
mov qword [rsp + 0x48], rcx
mov r8, rcx
shr rcx, 0x3f
lea r9, [rcx + r8]
sar r9, 1
mov rax, rdi
mov rbx, rsi
mov rcx, rdx
mov rdi, r9
call fcn.140095ca0
mov rdx, qword [rsp + 0x48]
bt edx, 0
jb 0x140095e6a
movzx edx, byte [rsp + 0x46]
test dl, dl
je 0x140095e5b
mov r8, qword [rsp + 0x50]
nop
cmp r8, 1
jle 0x140095e51
mov r9, qword [rsp + 0x58]
cmp byte [r9 + 1], 0x22
jne 0x140095e49
inc rbx
cmp rcx, rbx
jae 0x140095e3a
mov edi, 1
lea rsi, [0x1400b76c0]
call fcn.14006a7e0
movzx edx, byte [rsp + 0x46]
mov r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x58]
mov byte [rbx + rax - 1], 0x22
lea rsi, [r8 - 1]
lea r8, [r9 + 1]
jmp 0x140095e65
mov rsi, r8
mov r8, r9
jmp 0x140095e65
mov rsi, r8
mov r8, qword [rsp + 0x58]
jmp 0x140095e65
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
xor edx, 1
jmp 0x140095e99
inc rbx
cmp rcx, rbx
jae 0x140095e85
mov edi, 1
lea rsi, [0x1400b76c0]
nop
call fcn.14006a7e0
mov byte [rbx + rax - 1], 0x22
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
movzx edx, byte [rsp + 0x46]
xor r9d, r9d
mov rdi, rax
mov rax, r8
mov r8d, edx
mov rdx, rcx
mov r10, rbx
mov rbx, rsi
mov rsi, r10
jmp 0x140095d64
cmp r9b, 9
je 0x140095ec6
nop dword [rax]
cmp r9b, 0x20
jne 0x140095ecb
test r8b, r8b
je 0x140095f25
mov rax, rdi
mov rbx, rsi
mov rdi, rcx
mov rcx, rdx
call fcn.140095ca0
inc rbx
nop
cmp rcx, rbx
jae 0x140095ef6
mov edi, 1
lea rsi, [0x1400b76c0]
call fcn.14006a7e0
movzx r10d, byte [rsp + 0x47]
mov byte [rbx + rax - 1], r10b
mov rdx, rcx
mov rsi, rbx
xor r9d, r9d
mov rdi, rax
movzx r8d, byte [rsp + 0x46]
mov rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
nop dword [rax]
jmp 0x140095d64
mov rax, rdi
mov rbx, rsi
mov rdi, rcx
mov rcx, rdx
call fcn.140095ca0
mov rsi, qword [rsp + 0x50]
dec rsi
mov rdx, rsi
neg rdx
sar rdx, 0x3f
and edx, 1
mov r8, qword [rsp + 0x58]
lea rdi, [rdx + r8]
add rsp, 0x60
pop rbp
ret
mov rax, rdi
mov rbx, rsi
mov rdi, rcx
mov rcx, rdx
call fcn.140095ca0
xor edi, edi
xor esi, esi
add rsp, 0x60
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
nop
call fcn.14006e180
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140095d40
Function at 0x1400a1be0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, 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.1400a2cf0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400a2cf0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400a1c50
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401ad074]
mov rbx, rcx
test esi, esi
jle 0x1400a1d80
mov rax, qword [0x1401ad078]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400a1c9b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400a1d25
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400a1c80
mov rcx, rbx
call fcn.1400a2700
mov rdi, rax
test rax, rax
je 0x1400a1da2
mov rax, qword [0x1401ad078]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400a2840
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401ad078]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400a1d87
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400a1d1e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400a1d30
add dword [0x1401ad074], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1401ad078]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400a1d1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400a1be0
nop dword [rax]
xor esi, esi
jmp 0x1400a1ca8
mov rax, qword [0x1401ad078]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400a1be0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400a1be0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400a2340
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1401ad0e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401ad0c0]
test rbx, rbx
je 0x1400a23a4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word cs:[rax + rax]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400a239b
test eax, eax
jne 0x1400a239b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400a2380
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 0x1400a2700
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x1400a2780
Capabilities:
Parse pe header

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

Function at 0x1400a2840
Capabilities:
Parse pe header

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

Function at 0x140f58078
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f58082
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f580ab
pop rbp
sub rbp, 0x33
sub rbp, 0xf58078
sub rsp, 0x20
jmp 0x140f580ca
mov rax, 0xf58078
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffb3e32fc2
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f580e9
jmp 0x140f58100
mov cl, byte [rbx + 0x2b]
inc r10b
ret 0x8ac2
Function at 0x14001505f
Capabilities:
Set registry value

Disassembly:
jmp 0x140036730
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, reloc.Cabinet.dll_FCIDestroy
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x148]
mov rax, qword [0x140070328]
xor rax, rbp
mov qword [rbp + 0xe8], rax
lea rcx, [0x140079a23]
call fcn.140015b09
cmp qword [rbp + 0x118], 0
je 0x1400367a5
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
jmp 0x1400367b9
mov qword [rbp + 0x10], 0
xor eax, eax
mov word [rbp + 8], ax
xor eax, eax
mov word [rbp + 0xa], ax
mov eax, dword [rbp + 0x130]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x128]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x120]
xor r8d, r8d
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x110]
call qword [sym.imp.ntdll.dll_NtSetValueKey]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14005d2d0]
call fcn.14001595b
mov rax, rdi
mov rcx, qword [rbp + 0xe8]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0xf8]
pop rdi
pop rbp
ret

Function at 0x140015096
Capabilities:
Create thread
Terminate thread

Disassembly:
jmp 0x14002eae0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x140070328]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400795a5]
call fcn.140015b09
lea rax, [rbp + 0x44]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0x140]
lea r8, [0x14001513b]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14002eb62
jmp 0x14002ebf4
lea rax, [rbp + 0x44]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140015163]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x14002ebbe
mov edx, 0x3a98
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14002ebb4
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x2710
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14002ebe0
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test eax, eax
jne 0x14002eb29
mov eax, dword [0x1400704a4]
cmp eax, 1
jne 0x14002ec0b
mov dword [rbp + 0x114], 1
jmp 0x14002ec15
mov dword [rbp + 0x114], 0
mov eax, dword [rbp + 0x114]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400566b0]
call fcn.14001595b
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400150d2
Capabilities:
Delete registry value
Set registry value

Disassembly:
jmp 0x140038000
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1a8]
mov rax, qword [0x140070328]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x140079a23]
call fcn.140015b09
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
cmp qword [rbp + 0x170], 0
jne 0x140038074
jmp 0x1400381b2
cmp qword [rbp + 0x168], 0
jne 0x14003808b
lea rax, str.Environment
mov qword [rbp + 0x68], rax
jmp 0x140038096
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x178], 0
jne 0x1400380ae
cmp dword [rbp + 0x160], 0
jne 0x1400380ae
jmp 0x1400381b2
lea r8, [rbp + 0x28]
mov rdx, qword [rbp + 0x68]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400380cc
jmp 0x1400381b2
cmp dword [rbp + 0x160], 0
je 0x14003810b
mov rdx, qword [rbp + 0x170]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1400380f6
mov dword [rbp + 0x134], 1
jmp 0x140038100
mov dword [rbp + 0x134], 0
mov eax, dword [rbp + 0x134]
mov dword [rbp + 4], eax
jmp 0x14003816f
mov rcx, qword [rbp + 0x178]
call fcn.14001528a
lea rax, [rax + rax + 2]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x178]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x170]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14003815c
mov dword [rbp + 0x134], 1
jmp 0x140038166
mov dword [rbp + 0x134], 0
mov eax, dword [rbp + 0x134]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x1400381a8
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x3e8
mov dword [rsp + 0x20], 1
mov r9, qword [rbp + 0x170]
xor r8d, r8d
mov edx, 0x1a
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
xor eax, eax
test eax, eax
jne 0x140038065
cmp qword [rbp + 0x28], 0
je 0x1400381cd
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x14005caa0]
call fcn.14001595b
mov eax, edi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1400150e1
Capabilities:
Set console window title

Disassembly:
jmp 0x14001c570
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x46
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140070328]
xor rax, rbp
mov qword [rbp + 0x1c8], rax
lea rcx, [0x1400786bf]
call fcn.140015b09
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0xf8], rax
cmp qword [rbp + 0xf8], 0
je 0x14001c5d5
call qword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
jne 0x14001c5da
jmp 0x14001c663
lea rdx, str.swprintf_s
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140070498], rax
cmp qword [0x140070498], 0
jne 0x14001c601
jmp 0x14001c663
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x140070490], rax
mov edx, 5
mov rcx, qword [0x140070490]
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov dword [rsp + 0x30], 0x8fe
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 6
mov r9d, 3
lea r8, str.___UACMe_v_lu._lu._lu._lu_r_n
mov edx, 0x64
lea rcx, [rbp + 0x10]
call qword [0x140070498]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea rcx, [rbp - 0x40]
lea rdx, [0x140042a60]
call fcn.14001595b
mov rcx, qword [rbp + 0x1c8]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x1d8]
pop rdi
pop rbp
ret
Function at 0x1400150f5
Capabilities:
Print debug messages

Disassembly:
jmp 0x14002ab60
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov rax, qword [0x140070328]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x1400791ad]
call fcn.140015b09
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov dword [rbp + 0x64], 0x80004005
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbp + 0x84], eax
lea r9, [rbp + 0x28]
mov r8d, 4
lea rdx, [0x140065d58]
lea rcx, str.3AD05575_8857_4850_9277_11B85BDB8E09
call fcn.14001591a
test eax, eax
je 0x14002ac00
jmp 0x14002acae
cmp qword [rbp + 0x28], 0
jne 0x14002ac0c
jmp 0x14002acae
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rcx, qword [0x140070bf8]
mov edx, dword [rcx + 0x10]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x28]
test eax, eax
je 0x14002ac2d
jmp 0x14002acae
lea r9, [rbp + 0x48]
lea r8, [0x140065938]
xor edx, edx
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
test eax, eax
je 0x14002ac4d
jmp 0x14002acae
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x90]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
je 0x14002ac70
jmp 0x14002acae
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0xa8]
test eax, eax
je 0x14002ac87
jmp 0x14002acae
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x48]
call qword [rax + InitCommonControls]
mov qword [rbp + 0x48], 0
mov dword [rbp + 4], 1
xor eax, eax
test eax, eax
jne 0x14002abda
cmp qword [rbp + 0x28], 0
je 0x14002acc3
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x28]
call qword [rax + InitCommonControls]
cmp qword [rbp + 0x48], 0
je 0x14002acd8
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x48]
call qword [rax + InitCommonControls]
cmp dword [rbp + 0x84], 0
jne 0x14002ace7
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [rbp + 4], 0
je 0x14002ad09
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str._r_nCleanup_success_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14002ad16
lea rcx, str._r_nCleanup_failed_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.14001595b
mov eax, edi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x140015113
Capabilities:
Create process on windows

Disassembly:
jmp 0x140037a80
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x140070328]
xor rax, rbp
mov qword [rbp + 0x148], rax
lea rcx, [0x140079a23]
call fcn.140015b09
mov edx, 0x70
lea rcx, [rbp + 0x10]
call fcn.1400157e4
mov dword [rbp + 0x10], 0x70
mov dword [rbp + 0x14], 0x440
mov rax, qword [rbp + 0x170]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x178]
mov qword [rbp + 0x30], rax
mov eax, dword [rbp + 0x188]
mov dword [rbp + 0x40], eax
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x10]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140037b32
mov rax, qword [rbp + 0x78]
jmp 0x140037b34
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14005c120]
call fcn.14001595b
mov rax, rdi
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret

Function at 0x140015127
Capabilities:
Write file on windows

Disassembly:
jmp 0x140039c00
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140070328]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x140079a23]
call fcn.140015b09
mov dword [rbp + 0x24], 0
cmp qword [rbp + 0x128], 0
je 0x140039c6d
cmp dword [rbp + 0x130], 0
jne 0x140039c74
xor eax, eax
jmp 0x140039d20
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
je 0x140039ce1
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140039cf9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateFile
call fcn.140015348
xor eax, eax
jmp 0x140039d20
mov eax, dword [rbp + 0x130]
cmp dword [rbp + 0x24], eax
jne 0x140039d10
mov dword [rbp + 0xf4], 1
jmp 0x140039d1a
mov dword [rbp + 0xf4], 0
mov eax, dword [rbp + 0xf4]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14005bdb0]
call fcn.14001595b
mov rax, rdi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140015168
Capabilities:
Delete file

Disassembly:
jmp 0x1400281b0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x718
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x738]
mov rax, qword [0x140070328]
xor rax, rbp
mov qword [rbp + 0x6e8], rax
lea rcx, [0x1400790af]
call fcn.140015b09
mov dword [rbp + 4], 0xc0000022
mov rax, qword [0x140070bf8]
cmp dword [rax + 8], 0x4a61
jae 0x140028220
mov dword [rbp + 0x6e4], 1
jmp 0x14002822a
mov dword [rbp + 0x6e4], 2
mov eax, dword [rbp + 0x6e4]
mov dword [rbp + 0x44], eax
mov dword [rbp + 0x24], 0
jmp 0x140028244
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x44]
cmp dword [rbp + 0x24], eax
jae 0x1400282fe
mov eax, dword [rbp + 0x24]
lea rcx, str.dismcore.dll
mov r9d, dword [rbp + 0x718]
mov r8, qword [rbp + 0x710]
mov rdx, qword [rcx + rax*8]
xor ecx, ecx
call fcn.140015195
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140028284
call fcn.140015ab9
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x1400282ee
mov rax, qword [0x140070bf8]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.1400151ea
mov eax, dword [rbp + 0x24]
lea rcx, str.dismcore.dll
mov rdx, qword [rcx + rax*8]
lea rcx, [rbp + 0x90]
call fcn.140015a96
lea rcx, [rbp + 0x90]
call fcn.14001528a
mov qword [rbp + 0x68], rax
mov eax, 0x7e
mov rcx, qword [rbp + 0x68]
mov word [rbp + rcx*2 + 0x8e], ax
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002823c
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400537b0]
call fcn.14001595b
mov eax, edi
mov rcx, qword [rbp + 0x6e8]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x6f8]
pop rdi
pop rbp
ret