joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400239d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2d8
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x140070a30]
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.14001b260
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 0x140023a83
mov rcx, qword [rsp + 0x2e0]
call fcn.140022e00
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.14001b260
mov rax, qword [rsp + 0x2e0]
jmp 0x140023bde
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0x208
jae 0x140023a9e
jmp 0x140023aa3
call fcn.14003a574
xor eax, eax
mov rcx, qword [rsp + 0x48]
mov word [rsp + rcx + 0xb0], ax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x34], 0x208
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 0x140023b3a
movzx eax, word [rsp + 0xb0]
test eax, eax
jne 0x140023b0e
mov qword [rsp + 0x50], 0
jmp 0x140023b21
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.14001c5d0
jmp 0x140023b6d
lea rcx, [rsp + 0x88]
call fcn.140022e00
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.1400156b0
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x88]
call fcn.14001b260
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.14001b260
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x2e0]
call fcn.1400183f0
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.14001b260
mov rax, qword [rsp + 0x2e0]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14003a110
add rsp, 0x2d8
ret
Function at 0x140023ce0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x288
mov rax, qword [0x140070a30]
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 0x140023dce
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140023d91
movzx eax, word [rsp + 0x60]
test eax, eax
jne 0x140023d6a
mov qword [rsp + 0x50], 0
jmp 0x140023d7a
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.14001c5d0
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x140023dce
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 + 0x10]
cmp dword [rsp + 0x40], 0
jne 0x140023ddc
mov byte [rsp + 0x30], 1
jmp 0x140023de1
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14003a110
add rsp, 0x288
ret

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

Disassembly:
sub rsp, 0x188
mov rax, qword [0x140070a30]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r8d, 0x11c
xor edx, edx
lea rcx, [rsp + 0x50]
call sub.MSVCR110.dll_memset
mov dword [rsp + 0x50], 0x114
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x20]
call sub.MSVCR110.dll_memset
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x54], 0xa
jne 0x140023e6b
cmp dword [rsp + 0x58], 0
jb 0x140023e6b
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
jmp 0x140023e76
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rsp + 0x20]
cmp eax, 9
je 0x140023e8a
movzx eax, word [rsp + 0x20]
cmp eax, 6
jne 0x140023e8e
mov al, 1
jmp 0x140023e9f
call fcn.140023ec0
test eax, eax
je 0x140023e9d
mov al, 1
jmp 0x140023e9f
xor al, al
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14003a110
add rsp, 0x188
ret
Function at 0x14002e440
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 0x14002e485
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 0x14002e48f
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140025db0
movzx eax, al
test eax, eax
jne 0x14002e4a7
mov al, 1
jmp 0x14002e634
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 0x14002e4e8
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 0x14002e4f2
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140026ea0
movzx eax, al
test eax, eax
je 0x14002e55a
mov rax, qword [rsp + 0xc0]
add rax, 8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x18], 8
jb 0x14002e53c
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 0x14002e546
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 0x14002e61c
mov rax, qword [rsp + 0xc0]
add rax, 8
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x18], 8
jb 0x14002e593
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 0x14002e59d
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dl, 1
mov rcx, qword [rsp + 0x38]
call fcn.140026ff0
movzx eax, al
test eax, eax
je 0x14002e61c
mov rax, qword [rsp + 0xc0]
add rax, 8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x18], 8
jb 0x14002e5e9
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 0x14002e5f3
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 0x14002e60c
mov dword [rsp + 0x28], 0
jmp 0x14002e614
mov dword [rsp + 0x28], 0xffffffff
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x14002e62a
mov byte [rsp + 0x20], 1
jmp 0x14002e62f
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0xb8
ret
Function at 0x140033710
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140070a30]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x50], 0
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_TechnologiesLog
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140033923
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x18], 8
jb 0x1400337cf
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
jmp 0x1400337dc
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x60]
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.File
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r8d, dword [rsp + 0xb8]
lea rdx, [0x1400518fc]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.Level
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r8d, dword [rsp + 0xc0]
lea rdx, [0x1400518fc]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.Append
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r8d, dword [rsp + 0xc8]
lea rdx, [0x1400518fc]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.MaxSize
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14003a110
add rsp, 0xa8
ret
Function at 0x140035380
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov rax, qword [0x140070a30]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x30], 1
lea rcx, str._r_n
call fcn.140035e30
lea rcx, [rsp + 0x68]
call fcn.140036100
lea rcx, [rsp + 0x50]
call fcn.140036120
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x68]
lea rcx, str.Time_of_exception:_t_s__s_r_n
call fcn.140035e30
mov rax, qword [rsp + 0x2b0]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
call fcn.140035510
mov r8, rax
mov rax, qword [rsp + 0x38]
mov edx, dword [rax]
lea rcx, str.Exception_code:__08X__s_r_n
call fcn.140035e30
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
mov r8d, 0x104
lea rdx, [rsp + 0x80]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x10]
call fcn.140035830
test eax, eax
jne 0x140035453
lea rcx, str.Failded_to_get_GetLogicalAddress_Information_r_n
call fcn.140035e30
mov dword [rsp + 0x30], 0
jmp 0x14003547f
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x4c]
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax + 0x10]
lea rcx, str.Fault_address:___08X__02X:_08X__s_r_n
call fcn.140035e30
mov rax, qword [rsp + 0x2b0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x30], 0x10000b
cmp dword [rsp + 0x30], 0
je 0x1400354de
call fcn.140035ee0
test eax, eax
jne 0x1400354c5
lea rcx, str.IMAGEHLP.DLL_or_its_exported_procs_not_found
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x40]
call fcn.140035a30
jmp 0x1400354ea
mov rcx, qword [rsp + 0x40]
call fcn.140035ba0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [0x140070cd8]
lea rcx, [0x140051b54]
call fcn.140035e30
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14003a110
add rsp, 0x2a8
ret
Function at 0x140035830
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov r8d, 0x30
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x140035897
mov r8, qword [rsp + 0xb0]
mov edx, dword [rsp + 0x38]
lea rcx, str.Failed_in_VirtualQuery_returned_0x_x__Exception_address:_0x_08x_r_n
call fcn.140035e30
xor eax, eax
jmp 0x140035a12
jmp 0x1400358a2
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400358c4
lea rcx, str.Error:_GetLogicalAddress::hMod__NULL_r_n
call fcn.140035e30
xor eax, eax
jmp 0x140035a12
mov eax, dword [rsp + 0x20]
mov r8d, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400358f7
lea rcx, str.Failed_in_GetModuleFileName_r_n
call fcn.140035e30
xor eax, eax
jmp 0x140035a12
jmp 0x140035902
mov eax, dword [rsp + 0x20]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x3c]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0xb0]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x24], 0
jmp 0x14003596f
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x24], eax
jae 0x140035a10
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0x10], ecx
jbe 0x1400359ae
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x3c], eax
jmp 0x1400359ba
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jb 0x140035a0b
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x28], eax
ja 0x140035a0b
mov eax, dword [rsp + 0x24]
inc eax
mov rcx, qword [rsp + 0xc8]
mov dword [rcx], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xd0]
mov dword [rcx], eax
mov eax, 1
jmp 0x140035a12
jmp 0x140035957
xor eax, eax
add rsp, 0xa8
ret
Function at 0x140035e30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x868
mov rax, qword [0x140070a30]
xor rax, rsp
mov qword [rsp + 0x850], rax
lea rax, [rsp + 0x878]
mov qword [rsp + 0x38], rax
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x870]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wvsprintfW]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], 0
movsxd rax, dword [rsp + 0x30]
shl rax, 1
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, qword [0x140070f30]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.14003a110
add rsp, 0x868
ret
Function at 0x140035ee0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
lea rcx, str.IMAGEHLP.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140035f05
xor eax, eax
jmp 0x1400360fa
lea rdx, str.SymInitialize
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140070cd0], rax
cmp qword [0x140070cd0], 0
jne 0x140035f2f
xor eax, eax
jmp 0x1400360fa
lea rdx, str.SymCleanup
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140070cd8], rax
cmp qword [0x140070cd8], 0
jne 0x140035f59
xor eax, eax
jmp 0x1400360fa
lea rdx, str.StackWalk64
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140070ce0], rax
cmp qword [0x140070ce0], 0
jne 0x140035f83
xor eax, eax
jmp 0x1400360fa
lea rdx, str.SymFunctionTableAccess64
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140070ce8], rax
cmp qword [0x140070ce8], 0
jne 0x140035fad
xor eax, eax
jmp 0x1400360fa
lea rdx, str.SymGetModuleBase64
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140070cf0], rax
cmp qword [0x140070cf0], 0
jne 0x140035fd7
xor eax, eax
jmp 0x1400360fa
lea rdx, str.SymGetSymFromAddr
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140070cf8], rax
cmp qword [0x140070cf8], 0
jne 0x140036001
xor eax, eax
jmp 0x1400360fa
lea rdx, str.SymGetLineFromAddr
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140070d00], rax
lea rdx, str.UnDecorateSymbolName
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140070d08], rax
cmp qword [0x140070d08], 0
jne 0x140036044
xor eax, eax
jmp 0x1400360fa
lea rdx, str.SymGetOptions
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140070d10], rax
lea rdx, str.SymSetOptions
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140070d18], rax
mov dword [rsp + 0x20], 0
cmp qword [0x140070d10], 0
je 0x14003609d
call qword [0x140070d10]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 0xfffffffd
mov dword [rsp + 0x20], eax
cmp qword [0x140070d18], 0
je 0x1400360bc
mov eax, dword [rsp + 0x20]
or eax, 0x10
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x20]
call qword [0x140070d18]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 1
xor edx, edx
mov rcx, rax
call qword [0x140070cd0]
test eax, eax
jne 0x1400360f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x24], eax
mov edx, dword [rsp + 0x24]
lea rcx, str.Failed_in_SymInitialize:_Last_Error_returned_0x_08x_r_n
call fcn.140035e30
xor eax, eax
jmp 0x1400360fa
mov eax, 1
add rsp, 0x38
ret
Function at 0x140038db0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x140070a30]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14001b260
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20319
xor r8d, r8d
lea rdx, str.SOFTWAREATI_TechnologiesLog
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140038e9c
mov rax, qword [rsp + 0x2b8]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x2b8]
mov qword [rax + 0x18], 0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x2b8]
call fcn.14001b260
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x2b8]
call fcn.1400183f0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.14001b260
mov rax, qword [rsp + 0x2b8]
jmp 0x140038fc2
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0x208
jae 0x140038eb7
jmp 0x140038ebc
call fcn.14003a574
xor eax, eax
mov rcx, qword [rsp + 0x48]
mov word [rsp + rcx + 0x80], ax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x34], 0x208
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.Location
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140038f51
movzx eax, word [rsp + 0x80]
test eax, eax
jne 0x140038f27
mov qword [rsp + 0x40], 0
jmp 0x140038f3a
lea rcx, [rsp + 0x80]
call qword [sym.imp.MSVCR110.dll_wcslen]
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.14001c5d0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x2b8]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x2b8]
mov qword [rax + 0x18], 0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x2b8]
call fcn.14001b260
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x2b8]
call fcn.1400183f0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.14001b260
mov rax, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14003a110
add rsp, 0x2a8
ret
Function at 0x140039be0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140070a30]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x50], di
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HTTP_shellopenddeexecApplication
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140039cb1
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
mov word [rbx], di
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jae 0x140039c97
mov r8, qword [rsp + 0x60]
inc r8
je 0x140039c9f
add r8, r8
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.MSVCR110.dll_memmove]
mov rdx, qword [rsp + 0x68]
jmp 0x140039c9f
mov rcx, qword [rsp + 0x50]
mov qword [rbx], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rdx
jmp 0x140039d86
mov word [rsp + 0x70], di
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, [0x1400519d8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140039d2a
cmp word [rsp + 0x70], ax
jne 0x140039d00
mov r8, rdi
jmp 0x140039d1b
lea rax, [rsp + 0x70]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140039d10
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14001c5d0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
mov word [rbx], di
mov rcx, qword [rsp + 0x68]
cmp rcx, 8
jae 0x140039d71
mov r8, qword [rsp + 0x60]
inc r8
je 0x140039d79
add r8, r8
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.MSVCR110.dll_memmove]
mov rcx, qword [rsp + 0x68]
jmp 0x140039d79
mov rax, qword [rsp + 0x50]
mov qword [rbx], rax
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
mov rax, rbx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14003a110
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400066ac
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400064d8