joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011dc60
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x14034f760]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x14011dc83
lea rax, [0x14034f768]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x14011dccb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x14011dcc8
lea rax, [0x14034f7a0]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x14011dcfb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x14011dcf8
xor ecx, ecx
mov byte [0x14034f7b9], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x14034f7c2], rdx
lea r8, [0x14034f760]
lea rbx, [0x14034f7ba]
mov qword [0x14034f7d2], rdx
mov qword [0x14034f7e2], rdx
mov qword [0x14034f7f2], rdx
xor edx, edx
mov qword [0x14034f7ba], rax
mov qword [0x14034f7ca], rax
mov qword [0x14034f7da], rax
mov qword [0x14034f7ea], rax
mov byte [0x14034f7fa], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14011ded6
lea rcx, [0x14034f7a0]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x14011de21
lea rsi, [0x14034f6a0]
lea r8, [0x14034f7fa]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x14011ddcd
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x14011ddc0
lea rcx, [0x14034f7a0]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x14011dec3
lea rcx, [0x14011db70]
mov qword [0x14034f6a0], rsi
call sub.msvcrt.dll__onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x14034f6a0]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x14034f7a0]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x14034f7fa]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x14011def6
nop dword [rax]
cmp byte [rax], 0x41
jne 0x14011de73
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x14011de60
mov rax, rdx
mov qword [0x14034f6a0], rax
lea rsi, [0x14034f6a0]
jmp 0x14011de99
cmp rdx, rsi
je 0x14011ddff
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x14011de90
cmp rdx, rsi
je 0x14011ddff
mov qword [rdx + 8], rsi
lea rcx, [0x14011db70]
call sub.msvcrt.dll__onexit
jmp 0x14011ddff
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.14011dae0
xor eax, eax
jmp 0x14011de18
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.14011dae0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, str.failed_to_get_string_from_atom_n
call fcn.14011dae0
xor eax, eax
jmp 0x14011de7f
Function at 0x140004f6c
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140044ef0]
xor rax, rsp
mov qword [rbp + 0x140], rax
and qword [rdx], 0
mov r15, rdx
mov r8, rcx
mov edi, 0x104
mov edx, edi
lea rcx, [rsp + 0x30]
xor r14d, r14d
call fcn.1400020fc
lea r8, [0x140035310]
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140002188
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
lea r13, [0x1400352ac]
mov rbx, rax
test rax, rax
jne 0x140005024
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x14000512a
mov rcx, qword [rbp + 0x178]
lea edx, [rdi - 0x3b]
mov r8, r13
call fcn.140003bb0
mov esi, eax
jmp 0x14000510b
and dword [rsp + 0x24], r14d
lea rdx, [rsp + 0x24]
and dword [rsp + 0x20], r14d
mov rcx, rbx
call fcn.140003ce8
mov esi, eax
test eax, eax
jns 0x140005065
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov r8, r13
mov edx, 0xcf
call fcn.140003b78
mov rcx, rbx
call fcn.140003c60
jmp 0x14000510b
lea r8, [0x140035318]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140002188
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1400050b1
mov rcx, qword [rbp + 0x178]
mov r8, r13
mov edx, 0xd5
call fcn.140003bb0
mov esi, eax
jmp 0x140005058
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140003ce8
mov esi, eax
test eax, eax
jns 0x1400050e8
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov r8, r13
mov edx, 0xd7
call fcn.140003b78
mov rcx, rdi
call fcn.140003c60
jmp 0x140005058
mov rcx, rdi
call fcn.140003c60
movsxd rax, dword [rsp + 0x20]
mov rcx, rbx
movsxd r14, dword [rsp + 0x24]
shl rax, 0x1f
or r14, rax
call fcn.140003c60
xor esi, esi
test esi, esi
jns 0x14000512a
mov rcx, qword [rbp + 0x178]
mov r9d, esi
mov r8, r13
mov edx, 0x62
call fcn.140003b78
mov eax, esi
jmp 0x14000512f
mov qword [r15], r14
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14002f8a0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x14000eaec
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rdi
xor r10d, r10d
lea rbp, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_S
xor edi, edi
mov r11, r8
mov rbx, rcx
movzx edx, byte [rbx]
inc edi
movzx r9d, byte [rbx + 1]
mov eax, edx
movzx r8d, byte [rbx + 2]
lea rbx, [rbx + 3]
shr rax, 2
and dl, 3
shl dl, 4
movzx ecx, dl
mov edx, r8d
and edx, 0x3f
mov al, byte [rax + rbp]
mov byte [r10 + r11], al
mov eax, r9d
shr rax, 4
lea r10, [r10 + 4]
or rcx, rax
and r9b, 0xf
shl r9b, 2
mov al, byte [rcx + rbp]
mov byte [r10 + r11 - 3], al
mov eax, r8d
shr rax, 6
movzx ecx, r9b
or rcx, rax
mov al, byte [rcx + rbp]
mov byte [r10 + r11 - 2], al
mov al, byte [rdx + rbp]
mov byte [r10 + r11 - 1], al
cmp edi, 5
jb 0x14000eb0d
movzx ecx, byte [rbx]
mov rbx, qword [rsp + 8]
mov eax, ecx
mov rdi, qword [rsp + 0x18]
and cl, 3
shr rax, 2
shl cl, 4
mov al, byte [rax + rbp]
mov byte [r10 + r11], al
movzx eax, cl
mov al, byte [rax + rbp]
mov rbp, qword [rsp + 0x10]
mov byte [r10 + r11 + 1], al
mov word [r10 + r11 + 2], 0x3d3d
mov byte [r10 + r11 + 4], 0
ret

