joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c5cc0
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 [0x1410cc870]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x40], 0
test r8d, r8d
je 0x1400c5e9f
sub r8d, 1
je 0x1400c5e2b
cmp r8d, 1
jne 0x1400c5f07
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 0x1400c5dc0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1400c5d75
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1400c5f07
call fcn.14017f9d4
jmp 0x1400c5f07
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.140063720
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 0x1400c5d58
or ebx, 0xffffffff
mov r8d, ebx
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.1400091b0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400b9ad0
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1400c5dff
cmp eax, ebx
je 0x1400c5e0e
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400c5e0e
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
nop
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1400c5f15
call fcn.14017f9d4
jmp 0x1400c5f15
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 0x1400c5f07
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400091b0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400b9ad0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400c5e8f
cmp eax, ebx
je 0x1400c5f15
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400c5f15
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
jmp 0x1400c5f15
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 0x1400c5f07
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
call fcn.1400091b0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400b9ad0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400c5ef7
cmp eax, ebx
je 0x1400c5f15
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400c5f15
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
jmp 0x1400c5f15
mov dword [rdi + 8], 0x80000000
mov qword [rdi], 0
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14015c110
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400c6450
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x1410cc870]
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 0x1400c64f7
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1400091b0
nop
xor edx, edx
lea r8d, [rbx + 0xb]
mov rcx, rax
call fcn.140021510
lea edx, [rax + 1]
mov rcx, rdi
call fcn.1400b9cb0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400c64e7
cmp eax, ebx
je 0x1400c6504
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400c6504
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
jmp 0x1400c6504
mov edx, 1
mov rcx, rdi
call fcn.1400b9c00
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14015c110
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1400c6b10
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 0x1400c6bfb
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1400091b0
nop
mov dword [rsp + 0x30], 1
lea rax, [0x1402987c0]
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.140018a60
test al, al
je 0x1400c6bcf
lea edx, [rbx + 2]
mov rcx, rdi
call fcn.1400b9c00
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400c6bbf
cmp eax, ebx
je 0x1400c6c05
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400c6c05
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
jmp 0x1400c6c05
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400c6bed
cmp eax, 0xffffffff
je 0x1400c6bfb
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400c6bfb
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
xor edx, edx
mov rcx, rdi
call fcn.1400b9c00
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400c6ed0
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x1410cc870]
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 0x1400c6f66
or edi, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1400091b0
nop
mov rdx, rax
mov rcx, rbx
call fcn.1400b9ad0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400c6f56
cmp eax, edi
je 0x1400c6f70
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1400c6f70
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
jmp 0x1400c6f70
mov dword [rbx + 8], 0x80000000
mov qword [rbx], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14015c110
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x1400c7700
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1410cc870]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [rcx + 4], 0
mov rbx, rcx
jne 0x1400c77c4
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 0x1400c775d
mov dword [rbx + 4], 3
mov eax, 3
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14015c110
add rsp, 0x50
pop rbx
ret
movzx eax, word [rsp + 0x20]
cmp ax, 0x31
jne 0x1400c7771
mov dword [rbx + 4], 3
jmp 0x1400c77c4
cmp ax, 0x30
jne 0x1400c7780
mov dword [rbx + 4], 1
jmp 0x1400c77c4
cmp ax, 0x32
jne 0x1400c778f
mov dword [rbx + 4], 2
jmp 0x1400c77c4
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 0x1400c773e
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.14015c110
add rsp, 0x50
pop rbx
ret
Function at 0x1400c89c0
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x250
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x270], rbx
mov rax, qword [0x1410cc870]
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, [0x1401e6610]
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 0x1400c8a7d
or edi, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.1400091b0
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 0x1400c8a6f
cmp eax, edi
je 0x1400c8a7d
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1400c8a7d
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14015c110
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
Function at 0x1400c9190
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1410cc870]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 8]
lea rdi, [rcx + 8]
mov rbx, rdx
mov dword [rsp + 0x28], 0
cmp dword [rax + 4], 0
jne 0x1400c9232
mov ecx, dword [rcx]
lea r8, [rsp + 0x38]
mov r9d, 0xb
lea edx, [r9 + 8]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400c9232
mov r8d, 1
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1400091b0
mov rdx, qword [rdi]
mov qword [rsp + 0x30], rdx
mov rcx, qword [rax]
mov qword [rdi], rcx
mov qword [rax], rdx
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400c9224
cmp eax, 0xffffffff
je 0x1400c9232
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c9232
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
mov rdx, rdi
mov rcx, rbx
call fcn.1400b9ad0
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14015c110
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400cffa0
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 0x1400cffe9
mov edi, dword [rsp + 0x60]
jmp 0x1400cfffb
cmp byte [rbx + 0x4b], dil
jne 0x1400cfffb
mov byte [rbx + 0x4b], 1
mov rcx, rbx
call fcn.140102870
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 + 0x4b], 0
jne 0x1400d012c
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400d0046
mov rdx, qword [rbx + 0x30]
mov rax, rcx
sub rax, rdx
cmp rdi, rax
jle 0x1400d0046
mov rdi, rcx
sub rdi, rdx
test rdi, rdi
jle 0x1400d012c
lea rcx, [rbx + 0x28]
mov rdx, rdi
call fcn.14008b000
mov rsi, rax
mov word [rbx + 0x48], 0x100
cmp qword [rbx + 0x18], 0
jne 0x1400d0079
mov ecx, 0x28
call fcn.14015c134
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, [0x1400cff30]
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 0x1400d012c
mov byte [rbx + 0x49], al
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, eax
sub ecx, 0x6d
je 0x1400d0120
cmp ecx, 0x7c
je 0x1400d0120
mov edx, 0x22
lea rcx, [0x140299ba0]
call fcn.14001c6c0
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x68]
mov edx, edi
mov rcx, rbx
call fcn.140102a80
nop
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x1400d0110
cmp eax, 0xffffffff
je 0x1400d012c
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d012c
mov rcx, qword [rsp + 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
jmp 0x1400d012c
mov byte [rbx + 0x4b], 1
mov rcx, rbx
call fcn.140102870
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400d07a0
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 0x1400d07c3
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 0x1400d07e6
mov ecx, 0x28
call fcn.14015c134
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.14002df90
mov rdx, qword [rbx + 0x20]
lea rax, [0x1400d0890]
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 0x1400d0870
lea rcx, [rbx + 0x20]
mov byte [rbx + 0x31], al
call fcn.14002e6b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe8
je 0x1400d085e
lea rdx, [0x140299cd0]
mov ecx, eax
call fcn.140010d50
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 0x1400d1080
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 0x1400d110d
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.140063650
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.1400091b0
nop
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
je 0x1400d1132
call fcn.14017f9d4
mov rax, rbx
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x1400ebfa0
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1d8]
sub rsp, 0x2d0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1410cc870]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rcx
mov qword [rbp - 0x58], rcx
xor esi, esi
mov dword [rsp + 0x64], esi
lea rax, [0x1401e6688]
mov qword [rcx], rax
mov dword [rsp + 0x64], 1
mov qword [rbp - 0x70], 0x37
lea rax, [0x14029d9d0]
mov qword [rbp - 0x68], rax
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x50], xmm0
mov dword [rsp + 0x20], esi
mov r9d, 0x20019
lea r8, [rbp - 0x50]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x70]
call fcn.14008a020
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400ec16f
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1400ec16f
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400ec16f
mov ebx, esi
nop word [rax + rax]
mov dword [rsp + 0x68], 0xff
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x40]
mov edx, ebx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400ec163
or r8d, 0xffffffff
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.1400091b0
nop
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.14000dc80
nop
mov rdx, rax
mov rcx, rdi
call fcn.14002e370
nop
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x1400ec127
cmp eax, 0xffffffff
je 0x1400ec136
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ec136
mov rcx, qword [rsp + 0x78]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002cfa0
nop
mov rcx, qword [rbp - 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x1400ec155
cmp eax, 0xffffffff
je 0x1400ec163
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ec163
mov rcx, qword [rbp - 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1400ec0a0
lea rcx, [rsp + 0x70]
call fcn.14008a060
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14015c110
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400ee3e0
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1410cc870]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, 0x10
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
xor ebx, ebx
lea r8, [rsp + 0x40]
mov ecx, eax
mov word [rsp + 0x20], bx
lea r9d, [rbx + 3]
lea edx, [rbx + 4]
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
cmp eax, 3
jne 0x1400ee45b
mov qword [rsp + 0x30], 3
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.140077fe0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14015c110
add rsp, 0x50
pop rbx
ret
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14015c110
add rsp, 0x50
pop rbx
ret
Function at 0x140103000
Capabilities:
Delete registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov r15, rcx
lea rax, vtable.QWinSettingsPrivate.0
mov qword [rcx], rax
or r14d, 0xffffffff
cmp byte [rcx + 0x98], 0
je 0x14010314f
mov rdx, qword [rcx + 0x90]
cmp dword [rdx + 4], 0
je 0x14010314f
mov rbx, qword [rdx + 0x10]
add rbx, rdx
mov rcx, rbx
call fcn.140104b80
nop
test rax, rax
je 0x14010314f
cmp byte [rbx + 0x18], 0
jne 0x14010314f
mov rcx, rbx
call fcn.140104b80
nop
test rax, rax
je 0x14010314f
lea rax, [0x1401e6610]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x78]
call fcn.140022180
nop
mov rbx, rax
mov rcx, r15
call fcn.1401068b0
nop
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov ebx, eax
test eax, eax
je 0x14010311f
mov rdx, qword [r15 + 0x90]
mov rcx, qword [rdx + 0x10]
add rcx, rdx
lea rdx, [rsp + 0x80]
call fcn.140104dd0
nop
mov rcx, rax
call fcn.140022180
nop
mov r8, rax
lea rdx, [0x1402e41a0]
mov ecx, ebx
call fcn.140010d50
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x140103110
cmp eax, r14d
je 0x14010311f
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14010311f
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
nop
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x140103140
cmp eax, 0xffffffff
je 0x14010314f
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14010314f
mov rcx, qword [rsp + 0x78]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
nop
xor r12d, r12d
mov esi, r12d
lea rbx, [r15 + 0x90]
mov rax, qword [rbx]
cmp dword [rax + 4], r12d
jle 0x1401031d4
mov ebp, r12d
mov rax, qword [rbx]
cmp dword [rax], 1
jbe 0x1401031a5
mov edx, dword [rax + 8]
and edx, 0x7fffffff
jne 0x140103194
lea r9d, [rdx + 2]
xor r8d, r8d
lea edx, [r9 + 6]
lea ecx, [rdx + 0x18]
call fcn.14002cdf0
nop
mov qword [rbx], rax
jmp 0x1401031a5
mov dword [rsp + 0x70], r12d
mov r8d, r12d
mov rcx, rbx
call fcn.1401059e0
nop
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
add rdi, rbp
add rdi, rax
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1401031c2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov qword [rdi + 8], r12
inc esi
add rbp, 0x20
mov rax, qword [rbx]
cmp esi, dword [rax + 4]
jl 0x140103168
mov rax, qword [rbx]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401031ed
cmp ecx, 0xffffffff
je 0x1401031f9
lock xadd dword [rax], r14d
cmp r14d, 1
jne 0x1401031f9
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.140104a10
nop
mov rcx, r15
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.1400d2fd0
Function at 0x140151e00
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
cmp rcx, rdx
ja 0x140151ee8
cmp rcx, 1
jb 0x140151ee8
cmp qword [0x1410d45a8], 0
mov qword [rsp + 0x60], rbx
jne 0x140151e52
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x24]
dec ecx
mov qword [0x1410d45a8], rcx
mov rdx, qword [rdi + 0x10]
mov ecx, 0x20
call qword [rdi]
mov rbx, rax
test rax, rax
je 0x140151e9b
mov rax, qword [0x1410d45a8]
mov r9d, 4
add rbp, rax
mov r8d, 0x2000
not rax
xor ecx, ecx
and rbp, rax
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, rbx
test rax, rax
jne 0x140151eb2
mov rdx, qword [rdi + 0x10]
call qword [rdi + 8]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
lea rdx, [rax + rbp]
mov qword [rbx + 0x18], rax
mov qword [rbx + 8], rdx
mov qword [rbx + 0x10], rdx
sub rdx, rsi
call fcn.140154410
test rax, rax
jne 0x140151edc
mov rdx, rdi
mov rcx, rbx
call fcn.140153e00
jmp 0x140151e9b
mov rax, qword [rbx + 8]
mov qword [rbx], rax
mov rax, rbx
jmp 0x140151e9d
mov rbp, qword [rsp + 0x68]
xor eax, eax
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140153ca0
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x1410d4598]
test rcx, rcx
jne 0x140153cca
xor r8d, r8d
lea edx, [rcx + 1]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x1410d4598], rax
jmp 0x140153cd3
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r10, qword [0x1410d45b8]
lea rax, [rbx - 0x10]
mov rcx, qword [rax]
mov r9, rax
sub r9, qword [rax + 8]
sub r10, rcx
mov qword [0x1410d45b8], r10
cmp qword [r9], 0
jne 0x140153d0a
add qword [r9 + 0x20], rcx
lea r8, [r9 + 0x20]
mov rax, qword [r8]
mov qword [rax + r9 + 8], rax
jmp 0x140153d39
xor edx, edx
mov qword [rax + 0x20], rcx
mov rcx, qword [0x1410d45b0]
lea r8, [rax + 0x20]
mov qword [rax], rdx
mov r9, rax
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rdx
test rcx, rcx
je 0x140153d32
mov qword [rcx + 0x18], rax
mov qword [0x1410d45b0], rax
mov rcx, qword [r8]
cmp qword [rcx + r9], 0
lea rdx, [rcx + r9]
jne 0x140153d85
add rcx, qword [rdx + 0x20]
mov qword [r8], rcx
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x140153d5f
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [rdx + 0x18]
mov rax, qword [rdx + 0x10]
test rcx, rcx
je 0x140153d72
mov qword [rcx + 0x10], rax
jmp 0x140153d79
mov qword [0x1410d45b0], rax
mov rax, qword [r8]
mov qword [rax + r9 + 8], rax
lea rdx, [rax + r9]
cmp qword [r9 + 8], 0
jne 0x140153deb
cmp qword [rdx], 1
jne 0x140153deb
mov rcx, qword [0x1410d45c0]
lea rax, [r10 + r10*2]
sub rcx, qword [r8]
shr rax, 1
cmp rcx, rax
jbe 0x140153deb
mov qword [0x1410d45c0], rcx
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x140153dc0
mov rax, qword [r9 + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 0x10]
test rcx, rcx
je 0x140153dd3
mov qword [rcx + 0x10], rax
jmp 0x140153dda
mov qword [0x1410d45b0], rax
xor edx, edx
mov r8d, 0x8000
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [0x1410d4598]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_ReleaseMutex]