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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [rcx + 8], 0
mov rdi, rdx
mov rbx, rcx
je 0x1400173a7
mov rdx, qword [rcx + 0x78]
mov byte [rcx + 8], 0
test rdx, rdx
je 0x140017390
mov ecx, 0x3e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
jmp 0x1400173a7
add rcx, 0x110
mov edx, 1
call fcn.1400179b0
mov word [rax - 1], 0x3e
cmp dword [rbx + 0x84], 0
jge 0x1400173fb
cmp byte [rbx + 0x70], 0
jne 0x1400173fb
cmp byte [rbx + 0x89], 0
jne 0x1400173fb
mov rdx, qword [rbx + 0x78]
test rdx, rdx
je 0x1400173d5
mov ecx, 0xa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
jmp 0x1400173ec
lea rcx, [rbx + 0x110]
mov edx, 1
call fcn.1400179b0
mov word [rax - 1], 0xa
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x80]
call qword [rax + 0x58]
mov r9, qword [rbx + 0x78]
mov byte [rbx + 0x70], 0
test r9, r9
je 0x140017420
mov edx, 1
lea rcx, [0x14001e3b0]
lea r8d, [rdx + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140017440
lea rcx, [rbx + 0x110]
mov edx, 2
call fcn.1400179b0
movzx ecx, word [0x14001e3b0]
mov word [rax - 1], cx
mov byte [rax + 1], 0
mov rdx, rdi
mov rcx, rbx
call fcn.140013860
mov r9, qword [rbx + 0x78]
test r9, r9
je 0x140017475
mov edx, 1
lea rcx, [0x14001e40c]
lea r8d, [rdx + 1]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea rcx, [rbx + 0x110]
mov edx, 2
call fcn.1400179b0
mov rbx, qword [rsp + 0x30]
mov ecx, 0x3e3f
mov word [rax - 1], cx
mov byte [rax + 1], 0
add rsp, 0x20
pop rdi
ret

Function at 0x1400174a0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
movzx eax, byte [rdx + 0x69]
mov byte [rcx + 0x88], al
cmp byte [rdx + 0x68], 0
je 0x140017544
mov qword [rsp + 0x30], rbx
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x38], rsi
lea rsi, [0x14001e6e0]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x1400174d0
mov r9, qword [rcx + 0x78]
test r9, r9
je 0x140017504
mov r8, rbx
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rsp + 0x30]
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x28
ret
add rcx, 0x110
mov qword [rsp + 0x20], rdi
mov edx, ebx
call fcn.1400179b0
mov r8, rbx
mov rdx, rsi
mov rdi, rax
lea rcx, [rax - 1]
call sub.VCRUNTIME140.dll_memcpy
mov rsi, qword [rsp + 0x38]
mov al, 1
mov byte [rdi + rbx - 1], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
mov al, 1
add rsp, 0x28
ret
Function at 0x1400176a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rdx]
mov rbx, rcx
mov rcx, rdx
mov rdi, rdx
call qword [rax + 0x30]
test rax, rax
je 0x1400176c2
xor edi, edi
jmp 0x1400176ce
lea rcx, [rdi + 0x18]
call fcn.140013b70
mov rdi, rax
cmp byte [rbx + 8], 0
je 0x140017705
mov rdx, qword [rbx + 0x78]
mov byte [rbx + 8], 0
test rdx, rdx
je 0x1400176ee
mov ecx, 0x3e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
jmp 0x140017705
lea rcx, [rbx + 0x110]
mov edx, 1
call fcn.1400179b0
mov word [rax - 1], 0x3e
cmp dword [rbx + 0x84], 0
jge 0x140017759
cmp byte [rbx + 0x70], 0
jne 0x140017759
cmp byte [rbx + 0x89], 0
jne 0x140017759
mov rdx, qword [rbx + 0x78]
test rdx, rdx
je 0x140017733
mov ecx, 0xa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
jmp 0x14001774a
lea rcx, [rbx + 0x110]
mov edx, 1
call fcn.1400179b0
mov word [rax - 1], 0xa
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x80]
call qword [rax + 0x58]
mov r9, qword [rbx + 0x78]
mov byte [rbx + 0x70], 0
test r9, r9
je 0x14001777e
mov edx, 1
lea rcx, str.____
lea r8d, [rdx + 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14001779c
lea rcx, [rbx + 0x110]
mov edx, 4
call fcn.1400179b0
mov ecx, dword [str.____]
mov dword [rax - 1], ecx
mov byte [rax + 3], 0
mov rdx, rdi
mov rcx, rbx
call fcn.140013860
mov r9, qword [rbx + 0x78]
test r9, r9
je 0x1400177d3
mov edx, 1
lea rcx, [0x14001e408]
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, [rbx + 0x110]
mov edx, 3
call fcn.1400179b0
movzx ecx, word [0x14001e408]
mov rbx, qword [rsp + 0x30]
mov word [rax - 1], cx
movzx ecx, byte [0x14001e40a]
mov byte [rax + 1], cl
mov byte [rax + 2], 0
mov al, 1
add rsp, 0x20
pop rdi
ret
Function at 0x140017860
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rdx]
mov rbx, rcx
mov rcx, rdx
mov rdi, rdx
call qword [rax + 0x30]
test rax, rax
je 0x140017882
xor edi, edi
jmp 0x14001788e
lea rcx, [rdi + 0x18]
call fcn.140013b70
mov rdi, rax
cmp byte [rbx + 8], 0
je 0x1400178c5
mov rdx, qword [rbx + 0x78]
mov byte [rbx + 8], 0
test rdx, rdx
je 0x1400178ae
mov ecx, 0x3e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
jmp 0x1400178c5
lea rcx, [rbx + 0x110]
mov edx, 1
call fcn.1400179b0
mov word [rax - 1], 0x3e
cmp dword [rbx + 0x84], 0
jge 0x140017919
cmp byte [rbx + 0x70], 0
jne 0x140017919
cmp byte [rbx + 0x89], 0
jne 0x140017919
mov rdx, qword [rbx + 0x78]
test rdx, rdx
je 0x1400178f3
mov ecx, 0xa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
jmp 0x14001790a
lea rcx, [rbx + 0x110]
mov edx, 1
call fcn.1400179b0
mov word [rax - 1], 0xa
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x80]
call qword [rax + 0x58]
mov r9, qword [rbx + 0x78]
mov byte [rbx + 0x70], 0
test r9, r9
je 0x14001793e
mov edx, 1
lea rcx, [0x14001e3cc]
lea r8d, [rdx + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14001795e
lea rcx, [rbx + 0x110]
mov edx, 2
call fcn.1400179b0
movzx edx, word [0x14001e3cc]
mov word [rax - 1], dx
mov byte [rax + 1], 0
mov rdx, rdi
mov rcx, rbx
call fcn.140013860
mov rdx, qword [rbx + 0x78]
test rdx, rdx
je 0x14001798a
mov ecx, 0x3e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, [rbx + 0x110]
mov edx, 1
call fcn.1400179b0
mov rbx, qword [rsp + 0x30]
mov word [rax - 1], 0x3e
mov al, 1
add rsp, 0x20
pop rdi
ret
Function at 0x1406c4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406c41df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1406c4089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406c406f
add dl, dl
jne 0x1406c4096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406c40f6
xor eax, eax
add dl, dl
jne 0x1406c40a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406c41ad
add dl, dl
jne 0x1406c40b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406c40c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406c40d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406c40dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406c40ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406c407e
mov eax, 1
add dl, dl
jne 0x1406c4106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406c4113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406c40fb
sub eax, ebx
mov ebx, 1
jne 0x1406c414c
mov ecx, 1
add dl, dl
jne 0x1406c412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406c413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406c4123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406c407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406c4168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406c4175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406c415d
cmp eax, 0x7d00
jae 0x1406c419b
cmp eax, 0x500
jb 0x1406c4196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406c407e
cmp eax, 0x7f
ja 0x1406c419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406c407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406c41d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1406c407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1000081d0
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 [0x1003310a8], 0
je 0x100008288
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rdi, rax
mov rcx, rsi
call fcn.1000109f0
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 [0x1002ee0e0]
call fcn.1000109f0
mov rcx, rsi
mov rdx, qword [0x1002ee0e0]
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.1000109f0
mov rcx, rsi
mov rdx, rbx
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x10000829b
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 0x10000dc70
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.10000e2c0
mov esi, eax
test sil, sil
jne 0x10000de24
test ebx, ebx
je 0x10000de24
xor edi, edi
test r13d, r13d
jle 0x10000dd51
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov dword [rbp + 0x3c], 0
test r13d, r13d
jle 0x10000dd35
cmp ebx, 0xffffffff
je 0x10000dce3
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x10000dce3
xor esi, esi
jmp 0x10000de24
mov rax, qword [rbp + 0x28]
cmp dword [rax], 1
jg 0x10000dd35
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0
jne 0x10000dd23
xor eax, eax
mov ecx, 1
mov rdx, qword [rbp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x10000dd23
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x10000de24
lea rcx, [rbp + 0x3c]
call fcn.10000d7f0
sub r13d, 1
test r13d, r13d
jg 0x10000dcca
nop
cmp ebx, 0xffffffff
je 0x10000dd51
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x10000dd4f
xor esi, esi
jmp 0x10000de24
sub ebx, eax
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x10000dc8d
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x10000dd51
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rbp + 0x28]
call fcn.10000ded0
xor ecx, ecx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x1003319a0]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x10000ddb4
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jae 0x10000ddb2
sub ebx, eax
jmp 0x10000ddb4
xor ebx, ebx
test sil, sil
je 0x10000dde5
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x10000dde2
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 0x10000ddb9
mov dil, 1
nop
jmp 0x10000de02
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 0x10000dde5
mov dil, 1
test dil, dil
je 0x10000dd74
nop
test sil, sil
je 0x10000de24
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 0x10000fbe0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x1003310a8], 0
je 0x10000fc7a
cmp word [0x1003313b8], 0xd7b2
jne 0x10000fc13
cmp dword [0x1003313c0], 0
jbe 0x10000fc13
lea rcx, [0x1003313b0]
call qword [0x1003313d8]
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x1002f0038]
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, [0x10000fcb0]
call fcn.100011010
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x10000fc9b
cmp byte [0x1002ee05a], 0
jne 0x10000fc9b
xor ecx, ecx
lea rdx, [0x1002f0038]
lea r8, str.Error
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x10000ff60
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 [0x1002ee060], 0
je 0x10000ff91
mov rcx, rsi
mov rdx, rdi
call qword [0x1002ee060]
mov r13, rax
jmp 0x10000ffa6
mov ecx, 0x10
call fcn.1000091b0
mov r13, rax
mov qword [r13], rsi
mov qword [r13 + 8], rdi
mov byte [0x1003310a9], 1
mov rcx, qword [rsp + 0x38]
mov edx, ebx
lea r8, [0x10000fef0]
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 0x10000ffeb
mov rcx, r13
call fcn.1000091e0
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r13
ret

Function at 0x1000155c0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x100335f00]
call sub.kernel32.dll_InitializeCriticalSection
mov word [0x100335f28], 0x7f
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x100335ef8], al
cmp byte [0x100335ef8], 0
je 0x10001565e
lea rcx, [0x100015664]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x10001567e]
call sub.kernel32.dll_GetProcAddress
mov qword [0x100335ee0], rax
lea rcx, [0x100015664]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x10001569c]
call sub.kernel32.dll_GetProcAddress
mov qword [0x100335ee8], rax
lea rcx, [0x100015664]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x1000156ba]
call sub.kernel32.dll_GetProcAddress
mov qword [0x100335ef0], rax
add rsp, 0x28
ret
Function at 0x100015900
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.100010170
movzx rax, word [rbp + 0x56]
cmp word [0x1002f0a38], ax
ja 0x1000159d6
movzx rax, word [rbp + 0x56]
cmp ax, word [0x1002f0e38]
mov word [rbp + 0x56], ax
ja 0x1000159d6
mov eax, 0x40
xor ecx, ecx
cmp eax, ecx
jb 0x1000159d5
mov edx, eax
add edx, ecx
shr edx, 1
mov r8d, edx
lea r9, [0x1002f0a38]
mov r10, r8
add r10, r10
movzx r11, word [rbp + 0x56]
cmp word [r9 + r10*8], r11w
jbe 0x100015994
mov eax, edx
sub eax, 1
jmp 0x1000159d1
lea rcx, [0x1002f0a38]
mov r9, r8
add r9, r9
movzx r10, word [rbp + 0x56]
cmp word [rcx + r9*8], r10w
jae 0x1000159b4
mov ecx, edx
add ecx, 1
jmp 0x1000159d1
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea rax, [0x1002f0a40]
add r8, r8
mov r8, qword [rax + r8*8]
call fcn.1000157b0
jmp 0x1000159d5
cmp eax, ecx
jae 0x10001596a
nop
mov rax, qword [rbp + 0x48]
cmp qword [rax], 0
jne 0x100015aab
movzx rcx, word [rbp + 0x56]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x100015aab
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.1000115d0
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.1000115d0
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.1000115d0
mov rcx, qword [rbp + 0x48]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x100015af8]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x100015b08]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.100011a30
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.100010250
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x1d8]
pop rbx
pop rbp
ret
Function at 0x100015d00
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, [0x100335f00]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x100335f28], ax
jne 0x100015d6a
mov rcx, qword [rbp + 0x28]
lea rdx, [0x100335f2a]
mov r8d, 0x55
call fcn.1000115d0
lea rcx, [0x100335f00]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x100015e73
lea rcx, [0x100335f00]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.100010170
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x100015e2e
cmp byte [0x100335ef8], 0
je 0x100015dc2
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.100015ba0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.100010800
jmp 0x100015e2e
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.100015900
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.100010800
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x100015e2e
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x100015e0d
mov rcx, qword [rbp + 0x28]
lea rdx, [0x100015eb8]
call fcn.100011840
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.100015900
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.100011840
lea rcx, [0x100335f00]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x100335f28], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.100011510
lea rcx, [0x100335f2a]
mov edx, 0xaa
mov r8, rax
call fcn.1000156f0
lea rcx, [0x100335f00]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.100010250
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x100016820
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.100010340
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.1000115d0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.100011900
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.100016670
test al, al
jne 0x1000168ea
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.1000115d0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.100011900
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.100016670
test al, al
jne 0x1000168ea
mov rcx, qword [rbp + 0x28]
call fcn.100010170
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.100010250
lea rcx, [rbp + 0x70]
call fcn.100010170
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x100016940
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.100010340
mov rcx, qword [rbp + 0x90]
call fcn.100010340
nop
mov rcx, qword [rbp + 0x28]
call fcn.100010170
cmp qword [rbp + 0x90], 0
je 0x100016aff
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.100010890
xor eax, eax
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x1000169eb
mov eax, dword [rcx - 4]
cmp eax, 1
jl 0x100016a24
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x100016a1d
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.100011ac0
jmp 0x100016a24
sub eax, 1
test eax, eax
jne 0x1000169f0
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.100016570
cmp qword [rbp + 0x68], 0
je 0x100016a62
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.100016700
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.100010800
jmp 0x100016afe
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.100015d00
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.100016700
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.100010800
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x100016ad7
cmp byte [0x100335ef8], 0
jne 0x100016ad7
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.100015d00
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.100016700
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.100010800
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x100016afe
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.100016820
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.100010800
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.100010250
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.100010250
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x1000192f0
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 0x100019310
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 0x100019333
cmp eax, 1
jae 0x100019338
cmp ecx, 5
jbe 0x100019344
mov dword [0x100331a30], 0x7f
jmp 0x10001934e
mov dword [0x100331a30], 0x409
add rsp, 0x28
ret