joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003270
Capabilities:
Check if file exists
Create directory

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
xor eax, eax
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], ax
call fcn.1800be330
add rbx, 0x28
cmp qword [rbx + 0x18], 8
jb 0x1800032b7
mov r8, qword [rbx]
jmp 0x1800032ba
mov r8, rbx
lea r9, [0x1801eb87c]
lea rdx, str._s_s_
lea rcx, [rsp + 0x20]
call fcn.1800b5a54
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1800032ee
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp qword [rbx + 0x18], 8
jb 0x1800032f8
mov rbx, qword [rbx]
lea r9, str.Dict
lea rdx, str._s_s_
lea rcx, [rsp + 0x20]
mov r8, rbx
call fcn.1800b5a54
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000332f
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x240
pop rbx
ret

Function at 0x180003350
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp qword [rcx + 0x60], 8
lea r8, [rcx + 0x48]
mov rbx, rcx
jb 0x18000337c
mov r8, qword [r8]
lea r9, str.Config
lea rdx, str._s_s_
lea rcx, [rsp + 0x20]
call fcn.1800b5a54
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1800033ad
lea rcx, [rsp + 0x20]
call fcn.18000d730
lea rax, [rsp + 0x20]
sub rax, 2
nop word [rax + rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x1800033c0
mov rcx, qword [str.Config.ini]
mov qword [rax], rcx
mov rcx, qword [0x1801eb8b0]
mov qword [rax + 8], rcx
mov ecx, dword [0x1801eb8b8]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x1801eb8bc]
mov word [rax + 0x14], cx
cmp word [rsp + 0x20], 0
jne 0x180003401
xor r8d, r8d
jmp 0x18000341b
lea rax, [rsp + 0x20]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180003410
lea rcx, [rbx + 0x68]
lea rdx, [rsp + 0x20]
call fcn.180005450
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x240
pop rbx
ret
Function at 0x180003450
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp qword [rcx + 0x60], 8
lea r8, [rcx + 0x48]
mov rbx, rcx
jb 0x18000347c
mov r8, qword [r8]
lea r9, str.Config
lea rdx, str._s_s_
lea rcx, [rsp + 0x20]
call fcn.1800b5a54
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1800034ad
lea rcx, [rsp + 0x20]
call fcn.18000d730
lea rax, [rsp + 0x20]
sub rax, 2
nop word [rax + rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x1800034c0
mov rcx, qword [str.Related.ini]
mov qword [rax], rcx
mov rcx, qword [0x1801eb8c8]
mov qword [rax + 8], rcx
mov rcx, qword [0x1801eb8d0]
mov qword [rax + 0x10], rcx
cmp word [rsp + 0x20], 0
jne 0x1800034f8
xor r8d, r8d
jmp 0x18000350c
lea rax, [rsp + 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180003501
lea rcx, [rbx + 0x108]
lea rdx, [rsp + 0x20]
call fcn.180005450
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x240
pop rbx
ret

Function at 0x1800036a0
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp qword [rcx + 0x60], 8
lea r8, [rcx + 0x48]
mov rbx, rcx
jb 0x1800036cc
mov r8, qword [r8]
lea r9, str.UseData
lea rdx, str._s_s_
lea rcx, [rsp + 0x20]
call fcn.1800b5a54
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1800036fd
lea rcx, [rsp + 0x20]
call fcn.18000d730
cmp word [rsp + 0x20], 0
jne 0x18000370a
xor r8d, r8d
jmp 0x18000371e
lea rax, [rsp + 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180003713
lea rcx, [rbx + 0x1a8]
lea rdx, [rsp + 0x20]
call fcn.180005450
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x240
pop rbx
ret
Function at 0x180004310
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x480
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rbp, rcx
lea rcx, [rsp + 0x262]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x260], bx
call fcn.1800be330
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x234
mov esi, eax
mov dword [rsp + 0x20], ebx
call fcn.1800be330
lea ecx, [rbx + 2]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180004421
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1800043e6
nop dword [rax + rax]
cmp dword [rsp + 0x28], esi
je 0x1800043ca
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1800043b0
jmp 0x1800043e6
mov rax, rbx
nop dword [rax]
movzx ecx, word [rsp + rax + 0x4c]
lea rax, [rax + 2]
mov word [rsp + rax + 0x25e], cx
test cx, cx
jne 0x1800043d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x260]
call fcn.1800b5db4
cmp word [rax], bx
je 0x18000440f
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180004405
lea rcx, [rbp + 0x1c8]
mov r8, rbx
mov rdx, rax
call fcn.180005450
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1800b5370
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x180004450
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
add rcx, 0x218
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi + 0x218]
lea rcx, [rdi + 0x210]
sub rax, qword [rcx]
imul rax, rax, 0x3e8
cqo
idiv qword [rdi + 0x250]
cmp rax, 0x3e8
jle 0x1800044ad
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call fcn.18001a050
mov dword [rdi + 0xc], eax
mov eax, dword [0x180278bf8]
mov dword [rdi + 0x1e8], eax
mov eax, dword [rdi + 0xc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800044c0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
add rcx, 0x208
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi + 0x208]
lea rcx, [rdi + 0x200]
sub rax, qword [rcx]
imul rax, rax, 0x3e8
cqo
idiv qword [rdi + 0x250]
cmp rax, 0x3e8
jle 0x18000451d
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call fcn.18001a710
mov dword [rdi + 0x10], eax
mov eax, dword [0x180278bf8]
mov dword [rdi + 0x1e8], eax
mov eax, dword [rdi + 0x10]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180004530
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x11c
call fcn.1800be330
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 6
jne 0x1800045a3
cmp dword [rsp + 0x28], 1
ja 0x1800045a3
cmp byte [rsp + 0x13a], 1
jne 0x1800045a3
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x158
ret
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x158
ret

Function at 0x1800045c0
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, str.Shell32.dll
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x1800045fd
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x40
pop rdi
ret
lea rdx, str.SHGetKnownFolderPath
mov rcx, rax
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x180004644
lea rdx, [rsp + 0x28]
lea rcx, str.A520A1A4_1780_4FF6_BD18_167343C5AF16
call qword [sym.imp.ole32.dll_CLSIDFromString]
lea r9, [rsp + 0x20]
lea rcx, [rsp + 0x28]
xor r8d, r8d
mov edx, 0x400
call rbx
test eax, eax
jns 0x180004648
xor al, al
jmp 0x180004680
mov rdx, qword [rsp + 0x20]
mov r8, rdi
sub r8, rdx
nop word [rax + rax]
movzx eax, word [rdx]
lea rdx, [rdx + 2]
mov word [r8 + rdx - 2], ax
test ax, ax
jne 0x180004660
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x40
pop rdi
ret
Function at 0x1800046a0
Capabilities:
Check if file exists
Get common file path
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
lea rcx, [rsp + 0x22]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], bx
call fcn.1800be330
lea rdx, [rsp + 0x20]
call fcn.1800045c0
test al, al
jne 0x180004791
lea rdx, [rsp + 0x20]
lea rcx, str.USERPROFILE
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x18000475f
lea rcx, [rsp + 0x20]
sub rcx, 2
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x180004712
mov rax, qword [str.AppDataLocalLow]
mov qword [rcx], rax
mov rax, qword [0x1801eb988]
mov qword [rcx + 8], rax
mov rax, qword [0x1801eb990]
mov qword [rcx + 0x10], rax
mov rax, qword [0x1801eb998]
mov qword [rcx + 0x18], rax
mov eax, dword [0x1801eb9a0]
mov dword [rcx + 0x20], eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180004791
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rcx, [rsp + 0x20]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], bx
jne 0x180004780
test eax, eax
je 0x180004850
lea rcx, [rsp + 0x20]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x1800047a0
mov eax, dword [0x1801eb7c0]
lea rdx, [rsp + 0x20]
mov dword [rcx], eax
sub rdx, 2
nop dword [rax + rax]
cmp word [rdx + 2], bx
lea rdx, [rdx + 2]
jne 0x1800047c0
mov rcx, qword [str.WanNengWBIME]
mov qword [rdx], rcx
mov rcx, qword [0x1801eb710]
mov qword [rdx + 8], rcx
mov rcx, qword [0x1801eb718]
mov qword [rdx + 0x10], rcx
movzx ecx, word [0x1801eb720]
mov word [rdx + 0x18], cx
lea rcx, [rsp + 0x20]
sub rcx, 2
nop
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x180004800
mov dword [rcx], eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180004825
lea rcx, [rsp + 0x20]
call fcn.18000d730
cmp word [rsp + 0x20], bx
je 0x18000483f
lea rax, [rsp + 0x20]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180004835
lea rcx, [rdi + 0x48]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.180005450
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1800b5370
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret
Function at 0x180004880
Capabilities:
Check if file exists
Get common file path
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
lea rcx, [rsp + 0x22]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], bx
call fcn.1800be330
lea rdx, [rsp + 0x20]
call fcn.1800045c0
test al, al
jne 0x180004971
lea rdx, [rsp + 0x20]
lea rcx, str.USERPROFILE
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x18000493f
lea rcx, [rsp + 0x20]
sub rcx, 2
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x1800048f2
mov rax, qword [str.AppDataLocalLow]
mov qword [rcx], rax
mov rax, qword [0x1801eb988]
mov qword [rcx + 8], rax
mov rax, qword [0x1801eb990]
mov qword [rcx + 0x10], rax
mov rax, qword [0x1801eb998]
mov qword [rcx + 0x18], rax
mov eax, dword [0x1801eb9a0]
mov dword [rcx + 0x20], eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180004971
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rcx, [rsp + 0x20]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], bx
jne 0x180004960
test eax, eax
je 0x180004a4b
lea rcx, [rsp + 0x20]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x180004980
mov eax, dword [0x1801eb7c0]
lea rdx, [rsp + 0x20]
mov dword [rcx], eax
sub rdx, 2
nop dword [rax + rax]
cmp word [rdx + 2], bx
lea rdx, [rdx + 2]
jne 0x1800049a0
mov rcx, qword [str.WanNengWBIME.users]
mov qword [rdx], rcx
mov rcx, qword [0x1801eb740]
mov qword [rdx + 8], rcx
mov rcx, qword [0x1801eb748]
mov qword [rdx + 0x10], rcx
mov rcx, qword [0x1801eb750]
mov qword [rdx + 0x18], rcx
mov ecx, dword [0x1801eb758]
mov dword [rdx + 0x20], ecx
movzx ecx, word [0x1801eb75c]
mov word [rdx + 0x24], cx
lea rcx, [rsp + 0x20]
sub rcx, 2
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x1800049f2
mov dword [rcx], eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180004a17
lea rcx, [rsp + 0x20]
call fcn.18000d730
cmp word [rsp + 0x20], bx
je 0x180004a3a
lea rax, [rsp + 0x20]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180004a30
lea rcx, [rdi + 0x28]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.180005450
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1800b5370
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret
Function at 0x180004a70
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x680
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x670], rax
mov rdi, rcx
xor ebx, ebx
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x40], bx
call fcn.1800be330
lea rcx, str.SOFTWARE_
nop word [rax + rax]
movzx eax, word [rbx + rcx]
lea rbx, [rbx + 2]
mov word [rsp + rbx + 0x3e], ax
test ax, ax
jne 0x180004ac0
lea rcx, [rsp + 0x40]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x180004ae0
cmp qword [rdi + 0x60], 8
mov rax, qword [str.WanNengWBInput]
mov qword [rcx], rax
mov rax, qword [0x1801eb7d0]
mov qword [rcx + 8], rax
mov rax, qword [0x1801eb7d8]
mov qword [rcx + 0x10], rax
mov eax, dword [0x1801eb7e0]
mov dword [rcx + 0x18], eax
movzx eax, word [0x1801eb7e4]
mov word [rcx + 0x1c], ax
lea rcx, [rdi + 0x48]
jb 0x180004b2d
mov rcx, qword [rcx]
lea rdx, [rsp + 0x250]
nop word [rax + rax]
movzx eax, word [rcx]
lea rdx, [rdx + 2]
lea rcx, [rcx + 2]
mov word [rdx - 2], ax
test ax, ax
jne 0x180004b40
cmp qword [rdi + 0x40], 8
lea rcx, [rdi + 0x28]
jb 0x180004b62
mov rcx, qword [rcx]
lea rdx, [rsp + 0x460]
nop word [rax + rax]
movzx eax, word [rcx]
lea rdx, [rdx + 2]
lea rcx, [rcx + 2]
mov word [rdx - 2], ax
test ax, ax
jne 0x180004b70
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180004c0d
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x250]
lea rdx, str.CfgRootPath
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x460]
lea rdx, str.CfgUserPath
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.1800b5370
mov rbx, qword [rsp + 0x690]
add rsp, 0x680
pop rdi
ret

Function at 0x180007510
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x180278768]
test rax, rax
jne 0x180007558
lea ecx, [rax + 8]
call fcn.1800b543c
mov qword [rsp + 0x50], rax
test rax, rax
je 0x180007551
mov rcx, rax
call fcn.1801108e0
nop
mov qword [0x180278768], rax
lea rdx, [rbx + 0x10]
mov rcx, rax
call fcn.1800d97f0
mov qword [rbx + 0x18], rdi
cmp dword [0x1802789e8], 0
jne 0x18000759f
cmp qword [rbx], 0
jne 0x18000759f
lea rax, [rbx + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x180007fb0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx], rax
mov eax, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x180007b00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
test bx, bx
jns 0x180007b90
cmp qword [0x180278750], 0
jne 0x180007b54
mov ecx, 1
call fcn.1800b543c
mov qword [0x180278750], rax
mov rax, qword [0x18027b278]
test rax, rax
jne 0x180007b84
mov ecx, 0x358
call fcn.1800b543c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180007b7d
mov rcx, rax
call fcn.18003a340
nop
mov qword [0x18027b278], rax
mov dword [rax + 0xb4], 1
jmp 0x180007b97
mov rax, qword [0x18027b278]
test di, di
jns 0x180007bf1
cmp qword [0x180278750], 0
jne 0x180007bbe
mov ecx, 1
call fcn.1800b543c
mov qword [0x180278750], rax
mov rax, qword [0x18027b278]
test rax, rax
jne 0x180007be7
mov ecx, 0x358
call fcn.1800b543c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180007be0
mov rcx, rax
call fcn.18003a340
nop
mov qword [0x18027b278], rax
mov dword [rax + 0xb8], 1
mov rax, qword [0x180278760]
test rax, rax
jne 0x180007c2b
lea ecx, [rax + 0x20]
call fcn.1800b543c
test rax, rax
je 0x180007c24
mov byte [rax], 1
mov qword [rax + 8], 0
mov dword [rax + 0x10], 1
mov qword [rax + 0x18], 0
mov qword [0x180278760], rax
mov edx, 1
mov rcx, rax
call fcn.1800869c0
mov rax, qword [0x1802787a8]
test rax, rax
jne 0x180007c68
mov ecx, 0x138
call fcn.1800b543c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180007c61
mov rcx, rax
call fcn.180072da0
nop
mov qword [0x1802787a8], rax
mov dword [rax + 0x12c], 1
mov rcx, qword [0x180278788]
test rcx, rcx
jne 0x180007ca5
mov ecx, 8
call fcn.1800b543c
mov rcx, rax
test rax, rax
je 0x180007c9c
lea rax, vtable.CShareConfigManager.0
mov qword [rcx], rax
jmp 0x180007c9e
xor ecx, ecx
mov qword [0x180278788], rcx
mov rax, qword [rcx]
mov edx, 0x7d
call qword [rax + 0x88]
lea ecx, [rax + 1]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.18002e0b0
Function at 0x180009fd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov ebx, edx
cmp qword [0x180278750], 0
jne 0x180009ffc
mov ecx, 1
call fcn.1800b543c
mov qword [0x180278750], rax
mov rax, qword [0x18027b278]
test rax, rax
jne 0x18000a02c
mov ecx, 0x358
call fcn.1800b543c
mov qword [rsp + 0x50], rax
test rax, rax
je 0x18000a025
mov rcx, rax
call fcn.18003a340
nop
mov qword [0x18027b278], rax
mov edx, ebx
mov rcx, rax
add rsp, 0x30
pop rbx
jmp fcn.18003f170
Function at 0x18000cae0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x458]
sub rsp, 0x530
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov r15, rdx
mov rbx, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
test rdx, rdx
jne 0x18000cb57
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r12
mov word [rcx], r12w
jmp 0x18000ccea
lea rdx, [rbp + 0x30]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x18000ccda
mov esi, r12d
cmp word [rbp + 0x30], si
je 0x18000ccda
lea rdi, [rbp + 0x30]
nop
movsxd rax, esi
lea r14, [rbp + 0x30]
lea r14, [r14 + rax*2]
lea rdx, [0x1801ec280]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x18000cc0a
lea rdx, [0x1801ec288]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x18000cc0a
movzx eax, word [rdi]
mov word [rsp + 0x50], ax
movzx eax, word [rdi + 2]
mov word [rsp + 0x52], ax
mov word [rsp + 0x54], r12w
mov r8d, 0x64
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x18000ccda
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r14, eax
mov r8, r14
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.1800ba188
test eax, eax
je 0x18000cc20
add esi, 4
add rdi, 8
cmp word [rdi], 0
je 0x18000ccda
jmp 0x18000cb80
or rdi, 0xffffffffffffffff
cmp word [rsp + 0x50], 0
jne 0x18000cc31
mov r8, r12
jmp 0x18000cc4b
lea rax, [rsp + 0x50]
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18000cc40
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180004d10
lea rdx, [r15 + r14*2]
cmp word [rdx], 0
jne 0x18000cc70
mov rdi, r12
jmp 0x18000cc7a
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x18000cc70
mov r8, rdi
lea rcx, [rsp + 0x30]
call fcn.180004d10
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
mov rcx, qword [rsp + 0x48]
cmp rcx, 8
jae 0x18000ccc3
mov r8, qword [rsp + 0x40]
inc r8
je 0x18000cccb
add r8, r8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1800b54c0
mov rcx, qword [rsp + 0x48]
jmp 0x18000cccb
mov rax, qword [rsp + 0x30]
mov qword [rbx], rax
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
jmp 0x18000ccfc
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
cmp qword [rsp + 0x48], 8
jb 0x18000ccfc
mov rcx, qword [rsp + 0x30]
call fcn.1800b5354
mov rax, rbx
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.1800b5370
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x18000d730
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
or r8, 0xffffffffffffffff
mov rbx, rcx
mov rdi, r8
nop dword [rax]
inc rdi
cmp word [rcx + rdi*2], 0
jne 0x18000d750
lea eax, [rdi + 1]
movsxd rcx, eax
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.1800b4760
mov rsi, rax
sub rax, rbx
nop word [rax + rax]
movzx ecx, word [rbx]
lea rbx, [rbx + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x18000d780
xor r14d, r14d
movsxd rdi, edi
mov bpl, 1
mov ebx, r14d
test rdi, rdi
js 0x18000d7ef
mov qword [rsp + 0x40], r15
mov r15d, 0x5c
nop dword [rax]
cmp word [rsi + rbx*2], r15w
jne 0x18000d7dd
mov rcx, rsi
mov word [rsi + rbx*2], r14w
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000d7d8
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x18000d7e7
mov word [rsi + rbx*2], r15w
inc rbx
cmp rbx, rdi
jle 0x18000d7b0
jmp 0x18000d7ea
xor bpl, bpl
mov r15, qword [rsp + 0x40]
mov rcx, rsi
call fcn.1800bcdc8
mov rbx, qword [rsp + 0x48]
movzx eax, bpl
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret