joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001660
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
sub rsp, 0x20
cmp byte [rcx + 8], 0
mov r12, r9
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x18000181d
test r9, r9
je 0x18000181d
movsxd r8, dword [rcx + 0x3d0]
xor edx, edx
mov rax, r9
div r8
test rdx, rdx
jne 0x18000181d
mov ecx, dword [rsp + 0x60]
mov qword [rsp + 0x40], rbp
xor ebp, ebp
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
cmp ecx, 1
jne 0x18000174a
mov r15d, ebp
test rax, rax
je 0x18000180e
lea r14, [rbx + 0x3f8]
mov rax, r14
cmp byte [rbx + 8], bpl
je 0x180001705
mov edx, ebp
test r8d, r8d
jle 0x180001705
mov r8, rsi
sub r8, r14
nop dword [rax + rax]
movzx ecx, byte [r8 + rax]
inc edx
xor byte [rax], cl
lea rax, [rax + 1]
cmp edx, dword [rbx + 0x3d0]
jl 0x1800016f0
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call fcn.180001830
movsxd r8, dword [rbx + 0x3d0]
mov rdx, rdi
mov rcx, r14
call fcn.180036660
movsxd r8, dword [rbx + 0x3d0]
xor edx, edx
mov rax, r12
inc r15d
div r8
add rsi, r8
mov ecx, r15d
add rdi, r8
cmp rcx, rax
jb 0x1800016d5
jmp 0x18000180e
cmp ecx, 2
jne 0x1800017dd
mov r14d, ebp
test rax, rax
je 0x18000180e
nop
mov r8, rdi
lea rdx, [rbx + 0x3f8]
mov rcx, rbx
call fcn.180001830
mov rcx, rdi
cmp byte [rbx + 8], bpl
je 0x1800017a5
mov edx, ebp
cmp dword [rbx + 0x3d0], edx
jle 0x1800017a5
mov r8, rsi
sub r8, rdi
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
inc edx
xor byte [rcx], al
lea rcx, [rcx + 1]
cmp edx, dword [rbx + 0x3d0]
jl 0x180001790
movsxd r8, dword [rbx + 0x3d0]
lea rcx, [rbx + 0x3f8]
mov rdx, rdi
call fcn.180036660
movsxd rcx, dword [rbx + 0x3d0]
xor edx, edx
mov rax, r12
inc r14d
div rcx
add rsi, rcx
add rdi, rcx
mov ecx, r14d
cmp rcx, rax
jb 0x180001760
jmp 0x18000180e
test rax, rax
je 0x18000180e
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.180001830
movsxd rcx, dword [rbx + 0x3d0]
xor edx, edx
mov rax, r12
inc ebp
div rcx
add rsi, rcx
add rdi, rcx
mov ecx, ebp
cmp rcx, rax
jb 0x1800017e2
mov r14, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret
Function at 0x180002a10
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov qword [rax - 0x58], 0xfffffffffffffffe
mov rbp, r9
mov r14, r8
mov rsi, rdx
mov rbx, rcx
xor edi, edi
mov dword [rax - 0x64], edi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 7
mov word [rcx], di
mov dword [rax - 0x64], 1
mov ecx, 0x208
call fcn.180018e64
mov r12, rax
movzx eax, di
mov rdi, r12
mov ecx, 0x104
rep stosw word [rdi], ax
mov r13d, 0x20019
nop dword [rax]
nop word [rax + rax]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r15d, eax
test eax, eax
jne 0x180002c5e
mov dword [rsp + 0x30], 0x104
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor edi, edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
test eax, eax
jne 0x180002c53
cmp dword [rsp + 0x30], 0x104
jbe 0x180002b37
mov rcx, r12
call fcn.180018774
mov ecx, dword [rsp + 0x30]
inc ecx
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180018e64
mov r12, rax
mov ecx, dword [rsp + 0x30]
add ecx, 1
je 0x180002b37
movzx eax, di
mov rdi, r12
rep stosw word [rdi], ax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
mov r14d, dword [rsp + 0x30]
mov rsi, qword [rbx + 0x18]
cmp r14, rsi
ja 0x180002b98
mov rbp, rbx
cmp rsi, 8
jb 0x180002b77
mov rbp, qword [rbx]
mov qword [rbx + 0x10], r14
lea rdi, [r14 + r14]
mov r8, rdi
mov rdx, r12
mov rcx, rbp
call fcn.180036660
xor eax, eax
mov word [rdi + rbp], ax
jmp 0x180002c33
mov rdi, r14
or rdi, 7
mov rcx, rsi
shr rcx, 1
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
sub rax, rcx
cmp rsi, rax
jbe 0x180002bbf
mov rdi, rdx
jmp 0x180002bca
lea rax, [rcx + rsi]
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.180002780
mov rbp, rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], rdi
lea rdi, [r14 + r14]
mov r8, rdi
mov rdx, r12
mov rcx, rax
call fcn.180036660
xor eax, eax
mov word [rdi + rbp], ax
cmp rsi, 8
jb 0x180002c30
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180002c2b
add rdx, 0x27
mov rdi, qword [rcx - 8]
sub rcx, rdi
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180002c95
mov rcx, rdi
call fcn.180018774
mov qword [rbx], rbp
mov rcx, r12
call fcn.180018774
mov rsi, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xb8]
mov r14, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp r15d, 2
jne 0x180002c81
cmp rsi, 0xffffffff80000002
jne 0x180002c81
cmp r13d, 0x20019
jne 0x180002c81
mov r13d, 0x20219
jmp 0x180002a90
mov rax, rbx
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.18003a194
int3
Function at 0x180003170
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
xor bl, bl
xor ebp, ebp
mov r12, r8
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0x10], rbp
je 0x1800032ef
cmp qword [rdx + 0x10], rbp
je 0x1800032ef
cmp qword [rdx + 0x18], 0x10
mov rcx, rdx
mov qword [rsp + 0x80], r15
jb 0x1800031b1
mov rcx, qword [rdx]
lea rdx, [rsp + 0x70]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov r15d, eax
test eax, eax
je 0x1800032ea
mov ecx, r15d
mov qword [rsp + 0x78], r14
lea rdx, [0x18008b0fc]
call fcn.180018f94
mov r14, rax
test rax, rax
je 0x1800032cf
cmp qword [rdi + 0x18], 0x10
jb 0x1800031f0
mov rdi, qword [rdi]
mov edx, dword [rsp + 0x70]
mov r9, r14
mov r8d, r15d
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1800032ba
lea r9, [rsp + 0x88]
mov rcx, r14
lea r8, [rsp + 0x30]
lea rdx, str.VarFileInfoTranslation
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1800032ba
mov rax, qword [rsp + 0x30]
lea rdx, [0x18008b0fc]
mov ecx, 0x80
movzx edi, word [rax]
movzx eax, word [rax + 2]
shl edi, 0x10
or edi, eax
call fcn.180018f94
mov rbp, rax
test rax, rax
je 0x1800032ba
cmp qword [rsi + 0x18], 0x10
jb 0x180003262
mov rsi, qword [rsi]
mov r9d, edi
mov qword [rsp + 0x20], rsi
lea r8, str.StringFileInfo_08lx_s
mov edx, 0x80
mov rcx, rbp
call fcn.1800033a0
lea r9, [rsp + 0x88]
mov rdx, rbp
lea r8, [rsp + 0x38]
mov rcx, r14
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1800032b8
mov rdx, qword [rsp + 0x38]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1800032a6
mov rcx, r12
call fcn.180002200
mov bl, 1
mov rcx, r14
call fcn.180018774
test rbp, rbp
je 0x1800032cf
mov rcx, rbp
call fcn.180018774
mov r14, qword [rsp + 0x78]
movzx eax, bl
mov r15, qword [rsp + 0x80]
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
movzx eax, bl
jmp 0x1800032d7
movzx eax, bl
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180004a30
Capabilities:
Check if file exists
Create directory

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
sub rsp, 0x20
mov rdi, 0xffffffffffffffff
mov r13, rdx
mov rbx, rdi
mov rsi, rcx
xor bpl, bpl
nop
inc rbx
cmp word [rcx + rbx*2], 0
jne 0x180004a50
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180004a71
mov al, 1
add rsp, 0x20
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x50], r12
mov eax, 2
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x68], r15
lea r15, [rbx + 1]
mul r15
cmovo rax, rdi
mov rcx, rax
call fcn.180018e64
xor r12d, r12d
mov r14, rax
test r15, r15
je 0x180004ab0
movzx eax, r12w
mov rdi, r14
mov rcx, r15
rep stosw word [rdi], ax
mov r8, rsi
mov rdx, r15
mov rcx, r14
call fcn.18003a4cc
mov r15, qword [rsp + 0x68]
mov rdi, r12
nop word [rax + rax]
movzx esi, word [r14 + rdi*2]
cmp si, 0x5c
je 0x180004ae1
cmp si, 0x2f
jne 0x180004b23
mov rcx, r14
mov word [r14 + rdi*2], r12w
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180004b1e
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x180004b2d
mov rcx, qword [r13 + 0x38]
mov bpl, 1
test rcx, rcx
je 0x180004b1e
mov qword [rsp + 0x60], r14
lea rdx, [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov word [r14 + rdi*2], si
inc rdi
cmp rdi, rbx
jbe 0x180004ad0
jmp 0x180004b30
xor bpl, bpl
mov rcx, r14
call fcn.180018774
mov r14, qword [rsp + 0x58]
movzx eax, bpl
mov r12, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x180004c50
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1800880b8]
xor rax, rsp
mov qword [rsp + 0x250], rax
movzx ebx, r8b
mov qword [rsp + 0x30], rcx
mov edi, edx
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.180037130
mov edx, edi
lea rax, [rsp + 0x40]
bts edx, 0xf
mov qword [rsp + 0x20], rax
test bl, bl
cmove edx, edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rsi + 0x18], 7
test eax, eax
je 0x180004cce
xor eax, eax
mov qword [rsi + 0x10], rax
mov word [rsi], ax
jmp 0x180004cfb
xor eax, eax
mov r8, 0xffffffffffffffff
mov qword [rsi + 0x10], rax
mov word [rsi], ax
lea rax, [rsp + 0x40]
inc r8
cmp word [rax + r8*2], 0
jne 0x180004ce3
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180002d10
mov rax, rsi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180018f00
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180004d30
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x1800880b8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x238
call fcn.180037130
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180004dcf
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x180004dc6
nop word [rax + rax]
lea rdx, str.EXPLORER.EXE
lea rcx, [rsp + 0x5c]
call fcn.1800419a0
mov rcx, rbx
test eax, eax
je 0x180004dfd
lea rdx, [rsp + 0x30]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x180004da0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov rcx, rdi
call fcn.1800050b0
mov rax, rdi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180018f00
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [rsp + 0x38]
jmp 0x180004dd1
Function at 0x180006be0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x98
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov rax, qword [0x1800880b8]
xor rax, rsp
mov qword [rbp + 7], rax
mov r12, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
test rdx, rdx
jne 0x180006c27
xor al, al
jmp 0x180006e25
xor r13d, r13d
cmp qword [rcx + 0x18], r13
ja 0x180006cab
lea rcx, [rbp - 0x19]
call fcn.180004e10
mov rbx, rax
lea rdi, [r15 + 8]
cmp rdi, rax
je 0x180006c6b
mov rcx, rdi
call fcn.180002ca0
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x180006cab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006ca6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006e4b
call fcn.180018774
lea rdi, [r15 + 8]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov r15, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x180006cc5
mov rdi, qword [rdi]
cmp r15, 8
jae 0x180006cdc
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x21], 7
jmp 0x180006d1c
mov rbx, r15
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x39]
call fcn.180002780
mov qword [rbp - 0x39], rax
lea r8, [r15*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.180036660
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x29], r15
mov r8d, 0xa
lea rdx, str.Software_
lea rcx, [rbp - 0x39]
call fcn.1800027f0
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [r14 + r8*2], 0
jne 0x180006d40
mov rdx, r14
lea rcx, [rbp - 0x39]
call fcn.1800027f0
test rsi, rsi
je 0x180006d8b
mov r8d, 1
lea rdx, [0x180063a30]
lea rcx, [rbp - 0x39]
call fcn.1800027f0
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x180006d72
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x39]
call fcn.1800027f0
mov qword [rbp - 0x49], r13
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rdx, qword [rbp - 0x39]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180006de7
mov rcx, qword [rbp - 0x49]
test r12, r12
je 0x180006dd4
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x180006ddc
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x180006e23
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006e1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006e45
call fcn.180018774
mov al, 1
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.180018f00
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18003a194
int3
call fcn.18003a194
int3
Function at 0x180012e80
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x90
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800880b8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
mov ecx, dword [rcx + 0x30]
cmp ecx, 0xffffffff
je 0x180012ec4
call fcn.180046c88
mov dword [rdi + 0x30], 0xffffffff
mov r8d, dword [rdi + 0x48]
dec r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.18000fa30
nop
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call fcn.18004579c
mov ebx, dword [rdi + 0x48]
sub ebx, 2
js 0x180012fea
xor esi, esi
mov r8d, ebx
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.18000fa30
nop
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18000fa30
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x180012f8c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180012f87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001306b
call fcn.180018774
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x180012fe1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180012fdc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001305f
call fcn.180018774
sub ebx, 1
jns 0x180012f00
mov rcx, rdi
call fcn.180012550
mov byte [rdi + 0x90], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x18001303a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013035
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013065
call fcn.180018774
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180018f00
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.18003a194
nop
call fcn.18003a194
nop
call fcn.18003a194
int3
Function at 0x180013080
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x90
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800880b8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
mov ecx, dword [rcx + 0x30]
cmp ecx, 0xffffffff
je 0x1800130c4
call fcn.180046c88
mov dword [rdi + 0x30], 0xffffffff
mov r8d, dword [rdi + 0x48]
dec r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.18000fa30
nop
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call fcn.18004579c
mov ebx, dword [rdi + 0x48]
sub ebx, 2
js 0x1800131ea
xor esi, esi
mov r8d, ebx
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.18000fa30
nop
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18000fa30
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18001318c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013187
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001326b
call fcn.180018774
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1800131e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800131dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001325f
call fcn.180018774
sub ebx, 1
jns 0x180013100
mov rcx, rdi
call fcn.1800127b0
mov byte [rdi + 0x90], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x18001323a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013235
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013265
call fcn.180018774
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180018f00
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.18003a194
nop
call fcn.18003a194
nop
call fcn.18003a194
int3
Function at 0x1800141f0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x1800880b8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r14d, dword [rsp + 0x110]
mov rbp, rcx
mov rcx, rdx
mov edi, r9d
mov ebx, r8d
mov rsi, rdx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18001423b
mov eax, 2
jmp 0x18001433a
lea r9, str.DGYg80dlVh2FoNE0
mov rdx, rbp
lea r8, str.YkNeF8pGJvCom4Qj
lea rcx, [rsp + 0x90]
call fcn.180013f30
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x70]
call fcn.180037130
test r14d, r14d
mov dword [rsp + 0x20], 0x70
lea rcx, str.runas
mov qword [rsp + 0x38], rsi
lea rax, [0x180063c28]
mov dword [rsp + 0x24], 0x40
cmovne rax, rcx
mov qword [rsp + 0x48], 0
cmp qword [rsp + 0xa8], 8
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
cmovae rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], 5
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x88]
mov esi, eax
test rcx, rcx
je 0x1800142f4
test ebx, ebx
je 0x1800142f4
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdx, qword [rsp + 0xa8]
cmp rdx, 8
jb 0x180014338
mov rcx, qword [rsp + 0x90]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180014333
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180014358
call fcn.180018774
mov eax, esi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180018f00
add rsp, 0xc0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.18003a194
int3
Function at 0x18001afb8
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x18001afcb
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.18001b5d8
lea rdx, [0x180086310]
lea rcx, [rsp + 0x20]
call fcn.1800372c0
int3

Function at 0x180026d3c
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x18008bd60]
xor edx, edx
jmp fcn.18001afb8

Function at 0x1800276d4
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x18008bd60]
jmp fcn.18001afb8

Function at 0x180033324
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1800333e0]
mov r9, qword [r9 + 8]
jmp fcn.180023210

Function at 0x1800333b8
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1800333f0]
mov r9, qword [r9 + 8]
jmp fcn.180023210

Function at 0x18004579c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180045794
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18003d310
or eax, 0xffffffff
jmp 0x180045796
xor eax, eax
add rsp, 0x28
ret
jmp 0x180045774