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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x14002686d
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x140026872
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x14002689d
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x14002689d
mov rax, qword [rax + 0x390]
test rax, rax
je 0x14002689d
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
jmp 0x1400268a2
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x1400268bc
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x1400268c1
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], sil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x140026943
inc ecx
test r8d, r8d
je 0x14002692e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140026933
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.140027d80
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x140026982
lea r8d, [rsi + 1]
mov rcx, rbp
call fcn.140026820
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x140026992
inc esi
jmp 0x140026850
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x1400477f4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004783e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004783e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004783e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004783e
cmp dword [rcx + 0x84], 0xe
jbe 0x14004783e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140047840
xor al, al
add rsp, 0x28
ret

Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using xor
Spawn thread to rwx shellcode

Disassembly:
push rbx
sub rsp, 0x310
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_SetThreadLocale]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetDynamicTimeZoneInformation]
lea r8, [rsp + 0xec]
mov edx, 0x80
lea rcx, [rsp + 0x1f0]
sub r8, rcx
lea rax, [rsp + 0x1f0]
lea rcx, [rdx + 0x7fffff7e]
test rcx, rcx
je 0x140001074
movzx ecx, word [r8 + rax]
test cx, cx
je 0x140001074
mov word [rax], cx
add rax, 2
sub rdx, 1
jne 0x140001051
test rdx, rdx
lea rcx, [rax - 2]
cmovne rcx, rax
xor ebx, ebx
mov word [rcx], bx
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.USER32.dll_CharUpperW]
lea rdx, [0x140002450]
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x14000111a
mov edx, 1
xor ecx, ecx
mov r9d, 0x40
mov r8d, pe_overlay
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea rcx, [0x140002280]
movzx ecx, cl
movzx edx, byte [rcx]
mov rcx, rax
mov byte [rax], dl
mov edx, ebx
nop dword [rax]
xor byte [rcx], 0x35
lea rcx, [rcx + 1]
inc edx
cmp edx, 1
jb 0x1400010e0
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
mov r8, rax
xor ecx, ecx
mov dword [rsp + 0x20], ebx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140001150
add rsp, 0x310
pop rbx
ret

Function at 0x140001a18
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a62
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a62
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a62
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a62
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a62
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a64
xor al, al
add rsp, 0x28
ret
Function at 0x18190
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
cmp byte [0x003010a8], 0
je 0x18248
mov ecx, 0xfffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov rdi, rax
mov rcx, rsi
call fcn.00020e70
mov rcx, rdi
mov rdx, rsi
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.KERNEL32.DLL_WriteFile
mov ecx, 0xfffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov rsi, rax
mov rcx, qword [0x002bd0d8]
call fcn.00020e70
mov rcx, rsi
mov rdx, qword [0x002bd0d8]
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.KERNEL32.DLL_WriteFile
mov ecx, 0xfffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov rsi, rax
mov rcx, rbx
call fcn.00020e70
mov rcx, rsi
mov rdx, rbx
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.KERNEL32.DLL_WriteFile
jmp 0x1825b
xor ecx, ecx
mov rdx, rbx
mov r8, rsi
mov r9d, 0x2010
call sub.user32.dll_MessageBoxA
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x1e1f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov ebx, edx
mov rax, qword [rbp + 0x28]
mov r13d, dword [rax + 0x18]
mov rcx, qword [rbp + 0x28]
call fcn.0001e840
mov esi, eax
test sil, sil
jne 0x1e3a5
test ebx, ebx
je 0x1e3a5
xor edi, edi
test r13d, r13d
jle 0x1e2d1
call sub.KERNEL32.DLL_GetTickCount
mov r14d, eax
mov dword [rbp + 0x3c], 0
test r13d, r13d
jle 0x1e2b5
cmp ebx, 0xffffffff
je 0x1e263
call sub.KERNEL32.DLL_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x1e263
xor esi, esi
jmp 0x1e3a5
mov rax, qword [rbp + 0x28]
cmp dword [rax], 1
jg 0x1e2b5
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0
jne 0x1e2a3
xor eax, eax
mov ecx, 1
mov rdx, qword [rbp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x1e2a3
call sub.KERNEL32.DLL_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x1e3a5
lea rcx, [rbp + 0x3c]
call fcn.0001dd90
sub r13d, 1
test r13d, r13d
jg 0x1e24a
nop
cmp ebx, 0xffffffff
je 0x1e2d1
call sub.KERNEL32.DLL_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x1e2cf
xor esi, esi
jmp 0x1e3a5
sub ebx, eax
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x1e20d
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x1e2d1
nop
call sub.KERNEL32.DLL_GetTickCount
mov r14d, eax
mov rcx, qword [rbp + 0x28]
call fcn.0001e450
xor ecx, ecx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x003019a0]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x1e334
call sub.KERNEL32.DLL_GetTickCount
sub eax, r14d
cmp eax, ebx
jae 0x1e332
sub ebx, eax
jmp 0x1e334
xor ebx, ebx
test sil, sil
je 0x1e366
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x1e363
mov edx, ecx
sub edx, 2
or edx, 1
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x1e339
mov dil, 1
nop
jmp 0x1e383
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov edx, ecx
sub edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x1e366
mov dil, 1
test dil, dil
je 0x1e2f4
nop
test sil, sil
je 0x1e3a5
call sub.KERNEL32.DLL_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret
Function at 0x200d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x003010a8], 0
je 0x2016a
cmp word [0x003013b8], 0xd7b2
jne 0x20103
cmp dword [0x003013c0], 0
jbe 0x20103
lea rcx, [0x003013b0]
call qword [0x003013d8]
mov ecx, 0xfffffff5
call sub.KERNEL32.DLL_GetStdHandle
mov rcx, rax
lea rdx, [0x002bf8b0]
mov r8d, 0x25
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.KERNEL32.DLL_WriteFile
mov ecx, 0xfffffff5
call sub.KERNEL32.DLL_GetStdHandle
mov rbx, rax
lea rcx, [0x000201a0]
call fcn.000215c0
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.KERNEL32.DLL_WriteFile
jmp 0x2018b
cmp byte [0x002bd05a], 0
jne 0x2018b
xor ecx, ecx
lea rdx, [0x002bf8b0]
lea r8, str.Error
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x20450
Capabilities:
Create thread

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov qword [rsp + 0x38], rcx
mov ebx, edx
mov rsi, r8
mov rdi, r9
cmp qword [0x002bd060], 0
je 0x20481
mov rcx, rsi
mov rdx, rdi
call qword [0x002bd060]
mov r13, rax
jmp 0x20496
mov ecx, 0x10
call fcn.000191b0
mov r13, rax
mov qword [r13], rsi
mov qword [r13 + 8], rdi
mov byte [0x003010a9], 1
mov rcx, qword [rsp + 0x38]
mov edx, ebx
lea r8, [0x000203e0]
mov r9, r13
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
call sub.KERNEL32.DLL_CreateThread
mov rbx, rax
test rbx, rbx
jne 0x204db
mov rcx, r13
call fcn.000191e0
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r13
ret

Function at 0x24cd0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x00305f00]
call sub.KERNEL32.DLL_InitializeCriticalSection
mov word [0x00305f28], 0x7f
call sub.KERNEL32.DLL_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x00305ef8], al
cmp byte [0x00305ef8], 0
je 0x24d6f
lea rcx, [0x00024d74]
call sub.KERNEL32.DLL_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00024d8e]
call sub.KERNEL32.DLL_GetProcAddress
mov qword [0x00305ee0], rax
lea rcx, [0x00024d74]
call sub.KERNEL32.DLL_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00024dac]
call sub.KERNEL32.DLL_GetProcAddress
mov qword [0x00305ee8], rax
lea rcx, [0x00024d74]
call sub.KERNEL32.DLL_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00024dca]
call sub.KERNEL32.DLL_GetProcAddress
mov qword [0x00305ef0], rax
add rsp, 0x28
ret
Function at 0x25010
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
sub rsp, 0x1d8
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov word [rbp + 0x56], r8w
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x48]
call fcn.00020650
movzx rax, word [rbp + 0x56]
cmp word [0x002c0050], ax
ja 0x250fa
movzx rax, word [rbp + 0x56]
cmp ax, word [0x002c0450]
mov word [rbp + 0x56], ax
ja 0x250fa
mov ecx, 0x40
xor r8, r8
cmp ecx, r8d
jb 0x250f9
mov eax, ecx
add eax, r8d
mov r9d, 2
xor edx, edx
div r9d
mov edx, eax
lea r9, [0x002c0050]
mov r10, rdx
add r10, r10
movzx r11, word [rbp + 0x56]
cmp word [r9 + r10*8], r11w
jbe 0x250b2
mov ecx, eax
sub ecx, 1
jmp 0x250f4
lea r8, [0x002c0050]
mov r9, rdx
add r9, r9
movzx r10, word [rbp + 0x56]
cmp word [r8 + r9*8], r10w
jae 0x250d4
mov r8d, eax
add r8d, 1
jmp 0x250f4
mov rcx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x48]
lea r8, [0x002c0058]
add rdx, rdx
mov r8, qword [r8 + rdx*8]
mov rdx, rax
call fcn.00024ec0
jmp 0x250f9
cmp ecx, r8d
jae 0x25080
nop
mov rax, qword [rbp + 0x48]
cmp qword [rax], 0
jne 0x251cf
movzx rcx, word [rbp + 0x56]
movzx ecx, cx
mov edx, 2
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x251cf
movzx rbx, word [rbp + 0x56]
movzx ebx, bx
mov ecx, ebx
mov edx, 0x59
lea r8, [rbp + 0x126]
mov r9d, 0x55
call sub.KERNEL32.DLL_GetLocaleInfoW
mov ecx, ebx
mov edx, 0x5a
lea r8, [rbp + 0x7c]
mov r9d, 0x55
call sub.KERNEL32.DLL_GetLocaleInfoW
lea rcx, [rbp + 0x68]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.00021c10
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.00021c10
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.00021c10
mov rcx, qword [rbp + 0x48]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x00025218]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x00025228]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.000220b0
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.00020730
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x1d8]
pop rbx
pop rbp
ret
Function at 0x25430
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov word [rbp + 0x36], dx
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
nop
lea rcx, [0x00305f00]
call sub.KERNEL32.DLL_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x00305f28], ax
jne 0x2549a
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00305f2a]
mov r8d, 0x55
call fcn.00021c10
lea rcx, [0x00305f00]
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x255a3
lea rcx, [0x00305f00]
call sub.KERNEL32.DLL_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.00020650
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x2555e
cmp byte [0x00305ef8], 0
je 0x254f2
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.000252c0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.00020c80
jmp 0x2555e
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.00025010
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00020c80
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x2555e
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x2553d
mov rcx, qword [rbp + 0x28]
lea rdx, [0x000255e8]
call fcn.00021eb0
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.00025010
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.00021eb0
lea rcx, [0x00305f00]
call sub.KERNEL32.DLL_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x00305f28], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.00021b20
lea rcx, [0x00305f2a]
mov edx, 0xaa
mov r8, rax
call fcn.00024e00
lea rcx, [0x00305f00]
call sub.KERNEL32.DLL_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.00020730
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x25860
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
sub rsp, 0x260
mov rbp, rsp
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x270], rcx
mov qword [rbp + 0x278], rdx
mov rcx, qword [rbp + 0x278]
call fcn.000207e0
nop
cmp qword [rbp + 0x278], 0
jne 0x258a7
xor ecx, ecx
lea rdx, [rbp + 0x46]
mov r8d, 0x105
call sub.KERNEL32.DLL_GetModuleFileNameW
jmp 0x258c4
mov rcx, qword [rbp + 0x278]
call fcn.00021b20
lea rcx, [rbp + 0x46]
mov edx, 0x105
mov r8, rax
call fcn.00024e00
cmp word [rbp + 0x46], 0
je 0x25b1c
mov qword [rbp + 0x258], 0
mov ecx, 0x80000001
lea rdx, [0x00025b9c]
xor r8, r8
mov r9d, 0xf0019
lea rax, [rbp + 0x250]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x259e6
mov ecx, 0x80000002
lea rdx, [0x00025b9c]
xor r8, r8
mov r9d, 0xf0019
lea rax, [rbp + 0x250]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x259e6
mov ecx, 0x80000001
lea rdx, [0x00025bd6]
xor r8, r8
mov r9d, 0xf0019
lea rax, [rbp + 0x250]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x259e6
mov ecx, 0x80000002
lea rdx, [0x00025bd6]
xor r8, r8
mov r9d, 0xf0019
lea rax, [rbp + 0x250]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x259e6
mov ecx, 0x80000001
lea rdx, [0x00025c0a]
xor r8, r8
mov r9d, 0xf0019
lea rax, [rbp + 0x250]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x259e6
mov ecx, 0x80000001
lea rdx, [0x00025c3c]
xor r8, r8
mov r9d, 0xf0019
lea rax, [rbp + 0x250]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x25b1b
nop
mov rcx, rbp
lea rdx, [rbp + 0x46]
mov r8d, 0x105
call fcn.00025620
mov rcx, qword [rbp + 0x250]
lea rdx, [rbp + 0x46]
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], 0
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x25a78
movsxd rcx, dword [rbp + 0x40]
call fcn.000191b0
mov qword [rbp + 0x258], rax
mov rcx, qword [rbp + 0x250]
lea rdx, [rbp + 0x46]
xor r8, r8
xor r9, r9
mov rax, qword [rbp + 0x258]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW
mov rcx, qword [rbp + 0x270]
mov rdx, qword [rbp + 0x258]
call fcn.00021bb0
jmp 0x25af8
mov rcx, qword [rbp + 0x250]
lea rdx, [0x00025c7c]
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], 0
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x25af8
movsxd rcx, dword [rbp + 0x40]
call fcn.000191b0
mov qword [rbp + 0x258], rax
mov rcx, qword [rbp + 0x250]
lea rdx, [0x00025c7c]
xor r8, r8
xor r9, r9
mov rax, qword [rbp + 0x258]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW
mov rcx, qword [rbp + 0x270]
mov rdx, qword [rbp + 0x258]
call fcn.00021bb0
nop
cmp qword [rbp + 0x258], 0
je 0x25b0f
mov rcx, qword [rbp + 0x258]
call fcn.000191e0
mov rcx, qword [rbp + 0x250]
call sub.advapi32.dll_RegCloseKey
nop
lea rcx, [rbp + 0x278]
call fcn.00020650
mov rax, qword [rbp + 0x270]
lea rsp, [rbp + 0x260]
pop rbp
ret
Function at 0x25f30
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x70], r8
mov rcx, qword [rbp + 0x70]
call fcn.000207e0
nop
call sub.KERNEL32.DLL_GetUserDefaultUILanguage
movzx ecx, ax
mov edx, 3
lea r8, [rbp + 0x48]
mov r9d, 4
call sub.KERNEL32.DLL_GetLocaleInfoW
lea rcx, [rbp + 0x38]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.00021c10
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.00021f80
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.00025d80
test al, al
jne 0x25ffa
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.00021c10
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.00021f80
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.00025d80
test al, al
jne 0x25ffa
mov rcx, qword [rbp + 0x28]
call fcn.00020650
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.00020730
lea rcx, [rbp + 0x70]
call fcn.00020650
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x26050
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x90], r8
mov rcx, qword [rbp + 0x88]
call fcn.000207e0
mov rcx, qword [rbp + 0x90]
call fcn.000207e0
nop
mov rcx, qword [rbp + 0x28]
call fcn.00020650
cmp qword [rbp + 0x90], 0
je 0x2620f
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.00020d00
xor eax, eax
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x260fb
mov eax, dword [rcx - 4]
cmp eax, 1
jl 0x26134
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x2612d
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.000221a0
jmp 0x26134
sub eax, 1
test eax, eax
jne 0x26100
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.00025c80
cmp qword [rbp + 0x68], 0
je 0x26172
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.00025e10
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.00020c80
jmp 0x2620e
call sub.KERNEL32.DLL_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.00025430
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.00025e10
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.00020c80
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x261e7
cmp byte [0x00305ef8], 0
jne 0x261e7
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.00025430
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.00025e10
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00020c80
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x2620e
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.00025f30
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.00020c80
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.00020730
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.00020730
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x28aa0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x28ac0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call sub.KERNEL32.DLL_GetVersion
mov ecx, eax
and ecx, 0xff
and eax, 0xff00
shr eax, 8
cmp ecx, 5
jne 0x28ae4
cmp eax, 1
jae 0x28ae9
cmp ecx, 5
jbe 0x28af5
mov dword [0x00301a30], 0x7f
jmp 0x28aff
mov dword [0x00301a30], 0x409
add rsp, 0x28
ret