joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180006a80
Capabilities:
Allocate or change rwx memory
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x78]
call fcn.1800069f0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.1800e9b3c
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call fcn.180006ef0
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180006ae4
xor eax, eax
jmp 0x180006c5e
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x180006b0b
xor eax, eax
jmp 0x180006c5e
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 4]
cmp eax, 0x8664
je 0x180006b28
xor eax, eax
test eax, eax
jne 0x180006b1b
xor eax, eax
jmp 0x180006c5e
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
je 0x180006b47
xor eax, eax
jmp 0x180006c5e
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
lea rax, [rax + rcx + 0x108]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x50]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x180006bbd
xor eax, eax
test eax, eax
jne 0x180006b94
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x50]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x180006bd2
xor eax, eax
test eax, eax
jne 0x180006bc5
xor eax, eax
jmp 0x180006c5e
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x54]
mov r8d, eax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.1800e42b0
mov dword [rsp + 0x20], 0
jmp 0x180006c00
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x180006c59
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x14]
add rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov edx, dword [rdx + 0xc]
add rdx, qword [rsp + 0x38]
mov qword [rsp + 0x58], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x58]
mov rcx, rax
call fcn.1800e42b0
mov rax, qword [rsp + 0x40]
add rax, 0x28
mov qword [rsp + 0x40], rax
jmp 0x180006bf6
mov rax, qword [rsp + 0x38]
add rsp, 0x68
ret
Function at 0x1800235a0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x24], 0xcc
je 0x1800235e5
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x98], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x24], 0xcc
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
movzx eax, byte [rax + 0x10]
test eax, eax
je 0x1800236f2
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x78]
cmp dword [rax + 0x98], ecx
jae 0x1800236b7
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x18002365d
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x98]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x78]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x98]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
add rax, 0x98
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x228]
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [rax + 8]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x24]
cmp dword [rax + 0x98], ecx
jne 0x1800236b2
xor al, al
jmp 0x18002371f
jmp 0x1800235fd
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
mov rcx, qword [rsp + 0x40]
call qword [rax + 8]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x98], 0
jmp 0x1800235e5
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x59]
test eax, eax
je 0x180023709
mov dword [rsp + 0x20], 0xce
jmp 0x180023711
mov dword [rsp + 0x20], 0xcd
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x24], ecx
mov al, 1
add rsp, 0x38
ret
Function at 0x180025ff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov r8d, 0xe0
mov edx, 1
mov rcx, qword [rsp + 0x70]
call qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x230], rcx
mov rax, qword [rsp + 0x40]
lea rcx, [0x180027ad0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x40]
lea rcx, [0x180027b00]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x40]
mov qword [rax + 0xd8], 0
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x180026188
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x120]
mov qword [rsp + 0x48], rax
jmp 0x18002609d
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x48]
add rax, 0x60
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
cmp dword [rsp + 0x34], eax
jge 0x18002614f
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x129]
test eax, eax
je 0x1800260d4
imul eax, dword [rsp + 0x38], 3
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x48]
mov edx, dword [rax + 0xc]
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 0x20]
call fcn.18005f3e0
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x48]
mov edx, dword [rcx + 8]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x1c]
call fcn.18005f3e0
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x58], rcx
mov edx, dword [rsp + 0x38]
mov dword [rsp + 0x28], edx
mov edx, dword [rsp + 0x3c]
mov dword [rsp + 0x20], edx
mov r9d, eax
mov r8b, 1
mov edx, 1
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x58]
call qword [rax + 0x28]
movsxd rcx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x40]
mov qword [rdx + rcx*8 + 0x88], rax
jmp 0x180026085
mov rax, qword [rsp + 0x40]
lea rcx, [0x180027b90]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x40]
lea rcx, [0x180026640]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x40]
add rax, 0x88
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x20], rax
jmp 0x180026239
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov r8d, 0x500
mov edx, 1
mov rcx, qword [rsp + 0x70]
call qword [rax + 8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x30], 0
jmp 0x1800261bd
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xa
jge 0x1800261ec
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x80
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov qword [rdx + rcx*8 + 0x38], rax
jmp 0x1800261b3
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x218], 0
jne 0x18002620c
mov r8d, 0x500
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1800e5750
mov rax, qword [rsp + 0x40]
lea rcx, [0x180027b80]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x40]
lea rcx, [0x180026250]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x20], 0
add rsp, 0x68
ret
Function at 0x1800615c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
imul eax, dword [rax + 4], 3
sub eax, 2
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x20], 0
jmp 0x1800615f4
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x20], eax
jae 0x180061787
cmp dword [rsp + 0x20], 0
jne 0x180061613
mov dword [rsp + 0x28], 0
jmp 0x180061628
mov eax, dword [rsp + 0x20]
dec eax
xor edx, edx
mov ecx, 3
div ecx
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x20], 0
jne 0x180061641
mov dword [rsp + 0x2c], 0
jmp 0x180061658
mov eax, dword [rsp + 0x20]
dec eax
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 4]
dec eax
sub eax, dword [rsp + 0x44]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x14], 0
jne 0x18006168d
mov dword [rsp + 0x38], 0
jmp 0x1800616ce
cmp dword [rsp + 0x24], 0
jne 0x18006169e
mov dword [rsp + 0x34], 0
jmp 0x1800616c6
cmp dword [rsp + 0x24], 1
je 0x1800616b6
cmp dword [rsp + 0x24], 2
je 0x1800616b6
mov dword [rsp + 0x30], 2
jmp 0x1800616be
mov dword [rsp + 0x30], 1
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x18], 0
jne 0x1800616f4
movsd xmm0, qword [0x18010fa88]
movsd qword [rsp + 0x58], xmm0
jmp 0x18006172d
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x48]
call fcn.180061560
movsd qword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x3c]
mov ecx, 1
mov dword [rsp + 0x4c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x4c]
shl eax, cl
cvtsi2sd xmm0, eax
divsd xmm0, qword [rsp + 0x60]
movsd qword [rsp + 0x58], xmm0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax*8 + 0x1c]
mov qword [rsp + 0x68], rax
mov ecx, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x88]
add edx, ecx
mov ecx, edx
mov dword [rsp + 0x50], ecx
movsd xmm0, qword [rsp + 0x58]
mulsd xmm0, qword [0x1801110d8]
call fcn.1800f54e8
cvttsd2si eax, xmm0
mov rcx, qword [rsp + 0x68]
mov r8, rcx
mov ecx, dword [rsp + 0x50]
mov edx, ecx
mov ecx, eax
call fcn.180061d00
jmp 0x1800615ea
add rsp, 0x78
ret
Function at 0x1800d9330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov dword [rsp + 0x30], 0xffffffff
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xc8]
cmp dword [rax], 0
je 0x1800d938c
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc8]
mov dword [rax], 0
jmp 0x1800d93a1
mov dword [rsp + 0x28], 1
lea rax, [rsp + 0x24]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov r8d, 0x58
lea rdx, [0x180155a94]
lea rcx, [rsp + 0x50]
call fcn.1800dce40
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1800d9405
mov eax, dword [rsp + 0x20]
jmp 0x1800d956d
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0
cmp dword [rsp + 0x68], 0
jne 0x1800d9455
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x28], eax
jbe 0x1800d9435
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
jmp 0x1800d943d
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x58], 0
jne 0x1800d9490
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x2c], eax
jbe 0x1800d9470
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
jmp 0x1800d9478
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1800d9580
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1800d941a
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xd8]
mov ecx, dword [rcx]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xd8]
mov dword [rcx], eax
lea rax, [rsp + 0x24]
cmp qword [rsp + 0xc0], rax
je 0x1800d94ee
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rsp + 0x6c]
mov dword [rax], ecx
jmp 0x1800d9504
cmp dword [rsp + 0x6c], 0
je 0x1800d9504
cmp dword [rsp + 0x20], 0xfffffffb
jne 0x1800d9504
mov dword [rsp + 0x28], 1
lea rcx, [rsp + 0x50]
call fcn.1800dc400
cmp dword [rsp + 0x20], 1
jne 0x1800d951f
mov dword [rsp + 0x44], 0
jmp 0x1800d9569
cmp dword [rsp + 0x20], 2
jne 0x1800d9530
mov dword [rsp + 0x40], 0xfffffffd
jmp 0x1800d9561
cmp dword [rsp + 0x20], 0xfffffffb
jne 0x1800d9551
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
test eax, eax
je 0x1800d9551
mov dword [rsp + 0x3c], 0xfffffffd
jmp 0x1800d9559
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
add rsp, 0xb8
ret
Function at 0x1800e9870
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 0x1800e9747
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800e9747
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800e9747
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800e9747
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800e9747
cmp dword [rcx + 0x84], 0xe
jbe 0x1800e9747
cmp dword [rcx + 0xf8], 0
je 0x1800e9747
mov ecx, ebx
call fcn.1800e97e8
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.1800e95d8
cmp dword [rbp + 0x20], 0
je 0x1800e9794
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800e979c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1800e96e0
Function at 0x141852058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1418521df
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 0x141852089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14185206f
add dl, dl
jne 0x141852096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1418520f6
xor eax, eax
add dl, dl
jne 0x1418520a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1418521ad
add dl, dl
jne 0x1418520b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1418520c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1418520d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1418520dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1418520ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14185207e
mov eax, 1
add dl, dl
jne 0x141852106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141852113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1418520fb
sub eax, ebx
mov ebx, 1
jne 0x14185214c
mov ecx, 1
add dl, dl
jne 0x14185212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14185213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141852123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14185207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141852168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141852175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14185215d
cmp eax, 0x7d00
jae 0x14185219b
cmp eax, 0x500
jb 0x141852196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14185207e
cmp eax, 0x7f
ja 0x14185219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14185207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1418521d2
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 0x14185207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001124e
Capabilities:
Terminate process

Disassembly:
jmp 0x140013b10
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 0x1400112ee
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014e60
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014e80
xor al, al
jmp 0x140014f01
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014e93
xor al, al
jmp 0x140014f01
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 0x140014ebd
xor al, al
jmp 0x140014f01
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014ed1
xor al, al
jmp 0x140014f01
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014ee3
xor al, al
jmp 0x140014f01
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014eff
xor al, al
jmp 0x140014f01
mov al, 1
add rsp, 0x38
ret
Function at 0x140028a5c
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.14001bef8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001bef8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028bac
cmp rax, 0xffffffffffffffff
je 0x140028bac
xor edi, edi
test rbp, rbp
jle 0x140028b57
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001eb84
mov rbx, rax
test rax, rax
jne 0x140028ae4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028b4d
mov edx, 0x8000
mov ecx, r14d
call fcn.1400197a0
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.14001cbe0
cmp eax, 0xffffffff
je 0x140028b2d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028af4
mov edx, r15d
mov ecx, r14d
call fcn.1400197a0
jmp 0x140028b4d
cmp byte [rsi + 0x38], dil
je 0x140028b44
cmp dword [rsi + 0x34], 5
jne 0x140028b44
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028b4d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a0e4
jmp 0x140028bc0
jns 0x140028bc0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001bef8
cmp rax, 0xffffffffffffffff
jne 0x140028b78
cmp byte [rsi + 0x30], dil
je 0x140028bc0
mov edi, dword [rsi + 0x2c]
jmp 0x140028bc0
mov ecx, r14d
call fcn.1400182d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028bc0
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 0x140028bc0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028bb9
mov eax, dword [rsi + 0x2c]
jmp 0x140028bbe
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001bef8
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 0x140029cb0
Capabilities:
Parse pe header

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

Function at 0x140e84610
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140e8461a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140e84643
pop rbp
sub rbp, 0x33
sub rbp, 0xe84610
sub rsp, 0x20
jmp 0x140e84662
mov rax, 0xe84610
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x1baab35e
xor byte [rax], dl
inc rax
dec rcx
jne 0x140e84681
jmp 0x140e84698
invalid
Function at 0x1400017f0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002620
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002620
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140001860
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400070b4]
mov rbx, rcx
test esi, esi
jle 0x140001990
mov rax, qword [0x1400070b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400018ab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001935
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001890
mov rcx, rbx
call fcn.1400022b0
mov rdi, rax
test rax, rax
je 0x1400019b2
mov rax, qword [0x1400070b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400023f0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400070b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001997
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000192e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001940
add dword [0x1400070b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400070b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000192e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400017f0
nop dword [rax]
xor esi, esi
jmp 0x1400018b8
mov rax, qword [0x1400070b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400017f0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400017f0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001f20
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140007120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140007100]
test rbx, rbx
je 0x140001f7c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140001f73
test rsi, rsi
je 0x140001f73
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001f58
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]