joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400787c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov rdi, r8
mov rsi, rdx
cmp dword [rbx + 0x9c], 1
je 0x140065432
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rbx + 0x9c], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400787c0
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rbp, r8
mov r14, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x18]
mov rax, qword [rcx + 0x70]
test rax, rax
jne 0x1400788f4
cmp dword [rcx + 0x98], 0xffffffff
jne 0x1400788ef
cmp qword [rcx + 0x78], 0xffffffffffffffff
je 0x14007895c
mov rdi, r8
mov qword [r11 + 0x20], r8
xor r12d, r12d
mov ebx, r12d
lea r13, [0x1401d6a68]
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0xa8]
cmp rdi, 0x2000000
cmovge rax, r13
lea rdx, [rbx + r14]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x90]
mov r8d, dword [rax]
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140078885
mov eax, dword [rsp + 0x90]
test eax, eax
je 0x1400788e7
add rbx, rax
sub rdi, rax
mov qword [rsp + 0xa8], rdi
cmp rbx, rbp
jge 0x1400788e7
jmp 0x140078830
test rbx, rbx
jne 0x1400788e7
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.14004d150
nop
mov r8, rax
lea edx, [rbx + 1]
mov rcx, r15
call fcn.140063a60
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400788d0
cmp eax, 0xffffffff
je 0x14007895c
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007895c
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
or rax, 0xffffffffffffffff
jmp 0x140078970
mov rax, rbx
jmp 0x140078970
test rax, rax
je 0x140078962
call fcn.140078540
test al, al
je 0x140078962
mov rcx, qword [rsi + 0x70]
call fcn.1401341a8
test eax, eax
je 0x140078962
call fcn.140133db8
mov edx, dword [rax]
lea rcx, [rsp + 0x38]
call fcn.14004d150
nop
mov r8, rax
mov edx, 1
mov rcx, r15
call fcn.140063a60
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14007894e
cmp eax, 0xffffffff
je 0x14007895c
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007895c
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
or rax, 0xffffffffffffffff
jmp 0x140078970
mov r8, rbp
mov rdx, r14
mov rcx, rsi
call fcn.140065450
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140078b70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov rdi, r8
mov rsi, rdx
cmp dword [rbx + 0x9c], 2
je 0x140065bd2
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rbx + 0x9c], 2
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140078b70
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rbp, r8
mov r14, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x18]
cmp qword [rcx + 0x70], 0
jne 0x140078c96
cmp dword [rcx + 0x98], 0xffffffff
jne 0x140078c96
cmp qword [rcx + 0x78], 0xffffffffffffffff
je 0x140078c8b
mov rdi, r8
mov qword [rax + 0x20], r8
xor r12d, r12d
mov ebx, r12d
mov qword [rax - 0x40], 0x2000000
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x98]
lea rcx, [rsp + 0x38]
cmp rdi, 0x2000000
cmovge rax, rcx
lea rdx, [rbx + r14]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x80]
mov r8d, dword [rax]
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140078c3a
mov eax, dword [rsp + 0x80]
test eax, eax
je 0x140078c91
add rbx, rax
sub rdi, rax
mov qword [rsp + 0x98], rdi
cmp rbx, rbp
jge 0x140078c91
jmp 0x140078be0
test rbx, rbx
jne 0x140078c91
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.14004d150
nop
mov r8, rax
lea edx, [rbx + 2]
mov rcx, r15
call fcn.140063a60
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x140078c7d
cmp eax, 0xffffffff
je 0x140078c8b
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140078c8b
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
or rax, 0xffffffffffffffff
jmp 0x140078c9b
mov rax, rbx
jmp 0x140078c9b
call fcn.140065bf0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140078ea0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140064d50
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp method.QFSFileEngine.virtual_96
push rbx
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rsi, rcx
mov rdi, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.140063b60
nop
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.1400643b0
mov rbx, rax
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x70]
call fcn.1400643b0
mov rdi, rax
mov rcx, rbx
call fcn.140025d00
mov rbx, rax
mov rcx, rdi
call fcn.140025d00
mov rcx, rax
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
or ebx, 0xffffffff
test eax, eax
je 0x140078f34
cmp eax, ebx
je 0x140078f43
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140078f43
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x140078f69
cmp eax, 0xffffffff
je 0x140078f78
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140078f78
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x140078f98
cmp eax, 0xffffffff
je 0x140078fa6
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140078fa6
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x140078fc6
cmp eax, 0xffffffff
je 0x140078fd4
mov eax, ebx
lock xadd dword [rcx], eax
sub eax, 1
jne 0x140078fd4
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
test dil, dil
jne 0x140079041
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8c], 2
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x88]
call fcn.1400af450
nop
mov r8, rax
mov edx, 0xa
mov rcx, rsi
call fcn.140063a60
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140079033
cmp eax, 0xffffffff
je 0x140079041
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140079041
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
movzx eax, dil
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400791a0
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rdx
mov rdi, rcx
mov rax, qword [rcx + 8]
mov rsi, qword [rax + 0x78]
cmp rsi, 0xffffffffffffffff
jne 0x140079323
cmp dword [rax + 0x98], esi
jne 0x1400792f7
cmp qword [rax + 0x70], 0
jne 0x1400792f7
lea rsi, [rax + 0x20]
mov rcx, rsi
call fcn.1400641d0
test al, al
jne 0x140079370
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.140063d60
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140019820
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
or esi, 0xffffffff
test eax, eax
je 0x140079245
cmp eax, esi
je 0x140079253
mov eax, esi
lock xadd dword [rcx], eax
mov rbx, qword [rsp + 0x78]
cmp eax, 1
jne 0x140079253
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
mov dword [rsp + 0x70], 3
mov edx, 3
lea rcx, [rsp + 0x28]
call fcn.14001a220
test al, al
je 0x1400792eb
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14001ad20
movzx ebx, al
test al, al
jne 0x1400792d9
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x28]
call fcn.140037dc0
nop
mov r8, rax
mov edx, 0xc
mov rcx, rdi
call fcn.140063a60
nop
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x1400792ca
cmp eax, 0xffffffff
je 0x1400792d9
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x1400792d9
mov rcx, qword [rsp + 0x88]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
nop
lea rcx, [rsp + 0x28]
call fcn.1400198f0
movzx eax, bl
jmp 0x140079372
lea rcx, [rsp + 0x28]
call fcn.1400198f0
jmp 0x140079370
cmp rsi, 0xffffffffffffffff
jne 0x140079323
mov rcx, qword [rax + 0x70]
test rcx, rcx
je 0x14007930f
call fcn.140136e44
mov ecx, eax
jmp 0x140079315
mov ecx, dword [rax + 0x98]
call fcn.140136c64
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140079370
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x30]
mov rbp, rax
mov r8, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [r8 + 0x38]
test al, al
je 0x140079364
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140079364
mov rax, qword [rdi]
cmp rbp, rbx
cmovl rbx, rbp
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x38]
mov al, 1
jmp 0x140079372
mov rax, qword [rdi]
mov rdx, rbp
mov rcx, rdi
call qword [rax + 0x38]
xor al, al
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140085de0
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 [0x1402f61c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor r13d, r13d
mov dword [rsp + 0x40], 0x18
test dl, dl
mov qword [rsp + 0x48], r13
mov rsi, rcx
mov dword [rsp + 0x50], r13d
mov ecx, 0x100000
mov r15d, r13d
cmove r15d, ecx
lea ebx, [r13 + 8]
movzx eax, dl
mov r14d, r13d
neg al
movzx ebp, dl
mov edi, 0x3e8
sbb r12d, r12d
and r12d, ecx
test dl, dl
setne r14b
nop
call fcn.14004d140
mov r9d, eax
lea r8, str..pipeqt__X
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.140086fd0
call fcn.14004d6f0
cmp eax, 0x80
lea edx, [r14 + 0x40000001]
lea rax, [rsp + 0x40]
mov r8d, r13d
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x30], r13d
cmovge r8d, ebx
mov dword [rsp + 0x28], r15d
mov r9d, 1
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140085ee3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x140085ed0
mov ebx, 8
add edi, 0xffffffff
jne 0x140085e50
lea rdx, str.QProcess:_CreateNamedPipe_failed.
mov ecx, eax
call fcn.140017320
jmp 0x140085f63
mov edx, 0x40000000
mov qword [rsp + 0x30], r13
mov eax, 0x80000100
mov dword [rsp + 0x28], 0x40000000
test bpl, bpl
mov dword [rsp + 0x50], 1
lea r9, [rsp + 0x40]
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 0x140085f43
lea rcx, str.QProcess:_CreateFile_failed.
call fcn.1400174a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140085f63
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test bpl, bpl
je 0x140085f5c
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
jmp 0x140085f63
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140122ce0
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 0x14009cb90
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rsi, rcx
mov rdi, qword [rcx + 8]
lea rbx, [rdi + 0x70]
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x14005777f
mov rcx, rbx
call fcn.14004dc40
or rbx, 1
mov qword [rsp + 0x40], rbx
cmp byte [rdi + 0x7c], 0
je 0x1400577b1
cmp byte [rdi + 0xa0], 0
jne 0x140057797
mov byte [rdi + 0xa1], 1
jmp 0x1400577b1
xor edx, edx
mov rcx, qword [rdi + 0x90]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor edx, edx
mov rcx, rsi
call fcn.140056670
nop
test bl, 1
je 0x1400577c2
and rbx, 0xfffffffffffffffe
mov rcx, rbx
call fcn.14004e0f0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor edx, edx
jmp fcn.140058110
test edx, edx
jne 0x14009cbf9
cmp r8d, 5
ja case.default.0x14009cbb3
movsxd rax, r8d
lea r8, [0x140000000]
mov edx, dword [r8 + rax*4 + 0x9cc30]
add rdx, r8
jmp rdx
xor r9d, r9d
lea rdx, [0x1401ee1a0]
xor r8d, r8d
jmp fcn.14005e5e0
xor r9d, r9d
lea rdx, [0x1401ee1a0]
lea r8d, [r9 + 1]
jmp fcn.14005e5e0
mov rax, qword [r9 + 8]
mov edx, dword [rax]
jmp fcn.140057420
mov edx, 7
jmp fcn.140057420
jmp 0x140057740
jmp 0x1400581e0
cmp edx, 0xa
jne case.default.0x14009cbb3
mov rax, qword [r9 + 8]
mov rcx, qword [r9]
mov rdx, qword [rax]
lea rax, [fcn.14009cd50]
cmp rdx, rax
jne 0x14009cc1b
mov dword [rcx], 0
ret
lea rax, [fcn.14009cc50]
cmp rdx, rax
jne case.default.0x14009cbb3
mov dword [rcx], 1
ret

Function at 0x1400afb60
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 0x1400afbed
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.140069f00
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.1400064b0
nop
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
je 0x1400afc12
call fcn.14012d5a4
mov rax, rbx
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x1400b6340
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x1402f61c0]
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 0x1400b63d6
or edi, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1400064b0
nop
mov rdx, rax
mov rcx, rbx
call fcn.1400ab1b0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400b63c6
cmp eax, edi
je 0x1400b63e0
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1400b63e0
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
jmp 0x1400b63e0
mov dword [rbx + 8], 0x80000000
mov qword [rbx], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140122ce0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400b6400
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 [0x1402f61c0]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x40], 0
test r8d, r8d
je 0x1400b65df
sub r8d, 1
je 0x1400b656b
cmp r8d, 1
jne 0x1400b6647
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 0x1400b6500
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1400b64b5
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1400b6647
call fcn.14012d5a4
jmp 0x1400b6647
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.14006a000
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 0x1400b6498
or ebx, 0xffffffff
mov r8d, ebx
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.1400064b0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400ab1b0
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1400b653f
cmp eax, ebx
je 0x1400b654e
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400b654e
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
nop
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1400b6655
call fcn.14012d5a4
jmp 0x1400b6655
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 0x1400b6647
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400064b0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400ab1b0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400b65cf
cmp eax, ebx
je 0x1400b6655
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400b6655
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
jmp 0x1400b6655
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 0x1400b6647
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
call fcn.1400064b0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400ab1b0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400b6637
cmp eax, ebx
je 0x1400b6655
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400b6655
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
jmp 0x1400b6655
mov dword [rdi + 8], 0x80000000
mov qword [rdi], 0
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140122ce0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400b6be0
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x1402f61c0]
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 0x1400b6c87
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1400064b0
nop
xor edx, edx
lea r8d, [rbx + 0xb]
mov rcx, rax
call fcn.140025340
lea edx, [rax + 1]
mov rcx, rdi
call fcn.1400ab2f0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400b6c77
cmp eax, ebx
je 0x1400b6c94
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400b6c94
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
jmp 0x1400b6c94
mov edx, 1
mov rcx, rdi
call fcn.1400ab240
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140122ce0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1400b6cb0
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 0x1400b6d1f
movsxd rcx, eax
add rcx, rcx
call fcn.14012f63c
mov r8, rax
mov qword [rbp - 0x41], rax
test rax, rax
jne 0x1400b6d17
call fcn.14004cd60
mov r8, qword [rbp - 0x41]
mov eax, dword [rbp - 0x45]
mov dword [rbp - 0x49], eax
jmp 0x1400b6d2e
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 0x1400b6d4b
lea rax, [0x14018c220]
mov qword [rbx], rax
jmp 0x1400b6dc9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400b6db8
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 0x1400b6d78
lea rax, [0x14018c220]
mov qword [rbx], rax
jmp 0x1400b6dc9
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.14006a000
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 0x1400b6db8
lea rax, [0x14018c220]
mov qword [rbx], rax
jmp 0x1400b6dc9
or r8d, 0xffffffff
mov rdx, qword [rbp - 0x41]
mov rcx, rbx
call fcn.1400064b0
nop
lea rax, [rbp - 0x39]
mov rcx, qword [rbp - 0x41]
cmp rcx, rax
je 0x1400b6ddb
call fcn.14012d5a4
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 0x1400b74b0
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 0x1400b759b
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1400064b0
nop
mov dword [rsp + 0x30], 1
lea rax, [0x1402c07b0]
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.14001dbe0
test al, al
je 0x1400b756f
lea edx, [rbx + 2]
mov rcx, rdi
call fcn.1400ab240
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400b755f
cmp eax, ebx
je 0x1400b75a5
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400b75a5
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
jmp 0x1400b75a5
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400b758d
cmp eax, 0xffffffff
je 0x1400b759b
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400b759b
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
xor edx, edx
mov rcx, rdi
call fcn.1400ab240
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400b79b0
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x1402f61c0]
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 0x1400b7a46
or edi, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1400064b0
nop
mov rdx, rax
mov rcx, rbx
call fcn.1400ab1b0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400b7a36
cmp eax, edi
je 0x1400b7a50
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1400b7a50
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400309b0
jmp 0x1400b7a50
mov dword [rbx + 8], 0x80000000
mov qword [rbx], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140122ce0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret