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

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x450
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x440], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0x460]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x18014a089
xor al, al
jmp 0x18014a0db
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x18014a0b4
cmp qword [rsp + 0x20], 0
je 0x18014a0b0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
jmp 0x18014a0db
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x468]
call fcn.18000eac0
cmp qword [rsp + 0x20], 0
je 0x18014a0d9
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0x450
pop rdi
ret

Function at 0x18014a330
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], 0x114
mov r8d, 0x110
lea rcx, [rsp + 0x24]
call fcn.18014be70
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18014a39e
mov eax, dword [rsp + 0x24]
cmp eax, 5
ja 0x18014a384
jne 0x18014a39e
cmp dword [rsp + 0x28], 0
jbe 0x18014a39e
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0x158
ret

Function at 0x18014a3c0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], 0x114
mov r8d, 0x110
lea rcx, [rsp + 0x24]
call fcn.18014be70
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18014a42e
mov eax, dword [rsp + 0x24]
cmp eax, 6
ja 0x18014a414
jb 0x18014a42e
cmp dword [rsp + 0x28], 1
jb 0x18014a42e
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0x158
ret

Function at 0x18014a450
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], 0x11c
mov r8d, 0x118
lea rcx, [rsp + 0x24]
call fcn.18014be70
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18014a4cd
mov eax, dword [rsp + 0x24]
cmp eax, 6
ja 0x18014a4b3
jne 0x18014a4cd
mov eax, dword [rsp + 0x28]
cmp eax, 1
ja 0x18014a4b3
jne 0x18014a4cd
cmp word [rsp + 0x134], 1
jb 0x18014a4cd
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0x158
ret
Function at 0x18014a710
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x880
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x870], rax
call fcn.18001ffb0
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x18014a75d
mov rcx, rax
call fcn.18001bd20
nop
mov ecx, dword [0x180212cf8]
lea rsi, [0x1802128d0]
xor ebp, ebp
test cl, 1
jne 0x18014a7a5
or ecx, 1
mov dword [0x180212cf8], ecx
xor edx, edx
mov r8d, 0x412
mov rcx, rsi
call fcn.18014be70
mov qword [0x180212ce8], rbp
mov byte [0x180212cf0], bpl
lea rcx, [0x1801867b0]
call fcn.1801480ec
nop
cmp byte [0x180212cf0], 0
jne 0x18014a960
mov byte [0x180212cf0], 1
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x40]
call fcn.18014be70
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x20]
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x18014a811
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x18014a80c
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x18014a811
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x18014a811
mov word [rsp + 0x40], bp
lea rcx, [rsp + 0x40]
sub rcx, 2
nop word [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x18014a820
mov eax, dword [0x1801b330c]
mov dword [rcx], eax
lea rax, [rsp + 0x40]
sub rax, 2
nop dword [rax + rax]
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x18014a840
movups xmm0, xmmword [str.2345Pic]
movups xmmword [rax], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18014a869
mov word [rsp + 0x40], bp
xor edx, edx
mov r8d, 0x412
lea rcx, [rsp + 0x450]
call fcn.18014be70
lea rcx, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x18014a890
test rax, rax
je 0x18014a92a
mov r8d, 0x207
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x450]
call fcn.18015c850
lea rcx, [rsp + 0x450]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x18014a8c6
test rax, rax
je 0x18014a92a
lea rcx, [rsp + 0x450]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x18014a8e1
mov eax, dword [0x1801b330c]
mov dword [rcx], eax
lea rcx, [rsp + 0x450]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x18014a900
movups xmm0, xmmword [str.2345Image.hzv]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x1801a36a0]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [0x1801a36a8]
mov dword [rcx + 0x18], eax
call fcn.1800b3e70
lea rcx, [rsp + 0x450]
nop word [rax + rax]
inc rbx
cmp word [rcx + rbx*2], 0
jne 0x18014a940
test rbx, rbx
je 0x18014a960
lea rdx, [rsp + 0x450]
mov rcx, rax
call fcn.1800b3f60
nop
test rdi, rdi
je 0x18014a972
mov rcx, rdi
call fcn.18001bd30
mov qword [rsp + 0x28], rbp
mov rax, rsi
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.180147bf0
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18014a9a0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor edi, edi
mov rbx, rcx
mov qword [rcx], rdi
cmp qword [0x18020d178], rdi
jne 0x18014aa2b
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x20a
call fcn.18014be70
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rax, [rsp + 0x30]
mov word [rsp + 0x236], di
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], di
jne 0x18014aa10
lea rdx, [rsp + 0x30]
lea rcx, [0x18020d168]
call fcn.180005390
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180147bf0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

