joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f8e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x60], 0
je 0x14000f945
mov r8d, 0x100
mov rdx, qword [rsp + 0x60]
lea rcx, [0x14001aca0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov eax, 1
imul rax, rax, 0xff
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0x100
jae 0x14000f930
jmp 0x14000f935
call fcn.140014864
lea rax, [0x14001aca0]
mov rcx, qword [rsp + 0x48]
mov byte [rax + rcx], 0
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x14000f993
mov rdx, qword [rsp + 0x60]
lea rcx, str.___s:_FormatMessage_failed
call fcn.14000fa30
jmp 0x14000f9a9
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x60]
lea rcx, str.___s:__s
call fcn.14000fa30
cmp qword [rsp + 0x40], 0
je 0x14000fa1c
lea rcx, [0x14001aca0]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ecx, 0x100
sub rcx, rax
mov rax, rcx
dec rax
mov r8, rax
lea rdx, [0x140016484]
lea rcx, [0x14001aca0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
lea rcx, [0x14001aca0]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ecx, 0x100
sub rcx, rax
mov rax, rcx
dec rax
mov r8, rax
mov rdx, qword [rsp + 0x40]
lea rcx, [0x14001aca0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rax, [0x14001aca0]
add rsp, 0x58
ret

Function at 0x1400131b0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x5088
call fcn.140014a90
sub rsp, rax
mov rax, qword [0x14001ab98]
xor rax, rsp
mov qword [rsp + 0x5070], rax
mov qword [rsp + 0x58], 0
mov rax, qword [0x14001ae20]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x2ee
mov dword [rsp + 0x30], 0x258
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
lea r8, str.Java_Accessibility_API_view
lea rdx, str.AccessInfoWin
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140013257
lea rcx, str.cannot_create_API_window
call fcn.14000f8e0
xor eax, eax
jmp 0x1400132e3
mov eax, 1
imul rax, rax, 0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0x5000
jae 0x140013272
jmp 0x140013277
call fcn.140014864
mov rax, qword [rsp + 0x68]
mov byte [rsp + rax + 0x70], 0
mov r9d, 0x5000
lea r8, [rsp + 0x70]
mov rax, qword [rsp + 0x5090]
mov rdx, qword [rax + 0x18]
mov rax, qword [rsp + 0x5090]
mov ecx, dword [rax + 0x10]
call fcn.140010330
lea r9, [rsp + 0x70]
mov r8, qword [0x14001ae00]
mov edx, 0x7d1
mov rcx, qword [rsp + 0x60]
call fcn.140010150
mov edx, 1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov rcx, qword [rsp + 0x5070]
xor rcx, rsp
call fcn.140014af0
add rsp, 0x5088
ret
Function at 0x140013310
Capabilities:
Hide graphical window

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov dword [rsp + 0x80], 0x50
mov dword [rsp + 0x84], 3
lea rax, [0x140013940]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x94], 0
mov rax, qword [0x14001ae20]
mov qword [rsp + 0x98], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rsp + 0xa0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0xa8], rax
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xb0], rax
lea rax, str.JACCESSWALKERMENU
mov qword [rsp + 0xb8], rax
lea rax, [0x14001ab60]
mov qword [rsp + 0xc0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov dword [rsp + 0x80], 0x50
mov rax, qword [0x14001ae20]
mov qword [rsp + 0x98], rax
lea rax, str.AccessInfoWin
mov qword [rsp + 0xc0], rax
lea rax, [0x140013f00]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x84], 0
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rsp + 0xa0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rsp + 0xc8], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0xa8], rax
lea rax, [0x140017cd2]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x94], 0
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], 0
mov rax, qword [0x14001ae20]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x80000000
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
lea r8, [0x14001ab60]
lea rdx, [0x14001ab60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [0x14001adf0], rax
mov dword [rsp + 0x70], 8
mov dword [rsp + 0x74], 2
lea rcx, [rsp + 0x70]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov edx, dword [rsp + 0x118]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.14000d000
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1400135a3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd0]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x14001359e
lea rcx, [rsp + 0xd0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140013566
call fcn.14000e0d0
mov rax, qword [rsp + 0x110]
add rsp, 0x108
ret
Function at 0x1400135c0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, 0xffffffffffff0000
xor r8d, r8d
mov edx, 0x1101
mov rcx, qword [0x14001ae18]
call qword [sym.imp.USER32.dll_SendMessageA]
xor edx, edx
lea rcx, [0x140013c50]
call qword [sym.imp.USER32.dll_EnumWindows]
add rsp, 0x28
ret
Function at 0x1400011a0
Capabilities:
Get file version info

Disassembly:
test ecx, ecx
jne 0x140001327
mov r11, rsp
sub rsp, 0x178
mov rax, qword [0x1400216e0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
lea rdx, [rsp + 0x50]
mov r8d, 0x104
xor ecx, ecx
mov qword [r11 - 8], r14
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ecx, eax
mov ebx, eax
call fcn.1400036d0
lea rcx, [rsp + 0x50]
mov r8d, ebx
mov r9, rax
xor edx, edx
mov rdi, rax
call sub.VERSION.dll_GetFileVersionInfoA
lea rdx, [0x1400134e0]
mov rcx, rdi
call fcn.1400015e0
lea rdx, [0x1400134f0]
mov rcx, rdi
mov rbx, rax
call fcn.1400015e0
lea rdx, [0x140013500]
mov rcx, rdi
mov rsi, rax
call fcn.1400015e0
lea rdx, [0x140013510]
mov rcx, rdi
mov rbp, rax
call fcn.1400015e0
lea rdx, [0x140013520]
mov rcx, rdi
mov r14, rax
call fcn.1400015e0
mov rdi, rax
call fcn.140001cf0
test eax, eax
je 0x1400012b0
call fcn.140002eb0
mov qword [rsp + 0x30], rdi
lea rdx, str._n_s_v_s____s_n_s_n_s_n_n
lea rcx, [rax + 0x30]
mov r9, rsi
mov r8, rbx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbp
call fcn.140003238
call fcn.140002eb0
lea rcx, [rax + 0x30]
jmp 0x1400012e3
call fcn.140002eb0
mov qword [rsp + 0x30], rdi
lea rdx, str._n_s_v_s____s_n_s_n_s_n_n
lea rcx, [rax + 0x60]
mov r9, rsi
mov r8, rbx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbp
call fcn.140003238
call fcn.140002eb0
lea rcx, [rax + 0x60]
call fcn.140003098
mov rdi, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rbp, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x180]
mov r14, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140003ac0
add rsp, 0x178
ret
Function at 0x1400011a8
Capabilities:
Get file version info

Disassembly:
test ecx, ecx
jne 0x140001327
mov r11, rsp
sub rsp, 0x178
mov rax, qword [0x1400216e0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
lea rdx, [rsp + 0x50]
mov r8d, 0x104
xor ecx, ecx
mov qword [r11 - 8], r14
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ecx, eax
mov ebx, eax
call fcn.1400036d0
lea rcx, [rsp + 0x50]
mov r8d, ebx
mov r9, rax
xor edx, edx
mov rdi, rax
call sub.VERSION.dll_GetFileVersionInfoA
lea rdx, [0x1400134e0]
mov rcx, rdi
call fcn.1400015e0
lea rdx, [0x1400134f0]
mov rcx, rdi
mov rbx, rax
call fcn.1400015e0
lea rdx, [0x140013500]
mov rcx, rdi
mov rsi, rax
call fcn.1400015e0
lea rdx, [0x140013510]
mov rcx, rdi
mov rbp, rax
call fcn.1400015e0
lea rdx, [0x140013520]
mov rcx, rdi
mov r14, rax
call fcn.1400015e0
mov rdi, rax
call fcn.140001cf0
test eax, eax
je 0x1400012b0
call fcn.140002eb0
mov qword [rsp + 0x30], rdi
lea rdx, str._n_s_v_s____s_n_s_n_s_n_n
lea rcx, [rax + 0x30]
mov r9, rsi
mov r8, rbx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbp
call fcn.140003238
call fcn.140002eb0
lea rcx, [rax + 0x30]
jmp 0x1400012e3
call fcn.140002eb0
mov qword [rsp + 0x30], rdi
lea rdx, str._n_s_v_s____s_n_s_n_s_n_n
lea rcx, [rax + 0x60]
mov r9, rsi
mov r8, rbx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbp
call fcn.140003238
call fcn.140002eb0
lea rcx, [rax + 0x60]
call fcn.140003098
mov rdi, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rbp, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x180]
mov r14, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140003ac0
add rsp, 0x178
ret
Function at 0x140001330
Capabilities:
Get file version info

Disassembly:
test ecx, ecx
jne 0x1400014b7
mov r11, rsp
sub rsp, 0x278
mov rax, qword [0x1400216e0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
lea rdx, [rsp + 0x50]
mov r8d, 0x208
xor ecx, ecx
mov qword [r11 - 8], r14
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ecx, eax
mov ebx, eax
call fcn.1400036d0
lea rcx, [rsp + 0x50]
mov r8d, ebx
mov r9, rax
xor edx, edx
mov rdi, rax
call sub.VERSION.dll_GetFileVersionInfoW
lea rdx, [0x140013420]
mov rcx, rdi
call fcn.140001640
lea rdx, [0x140013440]
mov rcx, rdi
mov rbx, rax
call fcn.140001640
lea rdx, [0x140013458]
mov rcx, rdi
mov rsi, rax
call fcn.140001640
lea rdx, [0x140013478]
mov rcx, rdi
mov rbp, rax
call fcn.140001640
lea rdx, [0x140013498]
mov rcx, rdi
mov r14, rax
call fcn.140001640
mov rdi, rax
call fcn.140001cf0
test eax, eax
je 0x140001440
call fcn.140002eb0
mov qword [rsp + 0x30], rdi
lea rdx, [0x1400134b0]
lea rcx, [rax + 0x30]
mov r9, rsi
mov r8, rbx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbp
call fcn.1400032f0
call fcn.140002eb0
lea rcx, [rax + 0x30]
jmp 0x140001473
call fcn.140002eb0
mov qword [rsp + 0x30], rdi
lea rdx, [0x1400134b0]
lea rcx, [rax + 0x60]
mov r9, rsi
mov r8, rbx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbp
call fcn.1400032f0
call fcn.140002eb0
lea rcx, [rax + 0x60]
call fcn.140003098
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x290]
mov rbp, qword [rsp + 0x288]
mov rbx, qword [rsp + 0x280]
mov r14, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140003ac0
add rsp, 0x278
ret
Function at 0x140001338
Capabilities:
Get file version info

Disassembly:
test ecx, ecx
jne 0x1400014b7
mov r11, rsp
sub rsp, 0x278
mov rax, qword [0x1400216e0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
lea rdx, [rsp + 0x50]
mov r8d, 0x208
xor ecx, ecx
mov qword [r11 - 8], r14
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ecx, eax
mov ebx, eax
call fcn.1400036d0
lea rcx, [rsp + 0x50]
mov r8d, ebx
mov r9, rax
xor edx, edx
mov rdi, rax
call sub.VERSION.dll_GetFileVersionInfoW
lea rdx, [0x140013420]
mov rcx, rdi
call fcn.140001640
lea rdx, [0x140013440]
mov rcx, rdi
mov rbx, rax
call fcn.140001640
lea rdx, [0x140013458]
mov rcx, rdi
mov rsi, rax
call fcn.140001640
lea rdx, [0x140013478]
mov rcx, rdi
mov rbp, rax
call fcn.140001640
lea rdx, [0x140013498]
mov rcx, rdi
mov r14, rax
call fcn.140001640
mov rdi, rax
call fcn.140001cf0
test eax, eax
je 0x140001440
call fcn.140002eb0
mov qword [rsp + 0x30], rdi
lea rdx, [0x1400134b0]
lea rcx, [rax + 0x30]
mov r9, rsi
mov r8, rbx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbp
call fcn.1400032f0
call fcn.140002eb0
lea rcx, [rax + 0x30]
jmp 0x140001473
call fcn.140002eb0
mov qword [rsp + 0x30], rdi
lea rdx, [0x1400134b0]
lea rcx, [rax + 0x60]
mov r9, rsi
mov r8, rbx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbp
call fcn.1400032f0
call fcn.140002eb0
lea rcx, [rax + 0x60]
call fcn.140003098
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x290]
mov rbp, qword [rsp + 0x288]
mov rbx, qword [rsp + 0x280]
mov r14, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140003ac0
add rsp, 0x278
ret

Function at 0x140001990
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x48
xor eax, eax
mov r9d, 0x101
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001a1c
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
lea rdx, str.EulaAccepted
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x40]
jne 0x140001a1c
cmp dword [rsp + 0x60], 0
je 0x140001a1c
mov eax, 1
add rsp, 0x48
ret
xor eax, eax
add rsp, 0x48
ret
Function at 0x140001b90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x1400216e0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebx, ebx
lea r8, [rsp + 0x38]
lea rdx, str.SoftwareMicrosoftwindows_ntcurrentversion
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140001c33
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, [0x140019870]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140001c28
lea rdx, [rsp + 0x50]
lea rcx, str.iotuap
call fcn.140003bc8
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140003ac0
add rsp, 0x270
pop rbx
ret

Function at 0x140001c50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
lea r8, [rsp + 0x58]
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionServerServerLevels
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140001cda
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
lea rdx, str.NanoServer
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001ccf
cmp dword [rsp + 0x40], 4
jne 0x140001ccf
mov eax, 1
cmp dword [rsp + 0x48], eax
cmove ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140001fe0
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x20
xor ebp, ebp
mov r14, r8
mov rdi, rdx
mov r12, rcx
mov r15d, ebp
test rdx, rdx
je 0x1400020ce
test r8, r8
je 0x1400020ce
mov qword [rsp + 0x50], rbx
mov ebx, ebp
mov qword [rsp + 0x60], r13
lea r13d, [rbp + 1]
cmp dword [rdx], ebx
jle 0x14000209d
mov qword [rsp + 0x58], rsi
mov esi, ebp
nop dword [rax + rax]
mov rcx, qword [r14 + rsi*8]
lea rdx, [0x140019820]
call fcn.140003830
test eax, eax
je 0x140002063
mov rcx, qword [r14 + rsi*8]
lea rdx, str._accepteula
call fcn.140003830
test eax, eax
je 0x140002063
inc ebx
inc rsi
cmp ebx, dword [rdi]
jl 0x140002030
jmp 0x140002098
mov eax, dword [rdi]
mov r15d, r13d
dec eax
cmp ebx, eax
jge 0x140002096
lea rdx, [r14 + rsi*8]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx + 8]
inc ebx
lea rdx, [rdx + 8]
mov qword [rdx - 8], rax
mov eax, dword [rdi]
dec eax
cmp ebx, eax
jl 0x140002080
dec dword [rdi]
mov rsi, qword [rsp + 0x58]
mov edx, r15d
mov rcx, r12
call fcn.1400021b0
mov rbx, qword [rsp + 0x50]
test eax, eax
cmovne r15d, r13d
mov r13, qword [rsp + 0x60]
test r15d, r15d
setne bpl
mov eax, ebp
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
xor r8d, r8d
xor edx, edx
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rbp
jmp 0x140002560
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor ebp, ebp
mov r14, r8
mov rdi, rdx
mov r12, rcx
lea r13d, [rbp + 1]
mov r15d, ebp
test rdx, rdx
je 0x140002593
test r8, r8
jne 0x1400025d4
lea rcx, str.Shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.CommandLineToArgvW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14000265d
lea rdi, [0x140022a00]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rdi
mov rcx, rax
call rbx
mov r14, rax
mov ebx, ebp
cmp dword [rdi], ebx
jle 0x14000265d
mov qword [rsp + 0x50], rsi
mov rsi, rbp
nop word [rax + rax]
mov rcx, qword [r14 + rsi*8]
lea rdx, [0x1400197f0]
call fcn.140003bc8
test eax, eax
je 0x140002623
mov rcx, qword [r14 + rsi*8]
lea rdx, [0x140019808]
call fcn.140003bc8
test eax, eax
je 0x140002623
inc ebx
inc rsi
cmp ebx, dword [rdi]
jl 0x1400025f0
jmp 0x140002658
mov eax, dword [rdi]
mov r15d, r13d
dec eax
cmp ebx, eax
jge 0x140002656
lea rdx, [r14 + rsi*8]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx + 8]
inc ebx
lea rdx, [rdx + 8]
mov qword [rdx - 8], rax
mov eax, dword [rdi]
dec eax
cmp ebx, eax
jl 0x140002640
dec dword [rdi]
mov rsi, qword [rsp + 0x50]
mov edx, r15d
mov rcx, r12
call fcn.1400021b0
mov rbx, qword [rsp + 0x58]
test eax, eax
cmovne r15d, r13d
test r15d, r15d
setne bpl
mov eax, ebp
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140002560
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x20
xor ebp, ebp
mov r14, r8
mov rdi, rdx
mov r12, rcx
mov r15d, ebp
test rdx, rdx
je 0x1400020ce
test r8, r8
je 0x1400020ce
mov qword [rsp + 0x50], rbx
mov ebx, ebp
mov qword [rsp + 0x60], r13
lea r13d, [rbp + 1]
cmp dword [rdx], ebx
jle 0x14000209d
mov qword [rsp + 0x58], rsi
mov esi, ebp
nop dword [rax + rax]
mov rcx, qword [r14 + rsi*8]
lea rdx, [0x140019820]
call fcn.140003830
test eax, eax
je 0x140002063
mov rcx, qword [r14 + rsi*8]
lea rdx, str._accepteula
call fcn.140003830
test eax, eax
je 0x140002063
inc ebx
inc rsi
cmp ebx, dword [rdi]
jl 0x140002030
jmp 0x140002098
mov eax, dword [rdi]
mov r15d, r13d
dec eax
cmp ebx, eax
jge 0x140002096
lea rdx, [r14 + rsi*8]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx + 8]
inc ebx
lea rdx, [rdx + 8]
mov qword [rdx - 8], rax
mov eax, dword [rdi]
dec eax
cmp ebx, eax
jl 0x140002080
dec dword [rdi]
mov rsi, qword [rsp + 0x58]
mov edx, r15d
mov rcx, r12
call fcn.1400021b0
mov rbx, qword [rsp + 0x50]
test eax, eax
cmovne r15d, r13d
mov r13, qword [rsp + 0x60]
test r15d, r15d
setne bpl
mov eax, ebp
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
xor r8d, r8d
xor edx, edx
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rbp
jmp 0x140002560
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor ebp, ebp
mov r14, r8
mov rdi, rdx
mov r12, rcx
lea r13d, [rbp + 1]
mov r15d, ebp
test rdx, rdx
je 0x140002593
test r8, r8
jne 0x1400025d4
lea rcx, str.Shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.CommandLineToArgvW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14000265d
lea rdi, [0x140022a00]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rdi
mov rcx, rax
call rbx
mov r14, rax
mov ebx, ebp
cmp dword [rdi], ebx
jle 0x14000265d
mov qword [rsp + 0x50], rsi
mov rsi, rbp
nop word [rax + rax]
mov rcx, qword [r14 + rsi*8]
lea rdx, [0x1400197f0]
call fcn.140003bc8
test eax, eax
je 0x140002623
mov rcx, qword [r14 + rsi*8]
lea rdx, [0x140019808]
call fcn.140003bc8
test eax, eax
je 0x140002623
inc ebx
inc rsi
cmp ebx, dword [rdi]
jl 0x1400025f0
jmp 0x140002658
mov eax, dword [rdi]
mov r15d, r13d
dec eax
cmp ebx, eax
jge 0x140002656
lea rdx, [r14 + rsi*8]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx + 8]
inc ebx
lea rdx, [rdx + 8]
mov qword [rdx - 8], rax
mov eax, dword [rdi]
dec eax
cmp ebx, eax
jl 0x140002640
dec dword [rdi]
mov rsi, qword [rsp + 0x50]
mov edx, r15d
mov rcx, r12
call fcn.1400021b0
mov rbx, qword [rsp + 0x58]
test eax, eax
cmovne r15d, r13d
test r15d, r15d
setne bpl
mov eax, ebp
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret