joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400802e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400803a8
lea edi, [rax + 1]
mov ecx, edi
mov eax, 2
mul rcx
mov rsi, 0xffffffffffffffff
cmovo rax, rsi
mov rcx, rax
call fcn.14005c32c
mov rbp, rax
mov qword [rsp + 0x28], rax
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140080396
inc rsi
cmp word [rbp + rsi*2], 0
jne 0x140080354
xor ecx, ecx
mov qword [rbx], rcx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 7
mov word [rbx], cx
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1400043e0
nop
test rbp, rbp
je 0x1400803c6
mov edx, 2
mov rcx, rbp
call fcn.14005be00
jmp 0x1400803c6
test rbp, rbp
je 0x1400803a8
mov edx, 2
mov rcx, rbp
call fcn.14005be00
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
xor ecx, ecx
mov qword [rbx], rcx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 7
mov word [rbx], cx
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005bde0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x140080570
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x140080638
lea edi, [rax + 1]
mov ecx, edi
mov eax, 2
mul rcx
mov rsi, 0xffffffffffffffff
cmovo rax, rsi
mov rcx, rax
call fcn.14005c32c
mov rbp, rax
mov qword [rsp + 0x28], rax
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x140080626
inc rsi
cmp word [rbp + rsi*2], 0
jne 0x1400805e4
xor ecx, ecx
mov qword [rbx], rcx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 7
mov word [rbx], cx
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1400043e0
nop
test rbp, rbp
je 0x140080656
mov edx, 2
mov rcx, rbp
call fcn.14005be00
jmp 0x140080656
test rbp, rbp
je 0x140080638
mov edx, 2
mov rcx, rbp
call fcn.14005be00
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
xor ecx, ecx
mov qword [rbx], rcx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 7
mov word [rbx], cx
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005bde0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140086d20
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdi, rcx
mov dword [rsp + 0x20], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x60]
call fcn.14009ba90
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.14006a900
nop
lea rdx, str.err:0x
lea rcx, [rsp + 0x70]
call fcn.14005d6c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14006cc40
nop
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov rcx, qword [rbp - 0x18]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140086e0d
mov rax, qword [rbp - 0x48]
mov r8, qword [rax]
test r8, r8
je 0x140086e0d
mov rax, qword [rbp - 0x68]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x20]
cmovb r8, qword [rbp - 0x20]
sub r8, rdx
jmp 0x140086e3e
test cl, 4
jne 0x140086e34
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax]
test rcx, rcx
je 0x140086e34
mov rax, qword [rbp - 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x38]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140086e3e
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140086e4e
lea rcx, [rsp + 0x28]
call fcn.140004810
nop
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.1400131f0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140086e95
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140086e8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140086ec0
call fcn.14005be00
nop
lea rcx, [rsp + 0x60]
call fcn.14006d3b0
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14005bde0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400a8018
nop
int3

Function at 0x140088230
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140088272
mov ecx, 0x19
int 0x29
test byte [rsp + 0x44], 0x44
je 0x1400882cd
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x54]
mov ecx, r9d
neg rcx
and rcx, rbx
lea edx, [r9 - 1]
mov eax, edx
and edx, ebx
and eax, edi
add eax, edx
xor edx, edx
dec rax
add rax, r9
div r9
xor edx, edx
mov r8, rax
mov rax, rdi
div r9
add r8, rax
mov eax, r8d
test r8d, r8d
je 0x1400882cd
nop
lock or dword [rcx], 0
add rcx, r9
sub rax, 1
jne 0x1400882c0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14005bde0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
Function at 0x1400882f0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movsxd r8, dword [0x14000003c]
lea rbx, [0x140000000]
add r8, rbx
mov rsi, rdx
mov ebp, ecx
cmp dword [r8 + 0x84], 0xd
jbe 0x140088371
mov r9d, dword [r8 + 0xf0]
test r9d, r9d
je 0x140088371
movzx eax, word [r8 + 0x14]
lea rcx, [r8 + 0x18]
movzx r11d, word [r8 + 6]
add rcx, rax
mov r10d, dword [r9 + rbx + 0xc]
xor edx, edx
test r11d, r11d
je 0x140088371
nop dword [rax]
mov r8d, dword [rcx + 0xc]
cmp r10d, r8d
jb 0x140088366
mov r9d, dword [rcx + 8]
lea eax, [r9 + r8]
cmp r10d, eax
jb 0x14008838c
inc edx
add rcx, 0x28
cmp edx, r11d
jb 0x140088350
mov dword [rsi], 4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rcx + 0x24]
mov rdi, r8
add rdi, rbx
je 0x140088371
cmp dword [0x1400fc150], 0
jne 0x1400883c5
mov dword [0x1400fc150], 1
test eax, eax
js 0x1400883b5
mov ecx, 0x19
int 0x29
mov rdx, r9
mov rcx, rdi
mov rbx, r9
call fcn.140088230
jmp 0x1400883c8
mov rbx, r9
mov r9, rsi
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140088377
mov ecx, 0x19
int 0x29
jmp 0x140088377

Function at 0x140095210
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x50], rax
add rdx, 0xffffffffffff0000
mov rdi, rcx
movzx eax, dx
mov rbx, rdx
sub rbx, rax
test rax, rax
cmove rbx, rdx
cmp rbx, rcx
jbe 0x140095305
nop dword [rax]
cmp rbx, qword [0x1400f8200]
jb 0x14009526e
cmp rbx, qword [0x1400f8208]
ja 0x14009526e
sub rbx, 0x8000000
jmp 0x1400952fc
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
je 0x140095305
cmp dword [rsp + 0x40], 0x10000
jne 0x1400952e0
cmp qword [rsp + 0x38], 0x10000
jb 0x1400952e0
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call sub.KERNEL32.dll_VirtualAlloc
test rax, rax
jne 0x140095307
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
je 0x140095305
sub rbx, 0x10000
jmp 0x1400952fc
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffff0000
movzx eax, cx
mov rbx, rcx
sub rbx, rax
test rax, rax
cmove rbx, rcx
cmp rbx, rdi
ja 0x140095250
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14005bde0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x140095320
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x50], rax
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x140095351
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x140095417
nop word [rax + rax]
cmp rbx, qword [0x1400f8200]
jb 0x14009537e
cmp rbx, qword [0x1400f8208]
ja 0x14009537e
add rbx, 0x8000000
jmp 0x14009540e
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
je 0x140095417
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x1400953f3
cmp rcx, 0x10000
jb 0x1400953f3
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call sub.KERNEL32.dll_VirtualAlloc
test rax, rax
jne 0x140095419
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
je 0x140095417
add rbx, 0x10000
jmp 0x14009540e
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x14009540e
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x140095360
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14005bde0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140095440
Capabilities:
Hook routines via microsoft detours

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [rcx - 0x7ff80000]
mov r9, rcx
cmp rcx, 0x7ff80000
ja 0x14009545e
mov ebx, 0x80000
mov qword [rsp + 0x30], rdi
lea rdi, [rcx + 0x7ff80000]
cmp r9, 0xffffffff80000000
jb 0x14009547a
mov rdi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x140095491
cmp byte [rcx + 1], 0x25
jne 0x1400954d5
movsxd rax, dword [rcx + 2]
add rcx, 6
jmp 0x14009549d
cmp al, 0xe9
jne 0x1400954d5
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
cmp rcx, r9
jae 0x1400954c0
cmp rcx, 0xffffffff80000000
jae 0x1400954b7
lea rdi, [rcx + 0x7ff80000]
jmp 0x1400954d5
mov rdi, 0xfffffffffff80000
jmp 0x1400954d5
lea rbx, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x1400954d5
mov ebx, 0x80000
mov rax, qword [0x1400fc160]
mov rcx, qword [0x1400fc158]
test rax, rax
jne 0x1400954f7
test rcx, rcx
je 0x14009550e
mov rax, rcx
mov qword [0x1400fc160], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14009550e
cmp rdx, rbx
jb 0x14009550e
cmp rdx, rdi
jbe 0x1400955b9
mov qword [0x1400fc160], rcx
mov rax, rcx
test rcx, rcx
je 0x140095549
test rcx, rcx
je 0x140095539
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x140095539
cmp rcx, rbx
jb 0x140095539
cmp rcx, rdi
jbe 0x1400955b9
mov rax, qword [rax + 8]
mov qword [0x1400fc160], rax
test rax, rax
jne 0x140095522
movzx eax, r9w
mov r8, rdi
sub r9, rax
mov rdx, rbx
mov rcx, r9
call fcn.140095610
test rax, rax
je 0x1400955fc
mov dword [rax], 0x52727464
lea rdx, [rax + 0xffa8]
xor r8d, r8d
mov qword [0x1400fc160], rax
mov qword [rax + 0x10], r8
mov r9d, 0x2a7
mov rcx, qword [0x1400fc158]
mov qword [rax + 8], rcx
lea rcx, [rax + 0xff60]
mov qword [0x1400fc158], rax
mov qword [rdx], r8
lea rdx, [rdx - 0x60]
mov r8, rcx
sub rcx, 0x60
sub r9, 1
jne 0x1400955a1
mov qword [rax + 0x10], r8
mov rdx, qword [rax + 0x10]
cmp rdx, rbx
jb 0x1400955fc
cmp rdx, rdi
ja 0x1400955fc
mov rcx, qword [rdx + 0x48]
movdqa xmm0, xmmword [0x1400d2770]
mov qword [rax + 0x10], rcx
mov rax, rdx
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x50], xmm0
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x140095930
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x14009596c
xor al, al
jmp 0x1400959bb
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x14009597d
xor al, al
jmp 0x1400959bb
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x1400959a4
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x1400959a4
mov al, 1
jmp 0x1400959bb
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14005bde0
add rsp, 0x60
pop rbx
ret
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14005bde0
add rsp, 0x60
pop rbx
ret
Function at 0x140095f20
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rsi
sub rsp, 0x38
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbp, rdx
mov rsi, rcx
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1400fc170], eax
je 0x140095f53
mov eax, 0x10dd
jmp 0x14009607c
mov eax, dword [0x1400fc174]
test eax, eax
jne 0x14009607c
test rbp, rbp
jne 0x140095f6e
lea eax, [rbp + 0x57]
jmp 0x14009607c
test rsi, rsi
je 0x140095f8a
cmp qword [rsi], 0
jne 0x140095f94
mov dword [0x1400fc174], 6
mov qword [0x1400fc178], rsi
mov eax, 6
jmp 0x14009607c
mov qword [rsp + 0x60], rbx
mov ecx, 0x30
mov qword [rsp + 0x30], rdi
call fcn.14005c0a0
mov rbx, rax
test rax, rax
jne 0x140095fb8
lea edi, [rax + 8]
jmp 0x140096051
mov rcx, qword [rsi]
xor edx, edx
call fcn.140095e70
xor edx, edx
mov rcx, rbp
mov rdi, rax
call fcn.140095e70
movzx ecx, byte [rdi + 0x3e]
mov rbp, qword [rdi + 0x48]
sub rbp, rcx
test cl, cl
je 0x140096043
mov edx, ecx
cmp rcx, 0x1e
ja 0x140096043
cmp qword [rdi + 0x50], rax
jne 0x140096043
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov r8d, 0x40
mov rcx, rbp
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x140096014
call sub.KERNEL32.dll_GetLastError
mov edi, eax
jmp 0x140096051
mov dword [rbx + 8], 1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x18], rbp
mov eax, dword [rsp + 0x20]
mov dword [rbx + 0x28], eax
mov rax, qword [0x1400fc188]
mov qword [rbx], rax
xor eax, eax
mov qword [0x1400fc188], rbx
jmp 0x140096072
cmp dword [0x1400fc168], 0
mov edi, 9
jne 0x14009605c
mov dword [0x1400fc174], edi
test rbx, rbx
je 0x140096069
mov edx, 0x30
mov rcx, rbx
call fcn.14005be00
mov qword [0x1400fc178], rsi
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005bde0
add rsp, 0x38
pop rsi
pop rbp
ret
Function at 0x140096090
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x28], rax
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1400fc170], eax
je 0x1400960c7
mov eax, 0x10dd
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005bde0
add rsp, 0x38
ret
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x1400fc188]
mov qword [rsp + 0x48], rsi
xor esi, esi
mov qword [rsp + 0x30], rdi
test rbx, rbx
je 0x140096164
nop dword [rax + rax]
mov rax, qword [rbx + 0x20]
lea r9, [rsp + 0x20]
mov r8d, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x18]
movzx edx, byte [rax + 0x3e]
call sub.KERNEL32.dll_VirtualProtect
cmp dword [rbx + 8], esi
jne 0x14009614c
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x14009614c
xorps xmm0, xmm0
mov rcx, rdx
movups xmmword [rdx], xmm0
and rcx, 0xffffffffffff0000
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x50], xmm0
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x48], rax
mov qword [rcx + 0x10], rdx
mov qword [rbx + 0x20], rsi
mov rdi, qword [rbx]
mov edx, 0x30
mov rcx, rbx
call fcn.14005be00
mov rbx, rdi
test rdi, rdi
jne 0x1400960f0
mov qword [0x1400fc188], rsi
call fcn.1400959d0
mov rdi, qword [0x1400fc180]
test rdi, rdi
je 0x1400961a1
nop dword [rax]
mov rcx, qword [rdi + 8]
call sub.KERNEL32.dll_ResumeThread
mov rbx, qword [rdi]
mov edx, 0x10
mov rcx, rdi
call fcn.14005be00
mov rdi, rbx
test rbx, rbx
jne 0x140096180
mov rdi, qword [rsp + 0x30]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov qword [0x1400fc180], rsi
mov dword [0x1400fc170], esi
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005bde0
add rsp, 0x38
ret

Function at 0x1400961e0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp dword [0x1400fc170], 0
jne 0x1400962a2
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x1400fc170], ecx
jne 0x1400962a2
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x1400fc158]
mov qword [rsp + 0x30], rdi
xor edi, edi
mov qword [0x1400fc188], rdi
mov qword [0x1400fc180], rdi
mov qword [0x1400fc178], rdi
test rbx, rbx
je 0x14009627e
nop dword [rax]
nop dword [rax + rax]
lea r9, [rsp + 0x20]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
je 0x140096277
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140096250
jmp 0x14009627e
call sub.KERNEL32.dll_GetLastError
mov edi, eax
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov dword [0x1400fc174], edi
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005bde0
add rsp, 0x38
ret
mov eax, 0x10dd
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005bde0
add rsp, 0x38
ret
Function at 0x140096860
Capabilities:
Suspend thread

Disassembly:
push rdi
sub rsp, 0x20
mov eax, dword [0x1400fc174]
mov rdi, rcx
test eax, eax
jne 0x140096900
call sub.KERNEL32.dll_GetCurrentThread
cmp rdi, rax
jne 0x140096889
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rbx
call fcn.14005c0a0
mov rbx, rax
test rax, rax
jne 0x1400968a5
lea edi, [rax + 8]
jmp 0x1400968c6
mov rcx, rdi
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1400968e4
call sub.KERNEL32.dll_GetLastError
mov edi, eax
mov edx, 0x10
mov rcx, rbx
call fcn.14005be00
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [0x1400fc174], edi
mov qword [0x1400fc178], 0
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x1400fc180]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [0x1400fc180], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b170c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400b1538
Function at 0x14084a0b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14084a237
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 0x14084a0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14084a0c7
add dl, dl
jne 0x14084a0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14084a14e
xor eax, eax
add dl, dl
jne 0x14084a0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14084a205
add dl, dl
jne 0x14084a10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14084a11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14084a128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14084a135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14084a142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14084a0d6
mov eax, 1
add dl, dl
jne 0x14084a15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14084a16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14084a153
sub eax, ebx
mov ebx, 1
jne 0x14084a1a4
mov ecx, 1
add dl, dl
jne 0x14084a186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14084a193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14084a17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084a0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14084a1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14084a1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14084a1b5
cmp eax, 0x7d00
jae 0x14084a1f3
cmp eax, 0x500
jb 0x14084a1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084a0d6
cmp eax, 0x7f
ja 0x14084a1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084a0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14084a22a
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 0x14084a0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400027e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000283d
lea rbx, [0x140048d80]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002824
cmp r10, 2
jb 0x140002824
cmp byte [r9], r8b
jne 0x140002824
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002800
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000287f
lea rbx, [0x140048d80]
cmp r8b, 0x23
jne 0x140002863
cmp byte [r9], r8b
jne 0x140002863
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002850
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400029c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400029da
mov qword [r8], 0
lea rdx, [0x1400487d4]
call fcn.140002890
mov rbx, rax
test rax, rax
jne 0x1400029fa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140002ad3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002ad3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002ad3
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002ad3
cmp rdi, 0xffffffffffffffff
je 0x140002ad3
mov rax, qword [0x1400a8fc0]
test rax, rax
je 0x140002a70
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002ad3
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140002ac0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400a8fc0]
test rax, rax
je 0x140002ab5
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002adc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002ace
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002ade
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret