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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x38], 0xfffffffffffffffe
lea rcx, [rsp + 0x30]
call fcn.140004c70
nop
mov edx, 0x2794
lea rcx, [rsp + 0x30]
call fcn.140005910
lea rcx, [rsp + 0x30]
call fcn.140002d50
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
lea rdx, [0x140035238]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rsp + 0x30]
call fcn.140005d50
add rsp, 0x48
ret

Function at 0x14000ad30
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x140042d30]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.14000dc10
nop
lea rcx, [rsp + 0x38]
call fcn.14000dcc0
mov edx, eax
sub edx, 1
lea rcx, [rsp + 0x38]
call fcn.14000dce0
movzx eax, ax
cmp eax, 0x22
jne 0x14000ada5
lea rcx, [rsp + 0x38]
call fcn.14000dcc0
mov edx, eax
sub edx, 1
mov r8w, 0x5c
lea rcx, [rsp + 0x38]
call fcn.14000dd00
mov rax, qword [0x140035248]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], 0x5a
jmp 0x14000adc6
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x41
jl 0x14000ae23
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jne 0x14000ae21
lea rcx, [rsp + 0x38]
call fcn.140002d50
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.14000a300
mov dword [rsp + 0x44], 1
lea rcx, [rsp + 0x38]
call fcn.140005d50
mov eax, dword [rsp + 0x44]
jmp 0x14000aea8
jmp 0x14000adbb
lea rcx, [rsp + 0x20]
call fcn.1400181d0
nop
mov edx, 0x27f6
lea rcx, [rsp + 0x20]
call fcn.140004770
lea rdx, [0x140034d44]
lea rcx, [rsp + 0x20]
call fcn.14000c0c0
lea rcx, [rsp + 0x38]
call fcn.140002d50
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14000c0c0
lea rcx, [rsp + 0x20]
call fcn.140002d50
mov r9, rax
mov r8d, 0x281f
mov edx, 0x27dd
mov rcx, qword [rsp + 0x70]
call fcn.140008ef0
mov dword [rsp + 0x48], 1
lea rcx, [rsp + 0x20]
call fcn.140004a00
nop
lea rcx, [rsp + 0x38]
call fcn.140005d50
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140022b40
add rsp, 0x68
ret
Function at 0x14000d200
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x160
mov rax, qword [0x140042d30]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov dword [rsp + 0x30], 0
lea rdi, [rsp + 0x34]
xor eax, eax
mov ecx, 0x110
rep stosb byte [rdi], al
mov dword [rsp + 0x30], VarUI4FromDisp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x150], eax
cmp dword [rsp + 0x150], 0
je 0x14000d277
cmp dword [rsp + 0x34], 5
jae 0x14000d26a
cmp dword [rsp + 0x34], 4
jne 0x14000d277
cmp dword [rsp + 0x38], 0x5a
jb 0x14000d277
mov dword [rsp + 0x154], 0
jmp 0x14000d282
mov dword [rsp + 0x154], 1
mov al, byte [rsp + 0x154]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140022b40
add rsp, 0x160
pop rdi
ret

Function at 0x14000ef20
Capabilities:
Copy file
Get common file path

Disassembly:
push rdi
sub rsp, 0x470
mov rax, qword [0x140042d30]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor eax, eax
mov word [rsp + 0x250], ax
lea rdi, [rsp + 0x252]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x250]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14000ef7a
mov eax, 0x80004005
jmp 0x14000f045
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdx, [0x140035830]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [rsp + 0x244], 0
mov dword [rsp + 0x240], 0
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x244]
lea rcx, [rsp + 0x250]
call qword [sym.imp.imagehlp.dll_MapFileAndCheckSumW]
test eax, eax
je 0x14000efd7
mov eax, 0x80004005
jmp 0x14000f045
mov eax, dword [rsp + 0x240]
cmp dword [rsp + 0x244], eax
je 0x14000efee
mov eax, 0x80004005
jmp 0x14000f045
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, str.drivers
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.KuaiZipDrive.sys
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14000f043
mov eax, 0x80004005
jmp 0x14000f045
xor eax, eax
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140022b40
add rsp, 0x470
pop rdi
ret
Function at 0x140011250
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x140042d30]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor eax, eax
mov word [rsp + 0x30], ax
lea rdi, [rsp + 0x32]
xor eax, eax
mov ecx, 0x3e
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov dword [rsp + 0x24], eax
mov r9d, 0x20
lea r8, [rsp + 0x30]
mov edx, 0x1004
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400112b7
call qword [sym.imp.KERNEL32.dll_GetACP]
jmp 0x1400112c1
lea rcx, [rsp + 0x30]
call fcn.1400237fc
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140022b40
add rsp, 0x80
pop rdi
ret

Function at 0x140011330
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x280
mov qword [rsp + 0x270], 0xfffffffffffffffe
mov rax, qword [0x140042d30]
xor rax, rsp
mov qword [rsp + 0x278], rax
mov r8d, 0x104
mov rdx, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov qword [rsp + 0x260], rax
xor ecx, ecx
mov rax, qword [rsp + 0x260]
mov word [rax], cx
lea rdx, str.Lang
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor r11d, r11d
mov rax, qword [rsp + 0x290]
mov word [rax + 0x410], r11w
xor ecx, ecx
mov rax, qword [rsp + 0x290]
mov word [rax + 0x208], cx
lea rax, [0x140035f48]
mov qword [rsp + 0x20], rax
lea r9, [0x140035f38]
lea r8, [0x140035f38]
lea rdx, [0x140035f10]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r11, [rsp + 0x258]
mov qword [rsp + 0x20], r11
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140011439
jmp 0x1400114b1
mov rdx, qword [rsp + 0x258]
lea rcx, [rsp + 0x250]
call fcn.14000e4a0
nop
mov dword [rsp + 0x268], 0x208
mov rbx, qword [rsp + 0x290]
add rbx, 0x208
lea rcx, [rsp + 0x250]
call fcn.140002d50
mov rcx, rax
lea rax, [rsp + 0x268]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.LangModule
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x250]
call fcn.1400119b0
mov rax, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140022b40
add rsp, 0x280
pop rbx
ret
Function at 0x1400116b0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4a0
mov rax, qword [0x140042d30]
xor rax, rsp
mov qword [rsp + 0x498], rax
mov rdx, qword [rsp + 0x4b0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str..dll
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [rsp + 0x240], 0
lea rdi, [rsp + 0x244]
xor eax, eax
mov ecx, 0x24c
rep stosb byte [rdi], al
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x140011741
xor eax, eax
jmp 0x140011826
mov dword [rsp + 0x490], 0
lea rdx, [0x140035fa0]
lea rcx, [rsp + 0x26c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14001177e
lea rdx, [0x140035f98]
lea rcx, [rsp + 0x26c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140011780
jmp 0x1400117f9
mov eax, dword [rsp + 0x240]
and eax, 0x10
test eax, eax
je 0x140011790
jmp 0x1400117f9
mov rcx, qword [rsp + 0x4b0]
add rcx, 0x410
mov rdx, qword [rsp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rsp + 0x4b0]
add rcx, 0x410
lea rdx, [rsp + 0x26c]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rdx, qword [rsp + 0x4b0]
add rdx, 0x410
mov rcx, qword [rsp + 0x4c0]
call qword [rsp + 0x4b8]
test eax, eax
je 0x1400117f9
mov dword [rsp + 0x490], 1
jmp 0x140011814
lea rdx, [rsp + 0x240]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001174c
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rsp + 0x490]
mov rcx, qword [rsp + 0x498]
xor rcx, rsp
call fcn.140022b40
add rsp, 0x4a0
pop rdi
ret
Function at 0x140014770
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x4e0
mov qword [rsp + 0x4c8], 0xfffffffffffffffe
mov rax, qword [0x140042d30]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
call fcn.140013f70
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x78]
call fcn.1400181d0
nop
mov rdx, qword [rsp + 0x4f0]
lea rcx, [rsp + 0x50]
call fcn.140014b50
lea rcx, [rsp + 0x90]
call fcn.1400181d0
nop
mov edx, 0x400
mov rcx, qword [rsp + 0x4f8]
call fcn.140013fe0
mov qword [rsp + 0x38], rax
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140014826
call fcn.140014000
mov dword [rsp + 0x4b0], eax
jmp 0x1400149d1
mov r8, qword [rsp + 0x508]
mov rdx, qword [rsp + 0x500]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x4a8], rax
cmp qword [rsp + 0x4a8], 0
jne 0x140014865
call fcn.140014000
mov dword [rsp + 0x4b0], eax
jmp 0x1400149d1
mov rdx, qword [rsp + 0x4a8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x4b8], rax
cmp qword [rsp + 0x4b8], 0
jne 0x14001489c
call fcn.140014000
mov dword [rsp + 0x4b0], eax
jmp 0x1400149d1
mov rdx, qword [rsp + 0x4a8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x4b8]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x60]
add eax, 1
cmp eax, dword [rsp + 0x60]
jae 0x1400148fc
mov dword [rsp + 0x4c0], 0x8007000e
lea rcx, [rsp + 0x90]
call fcn.1400181f0
nop
lea rcx, [rsp + 0x78]
call fcn.140017d80
mov eax, dword [rsp + 0x4c0]
jmp 0x140014a11
mov eax, dword [rsp + 0x60]
add eax, 1
mov edx, eax
lea rcx, [rsp + 0x90]
call fcn.140018170
nop
lea rcx, [rsp + 0x90]
call fcn.140002d50
test rax, rax
jne 0x140014935
mov dword [rsp + 0x4b0], 0x8007000e
jmp 0x1400149d1
lea rcx, [rsp + 0x90]
call fcn.140002d50
mov rbx, rax
call fcn.140013f70
mov ecx, eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, dword [rsp + 0x60]
mov r8, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x4a0], eax
cmp dword [rsp + 0x4a0], 0
jne 0x14001498a
call fcn.140014000
mov dword [rsp + 0x4b0], eax
jmp 0x1400149d1
mov ebx, dword [rsp + 0x4a0]
lea rcx, [rsp + 0x90]
call fcn.140002d50
mov r11, rax
xor eax, eax
mov word [r11 + rbx*2], ax
lea rcx, [rsp + 0x90]
call fcn.140002d50
mov r8d, dword [rsp + 0x510]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140014b80
mov dword [rsp + 0x4b0], eax
cmp qword [rsp + 0x48], 0
je 0x1400149e4
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x4b0]
mov dword [rsp + 0x4c4], eax
lea rcx, [rsp + 0x90]
call fcn.1400181f0
nop
lea rcx, [rsp + 0x78]
call fcn.140017d80
mov eax, dword [rsp + 0x4c4]
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.140022b40
add rsp, 0x4e0
pop rbx
ret
Function at 0x1400167d0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor eax, eax
test eax, eax
jne 0x1400167de
xor eax, eax
test eax, eax
jne 0x1400167de
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rsp, 0x28
ret

Function at 0x140016810
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor eax, eax
test eax, eax
jne 0x14001681e
xor eax, eax
test eax, eax
jne 0x14001681e
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add rsp, 0x28
ret

Function at 0x1400169e0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x140042d30]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rcx, [rsp + 0x50]
call fcn.140016710
mov r11, qword [rsp + 0x2a0]
mov r9d, dword [r11 + 8]
or r9d, 0x2001f
mov r8, qword [rsp + 0x2a8]
mov rdx, qword [rsp + 0x2a0]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.140016960
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140016a69
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0x50]
call fcn.140016740
mov eax, dword [rsp + 0x270]
jmp 0x140016b2d
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140016af6
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400169e0
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140016ae9
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x274], eax
lea rcx, [rsp + 0x50]
call fcn.140016740
mov eax, dword [rsp + 0x274]
jmp 0x140016b2d
mov dword [rsp + 0x40], 0x100
jmp 0x140016a71
lea rcx, [rsp + 0x50]
call fcn.140016850
mov rdx, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x2a0]
call fcn.1400167d0
mov dword [rsp + 0x278], eax
lea rcx, [rsp + 0x50]
call fcn.140016740
mov eax, dword [rsp + 0x278]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140022b40
add rsp, 0x298
ret
Function at 0x1400170f0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
jne 0x140017103
xor eax, eax
test eax, eax
jne 0x140017103
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x140017150
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x140017168
xor eax, eax
test eax, eax
jne 0x140017168
cmp qword [rsp + 0x60], 0
je 0x140017186
mov dword [rsp + 0x34], 1
jmp 0x14001718e
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1400171a4
mov eax, 0xd
jmp 0x1400171e6
xor eax, eax
test eax, eax
jne 0x140017174
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x48
ret

Function at 0x1400171f0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor eax, eax
test eax, eax
jne 0x140017203
xor eax, eax
test eax, eax
jne 0x140017203
cmp qword [rsp + 0x70], 0
je 0x140017221
mov dword [rsp + 0x48], 1
jmp 0x140017229
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x140017242
mov eax, 0xd
jmp 0x1400172c3
xor eax, eax
test eax, eax
jne 0x14001720f
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x38], rax
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x30]
lea rax, [rax + rcx*2]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x40], 1
jne 0x14001725a
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x58
ret
Function at 0x140019ee0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rax, qword [0x140042d30]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor eax, eax
mov word [rsp + 0x30], ax
lea rdi, [rsp + 0x32]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r9d, 0x104
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, qword [rsp + 0x2a8]
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov rcx, qword [rsp + 0x2a8]
call qword [sym.imp.SHELL32.dll_DragFinish]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001a092
mov rcx, qword [rsp + 0x2a0]
add rcx, 8
lea r8, [rsp + 0x30]
mov edx, 0x3ed
call fcn.14001ace0
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x14001a00d
mov rcx, qword [rsp + 0x2a0]
add rcx, 8
mov r8d, 0x3f7
lea rdx, [rsp + 0x248]
call fcn.140004b00
mov rcx, rax
call fcn.140002d50
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.14001cdb0
xor edx, edx
mov rcx, rax
call fcn.14001aba0
mov rcx, qword [rsp + 0x2a0]
add rcx, 8
mov r8d, 0x3f8
lea rdx, [rsp + 0x258]
call fcn.140004b00
mov rcx, rax
call fcn.140002d50
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.14001cdb0
mov edx, 1
mov rcx, rax
call fcn.14001aba0
jmp 0x14001a092
mov rcx, qword [rsp + 0x2a0]
add rcx, 8
mov r8d, 0x3f7
lea rdx, [rsp + 0x268]
call fcn.140004b00
mov rcx, rax
call fcn.140002d50
mov rdx, rax
lea rcx, [rsp + 0x260]
call fcn.14001cdb0
mov edx, 1
mov rcx, rax
call fcn.14001aba0
mov rcx, qword [rsp + 0x2a0]
add rcx, 8
mov r8d, 0x3f8
lea rdx, [rsp + 0x278]
call fcn.140004b00
mov rcx, rax
call fcn.140002d50
mov rdx, rax
lea rcx, [rsp + 0x270]
call fcn.14001cdb0
xor edx, edx
mov rcx, rax
call fcn.14001aba0
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140022b40
add rsp, 0x290
pop rdi
ret
Function at 0x14001ad10
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x110
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov rax, qword [0x140042d30]
xor rax, rsp
mov qword [rsp + 0x100], rax
call fcn.140013f70
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x40]
call fcn.1400181d0
nop
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r11, qword [rsp + 0x128]
mov qword [r11], 0
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x50]
call fcn.1400181d0
nop
cmp dword [rsp + 0x30], 0
jle 0x14001ae47
mov eax, dword [rsp + 0x30]
add eax, 1
movsxd rdx, eax
lea rcx, [rsp + 0x50]
call fcn.14001b1c0
nop
lea rcx, [rsp + 0x50]
call fcn.140002d50
test rax, rax
jne 0x14001adef
mov dword [rsp + 0xe0], 0
lea rcx, [rsp + 0x50]
call fcn.1400181f0
nop
lea rcx, [rsp + 0x40]
call fcn.140017d80
mov eax, dword [rsp + 0xe0]
jmp 0x14001aee2
mov ebx, dword [rsp + 0x30]
add ebx, 1
lea rcx, [rsp + 0x50]
call fcn.140002d50
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x14001ae47
mov dword [rsp + 0xe4], 0
lea rcx, [rsp + 0x50]
call fcn.1400181f0
nop
lea rcx, [rsp + 0x40]
call fcn.140017d80
mov eax, dword [rsp + 0xe4]
jmp 0x14001aee2
lea rcx, [rsp + 0x50]
call fcn.140002d50
mov rcx, rax
call fcn.140017780
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r11, rax
mov rax, qword [rsp + 0x128]
mov qword [rax], r11
cmp dword [rsp + 0x30], 0
jne 0x14001ae84
mov dword [rsp + 0xf8], 1
jmp 0x14001aeb8
mov rax, qword [rsp + 0x128]
cmp qword [rax], 0
je 0x14001ae9f
mov dword [rsp + 0xfc], 1
jmp 0x14001aeaa
mov dword [rsp + 0xfc], 0
mov eax, dword [rsp + 0xfc]
mov dword [rsp + 0xf8], eax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0xe8], eax
lea rcx, [rsp + 0x50]
call fcn.1400181f0
nop
lea rcx, [rsp + 0x40]
call fcn.140017d80
mov eax, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140022b40
add rsp, 0x110
pop rbx
ret
Function at 0x14001b2b0
Capabilities:
Query environment variable
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x698
mov rax, qword [0x140042d30]
xor rax, rsp
mov qword [rsp + 0x680], rax
mov rcx, qword [rsp + 0x6b0]
add rcx, 8
xor edx, edx
call fcn.140002da0
mov ecx, 0xc
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 0xb
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
lea rcx, [0x140044590]
call fcn.140004a20
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
mov r9d, edi
mov r8d, 1
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x6b0]
add rcx, 8
mov r8d, 1
mov rdx, qword [rsp + 0x30]
call fcn.140004b80
mov ecx, 0x32
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 0x31
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
lea rcx, [0x140044590]
call fcn.140004a20
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
mov r9d, edi
mov r8d, 1
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rsp + 0x250], rax
mov rcx, qword [rsp + 0x6b0]
add rcx, 8
xor r8d, r8d
mov rdx, qword [rsp + 0x250]
call fcn.140004b80
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 0x2001
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov rcx, qword [rsp + 0x6b0]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor edx, edx
mov word [rsp + 0x470], dx
lea rdi, [rsp + 0x472]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x470]
lea rcx, [0x140036b20]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rsp + 0x6b0]
add rcx, 8
lea r8, [rsp + 0x470]
mov edx, 0x3f3
call fcn.14001ace0
xor edx, edx
mov word [rsp + 0x40], dx
lea rdi, [rsp + 0x42]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x40]
lea rcx, [0x140036b48]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor edx, edx
mov word [rsp + 0x260], dx
lea rdi, [rsp + 0x262]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea r8, [rsp + 0x40]
mov edx, 0x104
lea rcx, [rsp + 0x260]
call fcn.140022aa8
lea rdx, [0x140036b70]
lea rcx, [rsp + 0x260]
call fcn.140004740
lea r9, [rsp + 0x260]
xor r8d, r8d
lea rdx, [0x140036b90]
lea rcx, [0x140036ba8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rcx, qword [rsp + 0x6b0]
add rcx, 8
mov r8d, eax
mov edx, 0x3fb
call fcn.140004aa0
lea r9, [rsp + 0x260]
xor r8d, r8d
lea rdx, [0x140036bb8]
lea rcx, [0x140036be0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rcx, qword [rsp + 0x6b0]
add rcx, 8
mov r8d, eax
mov edx, 0x414
call fcn.140004aa0
movabs rax, 1
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.140022b40
add rsp, 0x698
pop rdi
pop rbx
ret