joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011570
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.140024910
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.140024910
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x1400115e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x140033394]
mov r12, rcx
test ebx, ebx
jle 0x140011710
mov rax, qword [0x140033398]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x14001162c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1400116b3
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x140011610
mov rcx, r12
call fcn.140011f80
mov rsi, rax
test rax, rax
je 0x140011732
mov rax, qword [0x140033398]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.1400120b0
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140033398]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140011717
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400116ac
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400116c0
add dword [0x140033394], 1
add rsp, 0x50
pop rbx
pop rsi
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 rbx, qword [0x140033398]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400116ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140011570
nop dword [rax]
xor ebx, ebx
jmp 0x140011637
mov rax, qword [0x140033398]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140011570
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140011570
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140011bf0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140033400]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400333e0]
test rbx, rbx
je 0x140011c44
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 0x140011c3b
test r12, r12
je 0x140011c3b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140011c20
lea rcx, [0x140033400]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140011f80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14002c8a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140011fa0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140011fa8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140011fa0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140011ff5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140011fec
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140011fa0
add rax, 0x28
cmp rax, r9
jne 0x140011fd8
xor eax, eax
ret

Function at 0x140012000
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14002c8a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140012020
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140012028
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140012020
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1400120b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14002c8a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400120d0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400120d8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x1400138a0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x14002c940]
mov rax, qword [rsi]
test rax, rax
je 0x140013930
cmp qword [rax + 0x30], 0
jne 0x140013950
lea rbx, [0x140025088]
mov qword [rax + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [rsi]
test rax, rax
je 0x140013900
cmp qword [rax + 0x30], 0
jne 0x140013920
lea rdx, [0x140025088]
mov qword [rax + 0x30], rdx
mov rax, rdx
cmp dword [rax], 0xffffffff
je 0x140024ad0
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.1400187a0
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x1400138e2
test rax, rax
jne 0x140013920
call fcn.1400187a0
nop dword [rax]
mov rax, qword [rax + 0x30]
jmp 0x1400138f0
call fcn.1400187a0
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x1400138c0
test rax, rax
jne 0x140013950
call fcn.1400187a0
nop dword [rax]
mov rbx, qword [rax + 0x30]
jmp 0x1400138cb
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
mov rax, qword [pe_dos_header]
ud2
Function at 0x140013960
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x140013a72
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x140013a4a
add rax, 1
cmp rax, 0x6b
je 0x140013a67
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x140013a40
cmp edx, 0x6a
je 0x140013a67
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x140013a5b
Function at 0x140014480
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rsi, qword [0x14002c940]
mov rax, qword [rsi]
test rax, rax
je 0x140014670
cmp qword [rax + 0x28], 0
jne 0x140014658
lea rcx, [0x1400334b8]
cmp dword [rcx], 1
mov qword [rax + 0x28], rcx
je 0x140014665
call fcn.140013a90
mov rax, qword [rsi]
test rax, rax
je 0x140014500
cmp qword [rax + 0x30], 0
jne 0x140014520
lea rdx, [0x140025088]
mov qword [rax + 0x30], rdx
mov rax, rdx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
je 0x140014534
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.1400187a0
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x1400144d0
test rax, rax
jne 0x140014520
call fcn.1400187a0
nop dword [rax]
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
jne 0x1400144ee
call fcn.1400135d0
cmp qword [0x140037050], 0
mov rbx, rax
je 0x1400144ee
test rax, rax
je 0x1400144ee
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.14001a640
cmp eax, 1
je 0x1400146dd
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r12, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, r12
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140024ad6
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
mov rax, qword [rsi]
test rax, rax
je 0x1400146b8
cmp qword [rax + 0x30], 0
je 0x1400146a0
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140024ad6
mov r12, rbx
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x1400144bc
mov rax, qword [rsi]
jmp 0x1400144c9
call fcn.1400187a0
cmp qword [rax + 0x28], 0
mov rax, qword [rsi]
je 0x1400144a8
test rax, rax
jne 0x140014658
call fcn.1400187a0
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x1400144bc
jmp 0x1400144c1
lea rdx, [0x140025088]
mov qword [rax + 0x30], rdx
mov rax, rdx
jmp 0x14001462e
call fcn.1400187a0
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x1400146a0
test rax, rax
jne 0x14001462a
call fcn.1400187a0
jmp 0x14001462a
call fcn.140013960
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [0x14002c940]
mov rdx, qword [rax]
lea rax, [0x1400334c8]
mov qword [rdx + 0x10], rax
ret
Function at 0x140018620
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140018640
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x140018688
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140018634
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140018675
Function at 0x1400187a0
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x1400335a0]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x1400187c3
lea rax, [0x1400335a8]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x14001880b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140018808
lea rax, [0x1400335e0]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x14001883b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140018838
xor ecx, ecx
mov byte [0x1400335f9], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x140033602], rdx
lea r8, [0x1400335a0]
lea rbx, [0x1400335fa]
mov qword [0x140033612], rdx
mov qword [0x140033622], rdx
mov qword [0x140033632], rdx
xor edx, edx
mov qword [0x1400335fa], rax
mov qword [0x14003360a], rax
mov qword [0x14003361a], rax
mov qword [0x14003362a], rax
mov byte [0x14003363a], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140018a16
lea rcx, [0x1400335e0]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140018961
lea rsi, [0x1400334e0]
lea r8, [0x14003363a]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x14001890d
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x140018900
lea rcx, [0x1400335e0]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x140018a03
lea rcx, [0x1400186b0]
mov qword [0x1400334e0], rsi
call sub.msvcrt.dll__onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x1400334e0]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x1400335e0]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x14003363a]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x140018a36
nop dword [rax]
cmp byte [rax], 0x41
jne 0x1400189b3
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x1400189a0
mov rax, rdx
mov qword [0x1400334e0], rax
lea rsi, [0x1400334e0]
jmp 0x1400189d9
cmp rdx, rsi
je 0x14001893f
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400189d0
cmp rdx, rsi
je 0x14001893f
mov qword [rdx + 8], rsi
lea rcx, [0x1400186b0]
call sub.msvcrt.dll__onexit
jmp 0x14001893f
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.140018620
xor eax, eax
jmp 0x140018958
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.140018620
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, str.failed_to_get_string_from_atom_n
call fcn.140018620
xor eax, eax
jmp 0x1400189bf
Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021200]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020630]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020630]
call fcn.1400123b8
lea rcx, [0x140021200]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xchg esp, eax
xor ah, byte [rbp - 0x14554cbd]
invalid
movsd dword [rdi], dword [rsi]
jb 0x14003f5f9
invalid
outsd dx, dword gs:[rsi]
jnp 0x14003f63e
cmp eax, 0xf39be855
insb byte [rdi], dx
enter 0xfffffffffffffe4d, 0x46
cmp eax, 0xd1f4de4a
loop case.0x140007272.0
mov dl, 0xd
mov eax, 0x1eccc8e4
in al, 0xc8
int3
invalid
jno 0x14003f63e
in al, 0xc8
int3
add cl, byte [rdx - 9]
pop rcx
neg dword [rbx - 0x499ae2ff]
iretd
invalid
add eax, 0xb53dc72d
invalid
sbb al, 0x63
invalid
pop rdx
jae 0x14003f706
movabs al, byte [0xa34dd917cea0695a]
push rsp
adc al, 0x44
fnstcw word [rdx + rsi*2]
invalid
or eax, dword [rbx - 0x3f3493d0]
cmp eax, edx
leave
xchg dword [rsi + rdi*2 + 0x5b], eax
sbb r12b, r11b
adc al, 0xde
cli
sbb ebp, dword [rdi]
in al, 0xcf
invalid
xchg dword [rbx], esp
scasb al, byte [rdi]
cmp al, 0x9a
adc qword [r10 + 0xfa58ec], rdi
in al, dx
add dword [rbp + riz*8 + 0x71], ebx
mov word [rcx + 0x4e], es
cmpsd dword [rsi], dword [rdi]
cmpsq qword [rsi], qword [rdi]
pop rcx
jmp 0x14003f723
and esp, dword [rbx]
jge 0x14003f789
pop rax
movabs eax, dword [0x21cf166521fa354c]
cmp ecx, dword [rcx]
fidivr dword [rdi + 0xbe3caa6]
push rdi
and dword [rcx], eax
sbb dword [rsi + rbp*2], esi
xchg esi, eax
cmpsd dword [rsi], dword [rdi]
mov esp, 0x64126a42
add al, byte [rbx]
jae 0x14003f7ad
push rsi
pop rax
pop rsp
sub al, 0x6d
rol dword [rcx + 0x3ebaa5b1], cl
mov ch, 0x9f
add al, 0x1c
xor eax, 0xafc1c39e
jo str.dX
ret
push rsi
jmp qword [rdx + 0x3ad09298]
push 0xffffffff8f0faaf1
mov bl, 0xe2
imul r9d, eax, 0xfffffff6
or al, 0x98
loop 0x14003f75a
xchg edx, eax
sal dword [rdi], 1
invalid
or al, 0x72
test eax, 0x5d8a7f3e
pop rbp
cmp eax, 0x48267527
in eax, dx
sbb dword [rcx + 1], 8
add dword [rax], ecx
test dword [rbx - 1], edx
push rax
ret
Function at 0x14000e064
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x230
xor ebx, ebx
test rcx, rcx
je 0x14000e0ee
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call sub.msvcrt.dll_wcsncpy
lea rcx, [rsp + 0x20]
mov word [rsp + 0x228], bx
call sub.msvcrt.dll_wcslen
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
lea rax, [rsp + 0x20]
cmp rcx, rax
jbe 0x14000e0da
lea rdx, [rcx - 2]
movzx eax, word [rdx]
sub ax, 0x20
cmp ax, 0x3c
ja 0x14000e0da
movabs r8, 0x1000000000008001
bt r8, rax
jae 0x14000e0da
lea rax, [rsp + 0x20]
mov rcx, rdx
cmp rdx, rax
ja 0x14000e0ac
mov word [rcx], bx
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cdqe
jmp 0x14000e0f0
xor eax, eax
add rsp, 0x230
pop rbx
ret

Function at 0x14000e0fc
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x28
xor eax, eax
test rcx, rcx
je 0x14000e10d
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cdqe
add rsp, 0x28
ret

Function at 0x14000e114
Capabilities:
Get common file path

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, 0x20
mov edx, ecx
mov ebx, 0x104
mov ecx, ebx
call fcn.140012e40
mov ecx, ebx
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, str.Kernel32.DLL
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor r14d, r14d
mov rbp, rax
test rax, rax
je 0x14000e18e
lea rdx, str.GetLongPathNameW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000e185
mov r8d, ebx
mov rdx, rdi
mov rcx, rdi
call rax
mov esi, eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
sub ebx, esi
mov ecx, ebx
call fcn.140013010
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
movsxd rax, esi
mov rsi, qword [rsp + 0x40]
mov word [rdi + rax*2], r14w
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14000e1bc
Capabilities:
Delete file

Disassembly:
xor edx, edx
jmp 0x14000e1c4
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14000e1ef
test dl, 2
je 0x14000e1e2
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cdqe
jmp 0x14000e1f1
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14000e1c4
Capabilities:
Delete file
Set file attributes

Disassembly:
xor edx, edx
jmp 0x14000e1c4
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14000e1ef
test dl, 2
je 0x14000e1e2
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cdqe
jmp 0x14000e1f1
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x180012060
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x180076d20]
xor ebx, ebx
mov qword [rbp - 0x30], rdx
mov qword [rbp + 0x10], rbx
test rax, rax
jne 0x1800120e4
lea rcx, [rbp - 0x28]
mov dword [rbp - 0x18], 0x6c41775a
mov dword [rbp - 0x14], 0x61636f6c
mov dword [rbp - 0x10], 0x69566574
mov dword [rbp - 0xc], 0x61757472
mov dword [rbp - 8], 0x6d654d6c
mov dword [rbp - 4], 0x79726f
mov dword [rbp - 0x28], 0x6c64746e
mov dword [rbp - 0x24], 0x6c642e6c
mov word [rbp - 0x20], 0x6c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x18]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180076d20], rax
lea r9, [rbp - 0x30]
lea rdx, [rbp + 0x10]
xor r8d, r8d
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
call rax
test eax, eax
cmovns rbx, qword [rbp + 0x10]
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret
Function at 0x180012250
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push rbx
push rsi
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0x90
mov rbx, qword [0x180076d18]
mov rsi, r9
mov r14, rdx
mov r15, rcx
test rbx, rbx
jne 0x180012349
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r12
lea rcx, [rbp - 0x39]
mov qword [rax + 0x20], r13
mov dword [rbp - 0x19], 0x6c41775a
mov dword [rbp - 0x15], 0x61636f6c
mov dword [rbp - 0x11], 0x69566574
mov dword [rbp - 0xd], 0x61757472
mov dword [rbp - 9], 0x6d654d6c
mov dword [rbp - 5], 0x79726f
mov dword [rbp - 0x39], 0x6c64746e
mov dword [rbp - 0x35], 0x6c642e6c
mov word [rbp - 0x31], 0x6c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x19]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x39]
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x39]
xor r13d, r13d
mov rdi, rax
mov dword [rbp + 0x67], r13d
call fcn.1800127b0
mov rbx, rax
test rax, rax
je 0x18001232a
mov r8d, dword [rbp + 0x67]
mov rdx, rdi
mov rcx, rax
call fcn.180012d20
mov rcx, rbx
test eax, eax
jne 0x180012374
call fcn.1800031d0
mov rbx, qword [0x180076d18]
mov r12, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xc0]
mov r13, qword [rsp + 0xd8]
mov eax, dword [rbp + 0x7f]
mov r9, rsi
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x77]
mov rdx, r14
mov rcx, r15
mov dword [rsp + 0x20], eax
call rbx
add rsp, 0x90
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret
mov edx, r12d
sub edx, edi
call fcn.180012e80
mov rcx, rbx
mov r11d, eax
mov rax, qword [r11 + rbx]
mov qword [rbp - 1], rax
mov rax, qword [r11 + rbx + 8]
mov qword [rbp + 7], rax
call fcn.1800031d0
lea rcx, [rbp - 0x29]
mov dword [rbp - 0x29], 0x65696253
mov dword [rbp - 0x25], 0x2e6c6c44
mov dword [rbp - 0x21], 0x6c6c64
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8d, 0x10
test rax, rax
cmovne r8d, r13d
lea eax, [r8 + 1]
mov byte [rbp + r8 - 1], 0xff
mov byte [rbp + rax - 1], 0x25
lea rax, [r8 + r12]
mov dword [rbp + r8 + 1], r13d
mov qword [rbp + r8 + 5], rax
lea eax, [r8 + 0xe]
mov edx, eax
mov edi, eax
call fcn.180012060
mov rbx, rax
mov qword [0x180076d18], rax
test rax, rax
je 0x180012331
lea rdx, [rbp - 1]
mov r8d, edi
mov rcx, rax
call fcn.1800029a0
jmp 0x180012331