joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000ee70
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x120
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, r9
mov rbp, r8
mov r14, rdx
mov rdi, rcx
mov rcx, qword [rcx]
xor ebx, ebx
test rcx, rcx
je 0x18000eeb8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x18000eeb8
mov qword [rdi], rbx
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.18000c150
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x88]
call fcn.18000f110
nop
mov r8d, 0x20
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.18000ee50
nop
mov r8, rbp
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18000c470
nop
mov rcx, qword [rsp + 0x78]
call fcn.18002f990
nop
mov rcx, qword [rsp + 0x88]
call fcn.18002f990
nop
mov rcx, qword [rsp + 0x50]
call fcn.18002f990
mov dword [rsp + 0xb0], 0x68
mov qword [rsp + 0xb8], rbx
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xc0], xmm0
mov dword [rsp + 0xec], ebx
mov word [rsp + 0xf2], bx
mov qword [rsp + 0xf8], rbx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x18000efa4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x18000efbd
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x98]
mov qword [rdi], rax
mov rcx, qword [rsp + 0x60]
call fcn.18002f990
mov eax, ebx
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x18000eff0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
cmp byte [rsp + 0xf0], 0
jne 0x18000f02d
call fcn.18000ee70
jmp 0x18000f0f5
mov rcx, qword [rcx]
xor edi, edi
test rcx, rcx
je 0x18000f044
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x18000f044
mov qword [rbx], rdi
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.18000c150
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.18000f110
nop
mov rcx, qword [rsp + 0x20]
call fcn.18002f990
mov dword [rsp + 0x50], 0x70
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rsp + 0x54]
call fcn.18004f700
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x54], 0x240
mov dword [rsp + 0x80], 1
mov rax, qword [rsi]
mov qword [rsp + 0x70], rax
mov rcx, rbx
call fcn.18000f1f0
lea rcx, str.runas
test eax, eax
cmovne rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x18000f0de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x18000f0e9
mov rax, qword [rsp + 0xb8]
mov qword [rbx], rax
mov rcx, qword [rsp + 0x30]
call fcn.18002f990
mov eax, edi
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x18000f1f0
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub rsp, 0x188
mov rax, qword [0x1800a3830]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x11c
call fcn.18004f700
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x54], 5
jg 0x18000f264
cmp dword [rsp + 0x58], 2
jg 0x18000f264
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.18002fa40
add rsp, 0x188
ret
xor eax, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.18002fa40
add rsp, 0x188
ret

Function at 0x18000f380
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
lea r9, [rsp + 0x58]
xor eax, eax
mov dword [rsp + 0x58], 0
cmp byte [r8], al
mov rbx, r8
mov dword [rsp + 0x50], 4
setne al
xor r8d, r8d
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x40], 0
setne cl
mov byte [rbx], cl
add rsp, 0x30
pop rbx
ret
Function at 0x18000fbc0
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1800a3830]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov rax, qword [0x1800a6200]
test rax, rax
jne 0x18000fc14
mov ecx, 0x1a8
call fcn.18002f954
mov qword [rsp + 0x38], rax
test rax, rax
je 0x18000fc0a
mov rcx, rax
call fcn.180020580
jmp 0x18000fc0d
mov rax, rbx
mov qword [0x1800a6200], rax
mov rcx, rax
call fcn.1800206b0
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rbx
mov word [rsp + 0x40], bx
cmp word [rax], 0
jne 0x18000fc3a
mov r8, rbx
jmp 0x18000fc4b
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x18000fc40
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18000ae80
nop
mov r8d, 0xb
lea rdx, str.TGDmhlp.exe
lea rcx, [rsp + 0x40]
call fcn.1800102c0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000fcb4
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.b959a1
call fcn.18001c680
nop
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x18000fcd1
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.18000afd0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18002fa40
add rsp, 0x70
pop rbx
ret

Function at 0x18000fcf0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
xor edx, edx
lea rcx, str.GDefmng.exe
call fcn.18001d220
xor edx, edx
lea rcx, str.GDVCDbus.exe
add rsp, 0x28
jmp fcn.18001d220
Function at 0x18000fd20
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x1800a3830]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov qword [rsp + 0x78], 7
xor edi, edi
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x60], di
xor r8d, r8d
lea rdx, [0x18006de50]
lea rcx, [rsp + 0x60]
call fcn.18000ae80
nop
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rdi
mov word [rsp + 0x40], di
xor r8d, r8d
lea rdx, [0x18006de50]
lea rcx, [rsp + 0x40]
call fcn.18000ae80
nop
mov rax, qword [0x1800a6200]
test rax, rax
jne 0x18000fdda
mov ecx, 0x1a8
call fcn.18002f954
mov qword [rsp + 0x38], rax
test rax, rax
je 0x18000fdd0
mov rcx, rax
call fcn.180020580
jmp 0x18000fdd3
mov rax, rdi
mov qword [0x1800a6200], rax
mov rcx, rax
call fcn.1800206b0
or rbx, 0xffffffffffffffff
cmp word [rax], 0
jne 0x18000fdf1
mov r8, rdi
jmp 0x18000fdff
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x18000fdf4
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18000ae80
mov r8d, 0xc
lea rdx, str.GDVCDbus.exe
lea rcx, [rsp + 0x40]
call fcn.1800102c0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000ff07
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.18004f700
lea r8, str.7c4585
lea rdx, [0x18006e9d0]
lea rcx, [rbp - 0x80]
call fcn.180010760
mov r8d, 1
lea rdx, [0x18006e9d8]
lea rcx, [rsp + 0x60]
call fcn.18000ae80
mov r9, rbx
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180010190
mov r8d, 2
lea rdx, [0x18006e9dc]
lea rcx, [rsp + 0x60]
call fcn.1800102c0
cmp word [rbp - 0x80], 0
jne 0x18000feb9
mov rbx, rdi
jmp 0x18000feca
lea rax, [rbp - 0x80]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x18000fec0
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.1800102c0
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdi
mov r9d, 0x1388
mov r8b, 1
lea rdx, [0x18006de50]
call fcn.18001c680
nop
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x18000ff24
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.18000afd0
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rdi
mov word [rsp + 0x40], di
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x18000ff54
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.18000afd0
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.18002fa40
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1800107e0
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 ebx, ebx
movsxd rbp, edx
xor r11d, r11d
xor r10d, r10d
mov r14, r9
mov r15, r8
mov rdi, rcx
test edx, edx
jle 0x18001091c
mov rsi, rcx
lea r12, [0x18006eab0]
neg rsi
mov rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x3d
jne 0x180010836
inc r11d
cmp r11d, 2
jg 0x180010889
cmp al, 0x7f
ja 0x180010889
movzx eax, al
movzx ecx, byte [rax + r12]
cmp cl, 0x7f
je 0x180010889
cmp cl, 0x40
jae 0x180010851
test r11d, r11d
jne 0x180010889
inc rdx
inc ebx
inc r10d
lea rax, [rsi + rdx]
cmp rax, rbp
jl 0x180010826
test ebx, ebx
je 0x18001091c
lea eax, [rbx + rbx*2]
lea eax, [rax*2 + 7]
sar eax, 3
cmp dword [r9], eax
jge 0x180010893
mov dword [r9], eax
mov eax, 0xfffffff0
jmp 0x18001091e
mov eax, 0xffffffee
jmp 0x18001091e
xor r8d, r8d
xor r11d, r11d
mov r9d, 3
mov rax, r15
test r10d, r10d
jle 0x180010916
nop word [rax + rax]
movzx ecx, byte [rdi]
movzx edx, byte [rcx + r12]
xor ecx, ecx
cmp dl, 0x40
sete cl
and edx, 0x3f
sub r9d, ecx
inc r11d
mov ecx, r8d
mov r8d, edx
shl ecx, 6
or r8d, ecx
cmp r11d, 4
jne 0x18001090b
xor r11d, r11d
test r9d, r9d
jle 0x1800108ee
mov ecx, r8d
shr ecx, 0x10
mov byte [rax], cl
inc rax
cmp r9d, 1
jle 0x1800108ff
mov ecx, r8d
shr ecx, 8
mov byte [rax], cl
inc rax
cmp r9d, 2
jle 0x18001090b
mov byte [rax], r8b
inc rax
dec r10d
inc rdi
test r10d, r10d
jg 0x1800108b0
sub eax, r15d
mov dword [r14], eax
xor eax, eax
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret

Function at 0x180010940
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
mov byte [rcx + 0x89], 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 0x18001097f
mov rdx, qword [rdx]
call fcn.180012070
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x180012bc0
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x798]
sub rsp, 0x898
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1800a3830]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov edi, r9d
mov r14, r8
mov rsi, rdx
mov rbx, rcx
lea r9, [rcx + 0xc0]
cmp qword [r9 + 0x18], 8
jb 0x180012c0f
mov r9, qword [r9]
mov r8d, edi
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, edi
jne 0x180012d8b
mov qword [rsp + 0x50], 7
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
xor r8d, r8d
lea rdx, [0x18006de50]
lea rcx, [rsp + 0x38]
call fcn.18000ae80
nop
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x80]
call fcn.18004f700
mov r8d, edi
lea rdx, [0x18006ee10]
lea rcx, [rbp - 0x80]
call fcn.180010760
lea rax, [rbp - 0x80]
mov r9, r14
mov r8, rsi
lea rdx, [rsp + 0x58]
mov rcx, rbx
mov qword [rsp + 0x20], rax
cmp byte [rbx + 9], r15b
je 0x180012ce6
call fcn.180012a80
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x180012ce4
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x180012cc2
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.18000afd0
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180012250
nop
jmp 0x180012d37
call fcn.180012b80
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x180012d37
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x180012d15
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.18000afd0
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180012250
nop
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x180012d54
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.18000afd0
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call fcn.1800566f0
mov ebx, eax
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x180012d89
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.18000afd0
mov eax, ebx
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.18002fa40
add rsp, 0x898
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x180012db0
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 [0x1800a3830]
xor rax, rsp
mov qword [rsp + 0x870], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x40], rdx
mov rsi, qword [rsp + 0x8e0]
xor edi, edi
mov dword [rsp + 0x30], edi
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x70]
call fcn.18004f700
lea rax, [rbp + 0xc0]
cmp qword [rax + 0x18], 8
jb 0x180012e1d
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x70]
mov r8, rsi
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x180012e56
mov rax, qword [rbx]
jmp 0x180012e59
mov rax, rbx
mov word [rax], di
cmp word [rsp + 0x70], di
je 0x180012e7a
lea rax, [rsp + 0x70]
or rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x180012e70
mov r8, rdi
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.18000ae80
mov dword [rsp + 0x30], 1
cmp qword [rbx + 0x18], 8
jb 0x180012e9e
mov rax, qword [rbx]
jmp 0x180012ea1
mov rax, rbx
mov r11, rsi
sub r11, rax
nop word [rax + rax]
movzx r10d, word [rax]
movzx edx, word [rax + r11]
sub r10d, edx
jne 0x180012ec6
add rax, 2
test edx, edx
jne 0x180012eb0
test r10d, r10d
jne 0x180012f18
mov qword [rsp + 0x20], rsi
mov r9, r15
mov r8, r14
lea rdx, [rsp + 0x48]
mov rcx, rbp
cmp byte [rbp + 9], r10b
je 0x180012eeb
call fcn.180012a80
jmp 0x180012ef0
call fcn.180012b80
mov rdx, rax
mov rcx, rbx
call fcn.1800121a0
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x180012f18
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.18000afd0
mov rax, rbx
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.18002fa40
add rsp, 0x888
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180013f50
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 [0x1800a3830]
xor rax, rsp
mov qword [rbp + 0x990], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.18004f700
cmp qword [rdi + 0x58], 8
lea r8, [rdi + 0x40]
jb 0x180013f9e
mov r8, qword [r8]
lea r9, str.conf
lea rdx, [0x18006f098]
lea rcx, [rsp + 0x40]
call fcn.180010760
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180013fcf
lea rcx, [rsp + 0x40]
call fcn.18001a4c0
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.18004f700
lea r9, str.vstginf.ini
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rbp + 0x150]
call fcn.180010760
xor ebx, ebx
cmp word [rbp + 0x150], bx
jne 0x180014012
mov r8d, ebx
jmp 0x18001402a
lea rax, [rbp + 0x150]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x180014020
lea rcx, [rdi + 0xc0]
lea rdx, [rbp + 0x150]
call fcn.18000ae80
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.18004f700
lea r9, str.useCache.ini
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rbp + 0x360]
call fcn.180010760
cmp word [rbp + 0x360], bx
jne 0x18001407e
mov r8, rbx
jmp 0x18001409a
lea rax, [rbp + 0x360]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x180014090
lea rcx, [rdi + 0xe0]
lea rdx, [rbp + 0x360]
call fcn.18000ae80
xor edx, edx
lea rcx, [rbp + 0x570]
mov r8d, 0x208
call fcn.18004f700
lea rdx, str.DSKXRoad
lea rcx, [rsp + 0x20]
call fcn.18001bc20
cmp qword [rax + 0x18], 8
jb 0x1800140dc
mov rax, qword [rax]
mov r8, rax
lea rdx, [0x18006f0f4]
lea rcx, [rbp + 0x570]
call fcn.180010760
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x18001410f
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
inc r8
call fcn.18000afd0
lea rcx, [rbp + 0x570]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18001412c
lea rcx, [rbp + 0x570]
call fcn.18001a4c0
xor edx, edx
lea rcx, [rbp + 0x780]
mov r8d, 0x208
call fcn.18004f700
lea r9, str.useCache.ini
lea r8, [rbp + 0x570]
lea rdx, str._s_s
lea rcx, [rbp + 0x780]
call fcn.180010760
cmp word [rbp + 0x780], bx
je 0x18001417f
lea rax, [rbp + 0x780]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180014175
lea rcx, [rdi + 0x100]
mov r8, rbx
lea rdx, [rbp + 0x780]
call fcn.18000ae80
mov rcx, qword [rbp + 0x990]
xor rcx, rsp
call fcn.18002fa40
lea r11, [rsp + 0xaa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x180017e10
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 0x180019d80
Capabilities:
Check if file exists

Disassembly:
push rdi
mov eax, 0x1270
call fcn.18002ff00
sub rsp, rax
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x1290], rbx
mov rax, qword [0x1800a3830]
xor rax, rsp
mov qword [rsp + 0x1260], rax
mov rbx, rdx
mov edi, ecx
cmp qword [0x1800a6a10], 0
jne 0x180019eb0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.18004f700
movups xmm0, xmmword [str.C:LogResLog64.dll]
movaps xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x180071c20]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [0x180071c30]
movsd qword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180019e99
lea r8, [0x1800a6a50]
cmp qword [0x1800a6a68], 8
cmovae r8, qword [0x1800a6a50]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.180019b40
nop
mov r8d, 0xc
lea rdx, str.ResLog64.dll
lea rcx, [rsp + 0x30]
call fcn.1800102c0
lea rcx, [rsp + 0x30]
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x48]
cmp r8, 8
cmovae rcx, r9
lea rdx, [rsp + 0x50]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x180019e70
cmp r8, 8
jb 0x180019e99
inc r8
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.18000afd0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x1800a6a10], rax
test rax, rax
je 0x180019f1f
xor r8d, r8d
lea rdx, [0x18006de50]
mov rcx, rbx
call fcn.18000ae80
mov r9d, 0x800
lea r8, [rsp + 0x260]
mov edx, edi
mov rcx, qword [0x1800a6a10]
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x180019f1f
cmp word [rsp + 0x260], 0
jne 0x180019ef3
xor r8d, r8d
jmp 0x180019f0b
lea rax, [rsp + 0x260]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180019f00
lea rdx, [rsp + 0x260]
mov rcx, rbx
call fcn.18000ae80
mov al, 1
jmp 0x180019f21
xor al, al
mov rcx, qword [rsp + 0x1260]
xor rcx, rsp
call fcn.18002fa40
mov rbx, qword [rsp + 0x1290]
add rsp, 0x1270
pop rdi
ret

Function at 0x180019f50
Capabilities:
Check if file exists

Disassembly:
sub rsp, 0x248
mov rax, qword [0x1800a3830]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.18004f700
lea r8, [0x18006ee00]
lea rdx, str.C:log_s.log
lea rcx, [rsp + 0x20]
call fcn.180010760
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.18002fa40
add rsp, 0x248
ret
Function at 0x18001a5a0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1800a3830]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x290], rbx
mov rsi, rdx
xor bl, bl
mov rbp, rcx
call fcn.18001b8a0
xor edi, edi
test al, al
je 0x18001a63c
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
call fcn.18001b7b0
test al, al
je 0x18001a63c
mov r8, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x298], r14
lea edx, [rdi + 0x1a]
mov r14d, 1
mov qword [rsp + 0x20], rax
mov r9d, r14d
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]
mov r14, qword [rsp + 0x298]
test bl, bl
jne 0x18001a650
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov rbx, qword [rsp + 0x290]
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x18001a661
test eax, eax
je 0x18001a71f
lea rcx, [rsp + 0x40]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x18001a680
mov eax, dword [0x18006effc]
lea rdx, [rsp + 0x40]
sub rdx, 2
mov dword [rcx], eax
nop dword [rax + rax]
cmp word [rdx + 2], di
lea rdx, [rdx + 2]
jne 0x18001a6a0
xor r8d, r8d
nop dword [rax]
movzx ecx, word [rsi + r8*2]
mov word [rdx + r8*2], cx
lea r8, [r8 + 1]
test cx, cx
jne 0x18001a6b0
lea rcx, [rsp + 0x40]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x18001a6d0
mov dword [rcx], eax
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18001a6f5
lea rcx, [rsp + 0x40]
call fcn.18001a4c0
cmp word [rsp + 0x40], di
je 0x18001a70f
lea rax, [rsp + 0x40]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], 0
jne 0x18001a705
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.18000ae80
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18002fa40
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
Function at 0x18001b8a0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x248
mov rax, qword [0x1800a3830]
xor rax, rsp
mov qword [rsp + 0x230], rax
movzx eax, byte [0x1800a6b60]
test al, al
jne 0x18001b952
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.18004f700
mov r9d, 1
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x19]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x18001b94b
lea rcx, [rsp + 0x20]
call fcn.180056c88
lea rdx, [0x180071e28]
lea rcx, [rsp + 0x20]
call fcn.18004f8a0
test rax, rax
jne 0x18001b92b
lea rdx, str.documents_and_settingslocalservice
lea rcx, [rsp + 0x20]
call fcn.18004f8a0
test rax, rax
je 0x18001b94b
mov al, 1
mov byte [0x1800a6b60], al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.18002fa40
add rsp, 0x248
ret
movzx eax, byte [0x1800a6b60]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.18002fa40
add rsp, 0x248
ret