joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140094ba0
Capabilities:
Create directory

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
inc eax
mov r8d, eax
mov dx, reloc.msi.dll_MsiOpenProductW
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.mfc110u.dll_Ordinal_4449]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x140094c2a
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.mfc110u.dll_Ordinal_7902]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
jmp 0x140094bc4
movzx eax, byte [rsp + 0x90]
test eax, eax
jne 0x140094c4f
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
movzx eax, byte [rsp + 0x90]
test eax, eax
je 0x140094cbc
mov dx, reloc.msi.dll_MsiOpenProductW
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.mfc110u.dll_Ordinal_12395]
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.mfc110u.dll_Ordinal_7902]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_1492]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
jmp 0x140094ccf
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_1492]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
mov edx, 6
mov rcx, rax
call qword [sym.imp.MSVCR110.dll__waccess]
test eax, eax
jne 0x140094d07
mov dword [rsp + 0x30], 1
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov eax, dword [rsp + 0x30]
jmp 0x140094d2c
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov eax, dword [rsp + 0x34]
jmp 0x140094d2c
add rsp, 0x78
ret

Function at 0x1400a0760
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400a07b8
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x20]
cmp eax, dword [rsp + 0x78]
jb 0x1400a07b6
jmp 0x1400a07b8
jmp 0x1400a0777
add rsp, 0x68
ret
Function at 0x1400bd6e0
Capabilities:
Find taskbar

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1403542a0]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor edx, edx
lea rcx, str.Shell_TrayWnd
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400bd746
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r8, qword [rsp + 0x80]
lea rdx, [0x1400bda50]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x1400bd8f3
mov dword [rsp + gethostbyaddr], 0x30
lea rdx, [rsp + 0x30]
mov ecx, 5
call qword [sym.imp.SHELL32.dll_SHAppBarMessage]
test rax, rax
je 0x1400bd819
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400bd790
cmp dword [rsp + 0x20], 1
je 0x1400bd7d3
cmp dword [rsp + 0x20], 2
je 0x1400bd790
cmp dword [rsp + 0x20], 3
je 0x1400bd7d3
jmp 0x1400bd814
mov eax, dword [rsp + 0x54]
sub eax, 0x64
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 4], eax
mov eax, dword [rsp + 0x54]
sub eax, 0x10
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x48]
mov dword [rax], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 8], ecx
jmp 0x1400bd814
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x4c]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0xc], ecx
mov eax, dword [rsp + 0x50]
sub eax, 0x64
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov eax, dword [rsp + 0x50]
sub eax, 0x10
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 8], eax
jmp 0x1400bd8f3
cmp qword [rsp + 0x28], 0
je 0x1400bd8a8
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx]
mov eax, dword [rax + 8]
sub eax, ecx
cmp eax, 0x96
jle 0x1400bd870
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
sub eax, 0x96
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 4]
mov eax, dword [rax + 0xc]
sub eax, ecx
cmp eax, 0x1e
jle 0x1400bd8a6
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xc]
sub eax, 0x1e
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 4], eax
jmp 0x1400bd8f3
xor r9d, r9d
mov r8, qword [rsp + 0x80]
xor edx, edx
mov ecx, gethostbyaddr
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
sub eax, 0x96
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xc]
sub eax, 0x1e
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 4], eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400f3d50
add rsp, 0x78
ret
Function at 0x1400c5730
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x18], 8
jb 0x1400c5766
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
jmp 0x1400c5770
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rdx, [0x1402a5c80]
mov rcx, qword [rsp + 0x38]
call fcn.1400d07d0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400c5797
mov eax, dword [rsp + 0x20]
jmp 0x1400c5906
mov ecx, 4
call qword [sym.imp.MSVCR110.dll_malloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400c57b8
mov eax, dword [rsp + 0x20]
jmp 0x1400c5906
mov r8d, 4
xor edx, edx
mov rcx, qword [rsp + 0x30]
call sub.MSVCR110.dll_memset
mov r9, qword [rsp + 0x40]
mov r8d, 4
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.MSVCR110.dll_fread]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCR110.dll_fclose]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax]
cmp eax, 0xeffe
jne 0x1400c5836
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax]
test eax, eax
jne 0x1400c5836
mov dword [rsp + 0x20], 6
jmp 0x1400c58f7
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax]
test eax, eax
jne 0x1400c5872
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax]
cmp eax, 0xfeff
jne 0x1400c5872
mov dword [rsp + 0x20], 7
jmp 0x1400c58f7
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax]
cmp eax, 0xefbb
jne 0x1400c58b3
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax]
or eax, 0xff00
cmp eax, 0xbf
jne 0x1400c58b3
mov dword [rsp + 0x20], 1
jmp 0x1400c58f7
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax]
cmp eax, 0xfeff
jne 0x1400c58d6
mov dword [rsp + 0x20], 3
jmp 0x1400c58f7
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax]
cmp eax, 0xfffe
jne 0x1400c58f7
mov dword [rsp + 0x20], 4
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.MSVCR110.dll_free]
mov eax, dword [rsp + 0x20]
add rsp, 0x58
ret
Function at 0x1400c64e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2d8
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x1403542a0]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140004620
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREATI_TechnologiesInstaller
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400c6593
mov rcx, qword [rsp + 0x2e0]
call fcn.1400c5250
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x68]
call fcn.140004620
mov rax, qword [rsp + 0x2e0]
jmp 0x1400c66ee
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], reloc.mfc110u.dll_Ordinal_520
jae 0x1400c65ae
jmp 0x1400c65b3
call fcn.1400f3e98
xor eax, eax
mov rcx, qword [rsp + 0x48]
mov word [rsp + rcx + 0xb0], ax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x34], reloc.mfc110u.dll_Ordinal_520
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.BaseLocation
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400c664a
movzx eax, word [rsp + 0xb0]
test eax, eax
jne 0x1400c661e
mov qword [rsp + 0x50], 0
jmp 0x1400c6631
lea rcx, [rsp + 0xb0]
call qword [sym.imp.MSVCR110.dll_wcslen]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x68]
call fcn.140004990
jmp 0x1400c667d
lea rcx, [rsp + 0x88]
call fcn.1400c5250
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.14000fec0
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x88]
call fcn.140004620
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x2e0]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x2e0]
mov qword [rax + 0x18], 0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x2e0]
call fcn.140004620
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x2e0]
call fcn.140003fb0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x68]
call fcn.140004620
mov rax, qword [rsp + 0x2e0]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400f3d50
add rsp, 0x2d8
ret
Function at 0x1400c6830
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x288
mov rax, qword [0x1403542a0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x290]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov dword [rsp + 0x40], eax
cmp qword [rsp + 0x48], 0
je 0x1400c691e
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400c68e1
movzx eax, word [rsp + 0x60]
test eax, eax
jne 0x1400c68ba
mov qword [rsp + 0x50], 0
jmp 0x1400c68ca
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCR110.dll_wcslen]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x298]
call fcn.140004990
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x1400c691e
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x28]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + InitCommonControls]
cmp dword [rsp + 0x40], 0
jne 0x1400c692c
mov byte [rsp + 0x30], 1
jmp 0x1400c6931
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400f3d50
add rsp, 0x288
ret

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

Disassembly:
sub rsp, 0x188
mov rax, qword [0x1403542a0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r8d, Ordinal_285
xor edx, edx
lea rcx, [rsp + 0x50]
call sub.MSVCR110.dll_memset
mov dword [rsp + 0x50], Ordinal_280
mov r8d, gethostbyaddr
xor edx, edx
lea rcx, [rsp + 0x20]
call sub.MSVCR110.dll_memset
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rsp + 0x20]
cmp eax, 9
je 0x1400c71df
movzx eax, word [rsp + 0x20]
cmp eax, 6
jne 0x1400c71e3
mov al, 1
jmp 0x1400c71f4
call fcn.1400c7210
test eax, eax
je 0x1400c71f2
mov al, 1
jmp 0x1400c71f4
xor al, al
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400f3d50
add rsp, 0x188
ret
Function at 0x1400c7480
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x18], 8
jb 0x1400c74b8
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
jmp 0x1400c74c2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [0x1402a5c80]
mov rcx, qword [rsp + 0x28]
call fcn.1400d07d0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400c74e7
xor al, al
jmp 0x1400c7591
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.MSVCR110.dll_fseek]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.MSVCR110.dll_ftell]
mov rcx, qword [rsp + 0x60]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.MSVCR110.dll_rewind]
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
add eax, 2
cdqe
mov rcx, rax
call qword [sym.imp.MSVCR110.dll_malloc]
mov rcx, qword [rsp + 0x58]
mov qword [rcx], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax], 0
jne 0x1400c7543
xor al, al
jmp 0x1400c7591
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
add eax, 2
cdqe
mov r8, rax
xor edx, edx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call sub.MSVCR110.dll_memset
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax]
mov r9, qword [rsp + 0x20]
mov r8, rax
mov edx, 1
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call qword [sym.imp.MSVCR110.dll_fread]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.MSVCR110.dll_fclose]
mov al, 1
add rsp, 0x48
ret
Function at 0x1400c82e0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x18], 8
jb 0x1400c8318
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
jmp 0x1400c8322
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [0x1402a5ce8]
mov rcx, qword [rsp + 0x20]
call fcn.1400d07d0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400c8344
xor al, al
jmp 0x1400c836e
movsxd rax, dword [rsp + 0x60]
mov r9, qword [rsp + 0x28]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCR110.dll_fwrite]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR110.dll_fclose]
mov al, 1
add rsp, 0x48
ret

Function at 0x1400c8380
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREATI_TechnologiesInstall
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c845e
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x18], 8
jb 0x1400c83f7
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
jmp 0x1400c8404
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x68]
inc eax
mov eax, eax
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.InstallDir
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400c844e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x1400c8539
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400c8537
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREATI_TechnologiesInstall
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400c8537
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x18], 8
jb 0x1400c84eb
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x1400c84f8
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x70]
inc eax
mov eax, eax
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.InstallDir
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
add rsp, 0x98
ret
Function at 0x1400ce230
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1403542a0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xc8]
cmp qword [rax + 0x18], 8
jb 0x1400ce287
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
jmp 0x1400ce294
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.1400cbf60
movzx eax, al
test eax, eax
je 0x1400ce2ac
mov al, 1
jmp 0x1400ce3cc
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0xc0]
call fcn.1400cc2d0
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xc8]
call fcn.140028450
test eax, eax
jne 0x1400ce2e6
mov dword [rsp + 0x24], 1
jmp 0x1400ce2ee
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x22], al
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x80]
call fcn.140004620
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x1400ce319
xor al, al
jmp 0x1400ce3cc
mov r8, qword [rsp + 0xc8]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0xc0]
call fcn.1400ce180
nop
mov dword [rsp + 0x28], 0xffffffff
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0xc0]
call fcn.1400ce230
movzx eax, al
test eax, eax
je 0x1400ce39c
mov rax, qword [rsp + 0xc8]
cmp qword [rax + 0x18], 8
jb 0x1400ce380
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
jmp 0x1400ce38d
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.MSVCR110.dll__wmkdir]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x1400ce3aa
mov byte [rsp + 0x20], 1
jmp 0x1400ce3af
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.140004620
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400f3d50
add rsp, 0xb8
ret
Function at 0x1400ce470
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [rsp + 0xc0]
add rax, 8
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
cmp qword [rax + 0x18], 8
jb 0x1400ce4b5
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x1400ce4bf
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400cbf60
movzx eax, al
test eax, eax
jne 0x1400ce4d7
mov al, 1
jmp 0x1400ce664
mov dword [rsp + 0x24], 0xffffffff
mov rax, qword [rsp + 0xc0]
add rax, 8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x18], 8
jb 0x1400ce518
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
jmp 0x1400ce522
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400cd5a0
movzx eax, al
test eax, eax
je 0x1400ce58a
mov rax, qword [rsp + 0xc0]
add rax, 8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x18], 8
jb 0x1400ce56c
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
jmp 0x1400ce576
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.MSVCR110.dll__wrmdir]
mov dword [rsp + 0x24], eax
jmp 0x1400ce64c
mov rax, qword [rsp + 0xc0]
add rax, 8
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x18], 8
jb 0x1400ce5c3
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
jmp 0x1400ce5cd
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dl, 1
mov rcx, qword [rsp + 0x38]
call fcn.1400cd650
movzx eax, al
test eax, eax
je 0x1400ce64c
mov rax, qword [rsp + 0xc0]
add rax, 8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x18], 8
jb 0x1400ce619
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
jmp 0x1400ce623
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400ce63c
mov dword [rsp + 0x28], 0
jmp 0x1400ce644
mov dword [rsp + 0x28], 0xffffffff
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1400ce65a
mov byte [rsp + 0x20], 1
jmp 0x1400ce65f
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0xb8
ret
Function at 0x1400cfb10
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x20]
test eax, eax
je 0x1400cfb83
mov rax, qword [rsp + 0x50]
add rax, 0x1c
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x1400cfc90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.MSVCR110.dll__beginthreadex]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x20], 0
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x21], 0
mov rax, qword [rsp + 0x50]
cmp qword [rax + 8], 0
je 0x1400cfb7d
mov al, 1
jmp 0x1400cfbbd
xor al, al
jmp 0x1400cfbbd
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x1400cfbbb
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xffffffff
jne 0x1400cfbae
xor al, al
jmp 0x1400cfbbd
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x21], 0
mov al, 1
jmp 0x1400cfbbd
mov al, 1
add rsp, 0x48
ret

Function at 0x1400cfbd0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea rdx, [rsp + 0x20]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x20], 0x103
jne 0x1400cfc26
mov edx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x22], 0
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x20], 1
add rsp, 0x38
ret