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

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14001cf60]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140009c84
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140009cea
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140009d21
test eax, eax
js 0x140009cfb
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140009d14
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140005700
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140001ca0
mov ecx, 7
int 0x29
ud2
Function at 0x140017960
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1400179da
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400179d0
cmp r11, r10
ja 0x140017a71
cmp r10, rdx
ja 0x140017a83
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1400179d2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400179b0
jmp 0x140017a47
ja 0x1400179da
mov r11, r10
cmp rax, r8
jne 0x140017982
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x140017a4b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140017a20
mov r8, r10
sub ecx, r9d
jns 0x140017a3e
jmp 0x140017a4d
cmp r10, rdx
je 0x140017a59
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140017a4d
xor al, 1
cmp r8, rdx
jne 0x140017a00
jmp 0x140017a4d
xor eax, eax
jmp 0x140017a4d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14001edcb]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140019f40
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001a410
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001a390
int3

Function at 0x140018f98
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x14002f47d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14002f48d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14002f475
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14002f4a5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14002f492
sub eax, 3
jb 0x14002f4bf
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14002f4f6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14002f4e6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14002f4e4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14002f4d3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14002f432
jmp 0x14002f47d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1c200
mov dl, 0xb
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14002f546
cmp rsi, rcx
jae 0x14002f54e
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14002f52d
cmp al, 0x8f
ja 0x14002f52d
cmp byte [rsi - 2], 0xf
je 0x14002f533
sub al, 0xe8
cmp al, 1
ja 0x14002f517
cmp rsi, rcx
jae 0x14002f54e
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14002f51d
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14002f54e
lodsb al, byte [rsi]
jmp 0x14002f52d
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2d000]
mov eax, dword [rdi]
or eax, eax
je 0x14002f5ab
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2f000]
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 0x14002f55b
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 0x14002f5a5
mov qword [rbx], rax
add rbx, 8
jmp 0x14002f57b
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 0x14002f5e5
cmp al, 0xef
ja 0x14002f5d7
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14002f5b7
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14002f5c6
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 + 0x22f]
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.14002f664], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14002f664
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14002f654
sub rsp, 0xffffffffffffff80
jmp 0x14001b32c
Function at 0x140001120
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 r13
push r14
push r15
sub rsp, 0x30
mov r14d, dword [rsp + 0x78]
lea r15d, [r8 - 0x3eec]
mov esi, r9d
lea eax, [r15 + 0x42d3]
mov ebp, edx
lea r13d, [r9 + 0x1283]
xor esi, 0x53c
lea ebx, [r8 - 0x4bc]
xor r14d, 0x43dc
xor ebp, 0x5c
mov rdi, rcx
cmp r14d, eax
jge 0x140001222
mov rdx, qword [section..data]
lea r9d, [r8 - 0x4ec]
mov eax, dword [rcx + 0x24]
xor r9d, 0xe1b
cmp dword [rdx + 0xc4], eax
ja 0x1400011b5
mov eax, dword [rdx + 0x100]
sub eax, dword [rcx + 0x3c]
xor eax, 0xfa735
mov dword [0x140015080], eax
jmp 0x1400011c7
mov ecx, dword [rdx + 0xc8]
xor ecx, dword [rdx + 0x74]
mov eax, dword [rdi + 8]
imul eax, ecx
mov dword [rdi + 8], eax
lea eax, [r13 - 0xd7]
xor ebx, 0x4dc
lea edx, [r9 + 0xf8f]
mov dword [rsp + 0x20], eax
mov ecx, ebx
lea r8d, [rsi + 0x137]
mov r9, rdi
call fcn.1400030ec
add eax, 0x4de
mov dword [0x14001507c], 0xc4ec4ec5
lea r8d, [rsi + 0x5e5]
mov dword [rsp + 0x20], eax
lea edx, [r14 + 0x36d8]
mov r9, rdi
lea ecx, [r13 - 0xf8f]
call fcn.140003228
jmp 0x14000128b
imul ecx, dword [rcx + 0xc8], 0x3a30
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [section..data]
mov r9d, r15d
mov edx, dword [rdi + 0xdc]
and ebp, 0x341b
mov ecx, dword [0x140015110]
sub r9d, dword [0x140015034]
mov r8d, dword [rax + 0x7c]
or edx, dword [0x140015028]
or r8d, r15d
sub r8d, dword [0x140015114]
mov eax, r15d
mov qword [rsp + 0x20], r8
xor rcx, rax
mov r8d, ebp
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [rdi + 0x74]
mov edx, ebx
xor rcx, rdx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rbp, qword [rsp + 0x58]
xor ebx, 0x2ba
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
ret
Function at 0x140001448
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, dword [rsp + 0x50]
lea r10d, [r9 - 0x57e]
xor r9d, 0x7af8
lea esi, [rdx - 0x9cf]
mov rbx, rcx
sub r9d, 0xfd6
lea ecx, [rdx - 0x5b6]
add edi, 0x8d1
cmp ecx, r9d
jle 0x140001690
lea eax, [r8 + 0x137]
xor eax, 0x775e
cmp ecx, eax
jg 0x140001649
add edi, 0x6be
lea rax, [0x1400173f0]
mov qword [rbx + 0xa0], rax
xor r9d, r9d
mov rax, qword [section..data]
mov ecx, dword [rax + 0x18]
sub ecx, dword [0x1400150f8]
xor ecx, 0xffe30a3f
add dword [rbx + 0x110], ecx
mov rdx, qword [section..data]
mov ecx, dword [rdx + 0x60]
sub ecx, dword [rbx + 0x3c]
mov eax, dword [rdx + 0x100]
add ecx, 0x50ec7
imul eax, ecx
mov dword [rdx + 0x100], eax
mov eax, dword [0x140015034]
xor eax, 0xcaaf9
add dword [rbx + 0x94], eax
movsxd rcx, dword [rbx + 0x70]
mov rax, qword [rbx + 0xa0]
mov r8d, dword [rax + r9]
add r9, 4
imul r8d, dword [rbx + 0x6c]
mov rax, qword [rbx + 0xa8]
mov edx, r8d
shr edx, 0x18
mov byte [rcx + rax], dl
mov edx, r8d
inc dword [rbx + 0x70]
mov rax, qword [section..data]
shr edx, 0x10
mov ecx, dword [rax + 0x48]
add ecx, dword [rbx + 0x100]
xor ecx, 0x29c9ee
sub dword [0x1400150d0], ecx
movsxd rcx, dword [rbx + 0x70]
mov rax, qword [rbx + 0xa8]
mov byte [rcx + rax], dl
mov ecx, 0xfffdd58e
inc dword [rbx + 0x70]
mov edx, r8d
mov rax, qword [section..data]
shr edx, 8
sub ecx, dword [rax + 0xd4]
sub ecx, dword [rbx + 0x60]
add dword [rbx + 0x18], ecx
mov rax, qword [section..data]
mov ecx, dword [rax + 0x60]
mov rax, qword [0x1400150b8]
add ecx, 0x2b47b
xor dword [0x140015120], ecx
movsxd rcx, dword [rbx + 0x70]
mov byte [rcx + rax], dl
inc dword [rbx + 0x70]
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x58]
sub eax, 0x1c26e4
or dword [rcx + 0x2c], eax
mov eax, dword [rbx + 0x9c]
mov rcx, qword [section..data]
sub eax, 0x2cdd8
or dword [rcx + 0x2c], eax
movsxd rcx, dword [0x140015080]
mov rax, qword [rbx + 0xa8]
mov byte [rcx + rax], r8b
inc dword [0x140015080]
cmp r9, 0x8cdc
jl 0x1400014b9
mov rax, qword [section..data]
mov dword [rax + 0x6c], 0xaa4af
mov eax, dword [0x1400150e4]
add eax, 0x72c4b979
xor dword [rbx + 0x6c], eax
mov rcx, qword [section..data]
mov eax, dword [rcx + 0xe8]
cmp dword [rbx + 0xc0], eax
jb 0x140001639
mov eax, dword [0x140015098]
sub eax, dword [rcx + 0x74]
mov dword [rbx + 0xd0], eax
jmp 0x140001690
lea rax, [0x1400040a0]
mov qword [rcx + 0xa0], rax
jmp 0x140001690
mov ecx, dword [rbx + 0xc4]
mov eax, r10d
xor rcx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentActCtx]
mov ecx, esi
btc rcx, 9
and ecx, 0x3a30
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov eax, 0x43dc
sub eax, dword [rbx + 0xc4]
add dword [0x14001509c], eax
mov ecx, dword [rbx + 0x110]
or ecx, esi
add ecx, dword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, qword [rsp + 0x30]
lea eax, [rdi - 0x19e]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001a48
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov ebp, dword [rsp + 0x70]
lea eax, [r9 - 0x2bf6]
add ecx, 0xffffced9
lea r14d, [r9 + 0x918]
mov edi, r9d
xor ebp, 0x3a00
xor edi, 0x1d2e
xor ecx, 0x3761
mov rbx, r8
cmp eax, ecx
je 0x140001acd
mov eax, dword [r8 + 0x2c]
cmp dword [r8 + 0xd0], eax
jb 0x140001abe
mov rax, qword [section..data]
mov ecx, dword [rax + 0x2c]
sub ecx, dword [r8 + 0x60]
add ecx, 0x2c42
mov dword [r8 + 0x6c], ecx
jmp 0x140001b75
mov eax, dword [r8 + 0x7c]
xor dword [0x1400150e4], eax
jmp 0x140001b75
mov eax, dword [r8 + 0xc0]
mov esi, edi
xor eax, 0x3cec
sub eax, r14d
cmp edi, eax
jbe 0x140001b75
mov rdx, qword [section..data]
mov ecx, dword [rdx + 0x34]
mov eax, dword [rbx + 0x58]
mov r15d, edi
add eax, 0x3eec
imul eax, ecx
cmp edi, eax
jne 0x140001b5c
mov ecx, dword [rdx + 0xd4]
mov r8d, dword [rbx + 0x24]
add ecx, r14d
mov r9d, dword [0x140015084]
mov edx, dword [0x140015058]
imul r8d, dword [rbx + 0xe8]
xor edx, 0x3552
xor r9d, dword [rbx + 0x7c]
mov qword [rsp + 0x20], rcx
mov ecx, 0x42d3
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdx, qword [section..data]
add r15d, 2
mov eax, dword [rbx + 0x58]
add eax, 0x3eec
mov ecx, dword [rdx + 0x34]
imul eax, ecx
cmp r15d, eax
je 0x140001b02
mov eax, dword [rbx + 0xc0]
add esi, 3
xor eax, 0x3cec
sub eax, r14d
cmp esi, eax
ja 0x140001af0
mov rbx, qword [rsp + 0x50]
lea eax, [rbp + 0x46ae]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140001b94
Capabilities:
Encode data using xor
Get file attributes

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, 0x30
mov eax, dword [rsp + 0x70]
mov rbx, r9
mov edi, dword [rsp + 0x80]
mov ebp, eax
mov r15d, dword [rsp + 0x78]
xor ebp, 0x341b
add r15d, 0x6af
lea r14d, [rax + 0xfc1]
lea r12d, [rdi + 0x346]
mov eax, r14d
xor eax, 0x72fb
xor edi, 0x84d
cmp r12d, eax
jle 0x140001d22
mov eax, 0xfffff4ea
sub eax, dword [r9 + 0x14]
add dword [r9 + 0x6c], eax
lea rax, [0x140015130]
mov qword [0x1400150b0], rax
xor r10d, r10d
mov rax, qword [rbx + 0xa0]
mov r9d, dword [r10 + rax]
add r10, 4
mov eax, dword [rbx + 0x88]
sub eax, 0x7d4c5
add dword [rbx + 0xd0], eax
mov eax, dword [rbx + 0xc0]
add eax, dword [rbx + 0x7c]
xor eax, 0x1693e1
sub dword [rbx + 0x104], eax
mov rcx, qword [section..data]
mov eax, dword [rbx + 0x74]
sub dword [rcx + 0x14], eax
mov eax, 0x52823
mov ecx, dword [rbx + 0x9c]
sub eax, ecx
sub eax, dword [rbx + 0x3c]
add dword [rbx + 0x94], eax
mov eax, dword [rbx + 0x110]
add eax, ecx
xor eax, 0x2cde1
add dword [0x140015058], eax
mov rax, qword [section..data]
movsxd rdx, dword [rbx + 0x70]
imul r9d, dword [rbx + 0x6c]
mov rcx, qword [rax + 0xa8]
mov r8d, r9d
shr r8d, 8
mov byte [rdx + rcx], r8b
inc dword [rbx + 0x70]
mov eax, dword [0x14001508c]
mov rdx, qword [section..data]
mov ecx, dword [rbx + 0x48]
sub ecx, dword [rdx + 0x9c]
sub ecx, 0x14fa95
imul eax, ecx
mov dword [0x14001508c], eax
movsxd rcx, dword [rbx + 0x70]
mov rax, qword [rdx + 0xa8]
mov byte [rcx + rax], r9b
inc dword [rbx + 0x70]
mov eax, dword [rbx + 0x48]
sub eax, 0x17c86e
xor dword [0x1400150e0], eax
mov ecx, dword [rbx + 0xc4]
mov eax, dword [rbx + 0x2c]
add eax, 0xfff40049
add ecx, eax
add dword [rbx + 0x9c], ecx
mov rcx, qword [section..data]
mov eax, dword [0x140015084]
sub dword [rcx + 0x60], eax
cmp r10, 0x510
jl 0x140001c16
jmp 0x140001dae
mov eax, dword [r9 + 0x88]
or eax, dword [0x140015014]
cmp dword [r9 + 0xd8], eax
ja 0x140001dae
imul eax, dword [r9 + 0x38], 0x2bf6
mov esi, dword [0x140015118]
cmp esi, eax
jae 0x140001dae
mov ecx, dword [rbx + 0xc4]
or rcx, r14
and ecx, 0x3761
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov eax, dword [rbx + 0x58]
lea r9, [0x140015010]
add eax, dword [rbx + 0xc8]
mov r8d, r14d
imul ecx, eax, 0x36d8
and r8d, r15d
mov eax, dword [rbx + 0x18]
mov edx, edi
sub edx, dword [0x140015110]
sub eax, 0x383d
xor eax, edi
imul r8d, r15d
sub edx, r12d
mov dword [rsp + 0x20], eax
call fcn.140001dd4
imul ecx, dword [rbx + 0x38], 0x2bf6
add esi, 4
mov r15d, eax
cmp esi, ecx
jb 0x140001d4a
mov rbx, qword [rsp + 0x50]
lea eax, [rbp + 0x2bf6]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x140001dd4
Capabilities:
Clear file content
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov ebp, dword [rsp + 0xc0]
lea ecx, [r8 - 0xc47]
mov r15d, edx
mov dword [rsp + 0xb0], ecx
mov ebx, r8d
lea r12d, [r8 - 0x383d]
mov edx, 0x383d
mov dword [rsp + 0x4c], r12d
lea edi, [rbp + 0x358]
xor ebx, edx
lea esi, [r15 + 0x5b1]
xor ebp, 0x36d8
xor r15d, 0x732b
mov dword [rsp + 0xc0], ebp
lea eax, [rsi + 0x614]
mov dword [rsp + 0x44], r15d
lea r14d, [r8 + 0xa96]
mov r13, r9
cmp edi, eax
jge 0x14000208b
mov eax, esi
xor eax, 0x7ff
cmp r12d, eax
jg 0x14000203f
lea eax, [rsi + 0x814]
cmp ecx, eax
mov rax, qword [section..data]
jg 0x140001ed7
mov r10d, r14d
mov qword [rsp + 0x28], rax
mov r9d, r14d
mov r8d, r12d
xor r10d, 0x6925
add esi, 0xcd2
xor esi, 0x7f46
mov dword [rsp + 0x20], r10d
sub edi, 0x909
xor r9d, 0x76c8
xor r8d, 0x350e
lea ecx, [rsi + 0x200]
lea edx, [rdi + 0x63a]
call fcn.140003428
add ebp, 0x36d8
add ebx, 0x3761
xor ebx, 0xb8d
jmp 0x14000203f
mov eax, dword [rax + 0xe8]
add eax, r15d
mov dword [rsp + 0xa8], edi
cmp edi, eax
jb 0x14000203f
lea ecx, [rbp + 0x3a00]
mov r12d, edi
xor ecx, edx
lea r10, [0x140015010]
mov dword [rsp + 0x48], ecx
mov edx, dword [r13 + 0xd0]
mov r9d, dword [0x1400150e0]
mov r8d, dword [r13 + 0xcc]
add r9d, r14d
and r9d, dword [r13 + 0x9c]
or r8d, 0x47ae
imul edx, ebp
mov qword [rsp + 0x20], r10
or edx, 0x3a00
call fcn.1400020ac
mov ecx, dword [rsp + 0xb0]
mov edi, eax
or ecx, eax
imul ecx, ebx
cmp eax, ecx
jle 0x14000200a
mov ecx, r14d
xor ecx, ebx
or ecx, dword [r13 + 0x24]
cmp eax, ecx
je 0x14000200a
mov r15d, dword [rsp + 0xb0]
lea eax, [rbp + 0x2bf6]
cdqe
mov ebp, edi
mov r12, rax
mov rax, qword [section..data]
mov ecx, dword [rax + 4]
and ecx, 0x3a00
sub ecx, dword [r13 + 0x9c]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [r13 + 0xc4]
lea r8, [0x140015010]
mov r9d, dword [0x140015120]
mov eax, 0x43dc
imul r9d, dword [r13 + 0x110]
sub ecx, eax
mov edx, dword [r13 + 0x38]
or ecx, eax
mov eax, dword [0x140015084]
add edx, esi
imul eax, r14d
xor r9d, r15d
sub eax, r15d
mov dword [rsp + 0x20], eax
call fcn.1400025f4
mov ecx, eax
inc ebp
xor ecx, ebx
mov r14d, eax
or ecx, dword [r13 + 0x24]
cmp ebp, ecx
jne 0x140001f7a
mov ebp, dword [rsp + 0xc0]
mov r15d, dword [rsp + 0x44]
mov r12d, dword [rsp + 0xa8]
mov rcx, qword [section..data]
lea r10, [0x140015010]
add r12d, 2
mov dword [rsp + 0xa8], r12d
mov ecx, dword [rcx + 0xe8]
add ecx, r15d
cmp r12d, ecx
mov ecx, dword [rsp + 0x48]
jae 0x140001f05
mov r12d, dword [rsp + 0x4c]
lea r9d, [rbx - 0x4af]
xor ebx, 0x7f30
lea eax, [r12 + 0x341b]
mov ecx, ebx
mov dword [rsp + 0x30], eax
lea r10d, [rsi - 0x8d1]
mov dword [rsp + 0x28], r9d
lea r8d, [rdi + 0x1283]
mov r9, qword [section..data]
lea edx, [rbp - 0x1ca]
mov dword [rsp + 0x20], r10d
call fcn.140001b94
xor r14d, 0x76c8
lea eax, [r14 + 0x5e5]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400020ac
Capabilities:
Encode data using xor

Disassembly:
lea eax, [rdx + 0x57e]
xor r9d, 0x5c
mov rdx, qword [section..data]
lea r11d, [rcx + 0x42b]
lea r10d, [rcx + 0x11ac]
lea ecx, [r8 - 0x9dc]
mov r8, qword [rsp + 0x28]
cmp eax, ecx
je 0x140002106
mov eax, dword [rdx + 0x74]
add r10d, 0xfffffa19
xor r10d, 0x171a
cmp dword [rdx + 0x60], eax
jb 0x140002106
lea rax, [0x140015010]
mov qword [r8 + 0xf8], rax
mov rdx, qword [section..data]
lea eax, [r11 + 0x2eb]
cmp r9d, eax
jge 0x1400021c1
xor r10d, r10d
mov rax, qword [0x1400150c0]
mov ecx, dword [r10 + rax]
xor ecx, dword [r8 + 0x78]
mov rax, qword [r8 + 0xb0]
mov dword [r10 + rax], ecx
add r10, 4
mov eax, dword [0x14001504c]
mov edx, dword [r8 + 0x74]
add eax, 0xfffda5b5
or dword [r8 + 0x24], eax
mov eax, dword [r8 + 0x14]
mov ecx, dword [r8 + 0x3c]
add ecx, 0xfffda5b6
add edx, ecx
imul eax, edx
mov dword [r8 + 0x14], eax
mov rax, qword [section..data]
mov ecx, dword [rax + 0xb8]
add dword [r8 + 0x78], ecx
mov eax, dword [r8 + 0x74]
sub eax, dword [r8 + 0xc0]
mov rcx, qword [section..data]
add eax, 0x12
xor dword [rcx + 0x14], eax
mov eax, dword [r8 + 0x18]
sub eax, 0xd
add dword [r8 + 0xc8], eax
mov eax, dword [r8 + 0xd0]
sub eax, dword [r8 + 0xc8]
xor eax, 0x1471cd
or dword [r8 + 0x9c], eax
cmp r10, 0x10658
jl 0x140002119
jmp 0x1400021fc
mov eax, dword [rdx + 0x58]
and eax, r9d
add eax, r10d
cmp dword [r8 + 0x7c], eax
jbe 0x1400021fc
imul r10d, r10d
cmp r11d, r10d
je 0x1400021fc
mov eax, dword [rdx + 0x10]
add eax, dword [r8 + 0x5c]
mov ecx, dword [0x140015110]
imul ecx, eax
mov dword [0x140015110], ecx
mov eax, dword [rdx + 4]
xor eax, dword [r8 + 0xc4]
xor r9d, eax
lea eax, [r9 + 0x704]
ret
Function at 0x140003228
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov eax, dword [rsp + 0x50]
lea edi, [rcx - 0x825]
mov r8d, eax
mov r10d, 0x3a30
xor r8d, r10d
add edx, 0xffffc928
mov rbx, r9
mov r9d, ecx
lea esi, [rax + 0x4bc]
add eax, 0x7dc
xor eax, 0x1a6
cmp r8d, eax
jge 0x140003392
mov ecx, edx
lea eax, [r9 + 0xdf1]
xor ecx, 0x2bf6
cmp eax, ecx
je 0x1400033b5
mov rax, qword [section..data]
lea rcx, [0x1400045b0]
add edi, 0xb6b
xor r9d, r9d
mov qword [rax + 0xa0], rcx
mov edx, dword [rbx + 8]
mov rax, qword [0x1400150b0]
movsxd rcx, dword [rbx + 0x70]
mov r8d, dword [r9 + rax]
add r9, 4
mov rax, qword [section..data]
imul r8d, dword [rax + 0x6c]
mov eax, dword [rbx + 0x60]
xor eax, dword [0x140015098]
sub edx, eax
mov rax, qword [rbx + 0xa8]
sub edx, 0x560c0
mov dword [rbx + 8], edx
mov edx, r8d
shr edx, 8
mov byte [rcx + rax], dl
inc dword [rbx + 0x70]
mov rax, qword [section..data]
movsxd rcx, dword [rax + 0x70]
mov rax, qword [rbx + 0xa8]
mov byte [rcx + rax], r8b
mov rax, qword [section..data]
inc dword [rax + 0x70]
mov eax, dword [rbx + 0x58]
mov edx, dword [rbx + 8]
xor eax, 0x1c26e4
add eax, 0xffffffef
add eax, edx
add dword [rbx + 0x2c], eax
mov eax, dword [rbx + 0x94]
sub eax, 0x1af435
xor dword [rbx + 0x24], eax
mov rax, qword [section..data]
mov ecx, dword [rax + 0xc4]
add ecx, dword [rbx + 0x7c]
mov eax, dword [rbx + 0xe8]
xor ecx, 0x229387
imul eax, ecx
mov dword [rbx + 0xe8], eax
mov eax, dword [0x1400150e0]
xor eax, 1
sub dword [rbx + 0x88], eax
mov eax, dword [rbx + 0xd0]
xor eax, 1
or dword [rbx + 0x104], eax
cmp r9, 0xf240
jl 0x1400032b4
mov dword [rbx + 0x6c], 1
mov rbx, qword [rsp + 0x30]
xor edi, 0x71cf
mov rbp, qword [rsp + 0x38]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov eax, dword [0x140015068]
mov rcx, qword [section..data]
xor eax, r10d
add eax, 0x383d
cmp dword [rcx + 0x58], eax
ja 0x140003392
mov eax, dword [rbx + 0x10]
xor eax, dword [rbx + 0xc0]
cmp esi, eax
jb 0x140003392
mov eax, edi
sub eax, esi
movsxd rbp, eax
lea eax, [rdx + r8]
movsxd r14, eax
mov eax, dword [rcx + 0xc0]
mov rdx, rbp
or eax, dword [0x140015084]
mov rcx, r14
imul r8d, eax, 0x2bf6
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [rbx + 0x10]
inc esi
xor eax, dword [rbx + 0xc0]
cmp esi, eax
jb 0x140003392
mov rcx, qword [section..data]
jmp 0x1400033ea