joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400121d0
Capabilities:
Check if file exists
Create directory
Query environment variable

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x470
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x498], rbx
mov rax, qword [0x140056b28]
xor rax, rsp
mov qword [rsp + 0x460], rax
movsxd rbp, r8d
mov rsi, rcx
mov edx, 0x3ec
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9d, 2
or rdi, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x100c
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsi + 0x44], eax
cmp eax, 0xffffffff
jne 0x140012297
mov rax, qword [0x140056018]
mov qword [rsp + 0x20], rax
mov edx, 0x27e1
lea rcx, [rsp + 0x20]
call fcn.140011ad0
xor r9d, r9d
lea r8, [0x140044cb0]
mov rbx, qword [rsp + 0x20]
mov rdx, rbx
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x140056010]
je 0x1400123e0
lock xadd dword [rcx], edi
dec edi
test edi, edi
jg 0x1400123e0
call fcn.140025104
jmp 0x1400123e0
mov edx, 0x3ff
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov dword [rsi + 0x54], eax
mov edx, 0x3ff
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1400123d3
xor ebx, ebx
mov word [rsp + 0x40], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.140024c30
mov r8d, 0x104
lea rdx, [rsp + 0x40]
lea rcx, str._APPDATA_KZMount
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140012316
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [rsp + 0x250], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x252]
call fcn.140024c30
lea r8, [rsp + 0x40]
mov edx, 0x104
lea rcx, [rsp + 0x250]
call fcn.140025a10
lea r8, str.KZMount.ini
mov edx, 0x104
lea rcx, [rsp + 0x250]
call fcn.140024d1c
mov r11, qword [0x140056018]
mov qword [rsp + 0x28], r11
mov edx, 0x3ff
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov r8d, eax
lea rdx, [0x140044b38]
lea rcx, [rsp + 0x28]
call fcn.1400121a0
lea r9, [rsp + 0x250]
mov rbx, qword [rsp + 0x28]
mov r8, rbx
lea rdx, str.DiskReadOnly
lea rcx, str.KZMount
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
nop
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x140056010]
je 0x1400123d3
lock xadd dword [rcx], edi
dec edi
test edi, edi
jg 0x1400123d3
call fcn.140025104
mov rdx, rbp
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_EndDialog]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140025960
mov rbx, qword [rsp + 0x498]
add rsp, 0x470
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400129e0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x140056b28]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, VarUI4FromDisp
call fcn.140024c30
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], VarUI4FromDisp
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140012a51
mov eax, dword [rsp + 0x24]
cmp eax, 5
jae 0x140012a37
cmp eax, 4
jne 0x140012a51
cmp dword [rsp + 0x28], 0x5a
jb 0x140012a51
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140025960
add rsp, 0x158
ret
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140025960
add rsp, 0x158
ret

Function at 0x140012d50
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push rbx
sub rsp, 0x450
mov rax, qword [0x140056b28]
xor rax, rsp
mov qword [rsp + 0x440], rax
lea rcx, [rsp + 0x232]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x230], bx
call fcn.140024c30
lea rdx, [rsp + 0x230]
lea rcx, str._APPDATA_KZMount
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], bx
call fcn.140024c30
lea r8, [rsp + 0x230]
lea rcx, [rsp + 0x20]
mov edx, 0x104
call fcn.140025a10
lea r8, str.KZMount.ini
lea rcx, [rsp + 0x20]
mov edx, 0x104
call fcn.140024d1c
lea r9, [rsp + 0x20]
lea rdx, str.DisableExitWarning
lea rcx, str.KZMount
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140025960
add rsp, 0x450
pop rbx
ret

Function at 0x140015c40
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x140056018]
mov qword [rsp + 0x30], rax
mov edx, 0x2794
lea rcx, [rsp + 0x30]
call fcn.140011ad0
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
mov r8, rbx
lea rdx, [0x140045038]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x140056010]
je 0x140015cb5
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
test eax, eax
jg 0x140015cb5
call fcn.140025104
add rsp, 0x40
pop rbx
ret
Function at 0x140015f00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x30
cmp dword [rcx + 0xd8], 0x80004004
mov rsi, r9
mov rbp, r8
mov r12, rdx
mov rbx, rcx
jne 0x140015f44
xor edi, edi
mov eax, 0x80004004
mov dword [rcx + 0xd8], edi
jmp 0x140016038
mov rcx, qword [rcx + 0x88]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140015fec
xor edi, edi
mov dword [rbx + 0xd8], edi
mov rcx, qword [rbx + 0xd0]
cmp rsi, rcx
je 0x140015f9f
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rsi, rsi
je 0x140015f98
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx + 0xd0], rax
test rax, rax
jne 0x140015f9f
mov ecx, 0x8007000e
call fcn.14000e4f0
int3
mov qword [rbx + 0xd0], rdi
mov rcx, qword [rbx + 0xe0]
mov dword [rbx + 0xe8], 1
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea r9, [rbx - 0x50]
lea r8, [0x140015190]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call fcn.1400262d4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0xe0]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [r12]
xor edx, edx
lea rcx, [rbx + 0x80]
imul rax, rax, 0x64
div qword [rbp]
xor edx, edx
lea r9d, [rdx + 0x64]
mov r8, rax
call fcn.14001ec10
mov r11, qword [rbp]
cmp qword [r12], r11
jb 0x140016032
mov rcx, qword [rbx + 0x88]
xor r9d, r9d
mov edx, VarUI4FromDisp
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rbx + 0xd8]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret

Function at 0x140016e00
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp r8, 0x80
jne 0x140016ebf
movzx eax, byte [rcx + 0x84]
test al, al
jne 0x140016ebf
cmp dword [rcx + 0x88], 0
jne 0x140016ebf
sub r9, 0x202
je 0x140016e70
cmp r9, 3
jne 0x140016eb7
call fcn.1400164b0
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov r9d, dword [rsp + 0x64]
mov r8d, dword [rsp + 0x60]
lea rcx, [rbx + 0x1b8]
xor edx, edx
jmp 0x140016ea0
call fcn.1400164b0
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov r9d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x30]
lea rcx, [rbx + 0x1b0]
mov edx, 8
mov rax, qword [rbx + 8]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.140013160
xor eax, eax
add rsp, 0x40
pop rbx
ret
movabs rax, 1
add rsp, 0x40
pop rbx
ret
Function at 0x140017410
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x30
movzx r12d, r9b
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
test rdx, rdx
jne 0x140017440
xor eax, eax
jmp 0x140017449
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsi + 0xb8]
mov r8, rbx
mov edx, eax
call fcn.1400115e0
test rdi, rdi
jne 0x140017463
xor eax, eax
jmp 0x14001746c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsi + 0xc0]
mov r8, rdi
mov edx, eax
call fcn.1400115e0
lea r8, [0x1400173e0]
mov r9, rsi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov byte [rsi + 0xc8], r12b
mov dword [rsp + 0x20], 0
call fcn.1400262d4
test rax, rax
je 0x1400174b6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x140018830
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
xor r8d, r8d
xor edx, edx
add rcx, 0xb8
call fcn.1400115e0
lea rcx, [rbx + 0xc0]
xor r8d, r8d
xor edx, edx
call fcn.1400115e0
xor eax, eax
lea r8, [0x1400173e0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov byte [rbx + 0xc8], 0
mov dword [rsp + 0x20], eax
call fcn.1400262d4
test rax, rax
je 0x14001888e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x30
pop rbx
ret
Function at 0x140018d20
Capabilities:
Copy file
Get common file path

Disassembly:
push rbx
sub rsp, 0x460
mov rax, qword [0x140056b28]
xor rax, rsp
mov qword [rsp + 0x450], rax
lea rcx, [rsp + 0x32]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], bx
call fcn.140024c30
lea rdx, [rsp + 0x30]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140018d75
mov eax, 0x80004005
jmp 0x140018e1a
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdx, str.KuaiZipDrive.sys
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea r8, [rsp + 0x24]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x24], ebx
call qword [sym.imp.imagehlp.dll_MapFileAndCheckSumW]
test eax, eax
jne 0x140018d6b
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jne 0x140018d6b
lea rcx, [rsp + 0x240]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, str.drivers
lea rcx, [rsp + 0x240]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.KuaiZipDrive.sys
lea rcx, [rsp + 0x240]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x30]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, 0x80004005
test eax, eax
cmove ebx, ecx
mov eax, ebx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140025960
add rsp, 0x460
pop rbx
ret

Function at 0x140019010
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x140056b28]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor eax, eax
mov word [rsp + 0x20], ax
mov qword [r11 - 0x56], rax
mov qword [r11 - 0x4e], rax
mov qword [r11 - 0x46], rax
mov qword [r11 - 0x3e], rax
mov qword [r11 - 0x36], rax
mov qword [r11 - 0x2e], rax
mov qword [r11 - 0x26], rax
mov dword [rsp + 0x5a], eax
mov word [rsp + 0x5e], ax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
lea r8, [rsp + 0x20]
mov r9d, 0x20
mov edx, 0x1004
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x14001908d
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140025960
add rsp, 0x78
ret
lea rcx, [rsp + 0x20]
call fcn.140025254
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140025960
add rsp, 0x78
ret
Function at 0x1400190b0
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x490
mov rax, qword [0x140056b28]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r12, rdx
mov rsi, rcx
mov rdx, rcx
lea rcx, [rsp + 0x270]
mov r13, r8
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str..dll
lea rcx, [rsp + 0x270]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x24]
xor ebp, ebp
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x20], ebp
call fcn.140024c30
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001913b
xor eax, eax
jmp 0x1400191d5
mov qword [rsp + 0x4d8], rbx
lea rdx, [0x140045520]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400191a9
lea rdx, [0x140045518]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400191a9
test byte [rsp + 0x20], 0x10
jne 0x1400191a9
lea rcx, [rsi + 0x410]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x4c]
lea rcx, [rsi + 0x410]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsi + 0x410]
mov rcx, r13
call r12
test eax, eax
jne 0x1400191bd
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140019143
jmp 0x1400191c2
mov ebp, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x4d8]
mov eax, ebp
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140025960
add rsp, 0x490
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140019530
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x140019570
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
mov r12, rcx
test r8, r8
jne 0x1400195a3
lea eax, [r8 + 0xd]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
xor edi, edi
mov rbx, r8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea rbx, [rbx + rax*2]
lea edi, [rdi + rax*2]
cmp eax, 1
jne 0x1400195b2
mov rcx, qword [r12]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x140019cb0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140056b28]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rdi, rcx
mov rcx, qword [rcx]
lea rax, [rsp + 0x58]
xor r8d, r8d
or r9d, 0x2001f
mov rsi, rdx
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x140019dfd
mov ebx, ebp
test rcx, rcx
je 0x140019d26
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x48], rcx
test ebx, ebx
jne 0x140019dfd
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140019dd1
nop word [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140019cb0
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x140019dfd
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140019d80
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140019de6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbp
mov rcx, qword [rdi]
mov rdx, rsi
mov dword [rsp + 0x50], ebp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test rcx, rcx
je 0x140019e08
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140025960
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001bbe0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x140056b28]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, rdx
mov rdi, rcx
mov rdx, rcx
mov rcx, rax
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdx, str.Lang
xor ebx, ebx
mov rcx, rdi
mov word [rax], bx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rax, [0x140045400]
lea rsi, [rdi + 0x208]
lea r9, [0x140045b00]
lea r8, [0x140045b00]
lea rdx, str.software_s_s_s
lea rcx, [rsp + 0x40]
mov word [rsi], bx
mov word [rdi + 0x410], bx
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea r11, [rsp + 0x38]
lea r9d, [rbx + 1]
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001bce0
mov rbx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rdx, str.LangModule
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test rbx, rbx
je 0x14001bce0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140025960
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14001c5a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x4b0], rbx
mov rax, qword [0x140056b28]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rsi, r9
mov rbx, r8
mov rax, rdx
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x70], r12
xor edx, edx
lea r8d, [r12 + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14001c618
call fcn.140019440
mov ebx, eax
jmp 0x14001c75a
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14001c63b
call fcn.140019440
mov ebx, eax
jmp 0x14001c750
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14001c660
call fcn.140019440
mov ebx, eax
jmp 0x14001c750
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x14001c699
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14001c68f
lea rcx, [rsp + 0x70]
call fcn.140019c60
nop
mov eax, 0x8007000e
jmp 0x14001c773
mov ecx, eax
test eax, eax
je 0x14001c6d6
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14001c6cc
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14001c6d6
lea rcx, [rsp + 0x70]
call fcn.14001e640
mov rax, qword [rsp + 0x70]
jmp 0x14001c6e0
mov ecx, 0x80070057
call fcn.14000e4f0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x14001c6f8
test rax, rax
jne 0x14001c704
mov ebx, 0x8007000e
jmp 0x14001c750
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x14001c72b
call fcn.140019440
mov ebx, eax
jmp 0x14001c750
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r12w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14001c3c0
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14001c771
lea rcx, [rsp + 0x70]
call fcn.140019c60
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140025960
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop r12
pop rdi
pop rsi
ret
Function at 0x14001e670
Capabilities:
Get graphical window text

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0xf0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x120], rbx
mov rax, qword [0x140056b28]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdx
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov rcx, qword [rdx]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], rbx
mov rcx, qword [r12]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
mov dword [rsp + 0x20], eax
mov rcx, rbx
mov qword [rsp + 0x50], rbx
test eax, eax
jle 0x14001e791
inc eax
movsxd rcx, eax
je 0x14001e720
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14001e716
lea rdx, [rcx + rcx]
cmp rdx, 0x80
jbe 0x14001e720
lea rcx, [rsp + 0x50]
call fcn.14001e640
mov rdx, qword [rsp + 0x50]
jmp 0x14001e72a
mov ecx, 0x80070057
call fcn.14000e4f0
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x50], rdx
jmp 0x14001e741
test rdx, rdx
jne 0x14001e75f
lea rax, [rsp + 0x58]
test rax, rax
je 0x14001e75b
lea rcx, [rsp + 0x50]
call fcn.140019c60
nop
xor eax, eax
jmp 0x14001e7c2
lea r8d, [rdi + 1]
mov rcx, qword [r12]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x14001e78c
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x50], rax
je 0x14001e788
lea rcx, [rsp + 0x50]
call fcn.140019c60
nop
xor eax, eax
jmp 0x14001e7c2
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test edi, edi
jne 0x14001e7a3
lea ebx, [rdi + 1]
jmp 0x14001e7a9
test rax, rax
setne bl
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x50], rax
je 0x14001e7c0
lea rcx, [rsp + 0x50]
call fcn.140019c60
nop
mov eax, ebx
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140025960
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop r12
pop rdi
pop rsi
ret