joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400730f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [rcx + 0x30]
cmp dword [rdx + 0x18], eax
je fcn.14006fa70
ret

Function at 0x140074610
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x190
mov rax, qword [0x1402b0268]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140074649
cmp dword [rsp + 0x64], 6
jb 0x14007468b
lea rcx, str.shell32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007468b
lea rdx, str.SHQueryUserNotificationState
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14007468b
lea rcx, [rsp + 0x20]
call rax
test eax, eax
js 0x14007468b
mov eax, dword [rsp + 0x20]
add eax, 0xfffffffd
cmp eax, 1
jbe 0x140074767
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
test rax, rax
je 0x14007476b
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x14007476b
xor edx, edx
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_MonitorFromRect]
test rax, rax
je 0x14007476b
xor ecx, ecx
mov dword [rsp + 0x38], 0x28
xorps xmm0, xmm0
mov dword [rsp + 0x5c], ecx
mov rcx, rax
lea rdx, [rsp + 0x38]
movups xmmword [rsp + 0x3c], xmm0
movups xmmword [rsp + 0x4c], xmm0
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x14007476b
test byte [rsp + 0x5c], 1
je 0x14007476b
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14007476b
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x14007476b
mov edx, 0xfffffff0
mov qword [rsp + 0x1a0], rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, 0xffffffec
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.USER32.dll_GetWindowLongW]
test ebx, 0x440000
mov rbx, qword [rsp + 0x1a0]
jne 0x14007476b
test eax, 0x180
jne 0x14007476b
mov al, 1
jmp 0x14007476d
xor al, al
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140167750
add rsp, 0x190
pop rdi
ret
Function at 0x140074a20
Capabilities:
Check os version
Get token membership

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1402b0268]
xor rax, rsp
mov qword [rbp + 0xb0], rax
movzx ebx, cl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x70]
mov edx, 0x2000000
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140074b72
lea rax, [rsp + 0x68]
mov qword [rsp + 0x1d0], rdi
xor edi, edi
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], edi
lea rcx, [rsp + 0x7c]
mov dword [rsp + 0x40], edi
mov r9d, 0x220
mov dword [rsp + 0x38], edi
mov dl, 2
mov dword [rsp + 0x30], edi
lea r8d, [rdi + 0x20]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x7c], 0
mov word [rbp - 0x80], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x140074b58
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rsp + 0x60]
test eax, eax
cmove ecx, edi
mov dword [rsp + 0x60], ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x60], edi
je 0x140074afb
test bl, bl
je 0x140074b58
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140074b58
cmp dword [rbp - 0x6c], 6
jb 0x140074b58
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x78]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x64]
lea edx, [r9 + 0xe]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x140074b58
mov eax, dword [rsp + 0x64]
cmp eax, 2
je 0x140074b58
test bl, bl
jne 0x140074b54
cmp eax, 3
je 0x140074b58
mov dword [rsp + 0x60], edi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x60], edi
mov rdi, qword [rsp + 0x1d0]
setne al
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140167750
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x1c0
pop rbp
ret
Function at 0x140074ba0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rax, [rsp + 0x68]
xor ebp, ebp
mov r9d, 0xf003f
mov qword [rsp + 0x68], rbp
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
xor sil, sil
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140074cae
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea r9d, [rbp + 2]
mov qword [rsp + 0x28], rbp
lea r8, str.SandboxiePlus_AutoRun
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x60], ebp
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140074ca3
mov ecx, dword [rsp + 0x60]
mov eax, 2
shr rcx, 1
mul rcx
mov qword [rsp + 0x70], rbx
mov rbx, rax
mov qword [rsp + 0x40], rdi
mov rax, 0xffffffffffffffff
cmovo rbx, rax
mov rcx, rbx
call fcn.140167c60
mov r8, rbx
xor edx, edx
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea r9d, [rbp + 2]
mov qword [rsp + 0x28], rdi
lea r8, str.SandboxiePlus_AutoRun
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, 1
movzx esi, sil
test eax, eax
cmove esi, ecx
mov rcx, rdi
call fcn.140167464
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, sil
add rsp, 0x48
pop rsi
pop rbp
ret

Function at 0x140074cc0
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x90
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x70
xor eax, eax
mov esi, r8d
cmp qword [rcx + 0x18], 8
movups xmmword [rsp + 0x24], xmm0
movups xmmword [rsp + 0x34], xmm0
movups xmmword [rsp + 0x44], xmm0
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
mov qword [r11 - 0x14], rax
mov dword [r11 - 0xc], eax
lea rax, str.runas
mov dword [rsp + 0x24], 0x40
mov qword [r11 - 0x68], rax
jb 0x140074d26
mov rcx, qword [rcx]
cmp qword [rdx + 0x18], 8
mov qword [rsp + 0x38], rcx
jb 0x140074d35
mov rdx, qword [rdx]
xor ebx, ebx
mov qword [rsp + 0x40], rdx
mov edi, 1
mov qword [rsp + 0x28], rbx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x50], edi
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140074d6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
setne bl
lea eax, [rbx - 0x66]
jmp 0x140074dbc
mov dword [rsp + 0xa0], ebx
test esi, esi
je 0x140074d9f
mov rcx, qword [rsp + 0x88]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x88]
lea rdx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edi, eax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
mov eax, 0x103
cmovne eax, dword [rsp + 0xa0]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140075b20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov edi, r9d
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
cmp qword [rcx + 0x10], 0
jne 0x140075b71
lea rax, [rcx + 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rcx + 8]
lea r8, [0x140075f50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx + 0x10], rax
mov ecx, 0x88
call fcn.140167428
mov qword [rsp + 0x40], rax
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8, rbp
mov rdx, qword [rbx + 8]
mov rcx, rax
call fcn.1400760e0
nop
mov r8, rax
mov rdx, qword [rbx + 0x10]
lea rcx, [0x140075bd0]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.KERNEL32.dll_QueueUserAPC]

Function at 0x140075ce0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
xor ebp, ebp
cmp qword [rcx + 0x10], rbp
jne 0x140075d28
lea rax, [rcx + 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, qword [rcx + 8]
lea r8, [0x140075f50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi + 0x10], rax
mov ecx, 0x28
call fcn.140167428
mov rsi, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rdi + 8]
mov qword [rax], rcx
lea rcx, [rax + 8]
mov qword [rcx], rbp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], 7
mov word [rcx], bp
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x140075d60
mov rdx, rbx
call fcn.140074de0
nop
mov r8, rsi
mov rdx, qword [rdi + 0x10]
lea rcx, [0x140075da0]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.KERNEL32.dll_QueueUserAPC]
Function at 0x1400f4f60
Capabilities:
Delete file
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x1402b0268]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rdx
lea rdx, [rbp + 0x1f]
call qword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
nop
mov ebx, 1
mov r8d, ebx
lea rdx, [0x1401a9bc0]
lea rcx, [rbp + 0x1f]
call fcn.14002ce00
lea rdx, [rbp - 1]
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
nop
mov r8d, ebx
lea rdx, [0x1401a9bc0]
lea rcx, [rbp - 1]
call fcn.14002ce00
xor esi, esi
mov dword [rbp - 0x2d], esi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x17], xmm0
mov dword [rbp - 7], esi
mov word [rbp - 3], si
mov qword [rbp - 0x39], rsi
mov rax, qword [rdi]
mov ecx, 3
cmp dword [rax + 4], esi
cmove ebx, ecx
mov dword [rbp - 0x31], ebx
lea rax, [rbp + 0x1f]
cmp qword [rbp + 0x37], 8
cmovae rax, qword [rbp + 0x1f]
mov qword [rbp - 0x29], rax
lea rax, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rax, qword [rbp - 1]
mov qword [rbp - 0x21], rax
mov word [rbp - 0x19], si
lea rcx, [rbp - 0x39]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x1400f5068
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f5063
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f5063
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140167464
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x17], 7
mov word [rbp - 1], si
mov rdx, qword [rbp + 0x37]
cmp rdx, 8
jb 0x1400f50bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f50b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f50b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140167464
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140167750
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140150180
Capabilities:
Get file attributes
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x1402b0268]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r14, r9
mov rax, r8
mov rdi, rdx
mov rbp, rcx
mov qword [rsp + 0x58], rdx
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.14014f850
mov rsi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140150296
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_void____ptr64]
nop
mov rbx, qword [rsp + 0xe0]
cmp rbx, 0xffffffffffffffff
jne 0x14015020f
mov dword [rsp + 0x20], 5
lea r9d, [rbx + 0x19]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
cmovns rbx, qword [rsp + 0x78]
mov edx, ebx
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::resize_int____ptr64]
mov qword [rsp + 0x58], r14
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_char____ptr64___cdecl_QByteArray::data_void____ptr64]
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtReadFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x10]
lea r9, [rsp + 0x50]
mov r8d, 0xc
mov rdx, rdi
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.Qt5Qml.dll_private:_class_QJSValue___cdecl_QJSEngine::create_int__void_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
jmp 0x1401502a1
xor edx, edx
mov rcx, rdi
call qword [sym.imp.Qt5Qml.dll_public:_void___cdecl_QJSValue::constructor_enum_QJSValue::SpecialValue____ptr64]
mov rax, rdi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140167750
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401505a0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rcx, r8
mov dl, 1
call fcn.14014fb80
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1401505d6
mov rcx, rax
call qword [sym.imp.ntdll.dll_NtDeleteKey]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.Qt5Qml.dll_public:_void___cdecl_QJSValue::constructor_enum_QJSValue::SpecialValue____ptr64]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140150600
Capabilities:
Delete registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1402b0268]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rdx
mov qword [rsp + 0x20], rdx
mov dl, 1
mov rcx, r8
mov rsi, r9
call fcn.14014fb80
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1401506aa
lea rdx, [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
cmp qword [rax + 0x18], 8
jb 0x140150650
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1401506a1
mov rcx, qword [rsp + 0x28]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14015069c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14015069c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140167464
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.Qt5Qml.dll_public:_void___cdecl_QJSValue::constructor_enum_QJSValue::SpecialValue____ptr64]
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140167750
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140150db0
Capabilities:
Set file attributes
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x70
mov rcx, r8
mov rdi, rdx
mov r8b, 1
xor edx, edx
mov r14, r9
call fcn.14014f850
mov rsi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140150e8d
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x80], rbx
cmp rcx, 0xffffffffffffffff
jne 0x140150e24
lea r9d, [rcx + 9]
mov qword [rsp + 0x50], 0
mov rcx, rax
mov dword [rsp + 0x20], 0x14
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
xor ecx, ecx
mov rax, qword [r14]
mov qword [rsp + 0x58], rcx
mov rcx, r14
mov ebx, dword [rax + 4]
call qword [sym.imp.Qt5Core.dll_public:_char_const____ptr64___cdecl_QByteArray::data_void_const___ptr64]
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], rcx
xor r9d, r9d
mov dword [rsp + 0x30], ebx
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rsp + 0x60]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dl, 1
mov rcx, rdi
call qword [sym.imp.Qt5Qml.dll_public:_void___cdecl_QJSValue::constructor_bool____ptr64]
mov rbx, qword [rsp + 0x80]
jmp 0x140150e98
xor edx, edx
mov rcx, rdi
call qword [sym.imp.Qt5Qml.dll_public:_void___cdecl_QJSValue::constructor_bool____ptr64]
lea r11, [rsp + 0x70]
mov rax, rdi
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x140167ec0
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
mov r11, qword [r14 + 0x10]
add r14, 0x18
mov r15, qword [r14]
mov r12, r15
add r12, 0x10
mov r14, qword [r12]
push rax

Function at 0x140168800
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x50], rax
mov rdi, rax
test rax, rax
jne 0x14016883d
lea rax, [rbx - 1]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x40]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x98], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x60], r14
cmovo rax, r15
mov rcx, rax
call fcn.140167c60
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14016893c
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r12
mov r12, r14
mov qword [rsp + 0x68], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.140167c60
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x40]
inc r14d
cmp r14d, eax
jne 0x1401688b0
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.1400019c0
mov esi, eax
cmp dword [rsp + 0x40], ebx
je 0x14016897b
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x14016897b
call fcn.140167464
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jne 0x140168962
mov rcx, r14
call fcn.140167464
mov r14, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x98]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
Function at 0x140011343
Capabilities:
Terminate process

Disassembly:
jmp 0x1400172a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011429
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400185f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018610
xor al, al
jmp 0x140018691
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018623
xor al, al
jmp 0x140018691
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001864d
xor al, al
jmp 0x140018691
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018661
xor al, al
jmp 0x140018691
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018673
xor al, al
jmp 0x140018691
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001868f
xor al, al
jmp 0x140018691
mov al, 1
add rsp, 0x38
ret
Function at 0x140002e00
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140009990
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140009990
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002e70
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400100a4]
mov rbx, rcx
test esi, esi
jle 0x140002fa0
mov rax, qword [0x1400100a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002ebb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002f45
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002ea0
mov rcx, rbx
call fcn.1400038c0
mov rdi, rax
test rax, rax
je 0x140002fc2
mov rax, qword [0x1400100a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003a00
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400100a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002fa7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002f3e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002f50
add dword [0x1400100a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400100a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002f3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002e00
nop dword [rax]
xor esi, esi
jmp 0x140002ec8
mov rax, qword [0x1400100a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002e00
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002e00
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003530
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140010100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400100e0]
test rbx, rbx
je 0x14000358c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003583
test rsi, rsi
je 0x140003583
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003568
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]