Function at 0x18014aad0
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov eax, dword [0x180212d08]
test eax, eax
jle 0x18014ab1e
inc eax
mov dword [0x180212d08], eax
mov al, 1
jmp 0x18014ac3d
xor sil, sil
xor ebp, ebp
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
lea rcx, [rsp + 0x30]
call fcn.180015450
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.180016540
movzx ebx, al
lea rcx, [rsp + 0x30]
call fcn.1800154d0
test bl, bl
je 0x18014ac29
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x18014ac29
lea rdx, str.ImpersonateLoggedOnUser
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x28]
call rax
test eax, eax
je 0x18014ac20
inc dword [0x180212d08]
mov rcx, qword [rdi]
test rcx, rcx
je 0x18014abac
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
mov qword [rsp + 0x28], rbp
mov sil, 1
cmp qword [0x18020d198], 0
jne 0x18014ac20
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x40]
call fcn.18014be70
mov dword [rsp + 0x20], 0x104
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov word [rsp + 0x246], bp
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x18014ac04
lea rdx, [rsp + 0x40]
lea rcx, [0x18020d188]
call fcn.180005390
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x18014ac39
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180147bf0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180168094
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x180167f34
call fcn.180151b60
mov dword [rax], 0x16
call fcn.18014ebc4
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x180167f1c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x180167f1c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x180167f66
lock or dword [rax + 0x14], 0x10
jmp 0x180167f1c
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x180167f83
mov rcx, qword [rbp + 0x10]
call fcn.180168ce8
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1801650d8
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1801685cc
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x180167fda
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x180167f1c
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x180168046
mov rcx, qword [rbp + 0x10]
call fcn.1801650d8
cmp eax, 0xffffffff
je 0x18016802d
mov rcx, qword [rbp + 0x10]
call fcn.1801650d8
cmp eax, 0xfffffffe
je 0x18016802d
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1801650d8
movsxd rdi, eax
lea rsi, [0x180213270]
mov rcx, rbx
sar rdi, 6
call fcn.1801650d8
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x180168034
lea rax, [0x18020d520]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x180168046
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x18016807c
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x180168078
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x180168078
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x180167f1f
jmp 0x180167eec
Function at 0x14002a4fc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002a546
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002a546
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002a546
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002a546
cmp dword [rcx + 0x84], 0xe
jbe 0x14002a546
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002a548
xor al, al
add rsp, 0x28
ret

Function at 0x14002b3b8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002b500

Function at 0x14002b500
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14002b500
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14002b56f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002b56f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002b56f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002b56f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002b56f
cmp dword [rcx + 0x84], 0xe
jbe 0x14002b56f
cmp dword [rcx + 0xf8], 0
je 0x14002b56f
mov ecx, ebx
call fcn.14002b438
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14002b694
nop
cmp dword [rbp + 0x20], 0
je 0x14002b5bd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002b4cc
int3

Function at 0x14002c800
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002c828
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002c828
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140030dbc
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140030e43
mov rsi, rbx
cmp word [rax], bp
je 0x140030e02
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140030dec
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140030de8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14002fde4
mov rdi, rax
test rax, rax
je 0x140030e30
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140036fa0
mov rbp, rdi
xor ecx, ecx
call fcn.14002e68c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x141375058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1413751df
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 0x141375089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14137506f
add dl, dl
jne 0x141375096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413750f6
xor eax, eax
add dl, dl
jne 0x1413750a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413751ad
add dl, dl
jne 0x1413750b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413750c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413750d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413750dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1413750ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14137507e
mov eax, 1
add dl, dl
jne 0x141375106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141375113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413750fb
sub eax, ebx
mov ebx, 1
jne 0x14137514c
mov ecx, 1
add dl, dl
jne 0x14137512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14137513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141375123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14137507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141375168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141375175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14137515d
cmp eax, 0x7d00
jae 0x14137519b
cmp eax, 0x500
jb 0x141375196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14137507e
cmp eax, 0x7f
ja 0x14137519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14137507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1413751d2
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 0x14137507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140f543d8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f543e2
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f5440b
pop rbp
sub rbp, 0x33
sub rbp, 0xf543d8
sub rsp, 0x20
jmp 0x140f5442a
mov rax, 0xf543d8
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x436872d
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f54449
jmp 0x140f54460
movsb byte [rdi], byte gs:[rsi]
invalid
Function at 0x141518058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1415181df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141518089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14151806f
add dl, dl
jne 0x141518096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415180f6
xor eax, eax
add dl, dl
jne 0x1415180a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415181ad
add dl, dl
jne 0x1415180b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415180c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415180d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415180dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1415180ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14151807e
mov eax, 1
add dl, dl
jne 0x141518106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141518113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415180fb
sub eax, ebx
mov ebx, 1
jne 0x14151814c
mov ecx, 1
add dl, dl
jne 0x14151812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14151813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141518123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14151807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141518168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141518175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14151815d
cmp eax, 0x7d00
jae 0x14151819b
cmp eax, 0x500
jb 0x141518196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14151807e
cmp eax, 0x7f
ja 0x14151819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14151807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1415181d2
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 0x14151807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180002800
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 0x18000285d
lea rbx, [0x180032690]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180002844
cmp r10, 2
jb 0x180002844
cmp byte [r9], r8b
jne 0x180002844
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 0x180002820
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000289f
lea rbx, [0x180032690]
cmp r8b, 0x23
jne 0x180002883
cmp byte [r9], r8b
jne 0x180002883
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 0x180002870
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180002a60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x180002a8f
mov r8d, 0x5ef
lea rdx, str.C:Users1DownloadsglGL_BaseHook_mainincludeimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x180002a9b
mov qword [rdi], 0
lea rdx, [0x180032310]
mov rcx, rbx
call fcn.1800028b0
mov rbx, rax
test rax, rax
jne 0x180002abd
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x180002b94
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180002b94
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x180002b94
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180002b94
cmp rsi, 0xffffffffffffffff
je 0x180002b94
mov rax, qword [0x18003e930]
test rax, rax
je 0x180002b31
inc dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x180002b94
mov r9, rbx
mov r8, rsi
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, rsi
je 0x180002b81
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18003e930]
test rax, rax
je 0x180002b76
dec dword [rax + 0x3b4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180002b9d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x180002b8f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x180002b9f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180004ba0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc8], 0
mov rbx, rcx
mov edi, edx
jg 0x180004bd6
mov r8d, 0x650
lea rdx, str.C:Users1DownloadsglGL_BaseHook_mainincludeimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc8]
mov rax, qword [rbx + 0xd0]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x180032690]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x18003e930]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1b30], edx
jne 0x180004c50
mov dword [rax + 0x1b34], edx
cmp dword [rax + 0x1b70], edx
jne 0x180004c5f
mov byte [rax + 0x1b74], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret