joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140041aef
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14005b13c
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400cf588]
xor ecx, ecx
lea r8, [0x1400cf580]
lea rdx, str.FlsAlloc
call fcn.14005acbc
test rax, rax
je 0x14005b175
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1400f4020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140041b71
Capabilities:
Get geographical location

Disassembly:
jmp 0x14009eef4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x1400d14a8]
mov rbp, rcx
lea r8, [0x1400d14a0]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.14009e414
test rax, rax
je 0x14009ef54
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1400f4030]
jmp 0x14009ef6e
xor edx, edx
mov rcx, rbp
call fcn.1400413a6
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140041b85
Capabilities:
Terminate process

Disassembly:
jmp 0x14004be78
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140041ccf
Capabilities:
Parse pe header

Disassembly:
jmp 0x14006176c
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400614c8
Function at 0x1400421d9
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140098904
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14009891e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140042e04
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140042f08
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14005b244
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400cf5e8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400cf5e0]
call fcn.14005acbc
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14005b284
call qword [0x1400f4020]
jmp 0x14005b28a
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140042fad
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400bab88
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400412d9
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400bac12
cmp byte [rbp - 0x21], r15b
je 0x1400bac0d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400bac48
call fcn.1400433c2
test eax, eax
jne 0x1400bac34
cmp byte [rbp - 0x21], r15b
je 0x1400bac2c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400bac48
cmp byte [rbp - 0x21], r15b
je 0x1400bac45
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400435ca
test eax, eax
jne 0x1400bace8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400412d9
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400bac87
cmp byte [rbp - 0x21], r15b
je 0x1400bacbc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400bacbc
call fcn.1400433c2
test eax, eax
jne 0x1400baca8
cmp byte [rbp - 0x21], r15b
je 0x1400baca1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400bacbc
cmp byte [rbp - 0x21], r15b
je 0x1400bacb9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400435ca
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400bace8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400baceb
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400bacf9
mov rcx, rdi
call fcn.140040195
cmp byte [rbp + 0x3f], r15b
je 0x1400bad08
mov rcx, qword [rbp + 0x27]
call fcn.140040195
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400430ac
Capabilities:
Parse pe header

Disassembly:
jmp 0x14006175c
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400614c8
Function at 0x140043403
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x140048700
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x1400f30a5]
call fcn.14004319c
mov edx, 1
mov ecx, 0x100000
call fcn.140041c57
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140048740
xor eax, eax
jmp 0x1400487d8
xor r9d, r9d
mov r8d, 0x100000
mov rdx, qword [rbp + 8]
mov ecx, 0xb
call fcn.140042486
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jge 0x140048764
xor eax, eax
jmp 0x1400487d8
mov dword [rbp + 0x44], 0
jmp 0x140048775
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 8]
mov eax, dword [rax]
cmp dword [rbp + 0x44], eax
jae 0x1400487d6
mov eax, dword [rbp + 0x44]
imul rax, rax, 0x128
mov rcx, qword [rbp + 8]
lea rax, [rcx + rax + 8]
mov ecx, dword [rbp + 0x44]
imul rcx, rcx, 0x128
mov rdx, qword [rbp + 8]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, qword [rbp + 0x140]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1400487d4
mov eax, dword [rbp + 0x44]
imul rax, rax, 0x128
mov rcx, qword [rbp + 8]
mov rax, qword [rcx + rax + 0x18]
jmp 0x1400487d8
jmp 0x14004876d
xor eax, eax
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400b93e4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400b93fa
mov al, 1
jmp 0x1400b945a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400b940b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400b9458
mov ecx, dword [rcx + 0x18]
nop
call fcn.140043368
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400b9458
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400b9458
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400b9458
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400b945a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x408310
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 [0x0074a0a8], 0
je 0x4083c8
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rdi, rax
mov rcx, rsi
call fcn.00411230
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 [0x007020e0]
call fcn.00411230
mov rcx, rsi
mov rdx, qword [0x007020e0]
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.00411230
mov rcx, rsi
mov rdx, rbx
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x4083db
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 0x40e580
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.0040ebd0
mov esi, eax
test sil, sil
jne 0x40e734
test ebx, ebx
je 0x40e734
xor edi, edi
test r13d, r13d
jle 0x40e661
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov dword [rbp + 0x3c], 0
test r13d, r13d
jle 0x40e645
cmp ebx, 0xffffffff
je 0x40e5f3
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40e5f3
xor esi, esi
jmp 0x40e734
mov rax, qword [rbp + 0x28]
cmp dword [rax], 1
jg 0x40e645
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0
jne 0x40e633
xor eax, eax
mov ecx, 1
mov rdx, qword [rbp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x40e633
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x40e734
lea rcx, [rbp + 0x3c]
call fcn.0040e120
sub r13d, 1
test r13d, r13d
jg 0x40e5da
nop
cmp ebx, 0xffffffff
je 0x40e661
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40e65f
xor esi, esi
jmp 0x40e734
sub ebx, eax
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x40e59d
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40e661
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rbp + 0x28]
call fcn.0040e7e0
xor ecx, ecx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x0074a9a0]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x40e6c4
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jae 0x40e6c2
sub ebx, eax
jmp 0x40e6c4
xor ebx, ebx
test sil, sil
je 0x40e6f5
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x40e6f2
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 0x40e6c9
mov dil, 1
nop
jmp 0x40e712
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 0x40e6f5
mov dil, 1
test dil, dil
je 0x40e684
nop
test sil, sil
je 0x40e734
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 0x410450
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x0074a0a8], 0
je 0x4104ea
cmp word [0x0074a3b8], 0xd7b2
jne 0x410483
cmp dword [0x0074a3c0], 0
jbe 0x410483
lea rcx, [0x0074a3b0]
call qword [0x0074a3d8]
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x0070411c]
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, [0x00410520]
call fcn.00411850
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x41050b
cmp byte [0x0070205a], 0
jne 0x41050b
xor ecx, ecx
lea rdx, [0x0070411c]
lea r8, str.Error
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x4107d0
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 [0x00702060], 0
je 0x410801
mov rcx, rsi
mov rdx, rdi
call qword [0x00702060]
mov r13, rax
jmp 0x410816
mov ecx, 0x10
call fcn.004092f0
mov r13, rax
mov qword [r13], rsi
mov qword [r13 + 8], rdi
mov byte [0x0074a0a9], 1
mov rcx, qword [rsp + 0x38]
mov edx, ebx
lea r8, [0x00410760]
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 0x41085b
mov rcx, r13
call fcn.00409320
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r13
ret

Function at 0x415b60
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x0074ef08]
call sub.kernel32.dll_InitializeCriticalSection
mov word [0x0074ef30], 0x7f
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x0074ef00], al
cmp byte [0x0074ef00], 0
je 0x415bfe
lea rcx, [0x00415c04]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00415c1e]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0074eee8], rax
lea rcx, [0x00415c04]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00415c3c]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0074eef0], rax
lea rcx, [0x00415c04]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00415c5a]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0074eef8], rax
add rsp, 0x28
ret
Function at 0x415ea0
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.004109d0
movzx rax, word [rbp + 0x56]
cmp word [0x00704ac8], ax
ja 0x415f76
movzx rax, word [rbp + 0x56]
cmp ax, word [0x00704ec8]
mov word [rbp + 0x56], ax
ja 0x415f76
mov eax, 0x40
xor ecx, ecx
cmp eax, ecx
jb 0x415f75
mov edx, eax
add edx, ecx
shr edx, 1
mov r8d, edx
lea r9, [0x00704ac8]
mov r10, r8
add r10, r10
movzx r11, word [rbp + 0x56]
cmp word [r9 + r10*8], r11w
jbe 0x415f34
mov eax, edx
sub eax, 1
jmp 0x415f71
lea rcx, [0x00704ac8]
mov r9, r8
add r9, r9
movzx r10, word [rbp + 0x56]
cmp word [rcx + r9*8], r10w
jae 0x415f54
mov ecx, edx
add ecx, 1
jmp 0x415f71
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea rax, [0x00704ad0]
add r8, r8
mov r8, qword [rax + r8*8]
call fcn.00415d50
jmp 0x415f75
cmp eax, ecx
jae 0x415f0a
nop
mov rax, qword [rbp + 0x48]
cmp qword [rax], 0
jne 0x41604b
movzx rcx, word [rbp + 0x56]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x41604b
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.00411df0
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.00411df0
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.00411df0
mov rcx, qword [rbp + 0x48]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x00416098]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x004160a8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.00412250
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.00410ab0
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x1d8]
pop rbx
pop rbp
ret
Function at 0x4162a0
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, [0x0074ef08]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x0074ef30], ax
jne 0x41630a
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0074ef32]
mov r8d, 0x55
call fcn.00411df0
lea rcx, [0x0074ef08]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x416413
lea rcx, [0x0074ef08]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.004109d0
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4163ce
cmp byte [0x0074ef00], 0
je 0x416362
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.00416140
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.00411040
jmp 0x4163ce
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.00415ea0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00411040
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x4163ce
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x4163ad
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00416458]
call fcn.00412060
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.00415ea0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.00412060
lea rcx, [0x0074ef08]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x0074ef30], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.00411d30
lea rcx, [0x0074ef32]
mov edx, 0xaa
mov r8, rax
call fcn.00415c90
lea rcx, [0x0074ef08]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.00410ab0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x416dc0
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.00410ba0
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.00411df0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.00412120
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.00416c10
test al, al
jne 0x416e8a
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.00411df0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.00412120
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.00416c10
test al, al
jne 0x416e8a
mov rcx, qword [rbp + 0x28]
call fcn.004109d0
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.00410ab0
lea rcx, [rbp + 0x70]
call fcn.004109d0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x416ee0
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.00410ba0
mov rcx, qword [rbp + 0x90]
call fcn.00410ba0
nop
mov rcx, qword [rbp + 0x28]
call fcn.004109d0
cmp qword [rbp + 0x90], 0
je 0x41709f
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.004110d0
xor eax, eax
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x416f8b
mov eax, dword [rcx - 4]
cmp eax, 1
jl 0x416fc4
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x416fbd
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.004122e0
jmp 0x416fc4
sub eax, 1
test eax, eax
jne 0x416f90
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.00416b10
cmp qword [rbp + 0x68], 0
je 0x417002
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.00416ca0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.00411040
jmp 0x41709e
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.004162a0
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.00416ca0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.00411040
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x417077
cmp byte [0x0074ef00], 0
jne 0x417077
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.004162a0
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.00416ca0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00411040
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x41709e
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.00416dc0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.00411040
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.00410ab0
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.00410ab0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x419750
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 0x419770
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 0x419793
cmp eax, 1
jae 0x419798
cmp ecx, 5
jbe 0x4197a4
mov dword [0x0074aa30], 0x7f
jmp 0x4197ae
mov dword [0x0074aa30], 0x409
add rsp, 0x28
ret