Function at 0x14000fe58
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x10], rdx
push rbx
sub rsp, 0x30
and qword [r11 + 0x10], 0
lea rdx, [r11 + 0x20]
mov rax, r8
mov r9d, 4
mov dword [r11 - 0x10], r9d
xor r8d, r8d
mov qword [r11 - 0x18], rdx
mov rdx, rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test rcx, rcx
je 0x14000feb8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14000fec8
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x10], rdx
push rbx
sub rsp, 0x30
and qword [r11 + 0x10], 0
lea rdx, [r11 + 0x20]
mov rax, r8
mov dword [rsp + 0x28], 8
mov qword [r11 - 0x18], rdx
mov r9d, 0xb
mov rdx, rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test rcx, rcx
je 0x14000ff2c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14000ff3c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x40
and qword [r11 - 0x18], 0
mov rdi, r9
mov rsi, r8
test rdx, rdx
je 0x14000ff90
lea rax, [r11 - 0x18]
mov r9d, 0x20019
xor r8d, r8d
mov qword [r11 - 0x28], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14000ffe5
mov rcx, qword [rsp + 0x30]
and dword [rsp + 0x50], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
mov dword [rsp + 0x58], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14000ffe5
cmp dword [rsp + 0x50], 4
je 0x14000ffe3
mov ebx, 0x8007139f
jmp 0x14000ffe5
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000fffb
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140010014
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov r15, r9
mov r14, r8
mov rsi, rcx
xor r12d, r12d
mov qword [rbp - 0x18], r12
mov ebx, 0x80070000
test rdx, rdx
je 0x140010087
mov qword [rbp - 0x18], r12
lea rax, [rbp - 0x18]
mov qword [r11 - 0x58], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
movzx edi, ax
or edi, ebx
test eax, eax
cmovle edi, eax
test edi, edi
js 0x14001017e
mov rsi, qword [rbp - 0x18]
mov dword [rbp + 0x38], r12d
mov dword [rbp + 0x30], r12d
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x38]
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
movzx edi, ax
or edi, ebx
test eax, eax
cmovle edi, eax
test edi, edi
js 0x14001017e
cmp dword [rbp + 0x38], 1
je 0x1400100d8
mov edi, 0x8007139f
jmp 0x14001017e
mov eax, dword [rbp + 0x30]
inc eax
mov dword [rbp + 0x30], eax
mov ecx, eax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140030a64
mov rbx, rax
mov qword [rbp - 8], rax
test rax, rax
jne 0x140010110
mov edi, 0x8007000e
jmp 0x14001016b
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x30]
mov dword [rbp - 0x20], eax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x38]
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x14001016b
mov eax, dword [rbp + 0x30]
dec eax
mov word [rbx + rax*2], r12w
mov rdx, rbx
mov rcx, r15
call fcn.140006794
mov edi, r12d
test rbx, rbx
je 0x14001017e
mov edx, 2
mov rcx, rbx
call fcn.14002ff4c
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140010193
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, edi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400101b8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rbx
sub rsp, 0x40
and qword [r11 - 0x18], 0
lea rdx, [r11 + 8]
and dword [rsp + 0x58], 0
mov rax, r8
mov qword [r11 - 0x20], rdx
xor r8d, r8d
mov qword [r11 - 0x28], r9
mov rdx, rax
lea r9, [r11 + 0x10]
mov dword [rsp + 0x50], 8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14001022b
mov eax, dword [rsp + 0x58]
add eax, 0xfffffffd
test eax, 0xfffffff7
jne 0x140010222
cmp dword [rsp + 0x50], 8
je 0x140010229
mov ebx, 0x8007139f
jmp 0x14001022b
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140010241
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x14001b160
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x60
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r14, rdx
mov rbp, rcx
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
and qword [rcx + 0x20], 0
mov qword [rax + 0x10], rcx
lea rcx, [rax - 0x60]
call fcn.140017df4
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2c], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x3c], xmm1
movsd xmm0, qword [rax + 0x20]
movsd qword [rbp + 0x4c], xmm0
mov eax, dword [rax + 0x28]
mov dword [rbp + 0x54], eax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__Getdays]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14001b1ea
lea rcx, [r14 + 8]
mov rdx, rax
call fcn.14000d9c4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
lea rsi, [0x140037e50]
cmp qword [r14 + 8], 0
cmovne rsi, qword [r14 + 8]
or rbx, 0xffffffffffffffff
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], 0
jne 0x14001b202
mov r12d, 1
add rdi, r12
mov edx, r12d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_calloc]
nop dword [rax + rax]
test rax, rax
je 0x14001b37b
test rdi, rdi
je 0x14001b247
mov rdx, rax
sub rdx, rsi
mov cl, byte [rsi]
mov byte [rdx + rsi], cl
add rsi, r12
sub rdi, r12
jne 0x14001b23a
mov qword [rbp + 0x10], rax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__Getmonths]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14001b27a
lea rcx, [r14 + 0x18]
mov rdx, rax
call fcn.14000d9c4
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
lea rdi, [0x140037dc0]
cmp qword [r14 + 0x18], 0
cmovne rdi, qword [r14 + 0x18]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14001b28b
add rbx, r12
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_calloc]
nop dword [rax + rax]
test rax, rax
je 0x14001b37b
test rbx, rbx
je 0x14001b2ca
mov rdx, rax
sub rdx, rdi
mov cl, byte [rdi]
mov byte [rdx + rdi], cl
add rdi, r12
sub rbx, r12
jne 0x14001b2bd
mov qword [rbp + 0x18], rax
lea rbx, [0x1400380a0]
mov edi, 0xd
mov rdx, r12
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_calloc]
nop dword [rax + rax]
test rax, rax
je 0x14001b37b
mov rdx, rax
sub rdx, rbx
mov cl, byte [rbx]
mov byte [rdx + rbx], cl
add rbx, r12
sub rdi, r12
jne 0x14001b2fa
mov qword [rbp + 0x20], rax
and dword [rsp + 0x90], edi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o____lc_locale_name_func]
nop dword [rax + rax]
lea ebx, [rdi + 2]
mov r9d, ebx
lea r8, [rsp + 0x90]
lea edx, [rdi + 0x22]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoEx]
nop dword [rax + rax]
mov eax, dword [rsp + 0x90]
cmp ax, 0x30
je 0x14001b363
cmp ax, 0x31
jne 0x14001b357
mov ebx, r12d
jmp 0x14001b363
xor ebx, ebx
lea ecx, [rbx + 3]
cmp ax, 0x32
cmove ebx, ecx
mov dword [rbp + 0x28], ebx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14000c0ac
nop
int3
Function at 0x14001fe64
Capabilities:
Get geographical location

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rsi, rdx
mov rbx, rcx
and dword [rcx + 8], 0
lea rax, vtable.std::time_get_unsigned_short_int__class_std::istreambuf_iterator_unsigned_short_int__struct_std::char_traits_unsigned_short_int___.0
mov qword [rcx], rax
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
and qword [rcx + 0x20], 0
mov qword [r11 + 0x10], rcx
lea rcx, [r11 - 0x50]
call fcn.140017df4
lea rbp, [rbx + 0x2c]
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
movsd xmm0, qword [rax + 0x20]
movsd qword [rbp + 0x20], xmm0
mov eax, dword [rax + 0x28]
mov dword [rbp + 0x28], eax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__Getdays]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14001ff04
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.14000d9c4
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
lea rcx, [0x140037e50]
cmp qword [rsi + 8], 0
cmovne rcx, qword [rsi + 8]
mov r8, rbp
call fcn.14001d33c
mov qword [rbx + 0x10], rax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__Getmonths]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14001ff50
lea rcx, [rsi + 0x18]
mov rdx, rax
call fcn.14000d9c4
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
lea rcx, [0x140037dc0]
cmp qword [rsi + 0x18], 0
cmovne rcx, qword [rsi + 0x18]
mov r8, rbp
call fcn.14001d33c
mov qword [rbx + 0x18], rax
mov r8, rbp
lea rcx, [0x1400380a0]
call fcn.14001d33c
mov qword [rbx + 0x20], rax
and dword [rsp + 0x90], 0
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o____lc_locale_name_func]
nop dword [rax + rax]
mov edi, 2
mov r9d, edi
lea r8, [rsp + 0x90]
lea edx, [rdi + 0x20]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoEx]
nop dword [rax + rax]
mov eax, dword [rsp + 0x90]
cmp ax, 0x30
je 0x14001ffdd
cmp ax, 0x31
jne 0x14001ffd1
mov edi, 1
jmp 0x14001ffdd
xor edi, edi
lea ecx, [rdi + 3]
cmp ax, 0x32
cmove edi, ecx
mov dword [rbx + 0x28], edi
mov rax, rbx
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x140023554
Capabilities:
Get geographical location

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x60
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov rsi, rdx
mov rbx, rcx
and dword [rcx + 8], 0
lea rax, vtable.std::time_get_wchar_t__class_std::istreambuf_iterator_wchar_t__struct_std::char_traits_wchar_t___.0
mov qword [rcx], rax
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
and qword [rcx + 0x20], 0
mov qword [r11 + 0x10], rcx
lea rcx, [r11 - 0x50]
call fcn.140017df4
movups xmm0, xmmword [rax]
movups xmmword [rbx + 0x2c], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x3c], xmm1
movsd xmm0, qword [rax + 0x20]
movsd qword [rbx + 0x4c], xmm0
mov eax, dword [rax + 0x28]
mov dword [rbx + 0x54], eax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__W_Getdays]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x1400235ec
lea rcx, [rsi + 0x28]
mov rdx, rax
call fcn.14001a974
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
lea rcx, str.:Sun:Sunday:Mon:Monday:Tue:Tuesday:Wed:Wednesday:Thu:Thursday:Fri:Friday:Sat:Saturday
cmp qword [rsi + 0x28], 0
cmovne rcx, qword [rsi + 0x28]
call fcn.1400182b8
mov qword [rbx + 0x10], rax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__W_Getmonths]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140023635
lea rcx, [rsi + 0x38]
mov rdx, rax
call fcn.14001a974
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
lea rcx, str.:Jan:January:Feb:February:Mar:March:Apr:April:May:May:Jun:June:Jul:July:Aug:August:Sep:September:Oct:October:Nov:November:Dec:December
cmp qword [rsi + 0x38], 0
cmovne rcx, qword [rsi + 0x38]
call fcn.1400182b8
mov qword [rbx + 0x18], rax
lea rcx, str.:AM:am:PM:pm
call fcn.1400182b8
mov qword [rbx + 0x20], rax
and dword [rsp + 0x90], 0
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o____lc_locale_name_func]
nop dword [rax + rax]
mov edi, 2
mov r9d, edi
lea r8, [rsp + 0x90]
lea edx, [rdi + 0x20]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoEx]
nop dword [rax + rax]
mov eax, dword [rsp + 0x90]
cmp ax, 0x30
je 0x1400236bc
cmp ax, 0x31
jne 0x1400236b0
mov edi, 1
jmp 0x1400236bc
xor edi, edi
lea ecx, [rdi + 3]
cmp ax, 0x32
cmove edi, ecx
mov dword [rbx + 0x28], edi
mov rax, rbx
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x14002f8c8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400454b0], eax
call fcn.1400300e0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x1400454b0], 0
jne case.default.0x14002f91e
mov ecx, 1
call fcn.1400300e0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
jne 0x140076c20
push rdi
cmpsb byte [rsi], byte [rdi]
and rax, 0x7d04435d
jrcxz 0x140076c4b
stosd dword [rdi], eax
invalid
cmc
jbe 0x140076c7e
mov ebp, 0x3477a9d2
out 0x17, eax
cdq
pop rsp
jns 0x140076c20
jb 0x140076bc4
add byte [rdx + 0x1251fdc1], bh
movabs al, byte [0xf4ddb2f821adba80]
sub byte [rsi + rsi*4], bh
std
sahf
cmp esi, 0xdc9075d6
lodsb al, byte [rsi]
outsd dx, dword [rsi]
out dx, al
clc
fild dword [rbx + 0x7ac1bdd6]
invalid
mov dl, 0xdd
hlt
fisub dword [rax]
std
invalid
push rdx
xchg byte [rdx - 0x70ad0fe8], ah
invalid
Function at 0x180750160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1807502e7
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 0x180750191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180750177
add dl, dl
jne 0x18075019e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807501fe
xor eax, eax
add dl, dl
jne 0x1807501ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807502b5
add dl, dl
jne 0x1807501be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807501cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807501d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807501e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1807501f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180750186
mov eax, 1
add dl, dl
jne 0x18075020e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18075021b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180750203
sub eax, ebx
mov ebx, 1
jne 0x180750254
mov ecx, 1
add dl, dl
jne 0x180750236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180750243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18075022b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180750186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180750270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18075027d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180750265
cmp eax, 0x7d00
jae 0x1807502a3
cmp eax, 0x500
jb 0x18075029e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180750186
cmp eax, 0x7f
ja 0x1807502a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180750186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1807502da
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 0x180750186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20