joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801145b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180114800
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1801146ca
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180114614
mov rax, qword [0x1802d4008]
cmp qword [rsp + 0x20], rax
ja 0x180114614
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1801145d6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x180114645
jmp 0x1801146ca
cmp dword [rsp + 0x50], 0x10000
jne 0x1801146ad
cmp qword [rsp + 0x48], 0x10000
jb 0x1801146ad
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18011468b
mov rax, qword [rsp + 0x28]
jmp 0x1801146cc
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x18011469b
xor eax, eax
jmp 0x1801146cc
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1801146c5
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180114800
mov qword [rsp + 0x20], rax
jmp 0x1801145d6
xor eax, eax
add rsp, 0x68
ret

Function at 0x1801146e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180114840
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1801147f6
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18011473b
mov rax, qword [0x1802d4008]
cmp qword [rsp + 0x20], rax
ja 0x18011473b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1801146fd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x18011476c
jmp 0x1801147f6
cmp dword [rsp + 0x50], 0x10000
jne 0x1801147d4
cmp qword [rsp + 0x48], 0x10000
jb 0x1801147d4
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1801147b2
mov rax, qword [rsp + 0x28]
jmp 0x1801147f8
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1801147c2
xor eax, eax
jmp 0x1801147f8
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1801147f1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180114840
mov qword [rsp + 0x20], rax
jmp 0x1801146fd
xor eax, eax
add rsp, 0x68
ret
Function at 0x180114890
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180114e20
mov qword [rsp + 0x28], 0
cmp qword [0x1802d6c28], 0
jne 0x1801148d8
cmp qword [0x1802d6c20], 0
je 0x1801148d8
mov rax, qword [0x1802d6c20]
mov qword [0x1802d6c28], rax
cmp qword [0x1802d6c28], 0
je 0x18011497e
mov rax, qword [0x1802d6c28]
cmp qword [rax + 0x10], 0
je 0x18011497e
mov rax, qword [0x1802d6c28]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18011497e
mov rax, qword [0x1802d6c28]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18011497e
mov rax, qword [0x1802d6c28]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180114944
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18011494b
xor eax, eax
jmp 0x180114af9
mov rax, qword [0x1802d6c28]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x180114af9
mov rax, qword [0x1802d6c20]
mov qword [0x1802d6c28], rax
jmp 0x1801149a0
mov rax, qword [0x1802d6c28]
mov rax, qword [rax + 8]
mov qword [0x1802d6c28], rax
cmp qword [0x1802d6c28], 0
je 0x1801149ed
cmp qword [0x1802d6c28], 0
je 0x1801149eb
mov rax, qword [0x1802d6c28]
cmp qword [rax + 0x10], 0
je 0x1801149eb
mov rax, qword [0x1802d6c28]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1801149eb
mov rax, qword [0x1802d6c28]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1801149eb
jmp 0x18011491c
jmp 0x18011498e
mov rcx, qword [rsp + 0x60]
call fcn.180116cc0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180114b00
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180114af7
mov rax, qword [rsp + 0x48]
mov qword [0x1802d6c28], rax
mov rax, qword [0x1802d6c28]
mov dword [rax], 0x52727464
mov rax, qword [0x1802d6c28]
mov qword [rax + 0x10], 0
mov rax, qword [0x1802d6c28]
mov rcx, qword [0x1802d6c20]
mov qword [rax + 8], rcx
mov rax, qword [0x1802d6c28]
mov qword [0x1802d6c20], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1802d6c28]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180114aa8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180114ae2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x180114a9e
mov rax, qword [0x1802d6c28]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18011491c
xor eax, eax
add rsp, 0x58
ret
Function at 0x180115810
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180115857
xor al, al
jmp 0x1801158f9
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x180115881
xor al, al
jmp 0x1801158f9
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x1801158f1
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x1801158f1
mov al, 1
jmp 0x1801158f9
jmp 0x1801158f7
xor al, al
add rsp, 0x78
ret

Function at 0x180115c00
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1802d6c20]
mov qword [rsp + 0x28], rax
jmp 0x180115c20
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180115c4f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x180115c4d
call sub.KERNEL32.dll_GetLastError
jmp 0x180115c51
jmp 0x180115c12
xor eax, eax
add rsp, 0x38
ret
Function at 0x180116310
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1802d6c38], eax
je 0x18011633d
mov eax, 0x10dd
jmp 0x180116556
cmp dword [0x1802d6c3c], 0
je 0x180116351
mov eax, dword [0x1802d6c3c]
jmp 0x180116556
cmp qword [rsp + 0x78], 0
jne 0x180116363
mov eax, 0x57
jmp 0x180116556
cmp qword [rsp + 0x70], 0
jne 0x180116375
mov eax, 6
jmp 0x180116556
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x1801163a7
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x1802d6c3c], eax
mov rax, qword [rsp + 0x70]
mov qword [0x1802d6c40], rax
mov eax, dword [rsp + 0x20]
jmp 0x180116556
mov ecx, 0x30
call fcn.180118670
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180116419
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x1802d6c3c], eax
cmp qword [rsp + 0x30], 0
je 0x180116404
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.180118be0
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x1802d6c40], rax
mov eax, dword [rsp + 0x20]
jmp 0x180116556
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.1801162e0
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.1801162e0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x180116476
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x180116493
mov dword [rsp + 0x20], 9
cmp dword [0x1802d6c30], 0
je 0x18011648e
jmp 0x1801163da
jmp 0x1801163d0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x1801164c0
mov dword [rsp + 0x20], 9
cmp dword [0x1802d6c30], 0
je 0x1801164bb
jmp 0x1801163da
jmp 0x1801163d0
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1801164f7
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1801163d0
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x1802d6c50]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x1802d6c50], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x180116560
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1802d6c38], eax
je 0x18011657b
mov eax, 0x10dd
jmp 0x1801166a0
mov rax, qword [0x1802d6c50]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180116625
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x1801165f0
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x1801165f0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.180114f60
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.180118be0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x180116587
mov qword [0x1802d6c50], 0
call fcn.1801159c0
mov rax, qword [0x1802d6c48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180116689
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.180118be0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x180116641
mov qword [0x1802d6c48], 0
mov dword [0x1802d6c38], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x180116bd0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x1802d6c3c], 0
je 0x180116bed
mov eax, dword [0x1802d6c3c]
jmp 0x180116cb3
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x180116c00
xor eax, eax
jmp 0x180116cb3
mov ecx, 0x10
call fcn.180118670
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180116c6e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x180116c53
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.180118be0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x1802d6c3c], eax
mov qword [0x1802d6c40], 0
mov eax, dword [rsp + 0x20]
jmp 0x180116cb3
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x180116c88
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180116c29
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1802d6c48]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1802d6c48], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x180118460
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 0x1801184e4
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180146980]
cmp byte [rcx + rax], 0
je 0x1801184e4
dec r8
sub rdx, 1
jne 0x1801184ca
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140004ce0
Capabilities:
Get file version info

Disassembly:
push rbx
sub rsp, 0x290
mov rax, qword [0x1400f63f8]
xor rax, rsp
mov qword [rsp + 0x258], rax
xor r8d, r8d
mov qword [rsp + 0x38], rcx
mov rbx, rcx
lea rax, [rsp + 0x58]
mov r9d, 0x200
mov qword [rsp + 0x20], rax
lea ecx, [r8 + 2]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
test eax, eax
je 0x140004ed6
xor eax, eax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], rax
lea rdx, [0x1400d9960]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x58]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140004ed6
cmp dword [rsp + 0x30], 0x34
jne 0x140004efd
mov rcx, qword [rsp + 0x40]
cmp dword [rcx], 0xfeef04bd
jne 0x140004ebc
mov eax, dword [rcx + 0xc]
mov ebx, dword [rcx + 0x2c]
mov edx, ebx
mov r9d, dword [rcx + 0x20]
mov r10d, dword [rcx + 0x24]
mov r11d, dword [rcx + 0x28]
mov r8d, dword [rcx + 0x30]
mov qword [rsp + 0x2b0], rbp
mov qword [rsp + 0x288], rsi
mov qword [rsp + 0x280], rdi
mov edi, dword [rcx + 0x1c]
and edi, dword [rcx + 0x18]
mov qword [rsp + 0x278], r12
mov r12d, dword [rcx + 0x10]
mov ebp, r12d
mov qword [rsp + 0x270], r13
mov r13d, dword [rcx + 8]
mov qword [rsp + 0x268], r14
mov r14d, dword [rcx + 0x14]
mov esi, r14d
mov qword [rsp + 0x260], r15
mov ecx, r8d
mov r15d, eax
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x38]
shr r15d, 0x10
mov dword [rsp + 0x50], r15d
mov r15, qword [rsp + 0x38]
mov byte [rax + 0x28], 1
mov eax, r13d
shr ebp, 0x10
shr esi, 0x10
shr edx, 0x10
shr ecx, 0x10
shr eax, 0x10
mov word [r15], ax
mov rax, r15
mov r15d, dword [rsp + 0x50]
mov word [rax + 2], r13w
mov r13, rax
mov word [rax + 4], r15w
mov eax, dword [rsp + 0x54]
mov word [r13 + 6], ax
mov rax, r13
mov word [r13 + 8], bp
mov word [r13 + 0xa], r12w
mov word [r13 + 0xc], si
mov word [r13 + 0xe], r14w
mov dword [r13 + 0x10], edi
mov dword [r13 + 0x14], r9d
mov dword [r13 + 0x18], r10d
mov dword [r13 + 0x1c], r11d
mov word [r13 + 0x20], dx
mov word [r13 + 0x22], bx
mov word [r13 + 0x24], cx
mov word [r13 + 0x26], r8w
mov r15, qword [rsp + 0x260]
mov r14, qword [rsp + 0x268]
mov r13, qword [rsp + 0x270]
mov r12, qword [rsp + 0x278]
mov rdi, qword [rsp + 0x280]
mov rsi, qword [rsp + 0x288]
mov rbp, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.140085660
add rsp, 0x290
pop rbx
ret
mov rax, qword [0x1400fe070]
mov byte [rbx + 0x28], 0
mov qword [rbx + 8], rax
mov rax, rbx
mov dword [rbx], 0x68
jmp 0x140004ea3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rax, [0x1400fe0c8]
mov qword [rsp + 0x48], rax
mov rax, rbx
movups xmm0, xmmword [rsp + 0x40]
mov byte [rbx + 0x28], 0
movups xmmword [rbx], xmm0
jmp 0x140004ea3
mov rax, qword [0x1400fe070]
mov byte [rbx + 0x28], 0
mov qword [rbx + 8], rax
mov rax, rbx
mov dword [rbx], 0x73
jmp 0x140004ea3
Function at 0x140005470
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400f63f8]
xor rax, rsp
mov qword [rbp + 0x168], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor esi, esi
mov qword [rbp + 0x150], rsi
lea rax, [rsp + 0x50]
mov qword [rbp + 0x158], rax
mov dword [rbp + 0x160], 0x200
mov edx, 0x100
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test eax, eax
je 0x14000554e
nop dword [rax]
mov edx, dword [rbp + 0x160]
mov eax, edx
shr eax, 1
mov r8d, ecx
cmp ecx, eax
jb 0x1400055ac
lea rbx, [r8 + r8]
cmp rbx, rdx
jbe 0x140005536
mov rcx, rbx
call fcn.140084c04
mov rcx, qword [rbp + 0x150]
mov qword [rbp + 0x150], rax
test rcx, rcx
je 0x140005525
call fcn.140085680
mov rax, qword [rbp + 0x150]
mov edx, ebx
mov dword [rbp + 0x160], ebx
mov qword [rbp + 0x158], rax
jmp 0x14000553d
mov rax, qword [rbp + 0x158]
shr edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test eax, eax
jne 0x1400054e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rax, [0x1400fe0c8]
mov qword [rsp + 0x28], rax
mov byte [rdi + 0x20], 0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
mov rcx, qword [rbp + 0x150]
test rcx, rcx
je 0x140005581
call fcn.140085680
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rsp
call fcn.140085660
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov rdx, qword [rbp + 0x158]
lea rcx, [rsp + 0x30]
call fcn.140003b60
mov byte [rdi + 0x20], 1
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm1
jmp 0x140005570
Function at 0x140012f90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x50]
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov r13, r9
mov rbx, qword [rsp + 0x68]
mov r12, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov rax, qword [r14]
cmp rax, r9
je 0x140013124
mov r15, qword [rsp + 0x60]
lea r9d, [rbp + 1]
mov rdi, qword [rbx]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp rdi, r15
je 0x140013124
movzx edx, word [r12]
xor sil, sil
movzx ecx, word [rax]
cmp r9w, dx
jae 0x14001302b
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x14001314b
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x140013042
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x140013042
shl eax, 0xa
mov sil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140013055
movzx r8d, al
mov r10d, ebp
mov r11d, ebp
jmp 0x1400130a2
mov r8d, eax
cmp eax, 0x800
jae 0x14001306f
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x1400130a2
cmp eax, 0x10000
jae 0x140013089
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x1400130a2
shr r8d, 0x12
mov r10d, 3
movzx r11d, sil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, r15
sub rdx, rdi
mov ecx, r9d
cmp rdx, rcx
jl 0x140013124
add qword [r14], 2
test sil, sil
jne 0x1400130c3
cmp r10d, 3
jae 0x1400130cf
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
test r9d, r9d
je 0x140013101
lea r8d, [r10 + r10*2]
add r8d, r8d
nop dword [rax + rax]
sub r8d, 6
mov edx, eax
mov ecx, r8d
dec r9d
shr edx, cl
mov rcx, qword [rbx]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [rbx]
test r9d, r9d
jg 0x1400130e0
shr eax, 0xa
mov r9d, 1
test sil, sil
mov ecx, r9d
cmovne ecx, eax
mov word [r12], cx
mov rax, qword [r14]
cmp rax, r13
jne 0x140012fdf
mov rax, qword [rsp + 0x40]
cmp rax, qword [r14]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 2
jmp 0x140013132
Function at 0x14001795c
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1400f63f8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rdx
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140005910
cmp qword [rsp + 0x60], 8
lea rcx, [rsp + 0x48]
mov edx, 0x80000000
cmovae rcx, qword [rsp + 0x48]
xor r9d, r9d
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000000
mov dword [rsp + 0x20], 3
lea r14d, [r9 + 1]
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140017a63
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140017a55
mov rbp, qword [rsp + 0x40]
test rbp, rbp
jle 0x140017a55
and qword [rsp + 0x28], 0
lea r8d, [r14 + 1]
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
test rax, rax
je 0x140017a55
and qword [rsp + 0x20], 0
lea edx, [r14 + 3]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x140017a46
mov qword [rsi + 0x10], rbp
mov qword [rsi + 8], rax
mov qword [rsi + 0x18], rdi
mov qword [rsi + 0x20], rbx
jmp 0x140017a66
cmp rbx, 0xffffffffffffffff
je 0x140017a55
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140017a63
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r14b, r14b
lea rcx, [rsp + 0x48]
call fcn.140002410
mov al, r14b
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140085660
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret