joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016ae0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x140308d10]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x538c], ecx
test rbx, rbx
je 0x140016b4f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140016b60
lea rdx, [0x14004cb38]
mov rcx, rbx
mov rdi, rax
call fcn.14000d270
mov rbx, rax
test rax, rax
je 0x140016b4a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x14001a230
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
mov rbx, qword [0x140308d10]
cmp byte [rbx + 0x5389], 0
jne 0x14001a38a
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001a383
lea rdx, [0x14004cb34]
mov qword [rsp + 0x40], rdi
call fcn.14000d270
mov rdi, rax
test rax, rax
je 0x14001a37e
mov qword [rsp + 0x30], rbp
mov rcx, rax
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 0x14001a36b
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001a36b
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14001a36b
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001a36b
cmp rsi, 0xffffffffffffffff
je 0x14001a36b
mov rax, qword [0x140308d10]
test rax, rax
je 0x14001a2f5
inc dword [rax + 0xf4]
mov rdx, qword [0x140308d20]
mov rcx, rsi
call qword [section..data]
mov rbp, rax
test rax, rax
je 0x14001a36b
mov r9, rdi
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, rdi
cmp rax, rsi
je 0x14001a331
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001a347
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14001a347
mov rdx, rsi
mov rcx, rbp
call fcn.14000e730
mov rax, qword [0x140308d10]
test rax, rax
je 0x14001a359
dec dword [rax + 0xf4]
mov rdx, qword [0x140308d20]
mov rcx, rbp
call qword [0x14005a008]
jmp 0x14001a374
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x5389], 1
movss xmm0, dword [rbx + 0x538c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001a3cd
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x538c], xmm0
jb 0x14001a3cd
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001a3bc
call fcn.140016ae0
jmp 0x14001a3c3
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x538c], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14002f320
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140308d10]
mov rcx, qword [rax + 0x4308]
mov r10, qword [rax + 0x3ea0]
movsxd rax, dword [rcx + 0x7c]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x68
mov rax, qword [r10 + 0x280]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x220], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x280]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [r9 + 0x57]
mov rdx, qword [r10 + 0x280]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp 0x140023df0

Function at 0x14002f3f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140308d10]
mov rcx, qword [rax + 0x4308]
mov r9, qword [rax + 0x3ea0]
movups xmm0, xmmword [r9 + 0x220]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x280]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x220], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x280]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [rcx + 0x207]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x280]
add rsp, 0x38
jmp 0x140023df0
Function at 0x14003ee00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140308b80]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov edi, r8d
mov rsi, rdx
xor r9d, r9d
cmp ecx, 0x7b
ja 0x14003ee41
movsxd rax, ecx
lea r9, str.VK_RBUTTON
mov r9, qword [r9 + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
test r9, r9
jne 0x14003ee87
mov qword [rbp - 0x20], 0xa
movsd xmm0, qword [str.VK_RBUTTON]
movsd qword [rbp - 0x30], xmm0
movzx eax, word [0x14004afc0]
mov word [rbp - 0x28], ax
mov byte [rbp - 0x26], r9b
jmp 0x14003eec7
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [r9 + rbx], 0
jne 0x14003ee90
lea rcx, [rbp - 0x30]
cmp rbx, 0xf
ja 0x14003eeba
mov qword [rbp - 0x20], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x30], 0
jmp 0x14003eec7
movzx r8d, byte [rbp - 0x40]
mov rdx, rbx
call fcn.140035a90
cmp edi, 1
jne 0x14003ef1e
mov rax, qword [rbp - 0x18]
cmp rax, 0xa
jb 0x14003ef04
lea rbx, [rbp - 0x30]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x30]
mov qword [rbp - 0x20], 0xa
lea r8d, [rdi + 9]
lea rdx, str.VK_RBUTTON
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xa], 0
jmp 0x14003ef1e
lea r9, str.VK_RBUTTON
movzx r8d, byte [rbp - 0x40]
mov edx, 0xa
lea rcx, [rbp - 0x30]
call fcn.140035a90
mov dword [rbp - 0x3c], 0x43480000
mov dword [rbp - 0x38], 0x41f00000
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
lea rdx, [rbp - 0x3c]
call fcn.140035bd0
test al, al
je 0x14003ef69
test edi, edi
jne 0x14003ef69
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14003efa7
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003efa2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003efa2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140046e64
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400472e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140047ac4
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1400051f0], rbx
je 0x14000172c
cmp rax, rbx
jne 0x14000171f
mov ebx, 1
mov esi, ebx
jmp 0x140001731
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001704
mov ebx, 1
mov eax, dword [0x1400051f8]
cmp eax, ebx
jne 0x140001747
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400017ac
mov eax, dword [0x1400051f8]
test eax, eax
jne 0x1400017a6
mov dword [0x1400051f8], ebx
lea r15, [0x140002310]
lea rdi, [0x1400022f8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140001798
test eax, eax
jne 0x14000179c
cmp qword [rdi], 0
je 0x14000178d
mov rax, qword [rdi]
mov rcx, qword [0x1400022d8]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000176e
test eax, eax
je 0x1400017ac
mov eax, 0xff
jmp 0x140001888
mov dword [0x140003024], ebx
mov eax, dword [0x1400051f8]
cmp eax, ebx
jne 0x1400017d3
lea rdx, [0x1400022f0]
lea rcx, [0x1400022e0]
call sub.msvcrt.dll__initterm
mov dword [0x1400051f8], 2
test esi, esi
jne 0x1400017e0
xor eax, eax
xchg qword [0x1400051f0], rax
cmp qword [0x140005200], 0
je 0x140001814
lea rcx, [0x140005200]
call fcn.140001a90
test eax, eax
je 0x140001814
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140005200]
mov r9, qword [0x1400022d8]
call r9
mov r8, qword [0x140003038]
mov rdx, qword [0x140003030]
mov ecx, dword [0x140003028]
call fcn.140001008
mov dword [0x140003020], eax
cmp dword [0x140003040], 0
jne 0x140001844
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140003024], 0
jne 0x140001859
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003020]
jmp 0x140001888
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140135000
add rsp, 0x28
jmp 0x1400016e0

Function at 0x14000197c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400019c8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400019c0
cmp dword [rcx + 0x3c], edx
jl 0x1400019c0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400019c0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400019c8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140040cf0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140040cfd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140040d0d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140040cf5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140040d25
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140040d12
sub eax, 3
jb 0x140040d3f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140040d76
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140040d66
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140040d64
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140040d53
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140040cb2
jmp 0x140040cfd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x7000
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140040dc2
cmp rsi, rcx
jae 0x140040dca
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140040da9
cmp al, 0x8f
ja 0x140040da9
cmp byte [rsi - 2], 0xf
je 0x140040daf
sub al, 0xe8
cmp al, 1
ja 0x140040d93
cmp rsi, rcx
jae 0x140040dca
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140040d99
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140040dca
lodsb al, byte [rsi]
jmp 0x140040da9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3e000]
mov eax, dword [rdi]
or eax, eax
je 0x140040e27
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x40000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140040dd7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140040e21
mov qword [rbx], rax
add rbx, 8
jmp 0x140040df7
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140040e61
cmp al, 0xef
ja 0x140040e53
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140040e33
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140040e42
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.140040ee0], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.140040ee0
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140040ed0
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x1800111a4
Capabilities:
Terminate process

Disassembly:
jmp 0x180014e90
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 0x1401a5b80
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1401a5b8d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1401a5b9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1401a5b85
lea eax, [rcx + 1]
jmp 0x1401a5bab
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1401a5bbe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1401a5ba4
sub eax, 3
jb 0x1401a5bde
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1401a5c2d
sar eax, 1
movsxd rbp, eax
jb 0x1401a5c14
jmp 0x1401a5bec
add ebx, ebx
jne 0x1401a5bea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401a5c14
inc ecx
add ebx, ebx
jne 0x1401a5bfa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401a5c14
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1401a5c0d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1401a5bfc
add ecx, 2
jmp 0x1401a5c19
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1401a5b42
jmp 0x1401a5b8d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xb3400
mov dl, 0x25
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1401a5c7d
cmp rsi, rcx
jae 0x1401a5c85
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1401a5c64
cmp al, 0x8f
ja 0x1401a5c64
cmp byte [rsi - 2], 0xf
je 0x1401a5c6a
sub al, 0xe8
cmp al, 1
ja 0x1401a5c4e
cmp rsi, rcx
jae 0x1401a5c85
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1401a5c54
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1401a5c85
lodsb al, byte [rsi]
jmp 0x1401a5c64
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x194000]
mov eax, dword [rdi]
or eax, eax
je 0x1401a5cee
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1ab5e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1401a5c92
jns 0x1401a5cc7
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1401a5cd1
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1401a5ce8
mov qword [rbx], rax
add rbx, 8
jmp 0x1401a5cb2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1401a5d28
cmp al, 0xef
ja 0x1401a5d1a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1401a5cfa
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1401a5d09
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x25f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1401a5d7c
sub rsp, 0xffffffffffffff80
jmp 0x14002549c
Function at 0x1400afe40
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400afe4d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400afe5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400afe45
lea eax, [rcx + 1]
jmp 0x1400afe6b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400afe7e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400afe64
sub eax, 3
jb 0x1400afe9e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400afeed
sar eax, 1
movsxd rbp, eax
jb 0x1400afed4
jmp 0x1400afeac
add ebx, ebx
jne 0x1400afeaa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400afed4
inc ecx
add ebx, ebx
jne 0x1400afeba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400afed4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400afecd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400afebc
add ecx, 2
jmp 0x1400afed9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400afe02
jmp 0x1400afe4d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x28800
mov dl, 0x12
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400aff39
cmp rsi, rcx
jae 0x1400aff41
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400aff20
cmp al, 0x8f
ja 0x1400aff20
cmp byte [rsi - 2], 0xf
je 0x1400aff26
sub al, 0xe8
cmp al, 1
ja 0x1400aff0a
cmp rsi, rcx
jae 0x1400aff41
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400aff10
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400aff41
lodsb al, byte [rsi]
jmp 0x1400aff20
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xad000]
mov eax, dword [rdi]
or eax, eax
je 0x1400affaa
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x10ad10]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400aff4e
jns 0x1400aff83
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1400aff8d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400affa4
mov qword [rbx], rax
add rbx, 8
jmp 0x1400aff6e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400affe4
cmp al, 0xef
ja 0x1400affd6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400affb6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400affc5
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400b0038
sub rsp, 0xffffffffffffff80
jmp 0x14000afa0
Function at 0x14068b058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14068b1df
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 0x14068b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14068b06f
add dl, dl
jne 0x14068b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14068b0f6
xor eax, eax
add dl, dl
jne 0x14068b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14068b1ad
add dl, dl
jne 0x14068b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14068b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14068b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14068b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14068b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14068b07e
mov eax, 1
add dl, dl
jne 0x14068b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14068b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14068b0fb
sub eax, ebx
mov ebx, 1
jne 0x14068b14c
mov ecx, 1
add dl, dl
jne 0x14068b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14068b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14068b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14068b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14068b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14068b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14068b15d
cmp eax, 0x7d00
jae 0x14068b19b
cmp eax, 0x500
jb 0x14068b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14068b07e
cmp eax, 0x7f
ja 0x14068b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14068b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14068b1d2
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 0x14068b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000b2a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov dword [rsp + 0x34], eax
mov rbx, rdx
mov dword [rsp + 0x30], esi
mov rdi, rcx
mov qword [rsp + 0x20], rsi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
lea r8d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x14000b2ec
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000b33a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000b335
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b359
mov rcx, r8
call fcn.1400364f0
mov qword [rbx + 0x10], rsi
mov byte [rbx], sil
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.14003d3ec
int3

Function at 0x14000b360
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x30], esi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
add eax, eax
mov qword [rsp + 0x20], rsi
lea r8d, [rsi + 4]
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 7
mov rdx, rbx
mov r8, qword [rbx + 0x10]
jbe 0x14000b3b2
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
add r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x14000b404
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000b3ff
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b423
mov rcx, r8
call fcn.1400364f0
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], 7
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.14003d3ec
int3