joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18026ff50
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x60
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x58], rsi
xor ebx, ebx
cmp qword [rcx + 0x20], 0xffffffffffffffff
mov r14, r9
mov qword [rsp + 0x50], rdi
mov rsi, rdx
mov qword [rsp + 0x40], r15
mov edi, r8d
mov r15, rcx
mov ebp, ebx
jne 0x18026ff95
mov ebx, 1
jmp 0x18026ffe6
mov qword [rsp + 0x48], r12
mov r12d, 0x100000
mov rcx, qword [r15 + 0x20]
lea r9, [rsp + 0x30]
mov r8d, edi
mov dword [rsp + 0x30], ebx
cmp edi, r12d
mov qword [rsp + 0x20], rbx
mov rdx, rsi
cmova r8d, r12d
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0x30]
add ebp, ecx
test eax, eax
je 0x18026ffdc
test ecx, ecx
je 0x18026ffe1
add rsi, rcx
sub edi, ecx
jne 0x18026ffa0
jmp 0x18026ffe1
mov ebx, 1
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov eax, ebx
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
test r14, r14
je 0x18026ffff
mov dword [r14], ebp
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1802994c0
add rsp, 0x60
pop r14
pop rbp
pop rbx
ret

Function at 0x180270970
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x1802709ab
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1802709ab
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x20]
call fcn.180276b00
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x180276b00
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [rcx]
mov rdi, rdx
cmp rcx, 0xffffffffffffffff
je 0x180276b5e
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x180276b49
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x180276b5e
mov ecx, dword [rsp + 0x20]
mov rax, rbx
shl rcx, 0x20
mov al, 1
add rcx, rbx
mov qword [rdi], rcx
jmp 0x180276b60
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1802994c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180276d20
Capabilities:
Get file size
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, r9
mov r12d, r8d
mov r15, rdx
mov rsi, rcx
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x30], rax
xor edi, edi
test rax, rax
je 0x180276d6e
mov dword [rax], edi
mov dword [r9], edi
cmp qword [rcx], 0xffffffffffffffff
je 0x180276ecc
mov eax, 0x100000
mov ebp, r12d
cmp r12d, eax
cmova ebp, eax
mov dword [rsp + 0x68], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x68]
mov r8d, ebp
mov rdx, r15
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, 0x80004005
test eax, eax
cmovne edx, edi
cmp qword [rsi + 0x28], 0
je 0x180276e99
test edx, edx
je 0x180276e99
mov ecx, dword [rsp + 0x68]
cmp ecx, ebp
jae 0x180276e9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rbx, rdi
mov rcx, qword [rsi]
cmp rcx, 0xffffffffffffffff
jne 0x180276de9
xor dil, dil
jmp 0x180276e1c
mov dword [rsp + 0x6c], edi
lea rdx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
jne 0x180276e0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180276e0e
xor dil, dil
jmp 0x180276e1c
mov ebx, dword [rsp + 0x6c]
shl rbx, 0x20
add rbx, rdi
mov dil, 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
lea rdx, [rsi + 8]
lea rcx, [rsp + 0x48]
call fcn.180037a20
nop
mov rcx, qword [rsi + 0x28]
mov r10, qword [rcx]
mov r9, r14
xor r8d, r8d
test dil, dil
cmovne r8, rbx
mov rdx, rax
call qword [r10 + 0x30]
mov edx, eax
xor edi, edi
test eax, eax
jne 0x180276e99
mov dword [rsp + 0x70], edi
mov edx, dword [rsp + 0x68]
add rdx, r15
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
mov r8d, ebp
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, 0x80004005
test eax, eax
cmovne edx, edi
mov ecx, dword [rsp + 0x68]
add ecx, dword [rsp + 0x70]
mov dword [rsp + 0x68], ecx
test eax, eax
je 0x180276dc7
jmp 0x180276e9d
mov ecx, dword [rsp + 0x68]
add dword [r13], ecx
test edx, edx
jne 0x180276ec0
test ecx, ecx
je 0x180276ebc
mov eax, ecx
add r15, rax
sub r12d, ecx
mov eax, 0x100000
jne 0x180276d80
mov al, 1
jmp 0x180276ece
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x180276ecc
mov dword [rax], edx
xor al, al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1802994c0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1802784e0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rbx, rcx
cmp eax, 0xca
jne 0x180278516
call fcn.18027c500
cmp byte [rbx + 0x58], 0
je 0x18027850d
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
jmp 0x180278521
cmp eax, 0xcb
jne 0x1802785a6
mov rax, qword [rbx + 0x238]
cmp byte [rax + 0x20], 0
je 0x18027858d
nop
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x18027853e
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x238]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x180278585
cmp eax, 2
je 0x18027858d
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x180278530
cmp eax, 3
je 0x180278566
cmp eax, 1
jne 0x180278530
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x180278530
mov ecx, dword [rbx + 0x188]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x180278530
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x1802785e0
cmp eax, 0xcc
je 0x1802785c8
mov rax, qword [rcx]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rcx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1802785e0
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
xor ebp, ebp
mov rbx, rcx
cmp dword [rcx + 0x24], 0xcc
je 0x18027860e
mov rax, qword [rcx + 0x218]
call qword [rax]
mov dword [rbx + 0x98], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x218]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
cmp byte [rax + 0x10], bpl
je 0x1802786b5
mov ecx, dword [rbx + 0x98]
nop
cmp ecx, dword [rbx + 0x78]
jae 0x180278684
mov rax, qword [rbx + 0x10]
mov edi, ecx
test rax, rax
je 0x18027865c
mov dword [rax + 8], ecx
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov edi, dword [rbx + 0x98]
mov rax, qword [rbx + 0x220]
lea r8, [rbx + 0x98]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, dword [rbx + 0x98]
cmp ecx, edi
je 0x1802786dd
cmp ecx, dword [rbx + 0x78]
jb 0x180278635
mov rax, qword [rbx + 0x218]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx + 0x218]
mov rcx, rbx
call qword [rax]
mov dword [rbx + 0x98], ebp
mov ecx, ebp
mov rax, qword [rbx + 0x218]
cmp byte [rax + 0x10], cl
jne 0x180278630
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
xor al, al
jmp 0x1802786c8
Function at 0x1802785e0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rbx, rcx
cmp eax, 0xca
jne 0x180278516
call fcn.18027c500
cmp byte [rbx + 0x58], 0
je 0x18027850d
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
jmp 0x180278521
cmp eax, 0xcb
jne 0x1802785a6
mov rax, qword [rbx + 0x238]
cmp byte [rax + 0x20], 0
je 0x18027858d
nop
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x18027853e
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x238]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x180278585
cmp eax, 2
je 0x18027858d
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x180278530
cmp eax, 3
je 0x180278566
cmp eax, 1
jne 0x180278530
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x180278530
mov ecx, dword [rbx + 0x188]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x180278530
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x1802785e0
cmp eax, 0xcc
je 0x1802785c8
mov rax, qword [rcx]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rcx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1802785e0
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
xor ebp, ebp
mov rbx, rcx
cmp dword [rcx + 0x24], 0xcc
je 0x18027860e
mov rax, qword [rcx + 0x218]
call qword [rax]
mov dword [rbx + 0x98], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x218]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
cmp byte [rax + 0x10], bpl
je 0x1802786b5
mov ecx, dword [rbx + 0x98]
nop
cmp ecx, dword [rbx + 0x78]
jae 0x180278684
mov rax, qword [rbx + 0x10]
mov edi, ecx
test rax, rax
je 0x18027865c
mov dword [rax + 8], ecx
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov edi, dword [rbx + 0x98]
mov rax, qword [rbx + 0x220]
lea r8, [rbx + 0x98]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, dword [rbx + 0x98]
cmp ecx, edi
je 0x1802786dd
cmp ecx, dword [rbx + 0x78]
jb 0x180278635
mov rax, qword [rbx + 0x218]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx + 0x218]
mov rcx, rbx
call qword [rax]
mov dword [rbx + 0x98], ebp
mov ecx, ebp
mov rax, qword [rbx + 0x218]
cmp byte [rax + 0x10], cl
jne 0x180278630
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
xor al, al
jmp 0x1802786c8
Function at 0x180286b50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
push r13
push r15
sub rsp, 0x30
mov r13d, dword [rcx + 0x64]
mov rdi, rcx
mov rbx, qword [rcx + 0x268]
cmp r13d, 1
mov r8d, 0x2fe
mov qword [rsp + 0x68], rbx
sete al
mov edx, 1
mov byte [rbx + 0x38], al
mov rax, qword [rcx + 8]
mov ecx, 0x100
mov r9d, dword [rdi + 0x7c]
cmovne r8d, ecx
mov rcx, rdi
call qword [rax + 0x10]
mov ebp, dword [rbx + 0x28]
xor r15d, r15d
mov qword [rbx + 0x30], rax
cmp dword [rdi + 0x7c], r15d
jle 0x180286cd1
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x28], r12
lea r12, [rbx + 0x3c]
mov qword [rsp + 0x20], r14
xor r14d, r14d
nop dword [rax]
mov esi, dword [r12]
mov eax, ebp
cdq
idiv esi
mov ebp, eax
cmp r13d, 1
jne 0x180286bed
mov rax, qword [rbx + 0x30]
add qword [r14 + rax], 0xff
mov rax, qword [rbx + 0x30]
lea r11d, [rsi*2 - 2]
xor r8d, r8d
xor r10d, r10d
mov rdi, qword [r14 + rax]
lea eax, [rsi + 0xfe]
cdq
idiv r11d
xor ebx, ebx
mov r9d, eax
cmp r10d, r9d
jle 0x180286c47
imul eax, r8d, 0x1fe
lea ecx, [rsi + 0xfe]
add ecx, eax
nop word [rax + rax]
add ecx, 0x1fe
inc r8d
mov eax, ecx
cdq
idiv r11d
mov r9d, eax
cmp r10d, eax
jg 0x180286c30
movzx eax, bpl
inc r10d
movzx ecx, r8b
imul ecx, eax
mov byte [rbx + rdi], cl
inc rbx
cmp rbx, 0xff
jle 0x180286c12
cmp r13d, 1
jne 0x180286ca3
mov ecx, r13d
lea rdx, [rdi - 1]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi]
mov byte [rdx], al
lea rdx, [rdx - 1]
movzx eax, byte [rdi + 0xff]
mov byte [rdi + rcx + 0xff], al
inc rcx
cmp rcx, 0xff
jle 0x180286c80
mov rax, qword [rsp + 0x60]
inc r15d
mov rbx, qword [rsp + 0x68]
add r12, 4
add r14, 8
cmp r15d, dword [rax + 0x7c]
jl 0x180286bd0
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r13
pop rdi
pop rbp
pop rbx
ret
Function at 0x1802affe8
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1802afe08
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1802afe08
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1802afe08
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1802afe08
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1802afe08
cmp dword [rcx + 0x84], 0xe
jbe 0x1802afe08
cmp dword [rcx + 0xf8], esi
je 0x1802afe08
mov ecx, r14d
call fcn.1802aff50
mov ecx, 2
call fcn.1802b7e7c
nop
cmp byte [0x180489900], 0
jne 0x1802afed2
mov r15d, 1
mov eax, r15d
xchg dword [0x1804898f0], eax
test ebx, ebx
jne 0x1802afe7b
mov rdi, qword [0x1804610b0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1804898f8]
cmp rcx, rax
je 0x1802afe72
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.180055d90]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x180489c68]
jmp 0x1802afe87
cmp ebx, r15d
jne 0x1802afe8d
lea rcx, [0x180489c80]
call fcn.1802bc434
nop
test ebx, ebx
jne 0x1802afea4
lea rdx, [0x18031fff8]
lea rcx, [0x18031ffd8]
call fcn.1802bc688
lea rdx, [0x180320008]
lea rcx, [0x180320000]
call fcn.1802bc688
movzx eax, byte [0x180489900]
test esi, esi
cmove eax, r15d
mov byte [0x180489900], al
jmp 0x1802afed2
mov ecx, 2
call fcn.1802b7ed0
test esi, esi
jne 0x1802afee9
mov ecx, r14d
call fcn.1802aff04
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1802afd98
Function at 0x1802c304c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1802c2eec
call fcn.1802a90c0
mov dword [rax], 0x16
call fcn.1802a54a4
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1802c2ed4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1802c2ed4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1802c2f1e
lock or dword [rax + 0x14], 0x10
jmp 0x1802c2ed4
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1802c2f3b
mov rcx, qword [rbp + 0x10]
call fcn.1802c5a60
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1802be900
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1802c2924
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1802c2f92
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1802c2ed4
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1802c2ffe
mov rcx, qword [rbp + 0x10]
call fcn.1802be900
cmp eax, 0xffffffff
je 0x1802c2fe5
mov rcx, qword [rbp + 0x10]
call fcn.1802be900
cmp eax, 0xfffffffe
je 0x1802c2fe5
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1802be900
movsxd rdi, eax
lea rsi, [0x180489d90]
mov rcx, rbx
sar rdi, 6
call fcn.1802be900
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1802c2fec
lea rax, [0x180461470]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1802c2ffe
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1802c3034
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1802c3030
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1802c3030
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1802c2ed7
jmp 0x1802c2ea4

Function at 0x1802c32ec
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1802c330c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1802a9050
or eax, 0xffffffff
jmp 0x1802c330e
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400180f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 0x1384], 0xffffffff
lea r9, [rcx + 8]
mov dword [rcx + 4], edx
mov r8d, 1
nop word [rax + rax]
mov eax, edx
lea r9, [r9 + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
inc r8
mov dword [r9 - 4], edx
cmp r8, 0x270
jb 0x140018110
mov dword [rcx], 0x270
mov rax, rcx
ret

Function at 0x140018140
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x1400181a1
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140018160
mov ecx, dword [r10]
jmp 0x14001828a
cmp ecx, 0x4e0
jb 0x14001828a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400181c0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140018210
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14002ee30
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rcx, rcx
je 0x14002efd3
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002efd3
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14002efd3
mov edx, 0x20b
cmp word [rax + rcx + 0x18], dx
jne 0x14002efd3
mov qword [rbx], rcx
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
mov qword [rsp + 0x40], rdi
mov qword [rbx + 8], rcx
xor edi, edi
mov qword [rsp + 0x48], r14
lea rax, [rcx + 4]
mov qword [rbx + 0x10], rax
lea r14, [rcx + 0x18]
lea rax, [rcx + 0x18]
mov qword [rbx + 0x18], rax
lea rax, [rcx + 0x88]
mov qword [rbx + 0x20], rax
lea rax, [rcx + 0x90]
mov qword [rbx + 0x28], rax
lea rax, [rcx + 0x98]
mov qword [rbx + 0x30], rax
lea rax, [rcx + 0xa0]
mov qword [rbx + 0x38], rax
lea rax, [rcx + 0xa8]
mov qword [rbx + 0x40], rax
lea rax, [rcx + 0xb0]
mov qword [rbx + 0x48], rax
lea rax, [rcx + 0xb8]
mov qword [rbx + 0x50], rax
lea rax, [rcx + 0xc0]
mov qword [rbx + 0x58], rax
lea rax, [rcx + 0xc8]
mov qword [rbx + 0x60], rax
lea rax, [rcx + 0xd0]
mov qword [rbx + 0x68], rax
lea rax, [rcx + 0xd8]
mov qword [rbx + 0x70], rax
lea rax, [rcx + 0xe0]
mov qword [rbx + 0x78], rax
lea rax, [rcx + 0xe8]
mov qword [rbx + 0x80], rax
lea rax, [rcx + 0xf0]
mov qword [rbx + 0x88], rax
lea rax, [rcx + 0xf8]
mov qword [rbx + 0x90], rax
lea rax, [rcx + 0x100]
mov qword [rbx + 0x98], rax
movzx eax, word [rcx + 0x14]
add r14, rax
cmp di, word [rcx + 6]
jae 0x14002efc1
mov qword [rsp + 0x38], rsi
nop dword [rax]
mov rdx, qword [rbx + 0xa8]
movsxd rax, edi
lea rcx, [rax + rax*4]
lea rax, [r14 + rcx*8]
mov qword [rsp + 0x30], rax
cmp rdx, qword [rbx + 0xb0]
je 0x14002ef9d
mov qword [rdx], rax
add qword [rbx + 0xa8], 8
jmp 0x14002efae
lea r8, [rsp + 0x30]
lea rcx, [rbx + 0xa0]
call fcn.14002efe0
mov rax, qword [rbx + 0x10]
inc edi
movzx ecx, word [rax + 2]
cmp edi, ecx
jl 0x14002ef70
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x48]
mov al, 1
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14002f850
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1400ce080]
xor rax, rsp
mov qword [rbp + 0x20], rax
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x10], 0
lea rdx, [rsp + 0x60]
call fcn.14002ee30
mov r15, qword [rbp]
test al, al
je 0x14002fa00
mov dword [rsp + 0x20], 0x415d4318
mov word [rsp + 0x24], 0x4e
mov byte [rsp + 0x26], 1
xor ecx, ecx
nop dword [rax + rax]
lea eax, [rcx + 0x36]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 5
jb 0x14002f8c0
mov byte [rsp + 0x26], 0
mov rbx, r15
mov rdi, qword [rbp + 8]
cmp r15, rdi
je 0x14002f905
mov r12, qword [rbx]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, r12
call qword [0x14009ecd8]
test eax, eax
je 0x14002f908
add rbx, 8
cmp rbx, rdi
jne 0x14002f8e1
xor r12d, r12d
mov dword [rsp + 0x28], 0x585c4518
mov dword [rsp + 0x2c], 0x1005a4e
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx + 0x36]
xor byte [rsp + rcx + 0x28], al
inc rcx
cmp rcx, 6
jb 0x14002f920
mov byte [rsp + 0x2f], 0
mov rbx, r15
cmp r15, rdi
je 0x14002f964
nop dword [rax]
mov r14, qword [rbx]
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, r14
call qword [0x14009ecd8]
test eax, eax
je 0x14002f967
add rbx, 8
cmp rbx, rdi
jne 0x14002f940
xor r14d, r14d
mov dword [rsp + 0x20], 0x4d595318
mov word [rsp + 0x24], 0x5b
mov byte [rsp + 0x26], 1
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 0x36]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 5
jb 0x14002f980
mov byte [rsp + 0x26], 0
mov rbx, r15
cmp r15, rdi
je 0x14002f9c4
nop dword [rax]
mov rsi, qword [rbx]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [0x14009ecd8]
test eax, eax
je 0x14002f9c6
add rbx, 8
cmp rbx, rdi
jne 0x14002f9a0
xor esi, esi
test r12, r12
je 0x14002fa00
cmp r12, r14
jae 0x14002fa00
cmp r14, rsi
jae 0x14002fa00
lea rcx, [rsp + 0x30]
call qword [0x14009e288]
xor edx, edx
mov eax, dword [r14 + 0xc]
mov rcx, qword [rsp + 0x58]
div ecx
test edx, edx
jne 0x14002fa00
xor edx, edx
mov eax, dword [rsi + 0xc]
div ecx
test edx, edx
jne 0x14002fa00
mov bl, 1
jmp 0x14002fa02
xor bl, bl
test r15, r15
je 0x14002fa42
mov rdx, qword [rbp + 0x10]
sub rdx, r15
and rdx, 0xfffffffffffffff8
mov rax, r15
cmp rdx, 0x1000
jb 0x14002fa3a
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fa3a
call qword [0x14009eae8]
int3
mov rcx, r15
call fcn.140097f5c
movzx eax, bl
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140097be0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret