joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180032880
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rsi
push rdi
push rbx
push rax
mov eax, dword [0x180069d10]
mov ecx, dword [0x180069d14]
lea edi, [rax - 1]
imul edi, eax
test dil, 1
sete byte [rsp + 1]
cmp ecx, 0xa
setl byte [rsp + 2]
mov edi, 0xffcc4576
mov r8d, 0x7a703454
mov r11d, 0xb9d19a02
mov eax, 0x894de603
mov r9d, 0x5ada1781
lea r10, str.cw
mov ecx, 0x88283f5c
jmp 0x1800328e0
mov edi, dword [rsp + 4]
mov edi, 0x894de603
nop word [rax + rax]
cmp edi, 0xb0525c2c
jle 0x180032930
cmp edi, 0xffcc4575
jle 0x180032990
cmp edi, 0x7a703454
je 0x1800329de
cmp edi, 0x5ada1781
je 0x1800329ea
cmp edi, 0xffcc4576
jne 0x1800328e0
movzx ebx, byte [rsp + 1]
cmp byte [rsp + 2], 0
mov edi, 0x98afe961
cmovne edi, ecx
test bl, bl
cmovne edi, ecx
jmp 0x1800328e0
cmp edi, 0x983345d0
jg 0x1800329c0
cmp edi, 0x88283f5c
je 0x180032a16
cmp edi, 0x894de603
jne 0x180032a68
mov edi, dword [rsp + 4]
cmp edi, 4
setl byte [rsp + 3]
mov edi, dword [0x180069d10]
lea ebx, [rdi - 1]
imul ebx, edi
test bl, 1
mov edi, 0xb0525c2d
cmove edi, r11d
cmp dword [0x180069d14], 0xa
cmovl edi, r11d
jmp 0x1800328e0
cmp edi, 0xb0525c2d
je 0x1800328d1
cmp edi, 0xb9d19a02
jne 0x1800328e0
cmp byte [rsp + 3], 0
mov edi, 0x83cb2c42
cmovne edi, r9d
jmp 0x1800328e0
cmp edi, 0x983345d1
je 0x180032a3e
cmp edi, 0x98afe961
jne 0x1800328e0
mov edi, 0x88283f5c
jmp 0x1800328e0
mov edi, 0x983345d1
xor esi, esi
jmp 0x1800328e0
movsxd rsi, dword [rsp + 4]
movzx edi, byte [rdx + rsi]
mov ebx, edi
and ebx, 0xfffffff0
and edi, 0xf
add rbx, r10
movzx ebx, byte [rdi + rbx]
mov byte [rdx + rsi], bl
mov esi, dword [rsp + 4]
add esi, 1
mov edi, 0x983345d1
jmp 0x1800328e0
mov edi, dword [0x180069d10]
lea ebx, [rdi - 1]
imul ebx, edi
test bl, 1
mov edi, 0x98afe961
cmove edi, r8d
cmp dword [0x180069d14], 0xa
cmovl edi, r8d
jmp 0x1800328e0
mov dword [rsp + 4], esi
mov edi, dword [0x180069d10]
lea ebx, [rdi - 1]
imul ebx, edi
test bl, 1
mov edi, 0xb0525c2d
cmove edi, eax
cmp dword [0x180069d14], 0xa
cmovl edi, eax
jmp 0x1800328e0
cmp edi, 0x83cb2c42
jne 0x1800328e0
add rsp, 8
pop rbx
pop rdi
pop rsi
ret
Function at 0x140001841
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x38
cmp dword [rcx + 0x5074], 1
mov rdi, rdx
mov rbx, rcx
je 0x14000173e
lea rcx, str.pyi_arch_extract2fs_was_called_before_temporary_directory_was_initialized__n
call fcn.140002b30
mov eax, 0xffffffff
add rsp, 0x38
pop rdi
pop rbx
ret
cmp byte [rdx + 0x11], 0x6e
jne 0x140001768
call fcn.1400012b0
mov ebx, eax
test eax, eax
jns 0x14000175f
lea rdx, [rdi + 0x12]
lea rcx, str.Failed_to_create_symbolic_link__s__n
call fcn.140002b30
mov eax, ebx
add rsp, 0x38
pop rdi
pop rbx
ret
mov qword [rsp + 0x50], rbp
add rcx, 0x3070
lea rbp, [rdx + 0x12]
mov qword [rsp + 0x60], r12
mov rdx, rbp
call fcn.140007c20
mov r12, rax
test rax, rax
jne 0x1400017b9
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_open_target_file__n
lea rcx, str.fopen
call fcn.140002890
mov rbp, qword [rsp + 0x50]
lea eax, [r12 - 1]
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret
lea rcx, [rbx + 0x70]
mov qword [rsp + 0x20], r15
lea rdx, [0x14002b834]
call fcn.140003fe0
mov r15, rax
test rax, rax
jne 0x1400017ee
mov rdx, rbp
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002b30
lea ebx, [r15 - 1]
jmp 0x14000192f
mov edx, dword [rdi + 4]
xor r8d, r8d
add rdx, qword [rbx]
mov rcx, r15
call fcn.140010914
test eax, eax
jns 0x140001823
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.140002890
mov ebx, 0xffffffff
jmp 0x140001927
cmp byte [rdi + 0x10], 1
jne 0x140001841
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, r15
call fcn.140001050
mov ebx, eax
jmp 0x140001927
mov qword [rsp + 0x30], r13
xor ebx, ebx
mov r13d, 0x2000
mov qword [rsp + 0x28], r14
mov ecx, r13d
call fcn.140015090
mov r14, rax
test rax, rax
jne 0x140001882
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_buffer__n
lea rcx, str.malloc
call fcn.140002890
lea ebx, [r14 - 1]
jmp 0x14000191d
mov edi, dword [rdi + 0xc]
test rdi, rdi
je 0x140001915
mov qword [rsp + 0x58], rsi
nop dword [rax]
nop word [rax + rax]
cmp rdi, r13
mov rsi, rdi
mov r9, r15
mov r8d, 1
cmova rsi, r13
mov rcx, r14
mov rdx, rsi
call fcn.1400105dc
cmp rax, 1
jb 0x1400018f5
mov r9, r12
mov r8d, 1
mov rdx, rsi
mov rcx, r14
call fcn.140010d1c
cmp rax, 1
jb 0x1400018e5
sub rdi, rsi
jne 0x1400018a0
jmp 0x140001910
lea rdx, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
jmp 0x140001903
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
mov r8, rbp
call fcn.140002890
mov ebx, 0xffffffff
mov rsi, qword [rsp + 0x58]
mov rcx, r14
call fcn.14001507c
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rcx, r15
call fcn.14001028c
mov rcx, r12
call fcn.14001028c
mov r15, qword [rsp + 0x20]
mov eax, ebx
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x1400082c0
Capabilities:
Read file on windows

Disassembly:
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, rcx
mov rsi, r8
mov ecx, 0x2000
mov r14, rdx
xor r13d, r13d
call fcn.140015090
mov r15, rax
test rax, rax
je 0x1400083d3
xor edx, edx
lea r8d, [r13 + 2]
mov rcx, r12
call fcn.140010914
test eax, eax
js 0x1400083d3
mov rcx, r12
mov qword [rsp + 0x50], rbx
call fcn.140019170
mov rbx, rax
cmp rax, rsi
jb 0x1400083ce
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rdi
nop dword [rax]
cmp rbx, 0x2000
lea rbp, [rbx - 0x2000]
cmovb rbp, r13
sub rbx, rbp
cmp rbx, rsi
jb 0x1400083c4
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
call fcn.140010914
test eax, eax
js 0x1400083c4
mov r9, r12
mov r8, rbx
mov edx, 1
mov rcx, r15
call fcn.1400105dc
cmp rax, rbx
jne 0x1400083c4
sub rbx, rsi
add rbx, 1
je 0x1400083ab
lea rdi, [r15 - 1]
add rdi, rbx
nop dword [rax]
nop dword [rax + rax]
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.14000d7b0
test eax, eax
je 0x1400083bd
dec rdi
sub rbx, 1
jne 0x140008390
lea rbx, [rsi - 1]
add rbx, rbp
test rbp, rbp
jne 0x140008330
jmp 0x1400083c4
lea r13, [rbp - 1]
add r13, rbx
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
mov rcx, r15
call fcn.14001507c
mov rax, r13
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x14000c80c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call fcn.140077128
pop rax
test rax, rax
je 0x14000c856
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c856
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c856
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c856
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c856
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000c858
xor al, al
add rsp, 0x28
ret

Function at 0x14001a1fc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140019ff8

Function at 0x14001fd00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xdeac
cmp ecx, eax
ja 0x14001fd58
je 0x14001fd4f
mov eax, 0xc433
cmp ecx, eax
ja 0x14001fd33
je 0x14001fd4f
mov eax, ecx
sub eax, 0x2a
je 0x14001fd4f
sub eax, 0xc402
je 0x14001fd4f
sub eax, 1
je 0x14001fd4f
sub eax, 1
je 0x14001fd4f
cmp eax, 3
jmp 0x14001fd4d
mov eax, ecx
sub eax, 0xc435
je 0x14001fd4f
sub eax, 0x1263
je 0x14001fd8b
sub eax, 0x812
je 0x14001fd4f
cmp eax, 1
jne 0x14001fd51
xor edx, edx
call fcn.1400564c9
fisttp word [rbx - 0x2152d23f]
add byte [rax], al
mov eax, ecx
sub eax, 0xdead
je 0x14001fd4f
sub eax, 1
je 0x14001fd4f
sub eax, 1
je 0x14001fd4f
sub eax, 1
je 0x14001fd4f
sub eax, 1
je 0x14001fd4f
sub eax, 1
je 0x14001fd4f
sub eax, 1
je 0x14001fd4f
sub eax, 0x1f35
je 0x14001fd4f
cmp eax, 1
jne 0x14001fd51
and edx, 8
jmp 0x14001fd51
Function at 0x408070
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 [0x007860a8], 0
je 0x40812b
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rdi, rax
mov rcx, rsi
call fcn.00410570
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 [0x007390c0]
call fcn.00410570
mov rcx, rsi
mov rdx, qword [0x007390c0]
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.00410570
mov rcx, rsi
mov rdx, rbx
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x40813f
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 0x40d920
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.0040df60
mov esi, eax
test sil, sil
jne 0x40dad6
test ebx, ebx
je 0x40dad6
xor edi, edi
test r13d, r13d
jle 0x40da02
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov dword [rbp + 0x3c], 0
test r13d, r13d
jle 0x40d9e6
cmp ebx, 0xffffffff
je 0x40d993
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40d993
xor esi, esi
jmp 0x40dad6
mov rax, qword [rbp + 0x28]
cmp dword [rax], 1
jg 0x40d9e6
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0
jne 0x40d9d4
xor eax, eax
mov ecx, 1
mov rdx, qword [rbp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x40d9d4
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x40dad6
lea rcx, [rbp + 0x3c]
call fcn.0040d4c0
sub r13d, 1
test r13d, r13d
jg 0x40d97a
nop
cmp ebx, 0xffffffff
je 0x40da02
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40da00
xor esi, esi
jmp 0x40dad6
sub ebx, eax
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x40d93d
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40da02
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rbp + 0x28]
call fcn.0040db80
xor ecx, ecx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x007869a0]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x40da65
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jae 0x40da63
sub ebx, eax
jmp 0x40da65
xor ebx, ebx
test sil, sil
je 0x40da97
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x40da94
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 0x40da6a
mov dil, 1
nop
jmp 0x40dab4
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 0x40da97
mov dil, 1
test dil, dil
je 0x40da25
nop
test sil, sil
je 0x40dad6
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 0x40f820
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x007860a8], 0
je 0x40f8be
cmp word [0x007863b8], 0xd7b2
jne 0x40f853
cmp dword [0x007863c0], 0
jbe 0x40f853
lea rcx, [0x007863b0]
call qword [0x007863d8]
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x0073b4a4]
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, [0x0040f8f4]
call fcn.00410ad0
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x40f8df
cmp byte [0x00739052], 0
jne 0x40f8df
xor ecx, ecx
lea rdx, [0x0073b4a4]
lea r8, str.Error
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x40fba0
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 [0x00739058], 0
je 0x40fbd1
mov rcx, rsi
mov rdx, rdi
call qword [0x00739058]
mov r13, rax
jmp 0x40fbe7
mov ecx, 0x10
call fcn.004090b0
mov r13, rax
mov qword [r13], rsi
mov qword [r13 + 8], rdi
mov byte [0x007860a9], 1
mov rcx, qword [rsp + 0x38]
mov edx, ebx
lea r8, [0x0040fb30]
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 0x40fc2c
mov rcx, r13
call fcn.004090e0
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r13
ret

Function at 0x413c70
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x0078af00]
call sub.kernel32.dll_InitializeCriticalSection
mov word [0x0078af28], 0x7f
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x0078aef8], al
cmp byte [0x0078aef8], 0
je 0x413d0f
lea rcx, [0x00413d14]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00413d2e]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0078aee0], rax
lea rcx, [0x00413d14]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00413d4c]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0078aee8], rax
lea rcx, [0x00413d14]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00413d6a]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0078aef0], rax
add rsp, 0x28
ret
Function at 0x413fb0
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.0040fda0
movzx rax, word [rbp + 0x56]
cmp word [0x0073bb88], ax
ja 0x41409c
movzx rax, word [rbp + 0x56]
cmp ax, word [0x0073bf88]
mov word [rbp + 0x56], ax
ja 0x41409c
mov ecx, 0x40
xor r8, r8
cmp ecx, r8d
jb 0x41409b
mov eax, ecx
add eax, r8d
mov r9d, 2
xor edx, edx
div r9d
mov edx, eax
lea r9, [0x0073bb88]
mov r10, rdx
add r10, r10
movzx r11, word [rbp + 0x56]
cmp word [r9 + r10*8], r11w
jbe 0x414054
mov ecx, eax
sub ecx, 1
jmp 0x414096
lea r8, [0x0073bb88]
mov r9, rdx
add r9, r9
movzx r10, word [rbp + 0x56]
cmp word [r8 + r9*8], r10w
jae 0x414076
mov r8d, eax
add r8d, 1
jmp 0x414096
mov rcx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x48]
lea r8, [0x0073bb90]
add rdx, rdx
mov r8, qword [r8 + rdx*8]
mov rdx, rax
call fcn.00413e60
jmp 0x41409b
cmp ecx, r8d
jae 0x414021
nop
mov rax, qword [rbp + 0x48]
cmp qword [rax], 0
jne 0x41417a
movzx rcx, word [rbp + 0x56]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x41417a
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.004111b0
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.004111b0
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.004111b0
mov rcx, qword [rbp + 0x48]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x004141cc]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x004141dc]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.00411620
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.0040fe80
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x1d8]
pop rbx
pop rbp
ret
Function at 0x4143e0
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, [0x0078af00]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x0078af28], ax
jne 0x41444b
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0078af2a]
mov r8d, 0x55
call fcn.004111b0
lea rcx, [0x0078af00]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x414556
lea rcx, [0x0078af00]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.0040fda0
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x414510
cmp byte [0x0078aef8], 0
je 0x4144a4
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.00414270
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.004103d0
jmp 0x414510
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.00413fb0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.004103d0
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x414510
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x4144ef
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0041459c]
call fcn.00411420
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.00413fb0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.00411420
lea rcx, [0x0078af00]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x0078af28], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.004110b0
lea rcx, [0x0078af2a]
mov edx, 0xaa
mov r8, rax
call fcn.00413da0
lea rcx, [0x0078af00]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.0040fe80
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x414f00
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.0040ff30
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.004111b0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.004114f0
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.00414d50
test al, al
jne 0x414fce
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.004111b0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.004114f0
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.00414d50
test al, al
jne 0x414fce
mov rcx, qword [rbp + 0x28]
call fcn.0040fda0
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040fe80
lea rcx, [rbp + 0x70]
call fcn.0040fda0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x415020
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.0040ff30
mov rcx, qword [rbp + 0x90]
call fcn.0040ff30
nop
mov rcx, qword [rbp + 0x28]
call fcn.0040fda0
cmp qword [rbp + 0x90], 0
je 0x4151e0
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.00410450
xor eax, eax
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x4150cb
mov eax, dword [rcx - 4]
cmp eax, 1
jl 0x415105
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x4150fe
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.00411710
jmp 0x415105
sub eax, 1
test eax, eax
jne 0x4150d0
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.00414c50
cmp qword [rbp + 0x68], 0
je 0x415143
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.00414de0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.004103d0
jmp 0x4151df
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.004143e0
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.00414de0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.004103d0
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x4151b8
cmp byte [0x0078aef8], 0
jne 0x4151b8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.004143e0
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.00414de0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.004103d0
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x4151df
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.00414f00
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.004103d0
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.0040fe80
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.0040fe80
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x4178b0
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 0x4178d0
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 0x4178f4
cmp eax, 1
jae 0x4178f9
cmp ecx, 5
jbe 0x417905
mov dword [0x00786a30], 0x7f
jmp 0x41790f
mov dword [0x00786a30], 0x409
add rsp, 0x28
ret