joyce8/EMBER2024-capa huggingface dataset:
Function at 0x141a21af0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x20
mov qword [rsp + 0x50], r13
mov r14, r9
lea r13, [r8 - 1]
mov qword [rsp + 0x58], r15
mov rbp, r13
mov r15, r8
sar rbp, 1
mov rsi, rdx
mov rbx, rcx
mov r12, rdx
mov r9, rdx
cmp rdx, rbp
jge 0x141a21ba7
nop dword [rax + rax]
lea rdi, [r9 + r9]
lea rcx, [rdi + 2]
shl rcx, 5
add rcx, rbx
lea rdx, [rcx - 0x20]
call fcn.141a25ac0
shl rsi, 5
movzx r9d, al
xor r9, 1
inc r9
mov rcx, qword [rsi + rbx]
add r9, rdi
mov rdx, r9
shl rdx, 5
add rdx, rbx
mov rax, qword [rdx]
mov qword [rsi + rbx], rax
mov rax, qword [rdx + 8]
mov qword [rdx], rcx
mov rcx, qword [rsi + rbx + 8]
mov qword [rsi + rbx + 8], rax
mov rax, qword [rdx + 0x10]
mov qword [rdx + 8], rcx
mov rcx, qword [rsi + rbx + 0x10]
mov qword [rsi + rbx + 0x10], rax
mov qword [rdx + 0x10], rcx
mov rax, qword [rdx + 0x18]
mov qword [rsi + rbx + 0x18], rax
mov rsi, r9
cmp r9, rbp
jl 0x141a21b30
cmp r9, rbp
jne 0x141a21c01
test r15b, 1
jne 0x141a21c01
shl r15, 5
shl rsi, 5
mov rax, qword [r15 + rbx - 0x20]
mov rcx, qword [rsi + rbx]
mov qword [rsi + rbx], rax
mov rax, qword [r15 + rbx - 0x18]
mov qword [r15 + rbx - 0x20], rcx
mov rcx, qword [rsi + rbx + 8]
mov qword [rsi + rbx + 8], rax
mov rax, qword [r15 + rbx - 0x10]
mov qword [r15 + rbx - 0x18], rcx
mov rcx, qword [rsi + rbx + 0x10]
mov qword [rsi + rbx + 0x10], rax
mov qword [r15 + rbx - 0x10], rcx
mov rax, qword [r15 + rbx - 8]
mov qword [rsi + rbx + 0x18], rax
mov rsi, r13
mov r15, qword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
cmp r12, rsi
jge 0x141a21c77
lea rbp, [rsi - 1]
mov rdx, r14
sar rbp, 1
mov rdi, rbp
shl rdi, 5
add rdi, rbx
mov rcx, rdi
call fcn.141a25ac0
test al, al
je 0x141a21c77
mov rax, qword [rdi]
shl rsi, 5
mov rcx, qword [rsi + rbx]
mov qword [rsi + rbx], rax
mov rax, qword [rdi + 8]
mov qword [rdi], rcx
mov rcx, qword [rsi + rbx + 8]
mov qword [rsi + rbx + 8], rax
mov rax, qword [rdi + 0x10]
mov qword [rdi + 8], rcx
mov rcx, qword [rsi + rbx + 0x10]
mov qword [rsi + rbx + 0x10], rax
mov qword [rdi + 0x10], rcx
mov rax, qword [rdi + 0x18]
mov qword [rsi + rbx + 0x18], rax
mov rsi, rbp
cmp r12, rbp
jl 0x141a21c10
mov rax, qword [r14]
shl rsi, 5
mov rcx, qword [rsi + rbx]
mov qword [rsi + rbx], rax
mov rax, qword [r14 + 8]
mov qword [r14], rcx
mov rcx, qword [rsi + rbx + 8]
mov qword [rsi + rbx + 8], rax
mov rax, qword [r14 + 0x10]
mov qword [r14 + 8], rcx
mov rcx, qword [rsi + rbx + 0x10]
mov qword [rsi + rbx + 0x10], rax
mov qword [r14 + 0x10], rcx
mov rax, qword [r14 + 0x18]
mov qword [rsi + rbx + 0x18], rax
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x141a32c90
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rdi, rdx
mov rbx, rcx
xor r12d, r12d
mov dword [rax - 0x58], r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rax - 0x58], 1
mov qword [rax + 0x18], r12
lea r9, [rax + 0x18]
xor r8d, r8d
mov edx, 0x4000
mov rcx, rdi
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x141a32d89
mov rsi, 0xffffffffffffffff
mov r8, rsi
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.14198daf0
nop
mov rbp, qword [rax]
mov r14, qword [rax + 8]
mov r15, qword [rax + 0x10]
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov dword [rsp + 0x20], 9
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x141a32d4f
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141a32d4f
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x30]
call fcn.1419a7030
mov rcx, qword [rbx]
mov qword [rbx], rbp
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r15
test rcx, rcx
je 0x141a32d7b
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x141a32d7b
mov edx, 2
mov r8d, 8
call fcn.1419a7030
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp qword [rbx + 0x10], 0
jne 0x141a32e01
mov rax, qword [rdi]
cmp rax, qword [0x1400f0370]
jne 0x141a32dbb
mov rax, qword [rdi + 8]
cmp rax, qword [0x1400f0378]
jne 0x141a32dbb
mov qword [rsp + 0x30], 0x11
lea rax, [0x14007cb80]
jmp 0x141a32de4
mov rax, qword [rdi]
cmp rax, qword [0x1400f0390]
jne 0x141a32e01
mov rax, qword [rdi + 8]
cmp rax, qword [0x1400f0398]
jne 0x141a32e01
mov qword [rsp + 0x30], 0xf
lea rax, [0x14007cb98]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.141989150
mov rax, rbx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x141a36a70
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x2e8]
test rcx, rcx
je 0x141a36aa3
mov qword [rsp + 0x60], rdx
lea rdx, [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1419d3aba.0]
mov rax, qword [rdi + 0x40]
movzx ecx, byte [rdi + 0x20]
mov r9, qword [rdi + 0x18]
mov r8, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x40], rax
mov rax, qword [rdi + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x30], rax
mov eax, dword [rdi + 0x24]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rbx + 0x1b0]
test eax, eax
setne dil
cmp rcx, 0xffffffffffffffff
je 0x141a36b0f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x1b0], 0xffffffffffffffff
mov rcx, qword [rbx + 0x1f8]
cmp rcx, 0xffffffffffffffff
je 0x141a36b2d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x1f8], 0xffffffffffffffff
mov rcx, qword [rbx + 0x238]
cmp rcx, 0xffffffffffffffff
je 0x141a36b4b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x238], 0xffffffffffffffff
mov rbx, qword [rsp + 0x68]
movzx eax, dil
add rsp, 0x50
pop rdi
ret
Function at 0x141a37e00
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x141b3ab80]
xor rax, rsp
mov qword [rsp + 0x280], rax
movzx ebp, dl
xor r13d, r13d
mov esi, ebp
mov dword [rsp + 0x40], 0x18
xor esi, 1
mov qword [rsp + 0x48], r13
shl esi, 0x14
mov r15d, ebp
shl r15d, 0x14
mov r14, rcx
mov dword [rsp + 0x50], r8d
mov edi, 0x3e8
call fcn.141a56030
xor edx, edx
mov r8d, 1
mov rcx, rax
call fcn.141a55e60
mov rbx, rax
call fcn.1419bc700
mov r9d, eax
mov dword [rsp + 0x20], ebx
lea r8, [0x14007ce00]
mov edx, 0x100
lea rcx, [rsp + 0x80]
call fcn.141a38e30
lea rax, [rsp + 0x40]
mov r9d, 1
mov qword [rsp + 0x38], rax
lea edx, [rbp + 0x40000001]
mov dword [rsp + 0x30], r13d
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x28], esi
mov r8d, 8
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x141a37f01
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x141a37eec
add edi, 0xffffffff
jne 0x141a37e58
lea rdx, [0x14007ce28]
mov ecx, eax
call fcn.141996450
xor al, al
jmp 0x141a38018
mov edx, 0x40000000
mov qword [rsp + 0x30], r13
mov eax, 0x80000100
mov dword [rsp + 0x28], 0x40000000
test bpl, bpl
mov dword [rsp + 0x50], 1
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 3
cmovne edx, eax
lea rcx, [rsp + 0x80]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x141a37f69
lea rcx, [0x14007ce50]
call fcn.1419966b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x141a38018
xorps xmm0, xmm0
mov qword [rsp + 0x58], r13
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
movdqu xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rdx, [rsp + 0x58]
mov rcx, rbx
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x141a37ff4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x141a37ff4
cmp eax, 0x3e5
je 0x141a37fe4
lea rdx, [0x14007ce70]
mov ecx, eax
call fcn.141996450
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x141a38018
mov rcx, qword [rsp + 0x70]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bpl, bpl
je 0x141a38009
mov rax, rbx
jmp 0x141a3800f
mov rax, rdi
mov rdi, rbx
mov qword [r14], rdi
mov qword [r14 + 8], rax
mov al, 1
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.141ae2a00
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x141a385d0
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x2f8]
mov rbx, rcx
test rax, rax
je 0x141a38616
mov edx, dword [rax + 0x10]
lea rcx, [0x141a38050]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbx + 0x2f8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10
mov ecx, dword [rcx + 0x14]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_PostThreadMessageW]
add rsp, 0x20
pop rbx
ret
Function at 0x141a3d440
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
cmp dword [0x141b3a468], 0xffffffff
jne 0x141a3d4aa
mov qword [rsp + 0x20], rbx
xor eax, eax
mov ebx, 1
lock cmpxchg qword [0x141b3db78], rbx
je 0x141a3d470
lea rcx, [0x141b3db78]
call fcn.1419d22a0
cmp dword [0x141b3a468], 0xffffffff
jne 0x141a3d485
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x141b3a468], eax
mov rax, rbx
xor edx, edx
mov rbx, qword [rsp + 0x20]
lock cmpxchg qword [0x141b3db78], rdx
je 0x141a3d4aa
lea rcx, [0x141b3db78]
add rsp, 0x28
jmp fcn.1419d27a0
add rsp, 0x28
ret
Function at 0x141a3da70
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r14, rcx
mov rbx, qword [rcx + 8]
lea rsi, [rbx + 0x78]
xor bpl, bpl
mov r12d, 1
test rsi, rsi
je 0x141a3dab4
xor eax, eax
lock cmpxchg qword [rsi], r12
je 0x141a3dab0
mov rcx, rsi
call fcn.1419d22a0
movzx ebp, r12b
xor r15d, r15d
cmp byte [rbx + 0x84], r15b
je 0x141a3dbb8
cmp byte [rbx + 0xa8], r15b
jne 0x141a3dad9
mov byte [rbx + 0xa9], r12b
jmp 0x141a3dbb8
xor edx, edx
mov rcx, qword [rbx + 0x98]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
nop
mov rdi, qword [r14 + 8]
mov byte [rdi + 0x86], 1
mov dword [rdi + 0x94], 7
mov rbx, qword [rdi + 0xb0]
movzx edx, byte [rsp + 0x50]
mov rcx, r14
call fcn.1419dcb10
mov r8, qword [rdi + 0xb0]
mov edx, 0x34
xor ecx, ecx
call fcn.1419bf7b0
lea rcx, [rbx + 0x78]
call fcn.141a3c8a0
mov rax, qword [rdi + 0xb0]
mov rbx, qword [rax + 0x70]
test rbx, rbx
je 0x141a3db7b
mov qword [rsp + 0x50], r15
mov rdx, qword [rdi + 0xb0]
mov rax, qword [rsp + 0x50]
nop
nop
mov qword [rdx + 0x70], rax
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0xb0]
call qword [case.0x1419d3aba.0]
mov rax, qword [rbx]
mov edx, r12d
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1419d3aba.0]
mov word [rdi + 0x84], 0x100
mov byte [rdi + 0x86], 0
mov eax, r15d
xchg byte [rdi + 0x87], al
cmp dword [rdi + 0xa4], 0
jne 0x141a3dbb1
mov rcx, qword [rdi + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x98], r15
mov dword [rdi + 0xa0], r15d
test bpl, bpl
je 0x141a3dbcf
mov rax, r12
lock cmpxchg qword [rsi], r15
je 0x141a3dbcf
mov rcx, rsi
call fcn.1419d27a0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x141a44870
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x141b3ab80]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x58], rdx
xor r14d, r14d
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea rax, [0x140077670]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
mov qword [rbp - 0x80], 0x40
lea rax, [rbp - 0x68]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x78], 0x40
mov r9d, 0x40
lea r8, [rbp - 0x68]
mov edx, ebx
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x141a4499b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0x50
jne 0x141a4493f
test eax, eax
jne 0x141a4493f
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.141a19d40
nop
lea rax, [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
cmp rcx, rax
je 0x141a44925
call fcn.141ae8ccc
nop
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x141a44a85
mov rbx, 0xffffffffffffffff
jmp 0x141a44a67
cmp eax, 0x7a
je 0x141a44965
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov rax, qword [rdi + 0x18]
and rax, 0xfffffffffffffffe
or rax, 2
and eax, 3
mov qword [rdi + 0x18], rax
jmp 0x141a44912
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov ecx, dword [rsi]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x141a44944
movsxd rdx, eax
lea rcx, [rbp - 0x80]
call fcn.141a45d90
mov r9d, dword [rbp - 0x78]
mov r8, qword [rbp - 0x70]
mov edx, ebx
mov ecx, dword [rsi]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x141a44944
mov rdx, qword [rbp - 0x70]
cmp ebx, 0x50
jne 0x141a449ae
cmp word [rdx], 0
je 0x141a44904
mov rbx, 0xffffffffffffffff
mov r8, rbx
lea rcx, [rsp + 0x60]
call fcn.14198daf0
nop
mov rcx, qword [rax]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x50], rcx
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x141a44a12
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141a44a12
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x60]
call fcn.1419a7030
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.141a19d40
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x141a44a4a
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141a44a4a
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x40]
call fcn.1419a7030
nop
lea rax, [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
cmp rcx, rax
je 0x141a44a5d
call fcn.141ae8ccc
nop
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x141a44a85
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x141a44a85
mov r8d, 8
mov edx, 2
mov rcx, qword [rsp + 0x20]
call fcn.1419a7030
mov rax, rdi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.141ae2a00
add rsp, 0x130
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x141a460b0
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x141b3ab80]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, dword [rcx + 4]
mov rbx, rcx
test eax, eax
jne 0x141a4614a
mov ecx, dword [rcx]
lea r8, [rsp + 0x20]
mov r9d, 8
mov edx, 0x1014
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x141a46142
movzx eax, word [rsp + 0x20]
cmp ax, 0x31
je 0x141a46142
cmp ax, 0x30
jne 0x141a46103
mov eax, 1
jmp 0x141a46147
cmp ax, 0x32
jne 0x141a46110
mov eax, 2
jmp 0x141a46147
mov ecx, dword [rbx]
lea r8, [rsp + 0x30]
mov r9d, 0xb
mov edx, 0x13
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x141a46142
movzx eax, word [rsp + 0x20]
movzx ecx, word [rsp + 0x30]
add ecx, 2
cmp eax, ecx
mov eax, 2
je 0x141a46147
mov eax, 3
mov dword [rbx + 4], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.141ae2a00
add rsp, 0x50
pop rbx
ret
Function at 0x141a47eb0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x260
mov rax, qword [0x141b3ab80]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov eax, edx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rsp + 0x20], 1
mov r9d, 0xff
lea r8, [rsp + 0x50]
mov edx, 0x5a
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x141a47fa0
mov rdi, 0xffffffffffffffff
mov r8, rdi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14198daf0
nop
mov rsi, qword [rax]
mov rbp, qword [rax + 8]
mov r14, qword [rax + 0x10]
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x141a47f74
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141a47f74
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x30]
call fcn.1419a7030
mov rcx, qword [rbx]
mov qword [rbx], rsi
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], r14
test rcx, rcx
je 0x141a47fa0
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x141a47fa0
mov edx, 2
mov r8d, 8
call fcn.1419a7030
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.141ae2a00
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x260
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x141a491d0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x141b3ab80]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
cmp qword [rcx + 0x18], rsi
jne 0x141a492b3
mov r9d, 0xb
lea r8, [rsp + 0x48]
mov edx, 0x13
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x141a492b3
mov r8d, 1
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.14198daf0
nop
mov rbp, qword [rax]
mov r14, qword [rax + 8]
mov r15, qword [rax + 0x10]
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov esi, 0xffffffff
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x141a49285
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141a49285
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x30]
call fcn.1419a7030
mov rcx, qword [rbx + 8]
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r15
test rcx, rcx
je 0x141a492b3
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x141a492b3
mov edx, 2
mov r8d, 8
call fcn.1419a7030
lea rdx, [rbx + 8]
mov rcx, rdi
call fcn.141a19d40
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.141ae2a00
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x141a517c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov qword [rsp + 0x50], r12
lea rsi, [r8 - 1]
sar rsi, 1
mov r15, r9
mov qword [rsp + 0x58], r13
mov r12, r8
mov r14, rdx
mov rdi, rcx
mov rbp, rdx
mov r9, rdx
cmp rdx, rsi
jge 0x141a5186c
nop dword [rax + rax]
lea rbx, [r9 + r9]
lea rax, [rbx + 2]
lea rax, [rax + rax*2]
lea rcx, [rdi + rax*8]
lea rdx, [rcx - 0x18]
call fcn.141a0d620
movzx r9d, al
xor r9, 1
inc r9
add r9, rbx
lea rax, [r9 + r9*2]
lea r8, [rdi + rax*8]
lea rax, [r14 + r14*2]
mov r14, r9
mov rcx, qword [rdi + rax*8]
lea rdx, [rdi + rax*8]
mov rax, qword [r8]
mov qword [rdx], rax
mov rax, qword [r8 + 8]
mov qword [r8], rcx
mov rcx, qword [rdx + 8]
mov qword [rdx + 8], rax
mov rax, qword [r8 + 0x10]
mov qword [r8 + 8], rcx
mov rcx, qword [rdx + 0x10]
mov qword [rdx + 0x10], rax
mov qword [r8 + 0x10], rcx
cmp r9, rsi
jl 0x141a51800
cmp r9, rsi
jne 0x141a518bb
test r12b, 1
jne 0x141a518bb
lea rax, [r12 + r12*2]
lea r8, [rdi + rax*8]
lea rax, [r14 + r14*2]
mov rcx, qword [rdi + rax*8]
lea rdx, [rdi + rax*8]
mov rax, qword [r8 - 0x18]
lea r14, [r12 - 1]
mov qword [rdx], rax
mov rax, qword [r8 - 0x10]
mov qword [r8 - 0x18], rcx
mov rcx, qword [rdx + 8]
mov qword [rdx + 8], rax
mov rax, qword [r8 - 8]
mov qword [r8 - 0x10], rcx
mov rcx, qword [rdx + 0x10]
mov qword [rdx + 0x10], rax
mov qword [r8 - 8], rcx
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
cmp rbp, r14
jge 0x141a5192b
nop word [rax + rax]
lea rsi, [r14 - 1]
mov rdx, r15
sar rsi, 1
lea rax, [rsi + rsi*2]
lea rbx, [rdi + rax*8]
mov rcx, rbx
call fcn.141a0d620
test al, al
je 0x141a5192b
lea rax, [r14 + r14*2]
mov r14, rsi
mov rcx, qword [rdi + rax*8]
lea rdx, [rdi + rax*8]
mov rax, qword [rbx]
mov qword [rdx], rax
mov rax, qword [rbx + 8]
mov qword [rbx], rcx
mov rcx, qword [rdx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbx + 0x10]
mov qword [rbx + 8], rcx
mov rcx, qword [rdx + 0x10]
mov qword [rdx + 0x10], rax
mov qword [rbx + 0x10], rcx
cmp rbp, rsi
jl 0x141a518d0
mov rbx, qword [rsp + 0x60]
lea rax, [r14 + r14*2]
mov rcx, qword [rdi + rax*8]
lea rdx, [rdi + rax*8]
mov rax, qword [r15]
mov qword [rdx], rax
mov rax, qword [r15 + 8]
mov qword [r15], rcx
mov rcx, qword [rdx + 8]
mov qword [rdx + 8], rax
mov rax, qword [r15 + 0x10]
mov qword [r15 + 8], rcx
mov rcx, qword [rdx + 0x10]
mov qword [rdx + 0x10], rax
mov qword [r15 + 0x10], rcx
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x141a55cd0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x141a55d31
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x141a55cf0
mov ecx, dword [r9]
jmp 0x141a55e1b
cmp ecx, 0x4e0
jb 0x141a55e1b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x141a55d50
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x141a55da0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x141a55f70
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
sub rdi, rdx
sar rdi, 2
xor ebp, ebp
mov esi, ebp
mov rax, qword [0x141b3f1c0]
bt rax, 0xb
jae 0x141a55faf
mov rdx, rdi
mov rcx, r14
call fcn.141a56780
mov rsi, rax
cmp rsi, rdi
je 0x141a56019
mov rbx, rdi
sub rbx, rsi
shl rbx, 2
lea rcx, [r14 + rsi*4]
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
cmovne rbp, rbx
mov rax, rbp
cqo
and edx, 3
add rax, rdx
sar rax, 2
add rsi, rax
cmp rsi, rdi
je 0x141a56019
lea rbx, [r14 + rsi*4]
sub rdi, rsi
lea rdi, [rbx + rdi*4]
cmp rbx, rdi
je 0x141a56019
nop word [rax + rax]
lea rcx, [rsp + 0x48]
call fcn.141af794c
mov eax, dword [rsp + 0x48]
mov dword [rbx], eax
add rbx, 4
cmp rbx, rdi
jne 0x141a56000
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret