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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x140079aa0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x50]
call fcn.140014930
nop
lea rcx, [rsp + 0x70]
call fcn.14003ff20
nop
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x28], 0
jne 0x1400077e6
lea rcx, [rsp + 0x70]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x50]
call fcn.1400181d0
jmp 0x14000793f
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax]
lea rdx, [rsp + 0x90]
call qword [rax + 0xf8]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140019260
lea rcx, [rsp + 0x90]
call fcn.1400181d0
lea rcx, [rsp + 0x50]
call fcn.140021120
mov r8, rax
xor edx, edx
lea rcx, str.Report_File:
call fcn.14003fa80
mov rcx, qword [rsp + 0xd0]
call fcn.140003ca0
movzx eax, al
test eax, eax
je 0x14000792a
lea rcx, [rsp + 0x50]
call fcn.140021120
mov qword [rsp + 0x30], rax
lea rdx, str._n_Report_File:
mov rcx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___std::wcout]
call fcn.14000dae0
mov rcx, qword [rsp + 0x30]
mov rdx, rcx
mov rcx, rax
call fcn.14000dae0
lea rdx, [0x140050384]
mov rcx, rax
call fcn.14000dae0
lea rcx, [rsp + 0x70]
call fcn.140027f80
test rax, rax
jbe 0x1400078f9
lea rcx, [rsp + 0x50]
call fcn.140021120
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x70]
call fcn.140021120
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x40]
mov r9, rcx
mov r8, rax
lea rdx, [0x1400531d8]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x14000792a
lea rcx, [rsp + 0x50]
call fcn.140021120
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rsp + 0x70]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x50]
call fcn.1400181d0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140040570
add rsp, 0xc8
ret
Function at 0x14000a140
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1b8
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x140079aa0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov dword [rsp + 0x30], 0
xor edx, edx
lea rcx, [rsp + 0x160]
call fcn.140029870
nop
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x60]
call fcn.1400149e0
nop
lea rax, [rsp + 0x60]
test rax, rax
je 0x14000a1af
lea rax, [rsp + 0x60]
add rax, 0x10
mov qword [rsp + 0x38], rax
jmp 0x14000a1b8
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x160]
call fcn.140021120
mov rcx, rax
call fcn.140028d40
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x38]
call fcn.14000dea0
mov rcx, qword [rsp + 0x48]
mov rdx, rcx
mov rcx, rax
call fcn.14000dae0
lea rdx, str.InstallManagerApp.exe
mov rcx, rax
call fcn.14000dae0
mov rcx, qword [rsp + 0x1c0]
call fcn.140021120
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x60]
call fcn.1400281d0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140021120
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x50]
mov r9, rcx
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x180]
call fcn.1400181d0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x60]
call fcn.14001b7a0
nop
lea rcx, [rsp + 0x160]
call fcn.1400181d0
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140040570
add rsp, 0x1b8
ret

Function at 0x14000a790
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000a7e6
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14000a7e8
xor al, al
add rsp, 0x48
ret
Function at 0x14001da00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x140079aa0]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x78], 0
je 0x14001da49
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x82]
test eax, eax
jne 0x14001da55
mov al, 1
jmp 0x14001dcb1
mov dword [rsp + 0x60], 8
call fcn.140021d50
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rcx
movzx edx, ax
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x48]
call qword [rax + 0x18]
mov word [rsp + 0x34], ax
call fcn.140021d50
mov word [rsp + 0x3c], ax
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x3c]
call fcn.140021d60
movzx eax, al
test eax, eax
je 0x14001dab1
xor al, al
jmp 0x14001dcb1
xor r8d, r8d
mov edx, 8
lea rcx, [rsp + 0x98]
call fcn.1400146f0
nop
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x98]
call fcn.140021040
mov rcx, rax
call fcn.14001b2d0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x98]
call fcn.140027f80
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x98]
call fcn.140021040
mov rcx, rax
call fcn.14001b2d0
mov rcx, qword [rsp + 0xd0]
add rcx, 0x84
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x58]
mov r9, rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x78]
call qword [sym.imp.MSVCP110.dll_public:_int___cdecl_std::codecvt_unsigned_short_int__char__int_::unshift_int____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x14001db7e
cmp dword [rsp + 0x38], 1
je 0x14001db8d
cmp dword [rsp + 0x38], 3
je 0x14001dc6c
jmp 0x14001dc85
mov rax, qword [rsp + 0xd0]
mov byte [rax + 0x82], 0
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x98]
call fcn.140021040
mov rcx, rax
call fcn.14001b2d0
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jbe 0x14001dc21
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x98]
call fcn.140021040
mov rcx, rax
call fcn.14001b2d0
mov rcx, qword [rsp + 0xd0]
mov r9, qword [rcx + 0x90]
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, rax
call qword [sym.imp.MSVCR110.dll_fwrite]
cmp qword [rsp + 0x40], rax
je 0x14001dc21
mov byte [rsp + 0x33], 0
lea rcx, [rsp + 0x98]
call fcn.1400181b0
movzx eax, byte [rsp + 0x33]
jmp 0x14001dcb1
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x82]
test eax, eax
jne 0x14001dc4d
mov byte [rsp + 0x32], 1
lea rcx, [rsp + 0x98]
call fcn.1400181b0
movzx eax, byte [rsp + 0x32]
jmp 0x14001dcb1
cmp qword [rsp + 0x40], 0
jne 0x14001dc6a
xor r8d, r8d
mov edx, 8
lea rcx, [rsp + 0x98]
call fcn.1400207a0
jmp 0x14001dc9e
mov byte [rsp + 0x31], 1
lea rcx, [rsp + 0x98]
call fcn.1400181b0
movzx eax, byte [rsp + 0x31]
jmp 0x14001dcb1
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x98]
call fcn.1400181b0
movzx eax, byte [rsp + 0x30]
jmp 0x14001dcb1
jmp 0x14001dac7
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140040570
add rsp, 0xc8
ret
Function at 0x1400299c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2d8
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x140079aa0]
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.14001fb50
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 0x140029a73
mov rcx, qword [rsp + 0x2e0]
call fcn.140028df0
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.14001fb50
mov rax, qword [rsp + 0x2e0]
jmp 0x140029bce
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0x208
jae 0x140029a8e
jmp 0x140029a93
call fcn.1400409d4
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 0x140029b2a
movzx eax, word [rsp + 0xb0]
test eax, eax
jne 0x140029afe
mov qword [rsp + 0x50], 0
jmp 0x140029b11
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.140020ea0
jmp 0x140029b5d
lea rcx, [rsp + 0x88]
call fcn.140028df0
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.140019260
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x88]
call fcn.14001fb50
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.14001fb50
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x2e0]
call fcn.14001c620
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.14001fb50
mov rax, qword [rsp + 0x2e0]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140040570
add rsp, 0x2d8
ret
Function at 0x140029cd0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x288
mov rax, qword [0x140079aa0]
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 0x140029dbe
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140029d81
movzx eax, word [rsp + 0x60]
test eax, eax
jne 0x140029d5a
mov qword [rsp + 0x50], 0
jmp 0x140029d6a
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.140020ea0
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x140029dbe
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 0x140029dcc
mov byte [rsp + 0x30], 1
jmp 0x140029dd1
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140040570
add rsp, 0x288
ret

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

Disassembly:
sub rsp, 0x188
mov rax, qword [0x140079aa0]
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 0x140029e5b
cmp dword [rsp + 0x58], 0
jb 0x140029e5b
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
jmp 0x140029e66
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rsp + 0x20]
cmp eax, 9
je 0x140029e7a
movzx eax, word [rsp + 0x20]
cmp eax, 6
jne 0x140029e7e
mov al, 1
jmp 0x140029e8f
call fcn.140029eb0
test eax, eax
je 0x140029e8d
mov al, 1
jmp 0x140029e8f
xor al, al
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140040570
add rsp, 0x188
ret
Function at 0x140034430
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 0x140034475
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 0x14003447f
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14002bda0
movzx eax, al
test eax, eax
jne 0x140034497
mov al, 1
jmp 0x140034624
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 0x1400344d8
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 0x1400344e2
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.14002ce90
movzx eax, al
test eax, eax
je 0x14003454a
mov rax, qword [rsp + 0xc0]
add rax, 8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x18], 8
jb 0x14003452c
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 0x140034536
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 0x14003460c
mov rax, qword [rsp + 0xc0]
add rax, 8
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x18], 8
jb 0x140034583
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 0x14003458d
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dl, 1
mov rcx, qword [rsp + 0x38]
call fcn.14002cfe0
movzx eax, al
test eax, eax
je 0x14003460c
mov rax, qword [rsp + 0xc0]
add rax, 8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x18], 8
jb 0x1400345d9
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 0x1400345e3
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 0x1400345fc
mov dword [rsp + 0x28], 0
jmp 0x140034604
mov dword [rsp + 0x28], 0xffffffff
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x14003461a
mov byte [rsp + 0x20], 1
jmp 0x14003461f
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0xb8
ret
Function at 0x140039810
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 [0x140079aa0]
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 0x140039a23
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 0x1400398cf
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 0x1400398dc
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, [0x140059244]
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, [0x140059244]
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, [0x140059244]
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.140040570
add rsp, 0xa8
ret
Function at 0x14003b480
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov rax, qword [0x140079aa0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x30], 1
lea rcx, str._r_n
call fcn.14003bf30
lea rcx, [rsp + 0x68]
call fcn.14003c200
lea rcx, [rsp + 0x50]
call fcn.14003c220
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x68]
lea rcx, str.Time_of_exception:_t_s__s_r_n
call fcn.14003bf30
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.14003b610
mov r8, rax
mov rax, qword [rsp + 0x38]
mov edx, dword [rax]
lea rcx, str.Exception_code:__08X__s_r_n
call fcn.14003bf30
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.14003b930
test eax, eax
jne 0x14003b553
lea rcx, str.Failded_to_get_GetLogicalAddress_Information_r_n
call fcn.14003bf30
mov dword [rsp + 0x30], 0
jmp 0x14003b57f
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.14003bf30
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 0x14003b5de
call fcn.14003bfe0
test eax, eax
jne 0x14003b5c5
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.14003bb30
jmp 0x14003b5ea
mov rcx, qword [rsp + 0x40]
call fcn.14003bca0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [0x140079d58]
lea rcx, [0x140059494]
call fcn.14003bf30
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140040570
add rsp, 0x2a8
ret
Function at 0x14003b930
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 0x14003b997
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.14003bf30
xor eax, eax
jmp 0x14003bb12
jmp 0x14003b9a2
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14003b9c4
lea rcx, str.Error:_GetLogicalAddress::hMod__NULL_r_n
call fcn.14003bf30
xor eax, eax
jmp 0x14003bb12
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 0x14003b9f7
lea rcx, str.Failed_in_GetModuleFileName_r_n
call fcn.14003bf30
xor eax, eax
jmp 0x14003bb12
jmp 0x14003ba02
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 0x14003ba6f
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 0x14003bb10
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 0x14003baae
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x3c], eax
jmp 0x14003baba
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 0x14003bb0b
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x28], eax
ja 0x14003bb0b
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 0x14003bb12
jmp 0x14003ba57
xor eax, eax
add rsp, 0xa8
ret
Function at 0x14003bf30
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 [0x140079aa0]
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 [0x140079fb0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140040570
add rsp, 0x868
ret