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

Disassembly:
jmp 0x140011bb0
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rdi, rcx
mov rbx, qword [rcx + 0x20]
xor esi, esi
mov qword [rcx + 0x20], rsi
mov rcx, qword [rcx + 0x10]
call fcn.14003120c
nop
test eax, eax
je 0x140011beb
mov ecx, eax
call fcn.140030cc8
nop
mov byte [rdi + 0x18], 1
mov rcx, qword [rdi + 8]
call fcn.140031524
nop
test eax, eax
je 0x140011c05
mov ecx, eax
call fcn.140030cc8
nop
mov rcx, qword [rdi + 0x10]
call fcn.140031230
nop
test eax, eax
je 0x140011c1b
mov ecx, eax
call fcn.140030cc8
nop
lea rcx, [0x1400a9940]
call fcn.14003120c
nop
test eax, eax
je 0x140011c34
mov ecx, eax
call fcn.140030cc8
nop
mov rcx, qword [rbx + 0x28]
mov dword [rsp + 0x78], 6
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x70]
mov r8d, 4
lea rdx, [rsp + 0x78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140002060
nop
mov rdx, rax
mov rcx, qword [rbx + 0x28]
call fcn.14000a220
nop
mov eax, esi
cmp byte [rbx + 0x20], al
setne al
mov dword [rsp + 0x78], eax
mov rcx, qword [rbx + 0x28]
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x70]
mov r8d, 4
lea rdx, [rsp + 0x78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
lea rcx, [0x1400a9940]
call fcn.140031230
nop
test eax, eax
je 0x140011ccc
mov ecx, eax
call fcn.140030cc8
nop
call fcn.140031544
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140011d09
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140011d03
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140011d36
mov rcx, r8
call fcn.140032654
nop
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov edx, 0x30
mov rcx, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
jmp fcn.140032654
call fcn.140053be4
nop
int3
Function at 0x140011d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400a4088]
xor rax, rsp
mov qword [rbp - 8], rax
mov edi, ecx
mov rbx, r8
xor ecx, ecx
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, di
mov r8, rsi
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x140011e6c
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rsi
mov rcx, r14
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test rdi, rdi
je 0x140011e6c
test eax, eax
je 0x140011e6c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140011e6c
mov rax, qword [rbx]
mov qword [rbx + 8], rax
mov rax, qword [rbx + 0x10]
sub rax, qword [rbx]
mov dword [rbp - 0x28], 0x27a4ad0
mov dword [rbp - 0x24], 0x171455a9
mov dword [rbp - 0x20], 0xa07a107e
mov dword [rbp - 0x1c], 0x2c0feffe
mov dword [rbp - 0x18], 0x36825bf1
mov dword [rbp - 0x14], 0xcb6ae4
mov dword [rbp - 0x10], 0xfa5f5975
mov dword [rbp - 0xc], 0xe3f0f4dc
cmp rsi, rax
jbe 0x140011e22
mov edx, esi
mov rcx, rbx
call fcn.140011eb0
xor edi, edi
test rsi, rsi
je 0x140011e68
nop dword [rax]
mov rdx, qword [rbx + 8]
mov rax, rdi
and eax, 0x1f
movzx ecx, byte [rbp + rax - 0x28]
xor cl, byte [rdi + r14]
mov byte [rbp - 0x30], cl
cmp qword [rbx + 0x10], rdx
je 0x140011e54
mov byte [rdx], cl
inc qword [rbx + 8]
jmp 0x140011e60
lea r8, [rbp - 0x30]
mov rcx, rbx
call fcn.140011ff0
inc rdi
cmp rdi, rsi
jb 0x140011e30
mov al, 1
jmp 0x140011e6e
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140032630
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140013c50
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400a4088]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbp + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bp
jne 0x140013cc6
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140002140
mov dword [rsp + 0x30], 1
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xd
jb 0x140013d29
lea rsi, [rcx + 0xd]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rdx, 8
jb 0x140013d0d
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 0x1a
lea rdx, [0x14008e880]
call fcn.140050cc0
mov word [rdi + rsi*2], bp
jmp 0x140013d46
mov qword [rsp + 0x20], 0xd
lea r9, [0x14008e880]
mov edx, 0xd
mov rcx, rbx
call fcn.1400030d0
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140032630
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140016a00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140016a44
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140016a30
ret
Function at 0x14002ec30
Capabilities:
Resume thread

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1400a4088]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov qword [r11 - 0x68], rdi
mov dword [rsp + 0x28], 4
mov qword [r11 - 0x78], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call qword [0x1400a9318]
mov rbx, rax
test rax, rax
jne 0x14002edbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.1400251f0
nop
lea r8, [0x1400a9730]
cmp qword [0x1400a9748], 8
cmovae r8, qword [0x1400a9730]
mov r9, qword [0x1400a9740]
mov rcx, rax
call fcn.140006340
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8, [0x1400a9510]
cmp qword [0x1400a9528], 8
cmovae r8, qword [0x1400a9510]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14002ed64
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ed5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ee05
call fcn.140032654
movdqa xmm0, xmmword [0x140091480]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x14002edb8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002edb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002edff
call fcn.140032654
xor al, al
jmp 0x14002edde
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140032630
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.140053be4
nop
call fcn.140053be4
nop
int3
Function at 0x140035fc4
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140035fd7
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.1400365e4
lea rdx, [0x1400a2438]
lea rcx, [rsp + 0x20]
call fcn.140050a04
int3

Function at 0x140040860
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1400a8210]
xor edx, edx
jmp fcn.140035fc4

Function at 0x1400411f8
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1400a8210]
jmp fcn.140035fc4

Function at 0x14004ce48
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14004cf04]
mov r9, qword [r9 + 8]
jmp fcn.14003e218

Function at 0x14004cedc
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14004cf14]
mov r9, qword [r9 + 8]
jmp fcn.14003e218

Function at 0x140057eec
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140057d7f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140057d7f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140057d7f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140057d7f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140057d7f
cmp dword [rcx + 0x84], 0xe
jbe 0x140057d7f
cmp dword [rcx + 0xf8], 0
je 0x140057d7f
mov ecx, ebx
call fcn.140057e20
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140057c10
cmp dword [rbp + 0x20], 0
je 0x140057dcc
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140057dd4
int3
xor r8d, r8d
xor edx, edx
jmp 0x140057d18
Function at 0x4045e0
Capabilities:
Delete file

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov edx, dword [rcx + 0x18]
test edx, edx
mov rbx, rcx
jle 0x4045fa
mov rax, qword [rcx + 0x80]
call qword [rax + 0x18]
mov edx, dword [rbx + 0x2c]
test edx, edx
jle 0x40460e
mov rax, qword [rbx + 0x80]
mov rcx, rbx
call qword [rax + 0x18]
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x40461c
call sub.msvcrt.dll_fclose
mov rcx, qword [rbx + 0x68]
test rcx, rcx
je 0x40462a
call sub.msvcrt.dll_fclose
cmp qword [rbx + 0x40], 0
je 0x4046c0
mov edx, dword [rbx + 0x28]
test edx, edx
jne 0x4046b0
mov rcx, qword [rbx + 0x38]
call sub.msvcrt.dll_free
mov rcx, qword [rbx + 0x40]
call sub.msvcrt.dll_free
mov rcx, qword [rbx + 0x48]
call sub.msvcrt.dll_free
mov eax, dword [rbx + 0x70]
test eax, eax
jle 0x40468c
xor esi, esi
mov rax, qword [rbx + 0x78]
mov rcx, qword [rax + rsi*8]
call sub.msvcrt.dll_remove
mov rax, qword [rbx + 0x78]
mov rcx, qword [rax + rsi*8]
add rsi, 1
call sub.msvcrt.dll_free
cmp dword [rbx + 0x70], esi
jg 0x404660
mov rcx, qword [rbx + 0x78]
call sub.msvcrt.dll_free
mov rax, qword [rbx + 0x80]
mov rax, qword [rax + 0x40]
test rax, rax
je 0x4046a1
mov rcx, rbx
call rax
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp sub.msvcrt.dll_free
mov rcx, qword [rbx + 0x20]
call sub.msvcrt.dll_free
jmp 0x40463c
and dword [rbx], 0xfffffffe
lea r9, [rsp + 0x24]
mov edx, 1
mov rcx, rbx
lea r8, [rsp + 0x28]
call fcn.004038e0
jmp 0x404635

Function at 0x404940
Capabilities:
Get common file path

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [0x00411110]
test rax, rax
je 0x404960
add rsp, 0x28
pop rbx
pop rsi
ret
xor edx, edx
xor ecx, ecx
mov rsi, qword [sym.imp.KERNEL32.dll_GetTempPathA]
call rsi
test eax, eax
mov ebx, eax
jne 0x404990
mov rax, qword [0x00411110]
test rax, rax
je 0x4049c0
add rsp, 0x28
pop rbx
pop rsi
ret
mov ecx, eax
call fcn.00403690
mov ecx, ebx
mov qword [0x00411110], rax
mov rdx, rax
call rsi
test eax, eax
jne 0x404973
mov rcx, qword [0x00411110]
call sub.msvcrt.dll_free
mov qword [0x00411110], 0
lea rcx, [0x0040db00]
call fcn.00403760
mov qword [0x00411110], rax
jmp 0x404952
Function at 0x405c90
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0040e200]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x405cfd
mov rcx, r8
call fcn.00405b70
test eax, eax
je 0x405cfd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x405cfd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x405cf4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x405cff
add rax, 0x28
cmp rax, r9
jne 0x405ce0
xor eax, eax
add rsp, 0x28
ret
Function at 0x4019d8
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x1c
mov ecx, 0x11385def
call fcn.004018ef
add rsp, 0x1c
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x401c98
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x1c
mov ecx, 0x42cdb7dd
call fcn.004018ef
add rsp, 0x1c
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x401d18
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x1c
mov ecx, 0xf798ed1a
call fcn.004018ef
add rsp, 0x1c
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x401d58
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x1c
mov ecx, 0xf768efe9
call fcn.004018ef
add rsp, 0x1c
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x401d98
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x1c
mov ecx, 0x3910913
call fcn.004018ef
add rsp, 0x1c
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140b3fd78
Capabilities:
Encode data using xor

Disassembly:
push r9
pushfq
movabs r9, 0x3dbbb28c393df58f
and r9w, r9w
xor r9, 0x1fa78018
and r9w, r9w
cmp r9d, 0x5585de08
ja 0x140b3fd7b
and r9, 0x2a3b8fb9
mov qword [rsp + 0x10], 0xffffffffd7043c56
mov r9, qword [rsp + r9 - 0x221a0589]
call fcn.140be4938
invalid
Function at 0x140eb9058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140eb91df
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 0x140eb9089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140eb906f
add dl, dl
jne 0x140eb9096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140eb90f6
xor eax, eax
add dl, dl
jne 0x140eb90a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140eb91ad
add dl, dl
jne 0x140eb90b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140eb90c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140eb90d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140eb90dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140eb90ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140eb907e
mov eax, 1
add dl, dl
jne 0x140eb9106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140eb9113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140eb90fb
sub eax, ebx
mov ebx, 1
jne 0x140eb914c
mov ecx, 1
add dl, dl
jne 0x140eb912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140eb913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140eb9123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140eb907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140eb9168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140eb9175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140eb915d
cmp eax, 0x7d00
jae 0x140eb919b
cmp eax, 0x500
jb 0x140eb9196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140eb907e
cmp eax, 0x7f
ja 0x140eb919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140eb907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140eb91d2
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 0x140eb907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800111a9
Capabilities:
Terminate process

Disassembly:
jmp 0x180012d30
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 0x180011690
Capabilities:
Create process on windows

Disassembly:
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x18001c008]
xor rax, rbp
mov qword [rbp + 0x108], rax
lea rcx, [0x180021001]
call fcn.1800112df
mov qword [rbp + 8], 0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, str._C:Windows_system32calc.exe_
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x180011745
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x50]
lea rdx, [0x1800198e0]
call fcn.18001128a
mov rcx, qword [rbp + 0x108]
xor rcx, rbp
call fcn.18001116d
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x140c04058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140c041df
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 0x140c04089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c0406f
add dl, dl
jne 0x140c04096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c040f6
xor eax, eax
add dl, dl
jne 0x140c040a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c041ad
add dl, dl
jne 0x140c040b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c040c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c040d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c040dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c040ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c0407e
mov eax, 1
add dl, dl
jne 0x140c04106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c04113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c040fb
sub eax, ebx
mov ebx, 1
jne 0x140c0414c
mov ecx, 1
add dl, dl
jne 0x140c0412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c0413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c04123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c0407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c04168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c04175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c0415d
cmp eax, 0x7d00
jae 0x140c0419b
cmp eax, 0x500
jb 0x140c04196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c0407e
cmp eax, 0x7f
ja 0x140c0419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c0407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c041d2
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 0x140c0407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140006898
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400068e2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400068e2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400068e2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400068e2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400068e2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400068e4
xor al, al
add rsp, 0x28
ret
Function at 0x1400052e0
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 0x14000533d
lea rbx, [0x1400fc980]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140005324
cmp r10, 2
jb 0x140005324
cmp byte [r9], r8b
jne 0x140005324
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 0x140005300
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000537f
lea rbx, [0x1400fc980]
cmp r8b, 0x23
jne 0x140005363
cmp byte [r9], r8b
jne 0x140005363
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 0x140005350
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400054c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400054da
mov qword [r8], 0
lea rdx, [0x1400fc39c]
call fcn.140005390
mov rbx, rax
test rax, rax
jne 0x1400054fa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400055d1
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 0x1400055d1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400055d1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400055d1
cmp rdi, 0xffffffffffffffff
je 0x1400055d1
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000556e
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400055d1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x1400055be
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x1400055b3
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400055da
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400055cc
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400055dc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret