joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140086420
Capabilities:
Get disk information
Get system information on windows
Hash data using fnv
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140146028]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rsi, rcx
xor ebx, ebx
mov dword [rbp - 0x59], ebx
mov dword [rbp - 0x51], ebx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x59]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140132df8]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x14008662d
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftCryptography
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008662d
lea rax, [rbp - 0x55]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0xf]
xor r8d, r8d
lea rdx, str.MachineGuid
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14008662d
mov edx, dword [rbp - 0x55]
xor r8d, r8d
lea rcx, [rbp - 0x11]
call fcn.14000a3f0
nop
lea rax, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rax, qword [rbp - 0x11]
lea rcx, [rbp - 0x55]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.MachineGuid
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140086624
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rcx, qword [rbp - 0x11]
movsx eax, byte [rcx]
mov ebx, 0x811c9dc5
test al, al
jne 0x14008654f
mov edi, ebx
jmp 0x140086561
xor eax, ebx
imul edx, eax, 0x1000193
inc rcx
call fcn.140002a70
mov edi, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
lea rcx, [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx edx, word [rbp - 0x13]
movzx r8d, word [rbp - 0x15]
add edx, dword [rbp - 0x21]
add r8d, edx
add r8d, edi
add r8d, dword [rbp - 0x51]
add r8d, dword [rbp - 0x59]
lea r9, [rbp + 0x4c]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x1400865a0
lea r8, [rbp + 0x4c]
mov rdx, r9
lea rcx, [rbp + 0x17]
call fcn.140011db0
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0x10
cmovae rcx, qword [rbp + 0x17]
movsx eax, byte [rcx]
test al, al
je 0x140086601
xor eax, ebx
imul edx, eax, 0x1000193
inc rcx
call fcn.140002a70
mov ebx, eax
mov dword [rsi], ebx
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x17]
call fcn.14000bb40
nop
lea rcx, [rbp - 0x11]
call fcn.14000bb40
mov al, 1
jmp 0x14008662f
lea rcx, [rbp - 0x11]
call fcn.14000bb40
xor al, al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400e7ab0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14008c320
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x4a8], rbx
mov rax, qword [0x140146028]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov r15, rdx
mov dword [rbp], 0x438
mov edx, dword [rcx + 8]
mov esi, 8
mov ecx, esi
mov rdi, r8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r12d, r12d
movabs r13, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r12w
jne 0x14008c3a0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14008c41a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14008c3cb
mov rcx, r13
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400e8da0
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14008c41a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r12
xor edx, edx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x30]
mov r9d, 0xffffffff
mov byte [rbx], r12b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r12
jmp 0x14008c41d
mov rbx, r12
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x14008c42a
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x14008c442
inc rbx
test eax, eax
jne 0x14008c430
test ecx, ecx
mov rcx, r14
je 0x14008c479
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14008c390
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x438
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
jmp 0x14008c501
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
lea rax, [rbp]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rsi, 1
jne 0x14008c490
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
mov rax, qword [rax + 0x30]
movups xmmword [rcx + 0x10], xmm1
movups xmmword [rcx + 0x20], xmm0
mov qword [rcx + 0x30], rax
mov rcx, rdi
call fcn.14000bb40
mov rax, r15
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.1400e7ab0
mov rbx, qword [rbp + 0x4a8]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008c540
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x140146028]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14008c5c0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14008c63a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14008c5eb
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400e8da0
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14008c63a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x2c]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x14008c63d
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rcx, rdi
jb 0x14008c64a
mov rcx, qword [rdi]
sub rcx, rbx
nop dword [rax]
movzx edx, byte [rbx]
movzx eax, byte [rbx + rcx]
sub edx, eax
jne 0x14008c662
inc rbx
test eax, eax
jne 0x14008c650
mov rcx, rsi
test edx, edx
je 0x14008c690
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14008c5b0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.14000bb40
xor eax, eax
jmp 0x14008c6a3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp + 8]
mov rcx, rdi
call fcn.14000bb40
mov eax, ebx
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.1400e7ab0
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rbp
ret
Function at 0x14009a44c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140146028]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rdi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov esi, dword [rbx + 0x14]
mov eax, esi
mov r14d, dword [rbx + 4]
cmp esi, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x14009a57f
cmp esi, r14d
mov eax, r14d
cmovg eax, esi
cmp r9d, eax
jg 0x14009a57f
cmp esi, r14d
jne 0x14009a4e2
sub rbx, 0x10
jmp 0x14009a5c9
mov edx, dword [rdi + 0x88]
xor r9d, r9d
cmp esi, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x14009a542
mov eax, dword [rdi + 4]
mov ecx, eax
neg ecx
cmp esi, r14d
jge 0x14009a510
dec eax
add eax, esi
and eax, ecx
sub eax, esi
jmp 0x14009a516
and ecx, esi
mov eax, esi
sub eax, ecx
cmp eax, dword [rdi + 8]
setge r10b
test edx, edx
je 0x14009a530
mov dl, r10b
mov rcx, rdi
call fcn.140099ce8
test al, al
jne 0x14009a57b
mov r8b, r10b
mov edx, r9d
mov rcx, rdi
call fcn.140099c1c
test al, al
jne 0x14009a57b
mov ecx, dword [rdi + 0x60]
lea r9, [0x140099e04]
mov eax, dword [rdi + 0x64]
mov r8, rbx
mov dword [rsp + 0x28], eax
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rdi
cmp esi, r14d
jge 0x14009a56e
call fcn.14009a0a8
jmp 0x14009a573
call fcn.14009a21c
test al, al
je 0x14009a4d9
mov al, 1
jmp 0x14009a5e3
mov eax, dword [rbx + 8]
lea r8, [rbx + 0x10]
mov ecx, dword [r8]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], esi
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [rsi + r9]
mov dword [r8], eax
mov eax, ecx
sar eax, 1
sar edx, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0xc], edx
mov dword [rbx + 0x14], eax
mov rbx, r8
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x14009a5da
mov ebp, dword [rbx]
jmp 0x14009a4a5
mov dword [rdi + 0x58], ebp
xor al, al
mov dword [rdi + 0x5c], r14d
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400e7ab0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14009a60c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x350
mov rax, qword [0x140146028]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov r14d, dword [rsp + 0x398]
mov rdi, rcx
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0x5c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x390]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3a0]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x44], r8d
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], r14d
mov esi, dword [rbx + 0x1c]
mov ecx, esi
mov ebp, dword [rbx + 4]
cmp esi, ebp
mov r8d, dword [rbx + 0x14]
mov eax, r8d
mov edx, dword [rbx + 0xc]
cmovg ecx, ebp
cmp r8d, edx
cmovg eax, edx
cmp eax, ecx
jl 0x14009a75c
cmp esi, ebp
mov eax, ebp
cmovg eax, esi
cmp r8d, edx
cmovg edx, r8d
cmp edx, eax
jg 0x14009a75c
cmp esi, ebp
jne 0x14009a6c2
sub rbx, 0x18
jmp 0x14009a768
mov edx, dword [rdi + 0x88]
xor r9d, r9d
cmp esi, ebp
setg r9b
inc r9d
cmp edx, r9d
je 0x14009a720
mov eax, dword [rdi + 4]
mov ecx, eax
neg ecx
cmp esi, ebp
jg 0x14009a6ee
dec eax
add eax, esi
and eax, ecx
sub eax, esi
jmp 0x14009a6f4
and ecx, esi
mov eax, esi
sub eax, ecx
cmp eax, dword [rdi + 8]
setge r10b
test edx, edx
je 0x14009a70e
mov dl, r10b
mov rcx, rdi
call fcn.140099ce8
test al, al
jne 0x14009a758
mov r8b, r10b
mov edx, r9d
mov rcx, rdi
call fcn.140099c1c
test al, al
jne 0x14009a758
mov ecx, dword [rdi + 0x60]
lea r9, [fcn.140099e5c]
mov eax, dword [rdi + 0x64]
mov r8, rbx
mov dword [rsp + 0x28], eax
mov edx, 3
mov dword [rsp + 0x20], ecx
mov rcx, rdi
cmp esi, ebp
jg 0x14009a74b
call fcn.14009a0a8
jmp 0x14009a750
call fcn.14009a21c
test al, al
je 0x14009a6b9
mov al, 1
jmp 0x14009a783
mov rcx, rbx
call fcn.140099e5c
add rbx, 0x18
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x14009a77a
mov r14d, dword [rbx]
jmp 0x14009a67a
mov dword [rdi + 0x58], r14d
xor al, al
mov dword [rdi + 0x5c], ebp
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.1400e7ab0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14009aab4
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r14d, r14d
sub rax, 0x34
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x28], rax
mov ebp, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r14w
lea r15d, [r14 + 1]
mov dword [rcx + 0x3c], r14d
mov esi, r14d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r14w
cmp r14w, word [rcx + 0xb8]
jge 0x14009ac02
movzx r10d, r14w
mov edi, r14d
mov rax, qword [rbx + 0xd0]
mov r9d, ebp
mov dword [rbx + 0x88], r14d
movzx edx, r10w
mov qword [rbx + 0x80], r14
mov rcx, rbx
movzx r8d, word [rdi + rax]
call fcn.14009a7ac
test al, al
jne 0x14009ac9a
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r10d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x14009ab91
cmp edx, dword [rbx + 0x60]
jl 0x14009ab91
cmp edx, dword [rbx + 0x64]
jg 0x14009ab91
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x14009ab91
mov rax, qword [rbx + 0x70]
mov cl, byte [rax + 0x18]
xor cl, byte [r9 + 0x18]
test cl, 8
jne 0x14009ab91
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x14009abb4
test byte [r9 + 0x18], 8
je 0x14009abb4
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x14009abc5
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.140099ce8
test al, al
jne 0x14009ac9a
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x14009abe8
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
add esi, r15d
add rdi, 2
add r10w, r15w
cmp esi, eax
jl 0x14009ab1a
movzx r11d, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp r11w, r15w
jbe 0x14009ac9f
test rdx, rdx
je 0x14009ac9f
lea rdi, [rdx + 8]
cmp r11w, r15w
jbe 0x14009ac36
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x14009ac39
mov r10, r14
mov qword [rdi], r10
test byte [rdx + 0x18], 8
mov r10d, dword [rdx + 0x20]
mov r8d, r10d
mov eax, dword [rdx + 0x1c]
je 0x14009ac54
dec r10d
add r10d, eax
jmp 0x14009ac6b
sub r8d, eax
add r8d, r15d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.140099d7c
test al, al
jne 0x14009ac9a
lea edx, [r10 + 1]
mov rcx, rbx
call fcn.140099d7c
test al, al
jne 0x14009ac9a
mov rdx, qword [rdi]
mov eax, 0xffff
add r11w, ax
je 0x14009aca3
jmp 0x14009ac1e
mov al, r15b
jmp 0x14009acae
mov qword [rbx + 0x78], r14
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400e5ee8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor r10d, r10d
mov r11, rdx
mov r9d, ecx
test rdx, rdx
je 0x1400e5f6d
lea rdi, [0x14012b850]
not r9d
cmp r8d, 8
jb 0x1400e5f44
mov edx, r8d
shr rdx, 3
add r8d, 0xfffffff8
mov ebx, 8
movzx ecx, byte [r11]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r11
xor r9d, dword [rdi + rax*4]
sub rbx, 1
jne 0x1400e5f20
sub rdx, 1
jne 0x1400e5f17
test r8d, r8d
je 0x1400e5f67
movzx ecx, byte [r11]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r11
xor r9d, dword [rdi + rax*4]
add r8d, 0xffffffff
jne 0x1400e5f49
not r9d
mov r10d, r9d
mov rbx, qword [rsp + 8]
mov eax, r10d
mov rdi, qword [rsp + 0x10]
ret

Function at 0x1400e70c0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400e7144
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400edac0]
cmp byte [rcx + rax], 0
je 0x1400e7144
dec r8
sub rdx, 1
jne 0x1400e712a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400e8a14
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e8a5e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400e8a5e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400e8a5e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400e8a5e
cmp dword [rcx + 0x84], 0xe
jbe 0x1400e8a5e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400e8a60
xor al, al
add rsp, 0x28
ret
Function at 0x140625058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406251df
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 0x140625089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14062506f
add dl, dl
jne 0x140625096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406250f6
xor eax, eax
add dl, dl
jne 0x1406250a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406251ad
add dl, dl
jne 0x1406250b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406250c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406250d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406250dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406250ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14062507e
mov eax, 1
add dl, dl
jne 0x140625106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140625113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406250fb
sub eax, ebx
mov ebx, 1
jne 0x14062514c
mov ecx, 1
add dl, dl
jne 0x14062512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14062513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140625123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140625168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140625175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14062515d
cmp eax, 0x7d00
jae 0x14062519b
cmp eax, 0x500
jb 0x140625196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062507e
cmp eax, 0x7f
ja 0x14062519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406251d2
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 0x14062507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x141a38058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141a381df
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 0x141a38089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a3806f
add dl, dl
jne 0x141a38096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a380f6
xor eax, eax
add dl, dl
jne 0x141a380a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a381ad
add dl, dl
jne 0x141a380b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a380c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a380d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a380dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141a380ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141a3807e
mov eax, 1
add dl, dl
jne 0x141a38106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a38113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a380fb
sub eax, ebx
mov ebx, 1
jne 0x141a3814c
mov ecx, 1
add dl, dl
jne 0x141a3812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141a3813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a38123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a3807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141a38168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141a38175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a3815d
cmp eax, 0x7d00
jae 0x141a3819b
cmp eax, 0x500
jb 0x141a38196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a3807e
cmp eax, 0x7f
ja 0x141a3819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a3807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141a381d2
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 0x141a3807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20