joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400830a0
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x14040a3a0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor r13d, r13d
mov dword [rsp + 0x48], 0x18
test dl, dl
mov qword [rsp + 0x50], r13
mov rsi, rcx
mov dword [rsp + 0x58], r13d
mov ecx, 0x100000
mov r15d, r13d
cmove r15d, ecx
movzx eax, dl
neg al
mov r14d, r13d
movzx ebp, dl
mov edi, 0x3e8
sbb r12d, r12d
and r12d, ecx
test dl, dl
setne r14b
nop dword [rax + rax]
call fcn.1400b0500
lea r8, [rsp + 0x44]
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1400b0330
mov ebx, dword [rsp + 0x40]
call fcn.140039640
mov r9, rax
mov dword [rsp + 0x20], ebx
lea r8, str..pipeqt__lX__X
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.140084910
call fcn.140030640
cmp eax, 0x80
lea edx, [r14 + 0x40000001]
mov eax, 8
lea rcx, [rsp + 0x60]
mov r8d, r13d
mov r9d, 1
cmovge r8d, eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400831c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1400831b3
add edi, 0xffffffff
jne 0x140083110
lea rdx, str.QProcess:_CreateNamedPipe_failed.
mov ecx, eax
call fcn.140010f30
jmp 0x140083246
mov edx, 0x40000000
mov qword [rsp + 0x30], r13
mov eax, 0x80000100
mov dword [rsp + 0x28], 0x40000000
test bpl, bpl
mov dword [rsp + 0x58], 1
lea r9, [rsp + 0x48]
mov dword [rsp + 0x20], 3
cmovne edx, eax
lea rcx, [rsp + 0x60]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140083226
lea rcx, str.QProcess:_CreateFile_failed.
call fcn.1400110c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140083246
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test bpl, bpl
je 0x14008323f
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
jmp 0x140083246
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400fbe80
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008ddc0
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
test r8, r8
je 0x14008ddf6
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 0x14008ddd0
mov eax, edx
ret

Function at 0x1400b0020
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov dword [rcx + 0x1384], 0xffffffff
lea r10, [rcx + 8]
mov r8d, 0x1571
mov rbx, rcx
mov dword [rcx + 4], r8d
mov r9d, 1
mov ecx, 0x26f
nop dword [rax]
mov eax, r8d
lea r10, [r10 + 4]
shr eax, 0x1e
xor eax, r8d
imul r8d, eax, 0x6c078965
add r8d, r9d
inc r9d
mov dword [r10 - 4], r8d
sub rcx, 1
jne 0x1400b0050
mov rcx, rbx
mov dword [rbx], 0x270
call fcn.1400b0100
mov rax, rbx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx]
mov r9d, 0x270
mov rbx, rcx
cmp eax, r9d
jne 0x1400b01fb
lea r8, [rcx + 8]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x1400b01c0
jmp 0x1400b0207
cmp eax, 0x4e0
jb 0x1400b0207
call fcn.1400b0250
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
mov r10, rcx
lea r9, [rcx + 0x9c4]
mov r11d, 0xe3
mov edx, dword [r9]
xor edx, dword [r9 + 4]
lea r9, [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x630]
xor ecx, edx
mov dword [r9 - 0x9c4], ecx
sub r11, 1
jne 0x1400b0260
lea r9, [r10 + 0xd50]
mov r11d, 0x18c
nop word [rax + rax]
mov edx, dword [r9]
xor edx, dword [r9 + 4]
lea r9, [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 - 0xd50]
xor ecx, edx
mov dword [r9 - 0x9c4], ecx
sub r11, 1
jne 0x1400b02b0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov dword [r10], r11d
ret
Function at 0x1400b0330
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x1400b03ca
mov qword [rsp + 0x30], rbp
mov ebp, 1
mov qword [rsp + 0x38], r14
lea r14, [0x140410840]
cmp rcx, r14
jne 0x1400b0381
xor eax, eax
lock cmpxchg qword [0x140410800], rbp
je 0x1400b0381
lea rcx, [0x140410800]
call fcn.1400411d0
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.1400b0090
cmp rbx, r14
mov r14, qword [rsp + 0x38]
jne 0x1400b03b5
xor edx, edx
mov rax, rbp
lock cmpxchg qword [0x140410800], rdx
je 0x1400b03b5
lea rcx, [0x140410800]
call fcn.1400415b0
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x14041080c]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp fcn.1400b03f0

Function at 0x1400b03f0
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 ebp, ebp
mov ebx, ebp
mov rax, qword [0x140411cb0]
test rax, rax
jne 0x1400b0436
call fcn.1400d20b0
nop
mov rax, qword [0x140411cb0]
bt rax, 0x1e
jae 0x1400b047c
mov rbx, r14
lea rcx, [r14 + rsi*4]
lea rax, [r14 + 8]
cmp rax, rcx
ja 0x1400b0465
nop dword [rax]
rdrand rdx
mov qword [rbx], rdx
jae 0x1400b0475
mov rbx, rax
add rax, 8
cmp rax, rcx
jbe 0x1400b0450
cmp rbx, rcx
je 0x1400b0475
rdrand eax
mov dword [rbx], eax
jb 0x1400b0475
add rbx, 4
sub rbx, r14
sar rbx, 2
cmp rbx, rsi
je 0x1400b04df
mov rdi, rsi
sub rdi, rbx
shl rdi, 2
lea rcx, [r14 + rbx*4]
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
nop
test al, al
cmovne rbp, rdi
mov rax, rbp
cqo
and edx, 3
add rax, rdx
sar rax, 2
add rbx, rax
cmp rbx, rsi
je 0x1400b04df
lea rdi, [r14 + rbx*4]
sub rsi, rbx
lea rbx, [rdi + rsi*4]
cmp rdi, rbx
je 0x1400b04df
lea rcx, [rsp + 0x58]
call fcn.14012a3c4
nop
mov eax, dword [rsp + 0x58]
mov dword [rdi], eax
add rdi, 4
cmp rdi, rbx
jne 0x1400b04c5
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1400b7040
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x14040a3a0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rdx
xor edi, edi
mov dword [rsp + 0x28], edi
lea r9d, [rdi + 0xf]
lea r8, [rsp + 0x38]
lea edx, [rdi + 0x28]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400b70d6
or edi, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1400090f0
nop
mov rdx, rax
mov rcx, rbx
call fcn.1400ab800
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400b70c6
cmp eax, edi
je 0x1400b70e0
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1400b70e0
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
jmp 0x1400b70e0
mov dword [rbx + 8], 0x80000000
mov qword [rbx], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400fbe80
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400b7100
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x14040a3a0]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x40], 0
test r8d, r8d
je 0x1400b72df
sub r8d, 1
je 0x1400b726b
cmp r8d, 1
jne 0x1400b7347
mov dword [rsp + 0x54], 0x40
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 0x40
lea r9d, [r8 + 0x3f]
lea r8, [rsp + 0x60]
mov edx, 0x1008
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400b7200
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1400b71b5
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1400b7347
call fcn.14011f744
jmp 0x1400b7347
mov dword [rsp + 0x20], 0xff
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x20]
cmp dword [rsp + 0x50], 0xff
cmovle rax, rcx
mov r8d, dword [rax]
mov edx, 0xff
lea rcx, [rsp + 0x50]
call fcn.14005df60
mov r9d, dword [rsp + 0x54]
mov r8, qword [rsp + 0x58]
mov edx, 0x1008
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400b7198
or ebx, 0xffffffff
mov r8d, ebx
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.1400090f0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400ab800
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1400b723f
cmp eax, ebx
je 0x1400b724e
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400b724e
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
nop
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1400b7355
call fcn.14011f744
jmp 0x1400b7355
mov r9d, 0xd
lea r8, [rbp - 0x20]
lea edx, [r9 + 7]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400b7347
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400090f0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400ab800
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400b72cf
cmp eax, ebx
je 0x1400b7355
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400b7355
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
jmp 0x1400b7355
mov r9d, 9
lea r8, [rbp - 0x20]
lea edx, [r9 + 0xc]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400b7347
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
call fcn.1400090f0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400ab800
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400b7337
cmp eax, ebx
je 0x1400b7355
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400b7355
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
jmp 0x1400b7355
mov dword [rdi + 8], 0x80000000
mov qword [rdi], 0
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400fbe80
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400b7960
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x14040a3a0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rdx
mov dword [rsp + 0x28], 0
mov r9d, 4
lea r8, [rsp + 0x38]
mov edx, 0x100c
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400b7a07
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1400090f0
nop
xor edx, edx
lea r8d, [rbx + 0xb]
mov rcx, rax
call fcn.140020e80
lea edx, [rax + 1]
mov rcx, rdi
call fcn.1400ab940
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400b79f7
cmp eax, ebx
je 0x1400b7a14
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400b7a14
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
jmp 0x1400b7a14
mov edx, 1
mov rcx, rdi
call fcn.1400ab890
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400fbe80
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1400b7a30
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp + 0x47], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov dword [rbp - 0x59], 0
mov eax, 0x40
test r9d, r9d
cmovne eax, r9d
mov dword [rbp - 0x45], eax
cmp eax, 0x40
jle 0x1400b7a9f
movsxd rcx, eax
add rcx, rcx
call fcn.140120830
mov r8, rax
mov qword [rbp - 0x41], rax
test rax, rax
jne 0x1400b7a97
call fcn.14002fde0
mov r8, qword [rbp - 0x41]
mov eax, dword [rbp - 0x45]
mov dword [rbp - 0x49], eax
jmp 0x1400b7aae
lea r8, [rbp - 0x39]
mov qword [rbp - 0x41], r8
mov dword [rbp - 0x49], 0x40
mov r9d, eax
mov edx, edi
mov ecx, dword [rsi]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400b7acb
lea rax, [0x14017f600]
mov qword [rbx], rax
jmp 0x1400b7b49
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400b7b38
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov ecx, dword [rsi]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edx, eax
test eax, eax
jne 0x1400b7af8
lea rax, [0x14017f600]
mov qword [rbx], rax
jmp 0x1400b7b49
mov dword [rbp + 0x7f], edx
lea rax, [rbp - 0x49]
lea rcx, [rbp + 0x7f]
cmp edx, dword [rbp - 0x49]
cmovge rax, rcx
mov r8d, dword [rax]
lea rcx, [rbp - 0x49]
call fcn.14005df60
mov r9d, dword [rbp - 0x45]
mov r8, qword [rbp - 0x41]
mov edx, edi
mov ecx, dword [rsi]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400b7b38
lea rax, [0x14017f600]
mov qword [rbx], rax
jmp 0x1400b7b49
or r8d, 0xffffffff
mov rdx, qword [rbp - 0x41]
mov rcx, rbx
call fcn.1400090f0
nop
lea rax, [rbp - 0x39]
mov rcx, qword [rbp - 0x41]
cmp rcx, rax
je 0x1400b7b5b
call fcn.14011f744
mov rax, rbx
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400b81b0
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rdi, rdx
mov dword [rsp + 0x20], 0
mov r9d, 2
lea r8, [rsp + 0x50]
lea edx, [r9 + 0xb]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400b829b
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1400090f0
nop
mov dword [rsp + 0x30], 1
lea rax, [0x140242bf0]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140018100
test al, al
je 0x1400b826f
lea edx, [rbx + 2]
mov rcx, rdi
call fcn.1400ab890
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400b825f
cmp eax, ebx
je 0x1400b82a5
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400b82a5
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
jmp 0x1400b82a5
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400b828d
cmp eax, 0xffffffff
je 0x1400b829b
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400b829b
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
xor edx, edx
mov rcx, rdi
call fcn.1400ab890
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400b86b0
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x14040a3a0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rdx
xor edi, edi
mov dword [rsp + 0x28], edi
lea r9d, [rdi + 0xf]
lea r8, [rsp + 0x38]
lea edx, [rdi + 0x29]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400b8746
or edi, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1400090f0
nop
mov rdx, rax
mov rcx, rbx
call fcn.1400ab800
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400b8736
cmp eax, edi
je 0x1400b8750
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1400b8750
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
jmp 0x1400b8750
mov dword [rbx + 8], 0x80000000
mov qword [rbx], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400fbe80
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400b8de0
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14040a3a0]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [rcx + 4], 0
mov rbx, rcx
jne 0x1400b8ea4
mov ecx, dword [rcx]
lea r8, [rsp + 0x20]
mov r9d, 8
mov edx, 0x1014
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400b8e3d
mov dword [rbx + 4], 3
mov eax, 3
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400fbe80
add rsp, 0x50
pop rbx
ret
movzx eax, word [rsp + 0x20]
cmp ax, 0x31
jne 0x1400b8e51
mov dword [rbx + 4], 3
jmp 0x1400b8ea4
cmp ax, 0x30
jne 0x1400b8e60
mov dword [rbx + 4], 1
jmp 0x1400b8ea4
cmp ax, 0x32
jne 0x1400b8e6f
mov dword [rbx + 4], 2
jmp 0x1400b8ea4
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 0x1400b8e1e
movzx ecx, word [rsp + 0x30]
xor edx, edx
movzx eax, word [rsp + 0x20]
add ecx, 2
cmp eax, ecx
setne dl
add edx, 2
mov dword [rbx + 4], edx
mov eax, dword [rbx + 4]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400fbe80
add rsp, 0x50
pop rbx
ret

Function at 0x1400ba090
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x250
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x270], rbx
mov rax, qword [0x14040a3a0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, edx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], 0
lea rcx, [0x14017f600]
mov qword [rbx], rcx
mov dword [rsp + 0x20], 1
mov r9d, 0xff
lea r8, [rsp + 0x40]
mov edx, 0x5a
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400ba14d
or edi, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.1400090f0
mov rdx, qword [rbx]
mov qword [rsp + 0x30], rdx
mov rcx, qword [rax]
mov qword [rbx], rcx
mov qword [rax], rdx
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1400ba13f
cmp eax, edi
je 0x1400ba14d
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1400ba14d
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400fbe80
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
Function at 0x1400c01f0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
mov dword [rsp + 0x70], 0x1000
xor edi, edi
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x1400c0239
mov edi, dword [rsp + 0x60]
jmp 0x1400c024b
cmp byte [rbx + 0x53], dil
jne 0x1400c024b
mov byte [rbx + 0x53], 1
mov rcx, rbx
call fcn.1400e97a0
mov dword [rsp + 0x78], edi
lea rax, [rsp + 0x70]
lea rcx, [rsp + 0x78]
cmp edi, 0x1000
cmovae rax, rcx
mov edi, dword [rax]
cmp byte [rbx + 0x53], 0
jne 0x1400c037c
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400c0296
mov rdx, qword [rbx + 0x40]
mov rax, rcx
sub rax, rdx
cmp rdi, rax
jle 0x1400c0296
mov rdi, rcx
sub rdi, rdx
test rdi, rdi
jle 0x1400c037c
lea rcx, [rbx + 0x28]
mov rdx, rdi
call fcn.140080db0
mov rsi, rax
mov word [rbx + 0x50], 0x100
cmp qword [rbx + 0x18], 0
jne 0x1400c02c9
mov ecx, 0x28
call fcn.1400fbea4
mov qword [rsp + 0x68], rax
mov qword [rax + 0x20], rbx
mov qword [rbx + 0x18], rax
mov rax, qword [rbx + 0x18]
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
lea rax, [0x1400c0180]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + 0x18]
mov r8d, edi
mov rdx, rsi
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x1400c037c
mov byte [rbx + 0x51], al
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, eax
sub ecx, 0x6d
je 0x1400c0370
cmp ecx, 0x7c
je 0x1400c0370
mov edx, 0x22
lea rcx, str.QWindowsPipeReader::startAsyncRead
call fcn.14001b650
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x68]
mov edx, edi
mov rcx, rbx
call fcn.1400e98a0
nop
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x1400c0360
cmp eax, 0xffffffff
je 0x1400c037c
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c037c
mov rcx, qword [rsp + 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
jmp 0x1400c037c
mov byte [rbx + 0x53], 1
mov rcx, rbx
call fcn.1400e97a0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400c09a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
cmp byte [rcx + 0x31], 0
mov rsi, rdx
mov rbx, rcx
je 0x1400c09c3
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp qword [rcx + 0x18], 0
mov qword [rsp + 0x48], rdi
jne 0x1400c09e6
mov ecx, 0x28
call fcn.1400fbea4
mov qword [rsp + 0x40], rax
mov qword [rax + 0x20], rbx
mov qword [rbx + 0x18], rax
mov rax, qword [rbx + 0x18]
xor ecx, ecx
mov rdx, rsi
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
lea rcx, [rbx + 0x20]
call fcn.14002ceb0
mov rdx, qword [rbx + 0x20]
lea rax, [0x1400c0a90]
mov r9, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
mov word [rbx + 0x30], 0x100
mov r8d, dword [rdx + 4]
add rdx, qword [rdx + 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFileEx]
test eax, eax
jne 0x1400c0a70
lea rcx, [rbx + 0x20]
mov byte [rbx + 0x31], al
call fcn.14002d520
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe8
je 0x1400c0a5e
lea rdx, str.QWindowsPipeWriter::write_failed.
mov ecx, eax
call fcn.140010f30
xor al, al
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
mov rdi, qword [rsp + 0x48]
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret

Function at 0x1400c1280
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x250
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x268], rbx
mov rbx, rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x30], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
cmp eax, 0x104
jbe 0x1400c130d
mov dword [rsp + 0x260], eax
lea rcx, [rsp + 0x30]
lea rax, [rsp + 0x260]
cmp edi, dword [rsp + 0x30]
cmovge rcx, rax
mov r8d, dword [rcx]
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.14005de80
mov edx, edi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
mov r8d, edi
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.1400090f0
nop
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
je 0x1400c1332
call fcn.14011f744
mov rax, rbx
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret