joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140085bf0
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0xf0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], rax
mov qword [rbp + 0x10], rcx
mov rsi, rdx
mov edi, r8d
mov rbx, r9
mov r15, qword [rbp + 0x30]
mov r14, qword [rbp + 0x50]
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400f3a00
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rcx + 8]
test r15, r15
jne 0x140085c4b
xor eax, eax
jmp 0x140085c4f
lea rax, [r15 + 0x10]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], r14
mov r8d, edi
mov r9, rbx
mov edi, dword [rbp + 0x38]
mov rbx, qword [rbp + 0x40]
mov r15d, dword [rbp + 0x48]
mov r12d, dword [rbp + 0x58]
mov dword [rsp + 0x48], r12d
mov rcx, rdx
mov qword [rbp - 0x5c], rcx
mov rdx, rsi
mov qword [rbp - 0x64], rdx
mov dword [rbp - 0x54], r8d
mov qword [rbp - 0x6c], r9
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x40], r14
lea rcx, [rbp - 0x98]
call fcn.140003b20
mov rcx, qword [rbp - 0x5c]
mov rdx, qword [rbp - 0x64]
mov r8d, dword [rbp - 0x54]
mov r9, qword [rbp - 0x6c]
call sub.ncrypt.dll_BCryptDecrypt
mov esi, eax
lea rcx, [rbp - 0x98]
call fcn.140003b70
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x140085cec
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.1400f3a70
mov eax, esi
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140087720
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x3c], r8d
mov rdx, rcx
mov qword [rbp - 0x48], rdx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
mov r9d, 2
mov dword [rbp - 0x40], r9d
lea rcx, [rbp - 0x78]
call fcn.140003b20
mov r8d, dword [rbp - 0x3c]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov r9d, dword [rbp - 0x40]
call sub.ncrypt.dll_BCryptGenRandom
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.140003b70
mov ecx, esi
test ecx, ecx
jne 0x140087796
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
or ecx, 0x1000000
call fcn.140086e20
mov rcx, rax
call fcn.1400032b0
int3
Function at 0x14008ffb0
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x1a8
lea rbp, [rsp + 0x1e0]
xor eax, eax
mov qword [rbp - 0x148], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x140], xmm4
movabs rax, 0xffffffffffffff10
movaps xmmword [rbp + rax - 0x40], xmm4
movaps xmmword [rbp + rax - 0x30], xmm4
movaps xmmword [rbp + rax - 0x20], xmm4
add rax, 0x30
jne 0x14008ffe8
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x48]
mov rbx, qword [rbp + 0x58]
test rcx, rcx
jne 0x140090013
xor r14d, r14d
jmp 0x14009001f
add rcx, 0xc
mov qword [rbp - 0x40], rcx
mov r14, qword [rbp - 0x40]
test rdx, rdx
jne 0x140090029
xor r15d, r15d
jmp 0x140090035
add rdx, 0xc
mov qword [rbp - 0x48], rdx
mov r15, qword [rbp - 0x48]
mov qword [rbp - 0x50], r8
mov r12, r8
mov qword [rbp - 0x58], r9
mov r13, r9
xor esi, esi
cmp byte [rbp + 0x30], 0
setne sil
mov dword [rbp - 0x5c], esi
test rax, rax
jne 0x140090060
xor edi, edi
mov qword [rbp - 0x140], rdi
jmp 0x140090073
add rax, 0xc
mov qword [rbp - 0x68], rax
mov rdi, qword [rbp - 0x68]
mov qword [rbp - 0x140], rdi
lea rdi, [rbp - 0xc8]
mov rsi, qword [rbp + 0x50]
mov ecx, 0xc
rep movsq qword [rdi], qword [rsi]
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [rbp - 0x130], xmm0
movups xmmword [rbp - 0x120], xmm0
movups xmmword [rbp - 0x110], xmm0
movups xmmword [rbp - 0x100], xmm0
movups xmmword [rbp - 0xf0], xmm0
movups xmmword [rbp - 0xe0], xmm0
mov qword [rbp - 0xd0], rcx
lea rcx, [rbp - 0xc8]
lea rdx, [rbp - 0x130]
call fcn.140115f70
mov qword [rbp - 0x138], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov esi, dword [rbp - 0x5c]
mov dword [rsp + 0x20], esi
mov esi, dword [rbp + 0x38]
mov dword [rsp + 0x28], esi
mov rsi, qword [rbp + 0x40]
mov qword [rsp + 0x30], rsi
mov rdi, qword [rbp - 0x140]
mov qword [rsp + 0x38], rdi
lea rcx, [rbp - 0x130]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rbx
mov rcx, r14
mov qword [rbp - 0x150], rcx
mov rdx, r15
mov qword [rbp - 0x158], rdx
mov r8, r12
mov qword [rbp - 0x160], r8
mov r9, r13
mov qword [rbp - 0x168], r9
lea rcx, [rbp - 0x190]
call fcn.140003b20
mov rcx, qword [rbp - 0x150]
mov rdx, qword [rbp - 0x158]
mov r8, qword [rbp - 0x160]
mov r9, qword [rbp - 0x168]
call sub.KERNEL32.dll_CreateProcessW
mov esi, eax
lea rcx, [rbp - 0x190]
call fcn.140003b70
call fcn.14000211a
mov rdi, rax
mov qword [rbp - 0x148], rdi
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [rbp - 0x148]
mov dword [rcx + 8], eax
test esi, esi
setne sil
movzx esi, sil
lea rcx, [rbp - 0x130]
call fcn.140115eb0
movzx eax, sil
add rsp, 0x1a8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140090b10
Capabilities:
Terminate process

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rsi, rcx
mov edi, edx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x50], rcx
mov edx, edi
mov dword [rbp - 0x3c], edx
lea rcx, [rbp - 0x78]
call fcn.140003b20
mov rcx, qword [rbp - 0x50]
mov edx, dword [rbp - 0x3c]
call sub.KERNEL32.dll_TerminateProcess
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.140003b70
call fcn.14000211a
mov rdi, rax
mov qword [rbp - 0x48], rdi
call sub.KERNEL32.dll_GetLastError
mov rdx, qword [rbp - 0x48]
mov dword [rdx + 8], eax
xor eax, eax
test esi, esi
setne al
movzx eax, al
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400910b0
Capabilities:
Resume thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x90]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, rcx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x70]
call fcn.140003b20
mov rcx, qword [rbp - 0x48]
call sub.KERNEL32.dll_ResumeThread
mov esi, eax
lea rcx, [rbp - 0x70]
call fcn.140003b70
call fcn.14000211a
mov rdi, rax
mov qword [rbp - 0x40], rdi
call sub.KERNEL32.dll_GetLastError
mov rdx, qword [rbp - 0x40]
mov dword [rdx + 8], eax
mov eax, esi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140092f90
Capabilities:
Delete registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x10], rcx
mov rsi, rdx
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400f3a00
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rcx + 8]
test rsi, rsi
je 0x140092fd8
add rsi, 0xc
jmp 0x140092fda
xor esi, esi
mov qword [rbp - 0x48], rsi
mov rcx, rdx
mov qword [rbp - 0x50], rcx
mov rdx, rsi
mov qword [rbp - 0x58], rdx
lea rcx, [rbp - 0x80]
call fcn.140003b20
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x58]
call sub.ADVAPI32.dll_RegDeleteValueW
mov esi, eax
lea rcx, [rbp - 0x80]
call fcn.140003b70
nop
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x140093025
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.1400f3a70
mov eax, esi
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140093250
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x10], rcx
mov rsi, rdx
mov rdi, r8
mov rbx, r9
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400f3a00
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rcx + 8]
test rsi, rsi
je 0x1400932a1
add rsi, 0xc
jmp 0x1400932a3
xor esi, esi
mov qword [rbp - 0x48], rsi
mov r14, qword [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov r14, qword [rbp + 0x38]
mov qword [rsp + 0x28], r14
mov rcx, rdx
mov qword [rbp - 0x50], rcx
mov rdx, rsi
mov qword [rbp - 0x58], rdx
mov r8, rdi
mov qword [rbp - 0x60], r8
mov r9, rbx
mov qword [rbp - 0x68], r9
lea rcx, [rbp - 0x90]
call fcn.140003b20
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
mov r9, qword [rbp - 0x68]
call sub.ADVAPI32.dll_RegQueryValueExW
mov esi, eax
lea rcx, [rbp - 0x90]
call fcn.140003b70
nop
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x14009331c
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.1400f3a70
mov eax, esi
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140096cd0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
mov rsi, rcx
mov dword [rbp - 0x40], 0x41
lea rdi, [rbp - 0x44]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
xor edx, edx
mov qword [rsp + 0x20], rdx
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x50], rdx
mov rcx, rsi
mov qword [rbp - 0x58], rcx
mov r9, rdi
mov qword [rbp - 0x60], r9
xor r8d, r8d
mov dword [rbp - 0x48], r8d
lea rcx, [rbp - 0x88]
call fcn.140003b20
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x58]
mov r9, qword [rbp - 0x60]
mov r8d, dword [rbp - 0x48]
call sub.KERNEL32.dll_WriteFile
mov esi, eax
lea rcx, [rbp - 0x88]
call fcn.140003b70
call sub.KERNEL32.dll_GetLastError
mov edi, eax
call fcn.14000211a
mov dword [rax + 8], edi
xor eax, eax
test esi, esi
setne al
movzx eax, al
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140096e60
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, rcx
mov rdi, qword [rdx]
mov ebx, dword [rdx + 8]
test ebx, ebx
jne 0x140096e95
xor eax, eax
jmp 0x140096fb8
mov qword [rbp - 0x40], rdi
test r8b, r8b
je 0x140096f17
lea r14, [rbp - 0x44]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov rcx, rsi
mov qword [rbp - 0x54], rcx
mov rdx, rdi
mov qword [rbp - 0x5c], rdx
mov r8d, ebx
mov dword [rbp - 0x4c], r8d
mov r9, r14
mov qword [rbp - 0x64], r9
lea rcx, [rbp - 0x90]
call fcn.140003b20
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
mov r9, qword [rbp - 0x64]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x90]
call fcn.140003b70
call sub.KERNEL32.dll_GetLastError
mov esi, eax
call fcn.14000211a
mov dword [rax + 8], esi
xor esi, esi
test ebx, ebx
setne sil
jmp 0x140096f99
mov r14d, ebx
shr r14d, 0x1f
add ebx, r14d
sar ebx, 1
lea r14, [rbp - 0x48]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov rcx, rsi
mov qword [rbp - 0x64], rcx
mov rdx, rdi
mov qword [rbp - 0x5c], rdx
mov r8d, ebx
mov dword [rbp - 0x4c], r8d
mov r9, r14
mov qword [rbp - 0x54], r9
lea rcx, [rbp - 0x90]
call fcn.140003b20
mov rcx, qword [rbp - 0x64]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
mov r9, qword [rbp - 0x54]
call sub.KERNEL32.dll_WriteConsoleW
mov esi, eax
lea rcx, [rbp - 0x90]
call fcn.140003b70
call sub.KERNEL32.dll_GetLastError
mov edi, eax
test esi, esi
setne sil
movzx esi, sil
call fcn.14000211a
mov dword [rax + 8], edi
xor edx, edx
mov qword [rbp - 0x40], rdx
test esi, esi
je 0x140096fa7
xor eax, eax
jmp 0x140096fb8
mov eax, dword [rax + 8]
cmp eax, 0xe8
je 0x140096fb6
cmp eax, 0x6d
jne 0x140096fb8
xor eax, eax
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14009a9a0
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x3c], r8d
mov rdx, rcx
mov qword [rbp - 0x48], rdx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
mov r9d, 2
mov dword [rbp - 0x40], r9d
lea rcx, [rbp - 0x78]
call fcn.140003b20
mov r8d, dword [rbp - 0x3c]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov r9d, dword [rbp - 0x40]
call sub.ncrypt.dll_BCryptGenRandom
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.140003b70
test esi, esi
jne 0x14009aa14
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp esi, 0xc0000017
jne 0x14009aa3b
lea rcx, [0x140181120]
call fcn.140002eb0
mov rsi, rax
mov rcx, rsi
call fcn.1400b5860
mov rcx, rsi
call fcn.1400032b0
lea rcx, [0x140180a08]
call fcn.140002eb0
mov rsi, rax
mov rcx, rsi
call fcn.1400ac370
mov rcx, rsi
call fcn.1400032b0
int3
Function at 0x14009afc0
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rbp, [rsp + 0x50]
mov rsi, rcx
mov eax, dword [rsi + 0x40]
cmp eax, 0xffffffff
je 0x14009afdd
add rsp, 0x48
pop rsi
pop rbp
ret
mov dword [rsp + 0x20], 0x10
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rsi
mov r9d, 4
call fcn.1400fcd00
mov ecx, eax
test ecx, ecx
jne 0x14009b055
xor eax, eax
test byte [rbp - 0x10], 0x30
jne 0x14009b00e
mov eax, 0x40000000
test byte [rbp - 0x10], 2
je 0x14009b019
or eax, 0x80000000
test dword [rbp - 0x10], 0x800
je 0x14009b027
or eax, 0x10000000
test byte [rbp - 0x10], 4
je 0x14009b032
or eax, 0x8000000
test dword [rbp - 0x10], 0x1000
je 0x14009b040
or eax, 0x4000000
test byte [rbp - 0x10], 8
je 0x14009b04b
or eax, 0x20000000
mov dword [rsi + 0x40], eax
add rsp, 0x48
pop rsi
pop rbp
ret
call fcn.1400fcc90
mov ecx, eax
lea rdx, [0x1401e7008]
call fcn.1400ea8b0
mov rcx, rax
call fcn.1400032b0
int3

Function at 0x1400a1e00
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r12
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 8], rax
xorps xmm4, xmm4
movaps xmmword [rbp + 0x10], xmm4
movaps xmmword [rbp + 0x20], xmm4
mov rax, qword [0x140204408]
mov qword [rbp], rax
mov rsi, rcx
mov edi, dword [rsi + 8]
xor ebx, ebx
cmp edi, 0x40
jae 0x1400a1e53
test dword [rsp], esp
sub rsp, 0x80
lea r14, [rsp + 0x20]
mov r15d, 0x40
jmp 0x1400a1e7d
call fcn.140001df7
mov rcx, qword [rax + 8]
lea edx, [rdi + 1]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rbx, rax
test rbx, rbx
jne 0x1400a1e75
xor r14d, r14d
xor r15d, r15d
jmp 0x1400a1e7d
lea r14, [rbx + 0x10]
mov r15d, dword [rbx + 8]
lea rcx, [rsi + 0xc]
mov edx, dword [rsi + 8]
mov edx, edi
mov qword [rbp + 0x18], rcx
mov dword [rbp + 0x20], edx
mov qword [rbp + 8], r14
mov dword [rbp + 0x10], r15d
lea rcx, [rbp + 0x18]
lea rdx, [rbp + 8]
call fcn.1400c6f80
cmp edi, r15d
jae 0x1400a1f6c
mov eax, edi
mov word [r14 + rax*2], 0
mov esi, 0x15051505
mov r12d, 0x15051505
xor eax, eax
test r15d, r15d
je 0x1400a1ec9
mov rax, r14
mov qword [rbp + 0x28], rax
cmp edi, 2
jle 0x1400a1f04
add edi, 0xfffffffc
mov edx, esi
rol edx, 5
add esi, edx
mov edx, dword [rax]
or edx, 0x200020
xor esi, edx
mov edx, r12d
rol edx, 5
add r12d, edx
mov edx, dword [rax + 4]
or edx, 0x200020
xor r12d, edx
add rax, 8
cmp edi, 2
jg 0x1400a1ed2
test edi, edi
jle 0x1400a1f1e
mov edx, r12d
rol edx, 5
add edx, r12d
mov r12d, dword [rax]
or r12d, 0x200020
xor r12d, edx
xor eax, eax
mov qword [rbp + 0x28], rax
test rbx, rbx
je 0x1400a1f3e
call fcn.140001df7
mov rcx, qword [rax + 8]
mov rdx, rbx
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x38]
imul eax, r12d, 0x5d588b65
add eax, esi
lea rcx, [0x140204408]
mov rcx, qword [rcx]
cmp qword [rbp], rcx
je 0x1400a1f5c
call fcn.140003ec0
nop
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rdi
pop r12
pop r14
pop r15
pop rbp
ret
call fcn.1400f98d0
int3
Function at 0x1400a5f20
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov edi, dword [rcx + 4]
call fcn.1400f7fa0
test rax, rax
jne 0x1400a5f3b
xor ebx, ebx
jmp 0x1400a5f5c
mov rcx, rax
mov edx, 2
xor r8d, r8d
call fcn.140103b80
mov edx, eax
and edx, 7
and eax, 0xffffff00
shr eax, 5
or edx, eax
mov ebx, edx
add ebx, 0x10
sub edi, ebx
xor eax, eax
xor edx, edx
mov ecx, edi
sar ecx, 0x1f
and ecx, 3
add ecx, edi
sar ecx, 2
test ecx, ecx
jle 0x1400a5f8a
mov r8d, edx
shl r8d, 2
movsxd r8, r8d
xor eax, dword [rsi + r8]
inc edx
cmp ecx, edx
jg 0x1400a5f76
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x1400a8070
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
mov qword [rsp + 0x60], r9
mov r10, qword [rcx]
mov ecx, dword [rcx + 8]
mov r11, qword [rdx]
mov esi, ecx
and esi, 0xfffffffc
mov edi, dword [rdx + 8]
xor ebx, ebx
xor ebp, ebp
test ecx, ecx
je 0x1400a8295
lea r14, [0x14017b628]
mov eax, esi
sar eax, 2
lea eax, [rax + rax*2]
cmp edi, eax
jl 0x1400a80b7
lea r15d, [rsi - 4]
jmp 0x1400a80ce
mov edx, 0x55555556
mov eax, edx
imul edi
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
shl r15d, 2
test r15d, r15d
jle 0x1400a8176
movsxd rax, ebx
lea rax, [r10 + rax*2]
movzx edx, word [rax]
movzx r12d, word [rax + 2]
movzx r13d, word [rax + 4]
movzx eax, word [rax + 6]
mov r9d, edx
or r9d, r12d
or r9d, r13d
or r9d, eax
test r9d, 0xffffff00
je 0x1400a810c
mov r9d, 0xffffffff
jmp 0x1400a8143
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
movsxd r9, r12d
movsx r12, byte [r14 + r9]
movsxd r9, r13d
movsx r13, byte [r14 + r9]
cdqe
movsx rax, byte [r14 + rax]
shl edx, 0x12
shl r12d, 0xc
shl r13d, 6
or eax, edx
mov edx, eax
or r12d, r13d
or edx, r12d
mov r9d, edx
test r9d, r9d
jl 0x1400a82b2
movsxd rax, ebp
add rax, r11
mov edx, r9d
sar edx, 0x10
mov byte [rax], dl
mov edx, r9d
sar edx, 8
mov byte [rax + 1], dl
mov byte [rax + 2], r9b
add ebp, 3
add ebx, 4
cmp ebx, r15d
jl 0x1400a80d7
lea eax, [rsi - 4]
cmp r15d, eax
jne 0x1400a82b2
cmp ebx, esi
je 0x1400a82b2
lea eax, [rsi - 4]
cdqe
movzx eax, word [r10 + rax*2]
lea edx, [rsi - 3]
movsxd rdx, edx
movzx edx, word [r10 + rdx*2]
lea r9d, [rsi - 2]
movsxd r9, r9d
movzx r9d, word [r10 + r9*2]
lea r15d, [rsi - 1]
movsxd r15, r15d
movzx r10d, word [r10 + r15*2]
mov r15d, eax
or r15d, edx
or r15d, r9d
or r15d, r10d
test r15d, 0xffffff00
jne 0x1400a82b2
cdqe
movsx rax, byte [r14 + rax]
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
shl eax, 0x12
shl edx, 0xc
or eax, edx
cmp r10d, 0x3d
je 0x1400a823b
movsxd r9, r9d
movsx r9, byte [r14 + r9]
movsxd r10, r10d
movsx r10, byte [r14 + r10]
shl r9d, 6
or r10d, eax
mov eax, r10d
or eax, r9d
jl 0x1400a82b2
add edi, 0xfffffffd
cmp ebp, edi
jg 0x1400a82b2
movsxd r9, ebp
add r11, r9
mov edx, eax
sar edx, 0x10
mov byte [r11], dl
mov edx, eax
sar edx, 8
mov byte [r11 + 1], dl
mov byte [r11 + 2], al
add ebp, 3
jmp 0x1400a828e
cmp r9d, 0x3d
je 0x1400a8277
movsxd r9, r9d
movsx r9, byte [r14 + r9]
shl r9d, 6
or eax, r9d
jl 0x1400a82b2
lea edx, [rdi - 2]
cmp ebp, edx
jg 0x1400a82b2
mov edx, eax
sar edx, 0x10
movsxd r9, ebp
mov byte [r11 + r9], dl
sar eax, 8
lea edx, [rbp + 1]
movsxd rdx, edx
mov byte [r11 + rdx], al
add ebp, 2
jmp 0x1400a828e
test eax, eax
jl 0x1400a82b2
lea edx, [rdi - 1]
cmp ebp, edx
jg 0x1400a82b2
sar eax, 0x10
movsxd rdx, ebp
mov byte [r11 + rdx], al
inc ebp
add ebx, 4
cmp esi, ecx
jne 0x1400a82b2
mov dword [r8], ebx
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
mov eax, 1
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [r8], ebx
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
xor eax, eax
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400bb8f0
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x18], rdx
mov dword [rbp + 0x20], r8d
mov rsi, rcx
call fcn.1400010f3
cmp byte [rax], 0
je 0x1400bb94a
mov r8d, dword [rbp + 0x20]
movzx r8d, r8w
mov rcx, rsi
mov rdx, qword [rbp + 0x18]
call fcn.1400bbc30
jmp 0x1400bbb19
mov r8d, dword [rbp + 0x20]
movzx r8d, r8w
mov rcx, rsi
mov rdx, qword [rbp + 0x18]
call fcn.1400ba610
mov edi, eax
test edi, edi
je 0x1400bbb17
cmp byte [rsi + 0x90], 0
je 0x1400bbb17
mov ecx, dword [rbp + 0x20]
movzx eax, cx
add eax, 0xfffffff3
cmp eax, 8
ja 0x1400bb99b
mov edx, 0x1fd
bt edx, eax
jb 0x1400bb995
mov word [rbp + 0x20], 3
jmp 0x1400bb99b
mov word [rbp + 0x20], 2
lea rcx, [rbp + 0x20]
lea rdx, [rbp + 0x18]
call fcn.1400bbf00
mov rcx, qword [rbp + 0x18]
mov edx, dword [rbp + 0x20]
movzx edx, dx
mov qword [rbp + 0x10], rsi
lea r8, [rsi + 0x88]
test rcx, rcx
je 0x1400bb9c8
add rcx, 0xc
jmp 0x1400bb9ca
xor ecx, ecx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x48], r8
xor r9d, r9d
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x28], r9d
mov qword [rbp - 0x68], rcx
mov dword [rbp - 0x5c], edx
mov qword [rsp + 0x30], r8
xor r8d, r8d
mov qword [rbp - 0x70], r8
mov r9d, 0x20000030
mov dword [rbp - 0x60], r9d
lea rcx, [rbp - 0x98]
call fcn.140003b20
mov rcx, qword [rbp - 0x68]
mov edx, dword [rbp - 0x5c]
mov r8, qword [rbp - 0x70]
mov r9d, dword [rbp - 0x60]
call sub.KERNEL32.dll_GetCalendarInfoEx
mov esi, eax
lea rcx, [rbp - 0x98]
call fcn.140003b70
xor ecx, ecx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x48], rcx
xor ecx, ecx
test esi, esi
setne cl
and edi, ecx
mov rcx, qword [rbp + 0x18]
xor r8d, r8d
mov dword [rbp - 0x50], r8d
test rcx, rcx
je 0x1400bba5b
add rcx, 0xc
jmp 0x1400bba5d
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x70], rcx
lea r8, [rbp - 0x50]
mov qword [rbp - 0x68], r8
mov edx, 0x20001009
mov dword [rbp - 0x60], edx
mov r9d, 4
mov dword [rbp - 0x5c], r9d
lea rcx, [rbp - 0x98]
call fcn.140003b20
mov rcx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x68]
mov edx, dword [rbp - 0x60]
mov r9d, dword [rbp - 0x5c]
call sub.KERNEL32.dll_GetLocaleInfoEx
lea rcx, [rbp - 0x98]
call fcn.140003b70
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x58], rcx
mov ecx, dword [rbp - 0x50]
movzx ecx, cx
mov edx, dword [rbp + 0x20]
movzx edx, dx
cmp ecx, edx
jne 0x1400bbb17
mov rcx, qword [rbp + 0x18]
mov edx, 0x1f
call fcn.1400c1440
mov rcx, rax
call fcn.1400c1620
mov rsi, rax
mov rcx, qword [rbp + 0x18]
mov edx, 0x20
call fcn.1400c1440
mov rcx, rax
call fcn.1400c1620
mov rbx, rax
mov rdx, qword [rbp + 0x10]
add rdx, 0x10
mov rcx, rsi
call fcn.1400bbb30
mov rsi, qword [rbp + 0x10]
lea rdx, [rsi + 0x20]
mov rcx, rbx
call fcn.1400bbb30
mov eax, edi
movzx eax, al
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret