joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140046180
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x378
lea rax, [rsp + 0x100]
mov qword [rsp + 0x50], rax
lea rdx, [0x1402b3c58]
mov rcx, qword [rsp + 0x50]
call fcn.140014930
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.1400aaa00
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.14000f0c0
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140014930
nop
lea rcx, [rsp + 0x70]
call fcn.1400165c0
nop
lea rax, [rsp + 0x120]
mov qword [rsp + 0x78], rax
lea rdx, [0x1402b3c80]
mov rcx, qword [rsp + 0x78]
call fcn.140014930
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x98]
call fcn.1400aaa00
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.14000f0c0
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140014930
nop
lea rcx, [rsp + 0x98]
call fcn.1400165c0
nop
mov r8d, 0x104
lea rdx, [rsp + 0x160]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop
lea rax, [rsp + 0x140]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0xa0]
call fcn.140014890
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0xb8]
call fcn.1400aa390
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.14000f0c0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xb8]
call fcn.1400165c0
nop
cmp dword [rsp + 0x30], 0
jne 0x140046382
mov eax, dword [rsp + 0x388]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x34], 4
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x1402b3c98]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x380]
mov ecx, dword [rsp + 0x388]
mov dword [rax + 0x6c], ecx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0xe0]
call fcn.140016ce0
nop
lea rcx, [rsp + 0xc0]
call fcn.140016ce0
nop
add rsp, 0x378
ret
Function at 0x140073c10
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [rsp + 0xe0]
mov rcx, rax
call fcn.140074b90
mov rax, qword [rsp + 0xe0]
add rax, 0x50
mov rcx, rax
call fcn.140014990
nop
mov rax, qword [rsp + 0xe0]
add rax, 0x70
mov rcx, rax
call fcn.140014990
nop
mov rax, qword [rsp + 0xe0]
add rax, 0x90
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xe8]
add rax, 0x28
mov rcx, rax
call fcn.14000f0c0
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call fcn.140014930
nop
mov rax, qword [rsp + 0xe0]
add rax, 0xb0
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xe8]
mov rcx, rax
call fcn.14000f0c0
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call fcn.140014930
nop
mov rax, qword [rsp + 0xe0]
add rax, 0xd0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xe8]
add rax, 0x10
mov rcx, rax
call fcn.14000f0c0
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.140014930
nop
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe8]
mov qword [rax + 0xf0], rcx
mov rax, qword [rsp + 0xe0]
add rax, 0xf8
mov rcx, rax
call fcn.1400739a0
nop
mov rax, qword [rsp + 0xe0]
add rax, 0x138
mov rcx, rax
call fcn.1400739f0
nop
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x178], 0
lea rcx, [rsp + 0x60]
call fcn.1400b9cf0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x90]
call fcn.14009af10
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea r8, [0x1402b6658]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400614a0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xe0]
add rax, 0x50
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call fcn.140039280
lea rcx, [rsp + 0x70]
call fcn.140016ce0
nop
lea rcx, [rsp + 0x90]
call fcn.140016ce0
nop
lea rcx, [rsp + 0x60]
call fcn.1400165c0
nop
mov rax, qword [rsp + 0xe0]
add rax, 0x50
lea r8, str.cache_setup.json
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140033890
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xe0]
add rax, 0x70
mov rdx, qword [rsp + 0x68]
mov rcx, rax
call fcn.140039280
lea rcx, [rsp + 0xb0]
call fcn.140016ce0
nop
mov rax, qword [rsp + 0xe0]
add rax, 0x50
mov rcx, rax
call fcn.1400299c0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [rsp + 0xe0]
call fcn.140078cc0
nop
mov rax, qword [rsp + 0xe0]
add rsp, 0xd8
ret
Function at 0x14008a890
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x80], 0
jg 0x14008a8b5
xor eax, eax
jmp 0x14008aa76
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x14008a8dd
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.14008aa80
jmp 0x14008aa76
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
call fcn.140027670
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x14008a97a
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.140012cf0
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x70]
call fcn.14002e990
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.140029fb0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.140081800
nop
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x14008aa66
mov rcx, qword [rsp + 0x70]
call fcn.14007dd10
mov qword [rsp + 0x58], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x14008aa1a
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.140274f4c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x14008aa18
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x14008aa76
jmp 0x14008a9a0
cmp qword [rsp + 0x20], 0
jbe 0x14008aa66
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.140274f4c
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x68
ret
Function at 0x14009c640
Capabilities:
Hash data using crc32b

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x2c], 0x4c11db7
mov rax, qword [rsp + 0x40]
mov r8d, 0x400
xor edx, edx
mov rcx, rax
call fcn.1402938e0
nop
mov dword [rsp + 0x20], 0
jmp 0x14009c67b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xff
jg 0x14009c73b
mov r8b, 8
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call fcn.14009c7d0
shl eax, 0x18
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0x24], 0
jmp 0x14009c6be
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 8
jge 0x14009c70f
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
and eax, 0x80000000
test eax, eax
je 0x14009c6e5
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x28], eax
jmp 0x14009c6ed
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
shl eax, 1
xor eax, dword [rsp + 0x28]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov dword [rdx + rcx*4], eax
jmp 0x14009c6b4
movsxd rax, dword [rsp + 0x20]
mov r8b, 0x20
mov rcx, qword [rsp + 0x40]
mov edx, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x40]
call fcn.14009c7d0
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov dword [rdx + rcx*4], eax
jmp 0x14009c671
add rsp, 0x38
ret
Function at 0x1400ad0c0
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rdx, [0x1402b9d60]
mov rcx, qword [rsp + 0x48]
call fcn.140014930
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x78]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.1400133e0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.1400aa010
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.14000f0c0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0xe8], rax
lea rcx, [rsp + 0x70]
call fcn.1400165c0
nop
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0xe8], 0
jne 0x1400ad198
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x30]
call fcn.1400165c0
mov eax, dword [rsp + 0x38]
jmp 0x1400ad1f8
mov dword [rsp + 0x20], 0x2710
mov r9d, 0x2710
mov r8d, 0x2710
mov edx, 0x2710
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax + 0xe8]
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x1400ad1e2
mov dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x30]
call fcn.1400165c0
mov eax, dword [rsp + 0x3c]
jmp 0x1400ad1f8
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x30]
call fcn.1400165c0
mov eax, dword [rsp + 0x40]
add rsp, 0xa8
ret
Function at 0x1400b91c0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov dword [rsp + 0x70], 0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xa0]
call fcn.140013060
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.1400b05f0
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0xb0]
call fcn.1400380e0
nop
cmp qword [rsp + 0x58], 0
je 0x1400b9356
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x140]
mov ecx, dword [rcx]
mov eax, dword [rax + 8]
sub eax, ecx
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x140]
mov ecx, dword [rcx + 4]
mov eax, dword [rax + 0xc]
sub eax, ecx
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1400b9356
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1400b9356
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x40], 0x40cc0020
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 4]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x54]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_DeleteDC]
nop
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0xb0]
call fcn.140038d90
mov rax, qword [rsp + 0x90]
jmp 0x1400b9377
mov qword [rsp + 0x98], 0
lea rcx, [rsp + 0xb0]
call fcn.140038d90
mov rax, qword [rsp + 0x98]
add rsp, 0x138
ret

Function at 0x1400b9b10
Capabilities:
Enumerate gui resources

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1400b62a0
lea rdx, [rsp + 0x28]
lea rcx, [0x1400b9570]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret
Function at 0x1400b9df0
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x28]
call fcn.140013530
nop
lea rcx, [rsp + 0x28]
call fcn.14003b490
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [rsp + 0x30], eax
xor r9d, r9d
mov r8d, 0x55
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LCIDToLocaleName]
test eax, eax
jne 0x1400b9ed6
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [0x1402ba918]
mov rcx, qword [rsp + 0x48]
call fcn.140014930
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
call fcn.1400133e0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xa0]
call fcn.1400aa010
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x38]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x28]
call fcn.1400165c0
nop
mov rax, qword [rsp + 0xa0]
jmp 0x1400b9f05
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0xa0]
call fcn.1400133e0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.1400165c0
mov rax, qword [rsp + 0xa0]
add rsp, 0x98
ret
Function at 0x1400be2a0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x248
mov rcx, qword [rsp + 0x250]
call fcn.14000f0c0
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x1400be2d8
mov eax, 0xffffffff
jmp 0x1400be302
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x1400be300
mov eax, dword [rsp + 0x20]
and eax, 0x10
test eax, eax
jne 0x1400be300
mov eax, 1
jmp 0x1400be302
xor eax, eax
add rsp, 0x248
ret

Function at 0x1400be340
Capabilities:
Check internet connectivity via wininet

Disassembly:
sub rsp, 0x88
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rdx, str.https:__pcapp.store
mov rcx, qword [rsp + 0x38]
call fcn.140014930
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
call fcn.1400133e0
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.1400aa010
nop
lea rcx, [rsp + 0x28]
call fcn.14000f0c0
xor r8d, r8d
mov edx, 1
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
je 0x1400be3cb
mov byte [rsp + 0x20], 1
jmp 0x1400be3d0
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400be405
mov byte [rsp + 0x22], 1
lea rcx, [rsp + 0x28]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x30]
call fcn.1400165c0
movzx eax, byte [rsp + 0x22]
jmp 0x1400be43b
mov byte [rsp + 0x23], 0
lea rcx, [rsp + 0x28]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x30]
call fcn.1400165c0
movzx eax, byte [rsp + 0x23]
jmp 0x1400be43b
add rsp, 0x88
ret
Function at 0x1400bfaf0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x1d8
lea rcx, [rsp + 0x30]
call fcn.1400b9df0
nop
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
lea rdx, [0x1402b9f50]
mov rcx, qword [rsp + 0x48]
call fcn.140014930
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.1400aaa00
nop
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call fcn.1400133e0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.1400aa010
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.1400b8b10
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x70]
call fcn.1400165c0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400bfca3
lea rcx, [rsp + 0x30]
call fcn.14000f0c0
xor r9d, r9d
xor r8d, r8d
mov edx, WSACleanup
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x98]
call fcn.140014990
nop
movsxd rax, dword [rsp + 0x24]
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.1400456f0
movsxd rax, dword [rsp + 0x24]
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140045b80
lea rcx, [rsp + 0x98]
call fcn.1400299c0
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x30]
call fcn.14000f0c0
mov qword [rsp + 0x80], rax
mov r9d, dword [rsp + 0x24]
mov r8, qword [rsp + 0x78]
mov edx, WSACleanup
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
nop
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xe0]
call fcn.1400b6f80
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
call fcn.1400b0810
nop
lea rcx, [rsp + 0xe0]
call fcn.1400b9060
nop
lea rcx, [rsp + 0x98]
call fcn.140016ce0
nop
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x40]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x30]
call fcn.1400165c0
mov eax, dword [rsp + 0x38]
add rsp, 0x1d8
ret
Function at 0x1400c48e0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x58]
call fcn.14000f0c0
lea r8, [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400c499d
mov rcx, qword [rsp + 0x50]
call fcn.14000f0c0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1400c4971
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0x50]
call fcn.1400165c0
mov rcx, qword [rsp + 0x58]
call fcn.1400165c0
movzx eax, byte [rsp + 0x20]
jmp 0x1400c49bb
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov byte [rsp + 0x21], 0
mov rcx, qword [rsp + 0x50]
call fcn.1400165c0
mov rcx, qword [rsp + 0x58]
call fcn.1400165c0
movzx eax, byte [rsp + 0x21]
jmp 0x1400c49bb
mov byte [rsp + 0x22], 0
mov rcx, qword [rsp + 0x50]
call fcn.1400165c0
mov rcx, qword [rsp + 0x58]
call fcn.1400165c0
movzx eax, byte [rsp + 0x22]
add rsp, 0x48
ret

Function at 0x1400c49c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x30], 0x1000
mov eax, dword [rsp + 0x30]
mov edx, eax
mov rcx, qword [rsp + 0x78]
call fcn.1400c5110
nop
mov rcx, qword [rsp + 0x80]
call fcn.14000f0c0
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400c4a93
mov rcx, qword [rsp + 0x78]
call fcn.140028b50
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
call fcn.14000f0c0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1400c4a84
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x1400c4a95
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1400c4a95
mov al, 1
add rsp, 0x68
ret
Function at 0x1400c4aa0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x34], 4
mov rcx, qword [rsp + 0x70]
call fcn.14000f0c0
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400c4b84
mov rcx, qword [rsp + 0x60]
call fcn.14000f0c0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400c4b58
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov byte [rsp + 0x30], 1
mov rcx, qword [rsp + 0x60]
call fcn.1400165c0
mov rcx, qword [rsp + 0x70]
call fcn.1400165c0
movzx eax, byte [rsp + 0x30]
jmp 0x1400c4ba2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov byte [rsp + 0x31], 0
mov rcx, qword [rsp + 0x60]
call fcn.1400165c0
mov rcx, qword [rsp + 0x70]
call fcn.1400165c0
movzx eax, byte [rsp + 0x31]
jmp 0x1400c4ba2
mov byte [rsp + 0x32], 1
mov rcx, qword [rsp + 0x60]
call fcn.1400165c0
mov rcx, qword [rsp + 0x70]
call fcn.1400165c0
movzx eax, byte [rsp + 0x32]
add rsp, 0x58
ret