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

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rbp
mov rbx, rdx
mov rdi, rcx
mov r8, qword [rcx]
mov esi, dword [r8 + 8]
btr esi, 0x1f
mov ebp, dword [r8 + 4]
inc ebp
cmp dword [r8], 1
ja 0x140085ea4
cmp ebp, esi
ja 0x140085ea4
movsxd rax, dword [r8 + 4]
lea rcx, [rax + rax*2]
mov rax, qword [r8 + 0x10]
lea rcx, [rax + rcx*8]
add rcx, r8
mov qword [r11 + 8], rcx
mov qword [r11 + 0x18], rcx
je 0x140085e9f
call fcn.1400837b0
nop
jmp 0x140085f9b
lea rcx, [rsp + 0x28]
call fcn.140083410
nop
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x30]
call fcn.140083410
mov r14d, dword [rbx + 0x10]
mov dword [rsp + 0x38], r14d
movzx ebx, byte [rbx + 0x14]
mov byte [rsp + 0x3c], bl
cmp esi, ebp
sbb r9d, r9d
and r9d, 8
mov rax, qword [rdi]
cmp ebp, esi
jbe 0x140085ee7
mov r8d, dword [rax + 4]
inc r8d
jmp 0x140085ef0
mov r8d, dword [rax + 8]
btr r8d, 0x1f
mov edx, dword [rax + 4]
mov rcx, rdi
call fcn.14008d480
mov rdx, qword [rdi]
movsxd rax, dword [rdx + 4]
lea rcx, [rax + rax*2]
mov rax, qword [rdx + 0x10]
lea r8, [rax + rcx*8]
add r8, rdx
je 0x140085f3f
mov rax, qword [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x1401885d8]
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x30]
mov qword [r8 + 8], rax
mov qword [rsp + 0x30], rcx
mov dword [r8 + 0x10], r14d
mov byte [r8 + 0x14], bl
jmp 0x140085f44
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
or ebx, 0xffffffff
test eax, eax
je 0x140085f61
cmp eax, ebx
je 0x140085f6f
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140085f6f
mov rcx, qword [rsp + 0x30]
mov edx, 4
lea r8d, [rdx + 4]
call fcn.140035d80
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x140085f88
cmp ecx, 0xffffffff
je 0x140085f9b
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x140085f9b
mov edx, 4
lea r8d, [rdx + 4]
mov rcx, qword [rsp + 0x28]
call fcn.140035d80
mov rax, qword [rdi]
inc dword [rax + 4]
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x14009c0c0
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 0x14007cd02
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 0x14009c0c0
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 0x14009c1f1
cmp dword [rcx + 0x98], 0xffffffff
jne 0x14009c1ec
cmp qword [rcx + 0x78], 0xffffffffffffffff
je 0x14009c255
mov rdi, r8
mov qword [r11 + 0x20], r8
xor r12d, r12d
mov ebx, r12d
lea r13, [0x1401eed10]
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 0x14009c185
mov eax, dword [rsp + 0x90]
test eax, eax
je 0x14009c1e7
add rbx, rax
sub rdi, rax
mov qword [rsp + 0xa8], rdi
cmp rbx, rbp
jge 0x14009c1e7
jmp 0x14009c130
test rbx, rbx
jne 0x14009c1e7
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.140079d10
nop
mov r8, rax
lea edx, [rbx + 1]
mov rcx, r15
call fcn.14007b2c0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14009c1d0
cmp eax, 0xffffffff
je 0x14009c255
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14009c255
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
or rax, 0xffffffffffffffff
jmp 0x14009c269
mov rax, rbx
jmp 0x14009c269
test rax, rax
je 0x14009c25b
call fcn.14009be40
test al, al
je 0x14009c25b
mov rcx, qword [rsi + 0x70]
call fcn.14012ea74
test eax, eax
je 0x14009c25b
or edx, 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.140079eb0
nop
mov r8, rax
mov edx, 1
mov rcx, r15
call fcn.14007b2c0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14009c247
cmp eax, 0xffffffff
je 0x14009c255
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14009c255
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
or rax, 0xffffffffffffffff
jmp 0x14009c269
mov r8, rbp
mov rdx, r14
mov rcx, rsi
call fcn.14007cd20
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 0x14009c460
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 0x14007d472
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 0x14009c460
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 0x14009c586
cmp dword [rcx + 0x98], 0xffffffff
jne 0x14009c586
cmp qword [rcx + 0x78], 0xffffffffffffffff
je 0x14009c57b
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 0x14009c52a
mov eax, dword [rsp + 0x80]
test eax, eax
je 0x14009c581
add rbx, rax
sub rdi, rax
mov qword [rsp + 0x98], rdi
cmp rbx, rbp
jge 0x14009c581
jmp 0x14009c4d0
test rbx, rbx
jne 0x14009c581
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.140079d10
nop
mov r8, rax
lea edx, [rbx + 2]
mov rcx, r15
call fcn.14007b2c0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14009c56d
cmp eax, 0xffffffff
je 0x14009c57b
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14009c57b
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
or rax, 0xffffffffffffffff
jmp 0x14009c58b
mov rax, rbx
jmp 0x14009c58b
call fcn.14007d490
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 0x14009c790
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14007c610
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.14007b3c0
nop
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.14007bc70
mov rbx, rax
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x70]
call fcn.14007bc70
mov rdi, rax
mov rcx, rbx
call fcn.14002b720
mov rbx, rax
mov rcx, rdi
call fcn.14002b720
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 0x14009c824
cmp eax, ebx
je 0x14009c833
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14009c833
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x14009c859
cmp eax, 0xffffffff
je 0x14009c868
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14009c868
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14009c888
cmp eax, 0xffffffff
je 0x14009c896
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14009c896
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14009c8b6
cmp eax, 0xffffffff
je 0x14009c8c4
mov eax, ebx
lock xadd dword [rcx], eax
sub eax, 1
jne 0x14009c8c4
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
test dil, dil
jne 0x14009c931
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.14007e520
nop
mov r8, rax
mov edx, 0xa
mov rcx, rsi
call fcn.14007b2c0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14009c923
cmp eax, 0xffffffff
je 0x14009c931
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14009c931
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
movzx eax, dil
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14009ca90
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 0x14009cc13
cmp dword [rax + 0x98], esi
jne 0x14009cbe7
cmp qword [rax + 0x70], 0
jne 0x14009cbe7
lea rsi, [rax + 0x20]
mov rcx, rsi
call fcn.14007ba90
test al, al
jne 0x14009cc60
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.14007b5c0
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14001ecd0
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
or esi, 0xffffffff
test eax, eax
je 0x14009cb35
cmp eax, esi
je 0x14009cb43
mov eax, esi
lock xadd dword [rcx], eax
mov rbx, qword [rsp + 0x78]
cmp eax, 1
jne 0x14009cb43
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
mov dword [rsp + 0x70], 3
mov edx, 3
lea rcx, [rsp + 0x28]
call fcn.14001f6f0
test al, al
je 0x14009cbdb
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140020360
movzx ebx, al
test al, al
jne 0x14009cbc9
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x28]
call fcn.14003cb80
nop
mov r8, rax
mov edx, 0xc
mov rcx, rdi
call fcn.14007b2c0
nop
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x14009cbba
cmp eax, 0xffffffff
je 0x14009cbc9
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x14009cbc9
mov rcx, qword [rsp + 0x88]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
nop
lea rcx, [rsp + 0x28]
call fcn.14001eda0
movzx eax, bl
jmp 0x14009cc62
lea rcx, [rsp + 0x28]
call fcn.14001eda0
jmp 0x14009cc60
cmp rsi, 0xffffffffffffffff
jne 0x14009cc13
mov rcx, qword [rax + 0x70]
test rcx, rcx
je 0x14009cbff
call fcn.140130d24
mov ecx, eax
jmp 0x14009cc05
mov ecx, dword [rax + 0x98]
call fcn.140130ba8
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14009cc60
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 0x14009cc54
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14009cc54
mov rax, qword [rdi]
cmp rbp, rbx
cmovl rbx, rbp
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x38]
mov al, 1
jmp 0x14009cc62
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 0x1400a4fb0
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 [0x1410443b8]
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
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.140039ba0
mov ebx, eax
call fcn.140042cb0
mov r9, rax
mov dword [rsp + 0x20], ebx
lea r8, [0x1401ef910]
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.1400a6650
call fcn.140039e10
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 + 0x40]
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 0x1400a50c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1400a50af
add edi, 0xffffffff
jne 0x1400a5020
lea rdx, [0x1401ef938]
mov ecx, eax
call fcn.14001c7a0
jmp 0x1400a5142
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 0x1400a5122
lea rcx, [0x1401ef960]
call fcn.14001c920
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400a5142
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test bpl, bpl
je 0x1400a513b
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
jmp 0x1400a5142
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140102b40
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 0x1400a51e0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xe0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
mov r8, rdx
mov rdx, rcx
lea rcx, [rax + 0x18]
call fcn.1400a4360
nop
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov ebp, 0x8000000
xor r12d, r12d
test rax, rax
cmovne ebp, r12d
bts ebp, 0xa
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x78], r12
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x80], xmm0
movabs rax, 0x8000000080000000
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xa8], r12
mov dword [rsp + 0xb0], r12d
mov qword [rsp + 0xb8], r12
movdqa xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], r12
mov rax, qword [rsi]
cmp dword [rax + 4], r12d
jne 0x1400a52aa
mov ebx, r12d
jmp 0x1400a52b5
mov rcx, rsi
call fcn.14002b720
mov rbx, rax
lea rcx, [rsp + 0x120]
call fcn.14002b720
mov rdx, rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne bl
test bl, bl
je 0x1400a5327
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x1400a5348
mov eax, dword [rsp + 0x60]
mov qword [rdi], rax
jmp 0x1400a5348
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2e4
jne 0x1400a5348
mov r9, rdi
mov r8, rsi
mov rdx, r14
mov rcx, r15
call fcn.1400a53a0
movzx ebx, al
mov rcx, qword [rsp + 0x120]
mov eax, dword [rcx]
test eax, eax
je 0x1400a536f
cmp eax, 0xffffffff
je 0x1400a537d
or edx, 0xffffffff
lock xadd dword [rcx], edx
cmp edx, 1
jne 0x1400a537d
mov rcx, qword [rsp + 0x120]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
movzx eax, bl
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400cec80
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 0x1400ced0d
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.140081b80
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.1400091a0
nop
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
je 0x1400ced32
call fcn.140126630
mov rax, rbx
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

Function at 0x1400d5560
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x1410443b8]
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 0x1400d55f6
or edi, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1400091a0
nop
mov rdx, rax
mov rcx, rbx
call fcn.140064ff0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400d55e6
cmp eax, edi
je 0x1400d5600
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1400d5600
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
jmp 0x1400d5600
mov dword [rbx + 8], 0x80000000
mov qword [rbx], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140102b40
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400d5620
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 [0x1410443b8]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x40], 0
test r8d, r8d
je 0x1400d57ff
sub r8d, 1
je 0x1400d578b
cmp r8d, 1
jne 0x1400d5867
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 0x1400d5720
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1400d56d5
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1400d5867
call fcn.140126630
jmp 0x1400d5867
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.140081c60
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 0x1400d56b8
or ebx, 0xffffffff
mov r8d, ebx
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.1400091a0
nop
mov rdx, rax
mov rcx, rdi
call fcn.140064ff0
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1400d575f
cmp eax, ebx
je 0x1400d576e
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400d576e
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
nop
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1400d5875
call fcn.140126630
jmp 0x1400d5875
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 0x1400d5867
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400091a0
nop
mov rdx, rax
mov rcx, rdi
call fcn.140064ff0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400d57ef
cmp eax, ebx
je 0x1400d5875
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400d5875
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
jmp 0x1400d5875
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 0x1400d5867
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
call fcn.1400091a0
nop
mov rdx, rax
mov rcx, rdi
call fcn.140064ff0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400d5857
cmp eax, ebx
je 0x1400d5875
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400d5875
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
jmp 0x1400d5875
mov dword [rdi + 8], 0x80000000
mov qword [rdi], 0
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140102b40
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400d5e00
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x1410443b8]
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 0x1400d5ea7
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1400091a0
nop
xor edx, edx
lea r8d, [rbx + 0xb]
mov rcx, rax
call fcn.14002ab80
lea edx, [rax + 1]
mov rcx, rdi
call fcn.140065130
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400d5e97
cmp eax, ebx
je 0x1400d5eb4
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400d5eb4
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
jmp 0x1400d5eb4
mov edx, 1
mov rcx, rdi
call fcn.140065080
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140102b40
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1400d5ed0
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 0x1400d5f3f
movsxd rcx, eax
add rcx, rcx
call fcn.140127668
mov r8, rax
mov qword [rbp - 0x41], rax
test rax, rax
jne 0x1400d5f37
call fcn.1400397b0
mov r8, qword [rbp - 0x41]
mov eax, dword [rbp - 0x45]
mov dword [rbp - 0x49], eax
jmp 0x1400d5f4e
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 0x1400d5f6b
lea rax, [0x1401885d8]
mov qword [rbx], rax
jmp 0x1400d5fe9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400d5fd8
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 0x1400d5f98
lea rax, [0x1401885d8]
mov qword [rbx], rax
jmp 0x1400d5fe9
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.140081c60
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 0x1400d5fd8
lea rax, [0x1401885d8]
mov qword [rbx], rax
jmp 0x1400d5fe9
or r8d, 0xffffffff
mov rdx, qword [rbp - 0x41]
mov rcx, rbx
call fcn.1400091a0
nop
lea rax, [rbp - 0x39]
mov rcx, qword [rbp - 0x41]
cmp rcx, rax
je 0x1400d5ffb
call fcn.140126630
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