joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800010b0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
xor r10d, r10d
movsxd rbp, edx
mov r14, r9
mov r15, r8
mov rsi, rcx
mov edi, r10d
mov ebx, r10d
mov r11d, r10d
test edx, edx
jle 0x180001105
mov edx, r10d
lea r12, [0x18002c560]
movzx eax, byte [rdx + rsi]
cmp al, 0x3d
jne 0x180001126
inc ebx
cmp ebx, 2
jle 0x18000112a
mov r10d, 0xffffffee
mov rbx, qword [rsp + 0x20]
test r10d, r10d
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
sete al
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
cmp al, 0x7f
ja 0x1800010ff
movzx eax, al
movzx ecx, byte [rax + r12]
cmp cl, 0x7f
je 0x1800010ff
cmp cl, 0x40
jae 0x180001140
test ebx, ebx
jne 0x1800010ff
inc edi
inc r11d
inc rdx
cmp rdx, rbp
jl 0x1800010f0
test edi, edi
je 0x180001105
lea eax, [rdi + rdi*2]
lea eax, [rax*2 + 7]
sar eax, 3
cmp dword [r9], eax
jge 0x18000116e
mov dword [r9], eax
mov r10d, 0xfffffff0
jmp 0x180001105
mov r9d, 3
mov r8d, r10d
mov ebx, r10d
mov rax, r15
test r11d, r11d
jle 0x1800011e7
movzx ecx, byte [rsi]
movzx edx, byte [rcx + r12]
mov ecx, r10d
cmp dl, 0x40
sete cl
and edx, 0x3f
sub r9d, ecx
inc ebx
mov ecx, r8d
mov r8d, edx
shl ecx, 6
or r8d, ecx
cmp ebx, 4
jne 0x1800011dc
mov ebx, r10d
test r9d, r9d
jle 0x1800011bf
mov ecx, r8d
shr ecx, 0x10
mov byte [rax], cl
inc rax
cmp r9d, 1
jle 0x1800011d0
mov ecx, r8d
shr ecx, 8
mov byte [rax], cl
inc rax
cmp r9d, 2
jle 0x1800011dc
mov byte [rax], r8b
inc rax
dec r11d
inc rsi
test r11d, r11d
jg 0x180001182
sub eax, r15d
mov dword [r14], eax
jmp 0x180001105

Function at 0x180001500
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
mov byte [rcx + 0x68], 0
xor eax, eax
mov qword [rcx + 0x10], rax
mov rbx, rcx
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
cmp qword [rdx + 0x18], 0x10
mov r8, qword [rdx + 0x10]
jb 0x18000153c
mov rdx, qword [rdx]
call fcn.180002540
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1800031b0
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x790]
sub rsp, 0x890
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x180043078]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov edi, r9d
mov r15, r8
mov r14, rdx
mov rsi, rcx
lea r9, [rcx + 0xb8]
cmp qword [r9 + 0x18], 8
jb 0x180003201
mov r9, qword [r9]
mov r8d, edi
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
cmp eax, edi
jne 0x1800033ad
movdqa xmm0, xmmword [0x18002c710]
movdqu xmmword [rsp + 0x48], xmm0
xor r12d, r12d
mov word [rsp + 0x38], r12w
xor r8d, r8d
lea rdx, [0x18002c8c0]
lea rcx, [rsp + 0x38]
call fcn.180002980
nop
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x80]
call fcn.1800120c0
mov r8d, edi
lea rdx, [0x18002c700]
lea rcx, [rbp - 0x80]
call fcn.180002ac0
lea rax, [rbp - 0x80]
mov r9, r15
mov r8, r14
mov qword [rsp + 0x20], rax
cmp byte [rsi + 9], r12b
je 0x18000331d
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.1800030a0
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x1800032c8
lea rcx, [rsp + 0x38]
call fcn.180002720
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x18000330a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003305
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800033d6
call fcn.18000fed4
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
jmp 0x180003368
lea rdx, [0x18002c8e8]
lea rcx, [rsp + 0x58]
call fcn.18000c330
lea rcx, [rsp + 0x38]
call fcn.180002720
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rsp + 0x48], xmm1
lea rcx, [rsp + 0x38]
movq rdx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 8
cmovae rcx, rdx
call fcn.1800184e0
mov ebx, eax
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1800033ad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800033a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800033d0
call fcn.18000fed4
mov eax, ebx
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.18000fff0
add rsp, 0x890
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.180014844
nop
call fcn.180014844
nop
int3
Function at 0x1800033e0
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x888
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x180043078]
xor rax, rsp
mov qword [rsp + 0x870], rax
mov rbp, r9
mov rsi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rdi, qword [rsp + 0x8e0]
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x70]
call fcn.1800120c0
lea rax, [r14 + 0xb8]
cmp qword [rax + 0x18], 8
jb 0x18000344f
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x70]
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], r15w
jne 0x180003490
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.180002980
mov dword [rsp + 0x30], 1
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800034bc
mov rax, qword [rbx]
mov r11, rdi
sub r11, rax
movzx r10d, word [rax]
movzx edx, word [rax + r11]
sub r10d, edx
jne 0x1800034d8
add rax, 2
test edx, edx
jne 0x1800034c2
test r10d, r10d
jne 0x1800035ec
mov qword [rsp + 0x20], rdi
mov r9, rbp
mov r8, rsi
cmp byte [r14 + 9], r10b
je 0x180003578
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.1800030a0
mov rdi, rax
cmp rbx, rax
je 0x180003531
mov rcx, rbx
call fcn.180002720
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1800035ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800035e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003615
jmp 0x1800035e7
lea rdx, [0x18002c8e8]
lea rcx, [rsp + 0x48]
call fcn.18000c330
lea rax, [rsp + 0x48]
cmp rbx, rax
je 0x1800035ae
mov rcx, rbx
call fcn.180002720
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x10], xmm1
jmp 0x1800035ec
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1800035ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800035e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000360f
call fcn.18000fed4
mov rax, rbx
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.18000fff0
add rsp, 0x888
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.180014844
int3
call fcn.180014844
int3
Function at 0x1800049a0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x9a0]
sub rsp, 0xaa0
mov rax, qword [0x180043078]
xor rax, rsp
mov qword [rbp + 0x990], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.1800120c0
cmp qword [rdi + 0x50], 8
lea r8, [rdi + 0x38]
jb 0x1800049ee
mov r8, qword [r8]
lea r9, str.Config
lea rdx, [0x18002c998]
lea rcx, [rsp + 0x40]
call fcn.180002ac0
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180004a1f
lea rcx, [rsp + 0x40]
call fcn.18000a7a0
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.1800120c0
lea r9, str.userconfig.ini
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rbp + 0x360]
call fcn.180002ac0
mov rbx, 0xffffffffffffffff
lea rax, [rbp + 0x360]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x180004a63
lea rcx, [rdi + 0xb8]
lea rdx, [rbp + 0x360]
call fcn.180002980
xor edx, edx
lea rcx, [rbp + 0x570]
mov r8d, 0x208
call fcn.1800120c0
lea r9, str.Config.ini
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rbp + 0x570]
call fcn.180002ac0
lea rax, [rbp + 0x570]
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180004ac0
lea rcx, [rdi + 0xd8]
lea rdx, [rbp + 0x570]
call fcn.180002980
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.1800120c0
lea rdx, str.XsfyPath
lea rcx, [rsp + 0x20]
call fcn.18000aa70
cmp qword [rax + 0x18], 8
jb 0x180004b0d
mov rax, qword [rax]
mov r8, rax
lea rdx, [0x18002c9f4]
lea rcx, [rbp + 0x150]
call fcn.180002ac0
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x180004b65
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004b60
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004c04
call fcn.18000fed4
lea rcx, [rbp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180004b82
lea rcx, [rbp + 0x150]
call fcn.18000a7a0
xor edx, edx
lea rcx, [rbp + 0x780]
mov r8d, 0x208
call fcn.1800120c0
lea r9, str.Config.ini
lea r8, [rbp + 0x150]
lea rdx, str._s_s
lea rcx, [rbp + 0x780]
call fcn.180002ac0
lea rax, [rbp + 0x780]
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180004bc0
mov r8, rbx
lea rcx, [rdi + 0xf8]
lea rdx, [rbp + 0x780]
call fcn.180002980
mov rcx, qword [rbp + 0x990]
xor rcx, rsp
call fcn.18000fff0
lea r11, [rsp + 0xaa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.180014844
int3
Function at 0x180004e40
Capabilities:
Check if file exists

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x180043078]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
xor esi, esi
mov qword [r11 - 0x40], rsi
mov qword [r11 - 0x38], 7
mov word [rsp + 0x28], si
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], si
jne 0x180004e90
lea rcx, [rsp + 0x28]
call fcn.180002980
nop
cmp qword [rsp + 0x38], 0
jne 0x180004ed7
lea rdx, [rdi + 0x98]
cmp qword [rdx + 0x18], 8
jb 0x180004ec0
mov rdx, qword [rdx]
nop
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x180004ec0
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.180002980
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180004ef9
mov ebx, esi
jmp 0x180004f7e
lea r8, str.FastWiFi.exe
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.180002b20
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, esi
test eax, eax
setne bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x180004f6b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004f66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004fe3
call fcn.18000fed4
movdqa xmm0, xmmword [0x18002c710]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x180004fbc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004fb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004fdd
call fcn.18000fed4
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18000fff0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.180014844
nop
call fcn.180014844
nop
int3
Function at 0x1800084e0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov rbx, r8
mov rcx, r8
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsi]
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x18000a390
Capabilities:
Check if file exists
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1070
call fcn.180010060
sub rsp, rax
mov rax, qword [0x180043078]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov rsi, rcx
mov rdi, rdx
xor ecx, ecx
call fcn.1800185d0
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rax
call fcn.180018fcc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [rbx]
lea rdx, str.__d__d__d__d__d__d___d_:_s
mov r9d, dword [rbx + 0x10]
mov r8d, dword [rbx + 0x14]
inc r9d
mov qword [rsp + 0x48], rdi
add r8d, 0x76c
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbx + 4]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x28], ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x20], eax
call fcn.18000a220
mov rcx, rsi
xor edi, edi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebp, 1
lea rdx, [0x18002d0e0]
test eax, eax
mov rcx, rsi
cmovne edi, ebp
call fcn.1800189b4
mov rbx, rax
test rax, rax
je 0x18000a4e3
test edi, edi
jne 0x18000a474
mov eax, 0xfeff
lea r8d, [rbp + 1]
mov r9, rbx
mov word [rsp + 0x54], ax
mov edx, ebp
lea rcx, [rsp + 0x54]
call fcn.180014d94
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x18000a480
add eax, eax
lea rcx, [rsp + 0x60]
movsxd r8, eax
mov r9, rbx
mov rdx, rbp
call fcn.180014d94
mov eax, 0xd
lea rcx, [rsp + 0x50]
mov r9, rbx
mov word [rsp + 0x50], ax
mov rdx, rbp
lea r8d, [rax - 0xb]
call fcn.180014d94
mov eax, 0xa
lea rcx, [rsp + 0x50]
mov r9, rbx
mov word [rsp + 0x50], ax
mov rdx, rbp
lea r8d, [rax - 8]
call fcn.180014d94
mov rcx, rbx
call fcn.180014ae8
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.18000fff0
mov rbx, qword [rsp + 0x10a0]
add rsp, 0x1070
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000a7a0
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov r8, 0xffffffffffffffff
mov rbx, rcx
mov rdi, r8
nop dword [rax]
inc rdi
cmp word [rcx + rdi*2], 0
jne 0x18000a7c0
movsxd rcx, edi
mov eax, 2
inc rcx
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.180010040
mov rsi, rax
sub rax, rbx
nop word [rax + rax]
movzx ecx, word [rbx]
mov word [rax + rbx], cx
lea rbx, [rbx + 2]
test cx, cx
jne 0x18000a7f0
movsxd rdi, edi
mov ebp, 1
test rdi, rdi
js 0x18000a867
mov qword [rsp + 0x40], r14
xor r14d, r14d
mov qword [rsp + 0x48], r15
mov ebx, r14d
mov r15d, 0x5c
cmp word [rsi + rbx*2], r15w
jne 0x18000a850
mov rcx, rsi
mov word [rsi + rbx*2], r14w
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000a84b
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x18000a85a
mov word [rsi + rbx*2], r15w
inc rbx
cmp rbx, rdi
jle 0x18000a823
jmp 0x18000a85d
mov ebp, r14d
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
mov rcx, rsi
call fcn.18000fed4
mov rbx, qword [rsp + 0x50]
mov eax, ebp
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000a880
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x180043078]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor r9d, r9d
mov rdi, rdx
mov rsi, rcx
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call fcn.18000ad90
mov rbx, 0xffffffffffffffff
lea rcx, [rsp + 0x20]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x18000a8d0
test eax, eax
je 0x18000a98a
lea rcx, [rsp + 0x20]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x18000a8f0
mov eax, dword [0x18002c8e4]
lea rdx, [rsp + 0x20]
sub rdx, 2
mov dword [rcx], eax
nop dword [rax]
cmp word [rdx + 2], 0
lea rdx, [rdx + 2]
jne 0x18000a910
xor r8d, r8d
nop
movzx ecx, word [rdi + r8*2]
mov word [rdx + r8*2], cx
lea r8, [r8 + 1]
test cx, cx
jne 0x18000a920
lea rcx, [rsp + 0x20]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x18000a940
mov dword [rcx], eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000a966
lea rcx, [rsp + 0x20]
call fcn.18000a7a0
lea rax, [rsp + 0x20]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x18000a970
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.180002980
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.18000fff0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18000ad90
Capabilities:
Get common file path

Disassembly:
push rbx
push r12
push r13
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x180043078]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor bl, bl
mov dword [rsp + 0x38], r9d
cmp byte [0x180043fb0], bl
mov r12d, r8d
mov r15, rdx
mov r13, rcx
mov r14d, 1
jne 0x18000ae47
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.1800120c0
mov r9d, r14d
lea r8d, [r14 + 0x19]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x18000ae3a
lea rcx, [rsp + 0x40]
call fcn.180018824
lea rdx, str.config_systemprofile
lea rcx, [rsp + 0x40]
call fcn.180012468
test rax, rax
jne 0x18000ae31
lea rdx, str.documents_and_settingslocalservice
lea rcx, [rsp + 0x40]
call fcn.180012468
test rax, rax
je 0x18000ae3a
mov byte [0x180043fb0], r14b
jmp 0x18000ae47
cmp byte [0x180043fb0], 0
je 0x18000af7d
mov qword [rsp + 0x278], rbp
lea rcx, str.Kernel32.dll
xor eax, eax
mov qword [rsp + 0x270], rsi
mov qword [rsp + 0x268], rdi
xor dil, dil
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, str.Wtsapi32.dll
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rbp, rbp
je 0x18000af16
test rax, rax
je 0x18000af16
lea rdx, str.WTSQueryUserToken
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSGetActiveConsoleSessionId
mov rcx, rbp
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000aef2
test r14, r14
jne 0x18000aef2
call rax
mov ecx, eax
lea rdx, [rsp + 0x30]
xor eax, eax
call rax
test eax, eax
je 0x18000aef2
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
movzx edi, dil
mov r14d, 1
test eax, eax
cmovne edi, r14d
jmp 0x18000aef8
mov r14d, 1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test dil, dil
je 0x18000af16
mov rax, qword [rsp + 0x30]
jmp 0x18000af27
lea rcx, str.EXPLORER.EXE
call fcn.18000b9d0
mov qword [rsp + 0x30], rax
mov rdi, qword [rsp + 0x268]
mov rsi, qword [rsp + 0x270]
mov rbp, qword [rsp + 0x278]
test rax, rax
je 0x18000af7d
mov r9d, r14d
mov qword [rsp + 0x20], r15
mov r8, rax
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
movzx ebx, bl
cmove ebx, r14d
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x18000af7d
movzx eax, bl
jmp 0x18000af9d
mov r9d, dword [rsp + 0x38]
mov r8d, r12d
mov rdx, r15
mov rcx, r13
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
movzx ecx, bl
cmovne ecx, r14d
movzx eax, cl
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18000fff0
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rbx
ret
Function at 0x18000b740
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1c8]
sub rsp, 0x2c0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x180043078]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
test rcx, rcx
jne 0x18000b780
xor eax, eax
jmp 0x18000b990
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rcx + r8*2], bx
jne 0x18000b7a0
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.180002980
nop
lea rcx, [rsp + 0x48]
call fcn.18000d5a0
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x70]
call fcn.1800120c0
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000b950
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x18000b946
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], bx
lea rax, [rbp - 0x64]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18000b830
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x28]
call fcn.180002980
nop
lea rcx, [rsp + 0x28]
call fcn.18000d5a0
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
lea r8, [rsp + 0x28]
mov r9, qword [rsp + 0x28]
mov r10, qword [rsp + 0x40]
cmp r10, 8
cmovae r8, r9
mov rdx, qword [rsp + 0x38]
cmp rdx, qword [rsp + 0x58]
jne 0x18000b8f9
test rdx, rdx
je 0x18000b8a4
sub r8, rax
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x18000b8f9
add rax, 2
sub rdx, 1
jne 0x18000b890
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18000b950
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000b8f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b9ba
call fcn.18000fed4
jmp 0x18000b950
cmp r10, 8
jb 0x18000b934
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x18000b92c
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b9c0
mov rcx, r9
call fcn.18000fed4
lea rdx, [rsp + 0x70]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
jmp 0x18000b800
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18000b98e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000b989
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b9b4
call fcn.18000fed4
mov eax, ebx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.18000fff0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.180014844
nop
call fcn.180014844
nop
call fcn.180014844
int3