joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180027c80
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbp
mov rsi, r8
mov r14, rdx
sub rsi, rdx
sar rsi, 2
xor ebx, ebx
mov ebp, ebx
mov rax, qword [sym.Qt5Core.dll_class_QBasicAtomicInteger_unsigned_long_long_unsigned___int64____qt_cpu_features]
test rax, rax
jne 0x180027cbf
call sym.Qt5Core.dll_unsigned_long_long_unsigned___int64____cdecl_qDetectCpuFeatures_void_
nop
bt rax, 0xc
jae 0x180027cd5
mov rdx, rsi
mov rcx, r14
call sym.Qt5Core.dll_long_long___int64____cdecl_qRandomCpu_void____ptr64__long_long___int64__
nop
mov rbp, rax
cmp rbp, rsi
je 0x180027d52
mov rdi, rsi
sub rdi, rbp
shl rdi, 2
lea rcx, [r14 + rbp*4]
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
nop
mov rcx, rbx
test al, al
cmovne rcx, rdi
mov rax, rcx
cqo
and edx, 3
add rax, rdx
sar rax, 2
add rbp, rax
cmp rbp, rsi
je 0x180027d52
lea rdi, [r14 + rbp*4]
sub rsi, rbp
lea rax, [rdi + rsi*4]
lea rsi, [rsi*4 + 3]
shr rsi, 2
cmp rdi, rax
cmova rsi, rbx
test rsi, rsi
je 0x180027d52
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand_s]
nop
mov eax, dword [rsp + 0x58]
mov dword [rdi], eax
lea rdi, [rdi + 4]
inc rbx
cmp rbx, rsi
jne 0x180027d34
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x180027e20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x9f0
mov rax, qword [0x1805858b8]
xor rax, rsp
mov qword [rsp + 0x9e0], rax
lea rsi, [rcx + 4]
xor ebx, ebx
mov dword [rsi], ebx
mov edi, 1
mov dword [rcx], edi
call fcn.180027f50
mov ecx, 0x1571
mov dword [rsi + 0x1384], 0xffffffff
mov dword [rsi + 4], ecx
lea rdx, [rsi + 8]
mov r8d, 0x26f
lea r9, [rax + 0xc]
nop dword [rax + rax]
mov eax, ecx
lea rdx, [rdx + 4]
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edi
inc edi
mov dword [rdx - 4], ecx
sub r8, 1
jne 0x180027e80
lea r8, [rsp + 0x9e0]
mov dword [rsi], 0x270
lea rdx, [rsp + 0x20]
mov rcx, r9
call fcn.180027c80
lea rcx, [rsp + 0x20]
mov r9, rsi
sub r9, rcx
lea r8, [rsp + 0x20]
mov edx, ebx
nop dword [rax + rax]
mov eax, dword [r8]
mov ecx, eax
mov dword [r9 + r8 + 4], eax
lea r8, [r8 + 4]
or ecx, ebx
mov ebx, eax
shr ebx, 0x1f
test edx, edx
cmovne ebx, ecx
inc edx
cmp edx, 0x270
jb 0x180027ed0
test ebx, ebx
jne 0x180027eff
mov dword [rsi + 4], 0xffffffff
mov dword [rsi], 0x270
mov rcx, qword [rsp + 0x9e0]
xor rcx, rsp
call fcn.1802e1ba0
lea r11, [rsp + 0x9f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180029ec0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
movzx edi, cl
cmp dword [0x1805831a0], 0xffffffff
jne 0x180029f0d
lea rbx, [0x180589fe0]
mov rcx, rbx
call sym.Qt5Core.dll_public:_void___cdecl_QMutex::lock_void____ptr64
cmp dword [0x1805831a0], 0xffffffff
jne 0x180029f01
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1805831a0], eax
and rbx, 0xfffffffffffffffe
mov rcx, rbx
call sym.Qt5Core.dll_public:_void___cdecl_QMutex::unlock_void____ptr64
mov ecx, dword [0x1805831a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test rax, rax
jne 0x180029fbf
test dil, dil
je 0x180029fbf
lea ecx, [rax + 0x78]
call fcn.1802e1ac8
mov qword [rsp + 0x78], rax
lea edx, [rsi + 1]
mov rcx, rax
call fcn.180028790
mov rsi, rax
mov qword [rsp + 0x88], rax
mov rdx, rax
mov ecx, dword [0x1805831a0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov ecx, 0x10
call fcn.1802e1ac8
mov qword [rsp + 0x78], rax
mov rdx, rsi
mov rcx, rax
call fcn.1800285a0
nop
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsi + 0x38], rax
mov rcx, rsi
call fcn.180029000
mov byte [rsi + 0x72], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rsi + 0x40], rax
mov rax, qword [sym.Qt5Core.dll_class_QBasicAtomicPointer_class_QThread__QCoreApplicationPrivate::theMainThread]
test rax, rax
jne 0x180029fca
mov rax, qword [rsi + 0x38]
mov qword [sym.Qt5Core.dll_class_QBasicAtomicPointer_class_QThread__QCoreApplicationPrivate::theMainThread], rax
mov rax, rsi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0x78], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
lea r9, [rsp + 0x78]
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rsi + 0x38]
mov rcx, qword [rsp + 0x78]
call fcn.18002a740
mov rax, rsi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x18002ab30
Capabilities:
Create thread
Resume thread

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
movsxd rbp, edx
mov r14, rcx
mov rsi, qword [rcx + 8]
lea rbx, [rsi + 0x58]
mov qword [rax + 8], rbx
test rbx, rbx
je 0x18002ab73
mov rcx, rbx
call sym.Qt5Core.dll_public:_void___cdecl_QMutex::lock_void____ptr64
or rbx, 1
mov qword [rsp + 0x70], rbx
xor edi, edi
cmp byte [rsi + 0x66], dil
je 0x18002abe7
test bl, 1
je 0x18002ab95
and rbx, 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rcx, rbx
and rcx, 0xfffffffffffffffe
call sym.Qt5Core.dll_public:_void___cdecl_QMutex::unlock_void____ptr64
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x4c], 1
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, r14
call sym.Qt5Core.dll_public:_bool___cdecl_QThread::wait_class_QDeadlineTimer____ptr64
test rbx, rbx
je 0x18002abe7
test bl, 1
jne 0x18002abe7
mov rcx, rbx
and rcx, 0xfffffffffffffffe
call sym.Qt5Core.dll_public:_void___cdecl_QMutex::lock_void____ptr64
or rbx, 1
mov qword [rsp + 0x70], rbx
cmp byte [rsi + 0x64], dil
jne 0x18002ace4
mov word [rsi + 0x64], 1
mov byte [rsi + 0x68], dil
mov dword [rsi + 0x6c], edi
mov eax, edi
xchg byte [rsi + 0x67], al
lea rcx, [rsi + 0x80]
mov edx, dword [rsi + 0x70]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 4
mov r9, r14
lea r8, [0x18002ad30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r8, rax
mov qword [rsi + 0x78], rax
test rax, rax
jne 0x18002ac4f
lea rcx, str.QThread::start:_Failed_to_create_thread
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_char_const____ptr64_
mov word [rsi + 0x64], 0x100
jmp 0x18002acdf
mov dword [rsi + 0x74], ebp
cmp ebp, 6
ja case.default.0x18002ac68
lea rdx, [0x180000000]
mov ecx, dword [rdx + rbp*4 + 0x2ad0c]
add rcx, rdx
jmp rcx
mov edi, 0xfffffff1
jmp case.0x18002ac68.3
mov edi, 0xfffffffe
jmp case.0x18002ac68.3
mov edi, 0xffffffff
jmp case.0x18002ac68.3
mov edi, 1
jmp case.0x18002ac68.3
mov edi, 2
jmp case.0x18002ac68.3
mov edi, 0xf
jmp case.0x18002ac68.3
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov edi, eax
mov r8, qword [rsi + 0x78]
mov edx, edi
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x18002acc4
lea rcx, str.QThread::start:_Failed_to_set_thread_priority
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_char_const____ptr64_
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x18002acdf
lea rcx, str.QThread::start:_Failed_to_resume_new_thread
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_char_const____ptr64_
mov rbx, qword [rsp + 0x70]
test bl, 1
je 0x18002acf5
and rbx, 0xfffffffffffffffe
mov rcx, rbx
call sym.Qt5Core.dll_public:_void___cdecl_QMutex::unlock_void____ptr64
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x18002aee0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [rcx + 8]
mov rsi, rcx
lea rbx, [rdi + 0x58]
test rbx, rbx
je 0x18002af0b
mov rcx, rbx
call sym.Qt5Core.dll_public:_void___cdecl_QMutex::lock_void____ptr64
or rbx, 1
cmp byte [rdi + 0x64], 0
je 0x18002af39
cmp byte [rdi + 0x88], 0
jne 0x18002af23
mov byte [rdi + 0x89], 1
jmp 0x18002af39
mov rcx, qword [rdi + 0x78]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor edx, edx
mov rcx, rsi
call fcn.18002a0a0
test bl, 1
je 0x18002af4a
and rbx, 0xfffffffffffffffe
mov rcx, rbx
call sym.Qt5Core.dll_public:_void___cdecl_QMutex::unlock_void____ptr64
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180035e00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8, qword [rdx]
mov rdi, rdx
mov rbx, rcx
mov rax, qword [r8 + 0x10]
mov r10d, dword [r8 + 4]
shl r10d, 3
movsx r9d, byte [rax + r8]
mov r8, qword [rcx]
sub r10d, r9d
mov rax, qword [r8 + 0x10]
mov edx, dword [r8 + 4]
shl edx, 3
movsx ecx, byte [rax + r8]
sub edx, ecx
mov rcx, rbx
cmp edx, r10d
cmovl edx, r10d
call sym.Qt5Core.dll_public:_void___cdecl_QBitArray::resize_int____ptr64
mov rax, qword [rbx]
mov ecx, dword [rax]
cmp ecx, 1
mov rcx, qword [rbx]
ja 0x180035e5f
cmp qword [rcx + 0x10], 0x18
je 0x180035e77
mov r8d, dword [rcx + 8]
mov edx, dword [rcx + 4]
mov rcx, rbx
shr r8d, 0x1f
inc edx
call sym.Qt5Core.dll_private:_void___cdecl_QByteArray::reallocData_unsigned_int__class_QFlags_enum_QArrayData::AllocationOption_____ptr64
mov rcx, qword [rbx]
mov rdx, qword [rdi]
mov rax, qword [rcx + 0x10]
inc rax
add rax, rcx
mov r8d, dword [rdx + 4]
lea r9, [rdx + 1]
add r9, qword [rdx + 0x10]
dec r8d
test r8d, r8d
jle 0x180035eb6
nop dword [rax + rax]
movzx ecx, byte [r9]
lea r9, [r9 + 1]
xor byte [rax], cl
lea rax, [rax + 1]
dec r8d
test r8d, r8d
jg 0x180035ea0
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180068260
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
test r8, r8
je 0x180068296
nop dword [rax]
movzx eax, word [r9]
lea r9, [r9 + 2]
shl edx, 4
add edx, eax
mov eax, edx
shr edx, 0x17
and edx, 0x1e0
xor edx, eax
and edx, 0xfffffff
sub r8, 1
jne 0x180068270
mov eax, edx
ret
Function at 0x18007b150
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12d, dword [rcx + 0x90]
mov rdi, rcx
xor r14d, r14d
mov r13d, 0x40000000
nop
mov ecx, dword [rdi + 0x80]
test ecx, ecx
jne 0x18007b1fc
mov eax, dword [rdi + 0x6c]
test eax, eax
je 0x18007b19a
cmp eax, 0xfffffffb
jne 0x18007b2d4
cmp dword [rdi + 0x50], 0
jne 0x18007b1f8
mov ebp, dword [rdi + 0x28]
xor ebx, ebx
mov r15, qword [rdi + 0x30]
nop dword [rax]
mov ecx, dword [rdi + 0x1c]
mov r8d, ebp
sub r8d, ebx
mov edx, ebx
cmp r8d, r13d
cmova r8d, r13d
add rdx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
test eax, eax
jle 0x18007b1d7
add ebx, eax
cmp ebx, ebp
jb 0x18007b1b0
test eax, eax
js 0x18007b23d
test eax, eax
jne 0x18007b1e4
mov dword [rdi + 0x50], 1
add dword [rdi + 0x80], ebx
mov rax, qword [rdi + 0x30]
mov ecx, dword [rdi + 0x80]
mov qword [rdi + 0x78], rax
test ecx, ecx
je 0x18007b255
xor edx, edx
lea rcx, [rdi + 0x78]
call sym.Qt5Core.dll_z_inflate
mov r14d, eax
lea ecx, [rax + 2]
test ecx, 0xfffffffb
je 0x18007b2c0
cmp eax, 0xfffffffc
je 0x18007b2b2
cmp eax, 0xfffffffd
je 0x18007b296
mov eax, dword [rdi + 0x90]
test eax, eax
je 0x18007b26f
cmp r14d, 1
jne 0x18007b180
jmp 0x18007b26f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov r8, rax
mov edx, 0xffffffff
jmp 0x18007b2cc
lea r8, str.unexpected_end_of_file
mov edx, 0xfffffffb
mov rcx, rdi
call fcn.18007aa90
mov eax, dword [rdi + 0x90]
sub r12d, eax
mov ecx, r12d
mov dword [rdi], ecx
mov rax, qword [rdi + 0x88]
sub rax, rcx
mov qword [rdi + 8], rax
cmp r14d, 1
jne 0x18007b292
mov dword [rdi + 0x44], 0
xor eax, eax
jmp 0x18007b2d9
mov rax, qword [rdi + 0x98]
lea r8, str.compressed_data_error
test rax, rax
mov edx, 0xfffffffd
cmovne r8, rax
jmp 0x18007b2cc
lea r8, str.out_of_memory
mov edx, 0xfffffffc
jmp 0x18007b2cc
lea r8, str.internal_error:_inflate_stream_corrupt
mov edx, 0xfffffffe
mov rcx, rdi
call fcn.18007aa90
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x18007b3b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
xor eax, eax
mov rbx, r9
mov dword [r9], eax
mov edi, r8d
mov rbp, rdx
mov rsi, rcx
mov r14d, 0x40000000
mov ecx, dword [rsi + 0x1c]
mov r8d, edi
sub r8d, eax
mov edx, eax
cmp r8d, r14d
cmova r8d, r14d
add rdx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov edx, eax
test eax, eax
jle 0x18007b40c
mov eax, dword [rbx]
add eax, edx
mov dword [rbx], eax
cmp eax, edi
jb 0x18007b3e1
test edx, edx
jns 0x18007b435
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov edx, 0xffffffff
mov rcx, rsi
mov r8, rax
call fcn.18007aa90
mov eax, 0xffffffff
jmp 0x18007b440
jne 0x18007b43e
mov dword [rsi + 0x50], 1
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1800976d0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov r10d, dword [rsp + 0x30]
xor ebx, ebx
mov qword [rcx], rbx
mov rbp, rdx
mov dword [rcx + 8], ebx
mov rdi, rcx
mov esi, ebx
mov r14d, ebx
mov r11d, ebx
test r8, r8
jle 0x1800977bd
nop word [rax + rax]
movsx ecx, byte [r11 + rbp]
lea eax, [rcx - 0x41]
cmp eax, 0x19
jbe 0x180097735
lea eax, [rcx - 0x61]
cmp eax, 0x19
ja 0x18009772a
lea eax, [rcx - 0x47]
jmp 0x180097735
lea eax, [rcx - 0x30]
cmp eax, 9
ja 0x18009773f
lea eax, [rcx + 4]
cmp eax, 0xffffffff
je 0x1800977b1
jmp 0x1800977e8
mov eax, r10d
and eax, 1
cmp ecx, 0x2b
jne 0x180097756
test eax, eax
jne 0x180097756
lea eax, [rcx + 0x13]
jmp 0x1800977e8
cmp ecx, 0x2d
jne 0x180097767
test eax, eax
je 0x180097770
lea eax, [rcx + 0x11]
jmp 0x1800977e8
cmp ecx, 0x2f
jne 0x1800977da
test eax, eax
je 0x1800977e3
test r10b, 4
je 0x1800977b1
cmp ecx, 0x3d
jne 0x180097824
mov rax, r8
cqo
and edx, 3
add rax, rdx
and eax, 3
cmp rax, rdx
jne 0x18009781b
lea rax, [r8 - 1]
cmp r11, rax
je 0x1800977b1
lea rax, [r8 - 2]
cmp r11, rax
jne 0x180097812
inc r11
cmp byte [r11 + rbp], cl
jne 0x180097812
inc r11
cmp r11, r8
jl 0x180097710
mov qword [rdi], r14
mov rbx, qword [rsp + 0x10]
mov rax, rdi
mov rdi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
pop r14
ret
cmp ecx, 0x5f
jne 0x180097770
test eax, eax
je 0x180097770
mov eax, 0x3f
shl ebx, 6
add esi, 6
or ebx, eax
cmp esi, 8
jl 0x1800977b1
sub esi, 8
mov eax, ebx
mov ecx, esi
shr eax, cl
mov byte [r14 + r9], al
mov eax, 1
shl eax, cl
inc r14
dec eax
and ebx, eax
jmp 0x1800977b1
mov dword [rdi + 8], 3
jmp 0x1800977c0
mov dword [rdi + 8], 1
jmp 0x1800977c0
mov dword [rdi + 8], 2
jmp 0x1800977c0
Function at 0x1800d7330
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1805858b8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, dword [rcx + 4]
mov rbx, rcx
test eax, eax
jne 0x1800d73c2
mov ecx, dword [rcx]
lea r9d, [rax + 8]
lea r8, [rsp + 0x20]
mov edx, 0x1014
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800d73ba
movzx eax, word [rsp + 0x20]
cmp ax, 0x31
je 0x1800d73ba
cmp ax, 0x30
jne 0x1800d7381
mov eax, 1
jmp 0x1800d73bf
cmp ax, 0x32
je 0x1800d73b3
mov ecx, dword [rbx]
lea r8, [rsp + 0x30]
mov r9d, 0xb
lea edx, [r9 + 8]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800d73ba
movzx ecx, word [rsp + 0x30]
movzx eax, word [rsp + 0x20]
add ecx, 2
cmp eax, ecx
jne 0x1800d73ba
mov eax, 2
jmp 0x1800d73bf
mov eax, 3
mov dword [rbx + 4], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1802e1ba0
add rsp, 0x50
pop rbx
ret

Function at 0x1800d86b0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1805858b8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov eax, edx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x20], 0
lea rsi, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov qword [rcx], rsi
mov dword [rsp + 0x20], 1
mov r9d, 0xff
lea r8, [rsp + 0x50]
mov edx, 0x5a
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800d87b3
mov edi, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const____ptr64__int_
nop
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
mov qword [rax], rsi
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800d8764
cmp ecx, edi
je 0x1800d8777
mov ecx, edi
mov rax, qword [rsp + 0x28]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1800d8777
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x28]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov rcx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x38]
mov qword [rbx], rax
mov eax, dword [rcx]
test eax, eax
je 0x1800d87a0
cmp eax, 0xffffffff
je 0x1800d87b3
mov rcx, qword [rsp + 0x30]
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1800d87b3
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x30]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1802e1ba0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1800d9090
Capabilities:
Get geographical location

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1805858b8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x38], 0
lea rdi, [rcx + 8]
mov rax, qword [rdi]
cmp dword [rax + 4], 0
jne 0x1800d9190
mov r9d, 0xb
lea r8, [r11 - 0x30]
lea edx, [r9 + 8]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800d9190
mov r8d, 1
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const____ptr64__int_
nop
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
lea rcx, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov ecx, dword [rax]
mov esi, 0xffffffff
test ecx, ecx
je 0x1800d9142
cmp ecx, esi
je 0x1800d9155
mov ecx, esi
mov rax, qword [rsp + 0x20]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1800d9155
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x20]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov rcx, qword [rdi]
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
mov eax, dword [rcx]
test eax, eax
je 0x1800d917d
cmp eax, esi
je 0x1800d9190
mov rax, qword [rsp + 0x28]
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1800d9190
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x28]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov rdx, rdi
mov rcx, rbx
call sym.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1802e1ba0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1801122f0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1805858b8]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rdx
mov qword [rbp + 0x1f], rdx
xor esi, esi
mov dword [rbp - 0x11], esi
lea ecx, [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov word [rsp + 0x20], si
lea r9d, [rsi + 3]
lea r8, [rbp + 0x47]
lea edx, [rsi + 4]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
cmp eax, 3
jne 0x180112377
mov qword [rbp + 7], 3
lea rax, [rbp + 0x47]
mov qword [rbp + 0xf], rax
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 0x37], xmm0
lea rcx, [rbp + 0x37]
call sym.Qt5Core.dll_public:_static_enum_QLocale::Country___cdecl_QLocalePrivate::codeToCountry_class_QStringView_
mov esi, eax
lea rcx, [rbp - 0x19]
call fcn.1801124a0
nop
lea rax, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov qword [rbx], rax
mov dword [rbp - 0x11], 1
mov edi, 0xffffffff
test esi, esi
je 0x1801123ed
mov r8d, esi
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 9]
call fcn.18010f1c0
mov rdx, rax
mov rcx, qword [rbx]
mov qword [rbp + 0x27], rcx
mov rax, qword [rax]
mov qword [rbx], rax
mov qword [rdx], rcx
mov rax, qword [rbp - 9]
mov ecx, dword [rax]
test ecx, ecx
je 0x1801123db
cmp ecx, edi
je 0x1801123ed
mov ecx, edi
mov rax, qword [rbp - 9]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1801123ed
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rbp - 9]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov rax, qword [rbx]
cmp dword [rax + 4], 0
jne 0x180112446
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 1]
call fcn.18010f140
mov rdx, rax
mov rcx, qword [rbx]
mov qword [rbp + 7], rcx
mov rax, qword [rax]
mov qword [rbx], rax
mov qword [rdx], rcx
mov rax, qword [rbp - 1]
mov ecx, dword [rax]
test ecx, ecx
je 0x180112433
cmp ecx, edi
je 0x180112446
mov ecx, edi
mov rax, qword [rbp - 1]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180112446
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rbp - 1]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
nop
mov rcx, qword [rbp - 0x19]
mov eax, dword [rcx]
test eax, eax
je 0x180112462
cmp eax, 0xffffffff
je 0x180112474
mov rcx, qword [rbp - 0x19]
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x180112474
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rbp - 0x19]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1802e1ba0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x18013ae90
Capabilities:
Get disk size

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.18013ac10
mov rcx, qword [rbx]
add rsp, 0x20
pop rbx
jmp fcn.18018f5c0