joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800f58c0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800df088
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800df088
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800f5a10
cmp rax, 0xffffffffffffffff
je 0x1800f5a10
xor edi, edi
test rbp, rbp
jle 0x1800f59bb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800d67ac
mov rbx, rax
test rax, rax
jne 0x1800f5948
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800f59b1
mov edx, 0x8000
mov ecx, r14d
call fcn.1800f54b8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1800de6b0
cmp eax, 0xffffffff
je 0x1800f5991
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800f5958
mov edx, r15d
mov ecx, r14d
call fcn.1800f54b8
jmp 0x1800f59b1
cmp byte [rsi + 0x38], dil
je 0x1800f59a8
cmp dword [rsi + 0x34], 5
jne 0x1800f59a8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800f59b1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800d69d8
jmp 0x1800f5a24
jns 0x1800f5a24
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800df088
cmp rax, 0xffffffffffffffff
jne 0x1800f59dc
cmp byte [rsi + 0x30], dil
je 0x1800f5a24
mov edi, dword [rsi + 0x2c]
jmp 0x1800f5a24
mov ecx, r14d
call fcn.1800ed9f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800f5a24
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1800f5a24
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800f5a1d
mov eax, dword [rsi + 0x2c]
jmp 0x1800f5a22
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800df088
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400010d0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x70
mov qword [rsp + 0x50], rcx
mov rcx, rdx
mov qword [rsp + 0x48], rdx
call fcn.1400017e0
xor r8d, r8d
mov ecx, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx

Function at 0x1400015a4
Capabilities:
Encode data using xor

Disassembly:
enter 0, 0
mov di, word [rsp + 0xbe]
xor di, 0xffff
mov word [rsp + 0xbe], di
xor r8, 0x3bb432f0
mov qword [rsp + 0x88], r8
mov r8, qword [sym.imp.KERNEL32.dll_QueryIdleProcessorCycleTime]
lea r11, [rsp + 0x7c]
lea rsi, [rsp + 0x88]
add byte [rax], al
add byte [rax - 0x77], cl
and al, 0x50
mov rcx, r11
mov qword [rsp + 0x48], rdx
mov rdx, rsi
mov dword [rsp + 0x44], eax
call r8
mov dword [rsp + 0x40], eax
call fcn.1400013a0
cmp eax, 0
je 0x14000156e
jmp 0x140001609
lea rax, [0x140004144]
mov rcx, qword [rsp + 0x80]
lea rdx, [0x140004144]
mov r8, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
call r8
cmp rax, 0
jne 0x140001609
call fcn.1400017f0
mov dword [rsp + 0x34], eax
jmp 0x140001609
call fcn.140001050
cmp eax, 0
jne 0x140001609
lea rax, str.shell32
lea rcx, str.shell32
mov rdx, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x28], rax
call rdx
mov rcx, qword [rsp + 0xc8]
xor rcx, 0x475face7
lodsb al, byte [rsi]
pop rdi
mov qword [rsp + 0x80], rax
mov r8b, byte [rsp + 0x77]
and r8b, 0xdc
mov byte [rsp + 0xd3], r8b
mov qword [rsp + 0x90], rcx
mov byte [rsp + 0xd3], 0x7f
mov rax, qword [rsp + 0x90]
mov r8b, 0x1d
mov r9b, byte [rsp + 0x77]
mov qword [rsp + 0x20], rax
mov al, r9b
mul r8b
mov byte [rsp + 0xd3], al
mov rcx, qword [rsp + 0x20]
cmp rcx, 0x4d7e66d
jbe 0x14000157c
jmp 0x140001531
mov qword [rsp + 0xc0], 0x33d0983c
mov eax, dword [rsp + 0xb8]
add eax, 0xbec7ecfa
add rsp, 0xd8
pop rdi
pop rsi
ret

Function at 0x1400024b0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xb8
lea rdx, [0x1400040ab]
lea rax, [rsp + 0x60]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0xb4], 0x201c9f1d
mov r8w, word [rsp + 0xae]
mov r9w, r8w
sub r9w, 0x8886
mov word [rsp + 0xae], r9w
mov qword [rsp + 0xa0], 0x7f92b344
mov r10d, dword [rsp + 0xb4]
mov r11d, r10d
add r11d, 0xdfe360f1
mov word [rsp + 0x3e], r8w
mov r8d, r11d
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x30], rax
call sym.WTSAPI32.dll_WTSVirtualChannelClose
xor r8d, r8d
mov eax, r8d
mov r8d, dword [rsp + 0x38]
imul r10d, r8d, 0x753812d8
mov dword [rsp + 0xb0], r10d
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov dx, word [rsp + 0x3e]
mov cx, dx
xor ecx, 0x3b02
mov r8w, cx
mov word [rsp + 0xae], r8w
mov ecx, dword [rsp + 0x38]
xor ecx, 0x494e30e1
mov dword [rsp + 0xb0], ecx
mov r9, qword [rsp + 0xa0]
mov r10b, byte [rsp + rax + 0x40]
movsx ecx, r10b
mov r8w, cx
xor r9, 0x7f92b364
mov word [rsp + rax*2 + 0x60], r8w
add rax, 1
mov dword [rsp + 0xb0], 0xd7f5e461
cmp rax, r9
mov qword [rsp + 0x28], rax
jne 0x140002544
lea rcx, [rsp + 0x60]
call fcn.140002710
mov edx, dword [rsp + 0x38]
add edx, edx
mov dword [rsp + 0xb0], edx
add rsp, 0xb8
ret
Function at 0x1400037c0
Capabilities:
Encode data using xor

Disassembly:
and dl, 0x20
mov rcx, qword [rcx]
mov byte [rsp + 0x9f], dl
mov qword [rsp + 0x60], rcx
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], 0
cmp rcx, r8
cmp ecx, eax
Function at 0x140001130
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows fibers

Disassembly:
sub rsp, 0x48
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
xor r8d, r8d
lea rdx, [0x1400010d0]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_CreateFiber]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x22a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
mov r8d, 0x22a
lea rdx, section..data
mov rcx, qword [rsp + 0x28]
call section..text
cmp qword [rsp + 0x20], 0
jne 0x14000119a
xor ecx, ecx
call fcn.140003284
mov rax, qword [rsp + 0x20]
add rax, 0xb0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
jmp 0x1400011c6
xor eax, eax
add rsp, 0x48
ret

Function at 0x140001910
Capabilities:
Parse pe header

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

Function at 0x140003284
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140003117
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003117
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003117
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003117
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003117
cmp dword [rcx + 0x84], 0xe
jbe 0x140003117
cmp dword [rcx + 0xf8], 0
je 0x140003117
mov ecx, ebx
call fcn.1400031b8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140002fa8
cmp dword [rbp + 0x20], 0
je 0x140003164
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000316c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400030b0

Function at 0x14000cba0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000cbc8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000cbc8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x408320
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 [0x007090a8], 0
je 0x4083d8
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rdi, rax
mov rcx, rsi
call fcn.00411450
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 [0x006c90e0]
call fcn.00411450
mov rcx, rsi
mov rdx, qword [0x006c90e0]
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.00411450
mov rcx, rsi
mov rdx, rbx
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x4083eb
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 0x40e7b0
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.0040ee00
mov esi, eax
test sil, sil
jne 0x40e965
test ebx, ebx
je 0x40e965
xor edi, edi
test r13d, r13d
jle 0x40e891
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov dword [rbp + 0x3c], 0
test r13d, r13d
jle 0x40e875
cmp ebx, 0xffffffff
je 0x40e823
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40e823
xor esi, esi
jmp 0x40e965
mov rax, qword [rbp + 0x28]
cmp dword [rax], 1
jg 0x40e875
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0
jne 0x40e863
xor eax, eax
mov ecx, 1
mov rdx, qword [rbp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x40e863
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x40e965
lea rcx, [rbp + 0x3c]
call fcn.0040e350
sub r13d, 1
test r13d, r13d
jg 0x40e80a
nop
cmp ebx, 0xffffffff
je 0x40e891
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40e88f
xor esi, esi
jmp 0x40e965
sub ebx, eax
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x40e7cd
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40e891
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rbp + 0x28]
call fcn.0040ea10
xor ecx, ecx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x007099a0]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x40e8f4
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jae 0x40e8f2
sub ebx, eax
jmp 0x40e8f4
xor ebx, ebx
test sil, sil
je 0x40e926
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x40e923
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 0x40e8f9
mov dil, 1
nop
jmp 0x40e943
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 0x40e926
mov dil, 1
test dil, dil
je 0x40e8b4
nop
test sil, sil
je 0x40e965
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 0x410680
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x007090a8], 0
je 0x41071a
cmp word [0x007093b8], 0xd7b2
jne 0x4106b3
cmp dword [0x007093c0], 0
jbe 0x4106b3
lea rcx, [0x007093b0]
call qword [0x007093d8]
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x006cb178]
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, [0x00410750]
call fcn.00411ae0
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x41073b
cmp byte [0x006c9052], 0
jne 0x41073b
xor ecx, ecx
lea rdx, [0x006cb178]
lea r8, str.Error
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x410a00
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 [0x006c9058], 0
je 0x410a31
mov rcx, rsi
mov rdx, rdi
call qword [0x006c9058]
mov r13, rax
jmp 0x410a46
mov ecx, 0x10
call fcn.00409320
mov r13, rax
mov qword [r13], rsi
mov qword [r13 + 8], rdi
mov byte [0x007090a9], 1
mov rcx, qword [rsp + 0x38]
mov edx, ebx
lea r8, [0x00410990]
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 0x410a8b
mov rcx, r13
call fcn.00409350
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r13
ret

Function at 0x415e70
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x0070df00]
call sub.kernel32.dll_InitializeCriticalSection
mov word [0x0070df28], 0x7f
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x0070def8], al
cmp byte [0x0070def8], 0
je 0x415f0f
lea rcx, [0x00415f14]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00415f2e]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0070dee0], rax
lea rcx, [0x00415f14]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00415f4c]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0070dee8], rax
lea rcx, [0x00415f14]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00415f6a]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0070def0], rax
add rsp, 0x28
ret
Function at 0x4161b0
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.00410c00
movzx rax, word [rbp + 0x56]
cmp word [0x006cbbc8], ax
ja 0x416286
movzx rax, word [rbp + 0x56]
cmp ax, word [0x006cbfc8]
mov word [rbp + 0x56], ax
ja 0x416286
mov eax, 0x40
xor ecx, ecx
cmp eax, ecx
jb 0x416285
mov edx, eax
add edx, ecx
shr edx, 1
mov r8d, edx
lea r9, [0x006cbbc8]
mov r10, r8
add r10, r10
movzx r11, word [rbp + 0x56]
cmp word [r9 + r10*8], r11w
jbe 0x416244
mov eax, edx
sub eax, 1
jmp 0x416281
lea rcx, [0x006cbbc8]
mov r9, r8
add r9, r9
movzx r10, word [rbp + 0x56]
cmp word [rcx + r9*8], r10w
jae 0x416264
mov ecx, edx
add ecx, 1
jmp 0x416281
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea rax, [0x006cbbd0]
add r8, r8
mov r8, qword [rax + r8*8]
call fcn.00416060
jmp 0x416285
cmp eax, ecx
jae 0x41621a
nop
mov rax, qword [rbp + 0x48]
cmp qword [rax], 0
jne 0x41635b
movzx rcx, word [rbp + 0x56]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x41635b
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.004121b0
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.004121b0
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.004121b0
mov rcx, qword [rbp + 0x48]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x004163a8]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x004163b8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.00412640
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.00410ce0
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x1d8]
pop rbx
pop rbp
ret
Function at 0x4165b0
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, [0x0070df00]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x0070df28], ax
jne 0x41661a
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0070df2a]
mov r8d, 0x55
call fcn.004121b0
lea rcx, [0x0070df00]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x416723
lea rcx, [0x0070df00]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.00410c00
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4166de
cmp byte [0x0070def8], 0
je 0x416672
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.00416450
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.00411270
jmp 0x4166de
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.004161b0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00411270
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x4166de
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x4166bd
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00416768]
call fcn.00412440
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.004161b0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.00412440
lea rcx, [0x0070df00]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x0070df28], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.004120f0
lea rcx, [0x0070df2a]
mov edx, 0xaa
mov r8, rax
call fcn.00415fa0
lea rcx, [0x0070df00]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.00410ce0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x4170d0
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.00410dd0
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.004121b0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.00412510
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.00416f20
test al, al
jne 0x41719a
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.004121b0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.00412510
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.00416f20
test al, al
jne 0x41719a
mov rcx, qword [rbp + 0x28]
call fcn.00410c00
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.00410ce0
lea rcx, [rbp + 0x70]
call fcn.00410c00
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x4171f0
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.00410dd0
mov rcx, qword [rbp + 0x90]
call fcn.00410dd0
nop
mov rcx, qword [rbp + 0x28]
call fcn.00410c00
cmp qword [rbp + 0x90], 0
je 0x4173af
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.004112f0
xor eax, eax
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x41729b
mov eax, dword [rcx - 4]
cmp eax, 1
jl 0x4172d4
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x4172cd
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.00412730
jmp 0x4172d4
sub eax, 1
test eax, eax
jne 0x4172a0
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.00416e20
cmp qword [rbp + 0x68], 0
je 0x417312
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.00416fb0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.00411270
jmp 0x4173ae
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.004165b0
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.00416fb0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.00411270
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x417387
cmp byte [0x0070def8], 0
jne 0x417387
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.004165b0
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.00416fb0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00411270
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x4173ae
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.004170d0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.00411270
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.00410ce0
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.00410ce0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x419aa0
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 0x419ac0
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 0x419ae4
cmp eax, 1
jae 0x419ae9
cmp ecx, 5
jbe 0x419af5
mov dword [0x00709a30], 0x7f
jmp 0x419aff
mov dword [0x00709a30], 0x409
add rsp, 0x28
ret