joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004380
Capabilities:
Parse pe header

Disassembly:
mov r11, rsp
push rbp
push rsi
push r15
sub rsp, 0x120
xor ebp, ebp
mov eax, 0x5a4d
mov r15, rdx
mov rsi, rcx
cmp word [rcx], ax
jne 0x140004566
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140004566
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp + 0x20]
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov eax, dword [r11 - 0xa8]
test eax, eax
je 0x140004566
mov qword [r11 + 0x10], rbx
mov rcx, rsi
mov qword [r11 + 0x18], rdi
lea rbx, [rsi + rax]
mov qword [r11 + 0x20], r12
mov rdx, rbx
mov qword [r11 - 0x20], r13
mov qword [r11 - 0x28], r14
call fcn.14000e35c
mov rdx, rbx
mov rcx, rsi
mov r12, rax
call fcn.14000e394
mov rdx, rbx
mov rcx, rsi
mov r13, rax
call fcn.14000e378
mov rdx, rbx
mov rcx, rsi
mov rdi, rax
call fcn.14000e3b0
mov r14d, eax
mov ebx, ebp
test eax, eax
je 0x14000452f
nop word [rax + rax]
mov eax, dword [rdi]
mov r8, r15
add rax, rsi
movzx r9d, byte [rax]
test r9b, r9b
je 0x140004509
movzx r10d, byte [r8]
test r10b, r10b
je 0x140004509
lea edx, [r9 - 0x41]
lea ecx, [r9 + 0x20]
cmp dl, 0x19
movzx r11d, cl
lea edx, [r10 - 0x41]
movzx ecx, r9b
cmova r11d, ecx
cmp dl, 0x19
lea ecx, [r10 + 0x20]
movzx r9d, cl
cmova r9d, r10d
cmp r11b, r9b
jne 0x140004513
movzx r9d, byte [rax + 1]
inc rax
inc r8
test r9b, r9b
jne 0x1400044c1
cmp byte [rax], bpl
jne 0x140004513
cmp byte [r8], bpl
je 0x140004520
inc ebx
add rdi, 4
cmp ebx, r14d
jb 0x1400044b0
jmp 0x14000452f
mov eax, ebx
movzx ecx, word [r13 + rax*2]
mov ebp, dword [r12 + rcx*4]
add rbp, rsi
mov r14, qword [rsp + 0x110]
mov rax, rbp
mov r13, qword [rsp + 0x118]
mov r12, qword [rsp + 0x158]
mov rdi, qword [rsp + 0x150]
mov rbx, qword [rsp + 0x148]
add rsp, 0x120
pop r15
pop rsi
pop rbp
ret
xor eax, eax
add rsp, 0x120
pop r15
pop rsi
pop rbp
ret
Function at 0x140004580
Capabilities:
Encode data using xor

Disassembly:
push rbx
xor r9d, r9d
mov r10, r8
mov rbx, rdx
mov r11, rcx
test r8, r8
je 0x140004600
mov qword [rsp + 0x10], rsi
sub rbx, rcx
mov qword [rsp + 0x18], rdi
lea rsi, str._Fgh34tygfdctyuh7
movabs rdi, 0xcccccccccccccccd
nop dword [rax]
nop word [rax + rax]
lea r8, [r9 + r11]
mov rcx, r9
mov rax, rdi
mul r9
inc r9
shr rdx, 4
lea rax, [rdx + rdx*4]
shl rax, 2
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r8]
mov byte [r8], al
cmp r9, r10
jb 0x1400045c0
mov rdi, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x10]
mov byte [r11 + r10], 0
pop rbx
ret
mov byte [rcx + r8], r9b
pop rbx
ret

Function at 0x140004730
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
xor r10d, r10d
mov rdi, rdx
mov rbx, rcx
mov r9d, r10d
test r8, r8
je 0x1400047b6
mov qword [rsp + 0x10], rsi
mov r11, rcx
mov qword [rsp + 0x18], r14
sub rdi, rcx
lea r14, str.____.
movabs rsi, 0xcccccccccccccccd
nop dword [rax + rax]
mov rcx, r9
lea r11, [r11 + 2]
mov rax, rsi
mul r9
inc r9
shr rdx, 2
lea rax, [rdx + rdx*4]
sub rcx, rax
movzx eax, word [r14 + rcx*2]
xor ax, word [rdi + r11 - 2]
mov word [r11 - 2], ax
cmp r9, r8
jb 0x140004770
mov r14, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x10]
mov word [rbx + r8*2], r10w
mov rbx, qword [rsp + 0x20]
pop rdi
ret
mov rbx, qword [rsp + 0x20]
mov word [rcx + r8*2], r10w
pop rdi
ret
Function at 0x140010728
Capabilities:
Parse pe header

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

Function at 0x14001cff4
Capabilities:
Parse pe header

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

Function at 0x1400227e0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140022502
call fcn.14001b858
mov dword [rax], 0x16
call fcn.1400166c0
jmp 0x140022652
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140022652
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140022652
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140022531
lock or dword [rcx + 0x14], 0x10
jmp 0x140022652
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140022545
call fcn.140022be0
mov ebp, dword [rbx + 0x10]
cmp ebp, 1
jne 0x140022555
mov rax, qword [rbx]
mov r14b, byte [rax]
jmp 0x140022558
xor r14b, r14b
mov rsi, qword [rbx + 8]
mov rcx, rbx
mov edi, dword [rbx + 0x20]
mov qword [rbx], rsi
call fcn.140021fe4
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.140025394
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x140022640
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x1400225eb
mov rcx, rbx
call fcn.140021fe4
cmp eax, 0xffffffff
je 0x1400225d6
mov rcx, rbx
call fcn.140021fe4
cmp eax, 0xfffffffe
je 0x1400225d6
mov rcx, rbx
call fcn.140021fe4
movsxd rdi, eax
lea rsi, [0x1400478a0]
mov rcx, rbx
sar rdi, 6
call fcn.140021fe4
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rsi + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x1400225dd
lea rdx, [0x140045470]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400225eb
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14002260f
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14002260f
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14002260f
mov dword [rbx + 0x20], 0x1000
mov rdx, qword [rbx]
cmp ebp, 1
jne 0x14002262d
movzx ecx, byte [rdx]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc rdx
jmp 0x140022638
movzx ecx, word [rdx]
add dword [rbx + 0x10], 0xfffffffe
add rdx, 2
mov qword [rbx], rdx
movzx eax, cx
jmp 0x140022657
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x1400224cc
Function at 0x140024c68
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14000fd30
sub rsp, rax
mov rax, qword [0x140045080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140021fe4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140024cb7
mov rax, rbp
jmp 0x140024dbf
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x478a0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140025b6c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x478a0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140024dbb
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140024dbb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140025b6c
test rax, rax
js 0x140024dbb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140024dbb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140024dad
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140024dad
cmp byte [rcx], 0xd
jne 0x140024d93
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140024da2
cmp byte [rcx + 1], 0xa
jne 0x140024da2
inc rcx
jmp 0x140024da2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x454c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140024d75
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140024dbf
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000fd90
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140024ee8
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1400478a0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x140024f46
cmp word [rdx], r12w
jne 0x140024f46
or byte [rax + r8*8 + 0x38], cl
jmp 0x140024f4c
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1400250a7
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x140025082
lea r9, [rcx + 2]
cmp ax, r13w
je 0x140024f85
mov rcx, r9
jmp 0x140024fa8
cmp r9, rdx
jae 0x140024fbf
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x140024f69
jmp 0x1400250a7
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002507c
cmp dword [rsp + 0x80], edi
je 0x14002507c
mov rdx, r14
lea r11, [0x1400478a0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x140025055
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x140025028
mov word [rbx], r12w
jmp 0x1400250a3
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x140025031
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1400250a3
cmp word [rsp + 0x70], r12w
jne 0x140025062
cmp rbx, rsi
je 0x140025022
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140025b74
cmp word [rsp + 0x70], r12w
je 0x1400250a7
mov word [rbx], r13w
jmp 0x1400250a3
lea r11, [0x1400478a0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14002509f
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400250a7
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140028b98
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 0x140028c1f
mov rsi, rbx
cmp word [rax], bp
je 0x140028bde
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140028bc8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140028bc4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140020c34
mov rdi, rax
test rax, rax
je 0x140028c0c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140030cc0
mov rbp, rdi
xor ecx, ecx
call fcn.140020bf8
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 0x14002fea0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140025b74
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140025b74
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002fff0
cmp rax, 0xffffffffffffffff
je 0x14002fff0
xor edi, edi
test rbp, rbp
jle 0x14002ff9b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140020b80
mov rbx, rax
test rax, rax
jne 0x14002ff28
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002ff91
mov edx, 0x8000
mov ecx, r14d
call fcn.14001d070
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140024648
cmp eax, 0xffffffff
je 0x14002ff71
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14002ff38
mov edx, r15d
mov ecx, r14d
call fcn.14001d070
jmp 0x14002ff91
cmp byte [rsi + 0x38], dil
je 0x14002ff88
cmp dword [rsi + 0x34], 5
jne 0x14002ff88
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002ff91
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140020bf8
jmp 0x140030004
jns 0x140030004
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140025b74
cmp rax, 0xffffffffffffffff
jne 0x14002ffbc
cmp byte [rsi + 0x30], dil
je 0x140030004
mov edi, dword [rsi + 0x2c]
jmp 0x140030004
mov ecx, r14d
call fcn.140029578
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140030004
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140030004
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002fffd
mov eax, dword [rsi + 0x2c]
jmp 0x140030002
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140025b74
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1400308f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140030918
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140030918
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x140015420
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140013ae0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140013b00
xor al, al
jmp 0x140013b81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140013b13
xor al, al
jmp 0x140013b81
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140013b3d
xor al, al
jmp 0x140013b81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140013b51
xor al, al
jmp 0x140013b81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140013b63
xor al, al
jmp 0x140013b81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140013b7f
xor al, al
jmp 0x140013b81
mov al, 1
add rsp, 0x38
ret
Function at 0x6bb9b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.6bb9b1df
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 0x6bb9b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x6bb9b06f
add dl, dl
jne 0x6bb9b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x6bb9b0f6
xor eax, eax
add dl, dl
jne 0x6bb9b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x6bb9b1ad
add dl, dl
jne 0x6bb9b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6bb9b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6bb9b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6bb9b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x6bb9b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x6bb9b07e
mov eax, 1
add dl, dl
jne 0x6bb9b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6bb9b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x6bb9b0fb
sub eax, ebx
mov ebx, 1
jne 0x6bb9b14c
mov ecx, 1
add dl, dl
jne 0x6bb9b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6bb9b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x6bb9b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x6bb9b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x6bb9b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6bb9b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x6bb9b15d
cmp eax, 0x7d00
jae 0x6bb9b19b
cmp eax, 0x500
jb 0x6bb9b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x6bb9b07e
cmp eax, 0x7f
ja 0x6bb9b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x6bb9b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x6bb9b1d2
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 0x6bb9b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400111cc
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14001d250
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14003b038]
call fcn.140011a6e
mov qword [rbp + 8], 0
jmp 0x14001d28e
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x14001d2e4
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x14001d283
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400115a5
Capabilities:
Terminate process

Disassembly:
jmp 0x1400251f0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001170d
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400245b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400245d0
xor al, al
jmp 0x140024651
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400245e3
xor al, al
jmp 0x140024651
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14002460d
xor al, al
jmp 0x140024651
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140024621
xor al, al
jmp 0x140024651
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140024633
xor al, al
jmp 0x140024651
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002464f
xor al, al
jmp 0x140024651
mov al, 1
add rsp, 0x38
ret
Function at 0x1400029d8
Capabilities:
Get file size
Read file on windows

Disassembly:
sub rsp, 0x128
mov qword [rsp + 0x130], rcx
mov qword [rsp + 0x138], rdx
mov rcx, qword [0x1400d153f]
mov rax, qword [rsp + 0x138]
mov r10, qword [rax]
mov qword [rsp + 0x10], r10
mov r10, qword [rax + 8]
mov qword [rsp + 0x18], r10
lea rdx, [rsp + 0x10]
call fcn.14004de91
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 0xffffffff80000000
movabs rax, 1
movabs r10, 2
or rax, r10
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
movabs r10, 4
or rax, r10
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x90], 3
mov rcx, qword [rsp + 0x60]
mov edx, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x78]
movabs r9, 0
mov rax, qword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call sub.KERNEL32.dll_CreateFileA
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0xb8]
movabs rdx, 0
movabs r8, 0
call fcn.1400180df
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xb0], rax
mov byte [rsp + 0xc8], 0
mov rax, qword [rsp + 0x98]
cmp rax, 0xffffffffffffffff
je 0x140002c83
nop
mov rcx, qword [rsp + 0x98]
movabs rdx, 0
call sub.KERNEL32.dll_GetFileSize
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0xd0], eax
mov rcx, qword [0x1400d153f]
xor rdx, rdx
mov edx, dword [rsp + 0xd0]
call fcn.14008c5ad
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xe0]
mov r8d, dword [rsp + 0xd0]
mov r9, qword [rsp + 0xf0]
mov qword [rsp + 0x20], 0
call sub.KERNEL32.dll_ReadFile
mov dword [rsp + 0xf8], eax
mov eax, dword [rsp + 0xf8]
cmp eax, 0
je 0x140002c6d
nop
lea rcx, [rsp + 0x100]
mov rdx, qword [rsp + 0xe0]
xor r8, r8
mov r8d, dword [rsp + 0xd0]
call fcn.1400180df
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xb0], rax
mov byte [rsp + 0xc8], 1
jmp 0x140002c82
nop
mov rcx, qword [0x1400d153f]
mov rdx, qword [rsp + 0xe0]
call fcn.14009f95c
nop
nop
mov rcx, qword [rsp + 0x98]
call sub.KERNEL32.dll_CloseHandle
mov dword [rsp + 0x110], eax
mov rcx, qword [0x1400d153f]
mov rdx, qword [rsp + 0x60]
call fcn.140049a57
mov r10, qword [rsp + 0x130]
mov r11, qword [rsp + 0xa8]
mov qword [r10], r11
mov r11, qword [rsp + 0xb0]
mov qword [r10 + 8], r11
mov rax, qword [rsp + 0x130]
mov cl, byte [rsp + 0xc8]
add rsp, 0x128
ret