joyce8/EMBER2024-capa huggingface dataset:
Function at 0x630042a0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x63004407
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x630042b2
cmp edx, ecx
jne 0x630043f5
nop word [rax + rax]
test rsi, rsi
jne 0x630043f5
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x63004314
nop
call fcn.63023660
xorps xmm15, xmm15
mov r14, qword [0x63184748]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.630041c0
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x630043f0
mov rdx, qword [0x631314e8]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x630043e5
mov rcx, qword [0x631314e0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x63132190]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x63132190], rax
nop
mov edx, 1
lea rsi, [0x63132198]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x630043d3
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1228], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x6309a888]
mov ebx, 0x28
nop
call fcn.62ff57e0
mov rax, rsi
mov rcx, rdx
call fcn.63021dc0
call fcn.62ff3e80
lea rax, [0x63099a81]
mov ebx, 0x23
call fcn.62ff57e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.6301fb20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.630042a0
Function at 0x6300f9c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x6300fb37
movzx edx, byte [rax]
test edx, edx
jne 0x6300f9f4
nop dword [rax]
test r8b, r8b
jne 0x6300f9f4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x6300fa07
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x6300faf7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x6300fae5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x6300fad7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x6300fa5d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x6300faa0
mov eax, 1
cmp rax, rbx
ja 0x6300fa8b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.63021e80
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x6300facf
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x6300fa93
mov rcx, r11
mov eax, r12d
jmp 0x6300fa62
mov rcx, rbx
call fcn.63021dc0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.63021dc0
mov eax, r8d
mov rcx, rbx
call fcn.63021e80
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x6300fb2d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x6300faf0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x6300fa0d
mov eax, edx
mov rcx, rbx
call fcn.63021dc0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.63021dc0
nop
int3
Function at 0x63016f40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x63016fef
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x63017040]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.6301f9e0
xorps xmm15, xmm15
mov r14, qword [0x63184748]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.6301fb20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.63016f40
Function at 0x63021900
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x62fc3e23
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.62fc98e0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.6301fb20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x62fc3e00
cmp byte [0x63184508], 0
je 0x63021915
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x6301eb80
jmp 0x62fc3e00

Function at 0x63021920
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x631847e0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x63184508], 0
je 0x63021955
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x63184aa0]
aesenc xmm0, xmmword [0x63184ab0]
aesenc xmm0, xmmword [0x63184ac0]
movq rax, xmm0
ret
jmp 0x62fc9b00

Function at 0x63021960
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x631847e0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x63184508], 0
je 0x63021996
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x63184aa0]
aesenc xmm0, xmmword [0x63184ab0]
aesenc xmm0, xmmword [0x63184ac0]
movq rax, xmm0
ret
jmp 0x62fc9b60

Function at 0x6302b5a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x6302b66a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.62fc3ce0
xorps xmm15, xmm15
mov r14, qword [0x63184748]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x6302b64f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x6307b040]
xor ebx, ebx
mov rcx, rdx
call fcn.63008540
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.6302bb80
inc rbx
cmp rcx, rbx
jae 0x6302b63e
mov edi, 1
lea rsi, [0x6307b040]
call fcn.63008620
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x630b75c8]
lea rsi, [0x630b6ee8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.6301fb20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.6302b5a0
Function at 0x6304f480
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x6304f497
inc rax
cmp rax, 4
jge 0x6304f4af
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x6304f494
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x6304f4c0
inc rax
cmp rax, 4
jge 0x6304f4ce
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x6304f4f7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x6304f4db
jmp 0x6304f4bd

Function at 0x6305b420
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x63188570], rax
test rax, rax
je 0x6305b455
lea rcx, [0x63188580]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, 2
call qword [fcn.6305d090]
mov r8d, 0x3d
mov edx, 1
lea rcx, str.runtime:_failed_to_create_runtime_initialization_wait_event._n
mov r9, rax
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop

Function at 0x6305bc20
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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.6305d090
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.6305d090
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x6305bc90
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x63188b84]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x6305be38
mov rax, qword [0x63188b88]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x6305bcdc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x6305bd67
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x6305bcc0
mov rcx, r12
call fcn.6305c990
mov rbp, rax
test rax, rax
je 0x6305be72
mov rax, qword [0x63188b88]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.6305cac0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x63188b88]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6305be81
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x6305bd60
sub eax, 4
and eax, 0xfffffffb
jne 0x6305bdf0
add dword [0x63188b84], 1
cmp ebx, 8
jae 0x6305bd98
test bl, 4
jne 0x6305be40
test ebx, ebx
je 0x6305bd89
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x6305be60
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x6305bd89
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x6305bdca
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x63188b88]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6305bd60
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.6305bc20
nop dword [rax]
xor edi, edi
jmp 0x6305bce7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x6305bd89
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x6305bd89
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.6305bc20
mov rax, qword [0x63188b88]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.6305bc20
nop
nop dword [rax]
Function at 0x6305c600
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x63188e60]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x63188e40]
test rbx, rbx
je 0x6305c654
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x6305c64b
test r12, r12
je 0x6305c64b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6305c630
lea rcx, [0x63188e60]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x6305c990
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x6312aaa0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x6305ca09
mov rcx, r10
call fcn.6305c860
test eax, eax
je 0x6305ca09
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x6305ca06
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x6305c9fd
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x6305ca09
add r8, 0x28
cmp r8, r9
jne 0x6305c9e8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x140002430
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x280
lea rdi, [rsp + 0x20]
mov ecx, 0x98
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x290]
mov dword [rsp + 0x30], 0x238
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x278], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x278]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1400024cd
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x278]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
jne 0x1400024cd
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x1400024cb
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x1400024dd
jmp 0x140002489
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14000c100]
call fcn.140006bc0
mov rax, rdi
add rsp, 0x280
pop rdi
ret
Function at 0x1400044f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x30]
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x68], 0
je 0x140004535
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000453c
mov al, 1
jmp 0x1400046d6
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa0], rax
call fcn.140005240
mov dword [rsp + 0xa8], eax
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xe0]
call qword [rsp + 0xa0]
mov dword [rsp + 0xac], eax
call fcn.140005240
mov dword [rsp + 0xb0], eax
mov edx, dword [rsp + 0xac]
mov ecx, dword [rsp + 0xb0]
call fcn.140005250
movzx eax, al
test eax, eax
je 0x1400045a9
xor al, al
jmp 0x1400046d6
mov qword [rsp + 0x30], 0x20
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0xe0]
add rcx, 0x74
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x48]
mov rdx, rcx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14000462b
cmp dword [rsp + 0xc0], 1
je 0x140004637
cmp dword [rsp + 0xc0], 3
je 0x1400046c4
jmp 0x1400046d4
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jbe 0x140004692
mov rax, qword [rsp + 0xe0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x98]
mov edx, 1
lea rcx, [rsp + 0x48]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rsp + 0x98], rax
je 0x140004692
xor al, al
jmp 0x1400046d6
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400046af
mov dword [rsp + 0xc4], 1
jmp 0x1400046ba
mov dword [rsp + 0xc4], 0
movzx eax, byte [rsp + 0xc4]
jmp 0x1400046d6
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400046d6
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14000c990]
call fcn.140006bc0
mov rax, rdi
add rsp, 0xd0
pop rdi
ret
Function at 0x140006650
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x14000668a
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140006778
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x50], 0
jle 0x140006720
cmp qword [rsp + 0x28], 0
jle 0x140006720
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x50], rax
jge 0x1400066ca
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140005100
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x140006768
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x140006768
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
add rsp, 0x30
pop rdi
ret
Function at 0x1400022f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov byte [rbp - 0x30], 0xfc
xor r10d, r10d
mov byte [rbp - 0x2f], 0xfb
movabs rdi, 0xf1d44e4171a87cac
mov byte [rbp - 0x2e], Ordinal_143
mov r11, rdi
mov byte [rbp - 0x2d], 0xf4
mov rbx, rcx
mov byte [rbp - 0x2c], 0xc3
lea esi, [r10 + 0xf]
mov byte [rbp - 0x2b], 0xde
mov byte [rbp - 0x2a], 0x87
mov byte [rbp - 0x29], 0x86
mov byte [rbp - 0x28], 0x80
mov byte [rbp - 0x27], Ordinal_211
mov byte [rbp - 0x26], 0xdc
mov byte [rbp - 0x25], 0x8a
mov byte [rbp - 0x24], 0x8b
mov byte [rbp - 0x23], 0x99
mov byte [rbp - 0x22], reloc.WLDAP32.dll_Ordinal_143
mov byte [rbp - 0x21], 0x80
mov byte [rbp - 0x20], 0x86
mov byte [rbp - 0x1f], 0x83
mov byte [rbp - 0x1e], 0x9f
mov byte [rbp - 0x1d], Ordinal_143
mov byte [rbp - 0x1c], 0xff
mov byte [rbp - 0x1b], 0xae
mov byte [rbp - 0x1a], 0xf5
mov byte [rbp - 0x19], 0xe9
mov byte [rbp - 0x18], 0xfd
mov byte [rbp - 0x17], 0xf7
mov byte [rbp - 0x16], 0xfa
mov byte [rbp - 0x15], 0xf4
mov byte [rbp - 0x14], 0xe1
mov byte [rbp - 0x13], 0xa6
mov byte [rbp - 0x12], 0xf8
mov byte [rbp - 0x11], 0xa6
mov byte [rbp - 0x10], 0xf3
mov byte [rbp - 0xf], 0xa4
mov byte [rbp - 0xe], 0xa7
mov byte [rbp - 0xd], 0xfa
mov byte [rbp - 0xc], 0xe8
mov byte [rbp - 0xb], 0xe9
mov byte [rbp - 0xa], 0xe1
mov byte [rbp - 9], 0xe3
mov byte [rbp - 8], 0xe4
mov byte [rbp - 7], 0xac
mov byte [rbp - 6], Ordinal_217
movzx eax, byte [rbp - 0x30]
lea rax, [rbp - 0x30]
sub r11, rax
nop word [rax + rax]
mov rcx, r10
lea r8, [rbp - 0x30]
add r8, r10
and ecx, esi
cmp rcx, rsi
mov rdx, rdi
cmovae rcx, rsi
movzx r9d, byte [r8]
lea eax, [r8 + r11]
shl cl, 2
shr rdx, cl
and dl, sil
xor dl, al
xor dl, r9b
mov byte [rbp + r10 - 0x30], dl
inc r10
cmp r10, 0x2b
jb 0x1400023e0
mov qword [rsp + 0x30], 0
lea rcx, [rbp - 0x30]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r11, [rsp + 0x70]
mov qword [rbx], rax
mov rbx, qword [r11 + 0x10]
cmp rax, 0xffffffffffffffff
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
setne al
mov rsp, r11
pop rbp
ret
Function at 0x140008fe0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x140135840]
xor r15d, r15d
mov ebp, ecx
mov r14d, r15d
mov rsi, qword [rdi + 0x3ed0]
test cl, 0x10
jne 0x14000916f
mov ebx, dword [rdi + 0x476c]
test ebx, ebx
je 0x140009057
cmp dword [rdi + 0x3f30], ebx
jne 0x140009168
mov eax, dword [rdi + 0x3f5c]
cmp eax, 0xffffffff
cmove eax, r15d
movsxd r15, eax
cmp byte [r15 + rdi + 0xe04], r14b
je 0x140009168
cmp byte [rsi + 0xb3], r14b
jmp 0x140009110
cmp byte [rdi + 0xe04], r14b
je 0x140009168
cmp byte [rsi + 0xb3], r14b
jne 0x140009168
test byte [rdi + 0x4774], 1
jne 0x140009094
cmp dword [rdi + 0x3f30], r14d
je 0x140009168
cmp qword [rdi + 0x3f50], rsi
jne 0x140009168
test bpl, 8
je 0x140009168
lea rdx, [rdi + 0x4778]
mov rcx, rsi
call fcn.14000e170
mov ebx, eax
mov dword [rdi + 0x476c], eax
mov rax, qword [0x140135840]
cmp dword [rax + 0x3f30], ebx
jne 0x1400090ca
mov dword [rax + 0x3f34], ebx
cmp dword [rax + 0x3f60], ebx
jne 0x1400090d9
mov byte [rax + 0x3f64], 1
mov edx, ebx
lea rcx, [rdi + 0x4778]
call fcn.140010cd0
movzx r14d, al
test al, al
je 0x14000910a
cmp byte [rdi + 0x3738], r15b
je 0x14000910a
mov rdx, rsi
mov ecx, ebx
call fcn.14001a780
mov rcx, rsi
call fcn.14000da00
cmp dword [rdi + 0x3f30], ebx
jne 0x140009168
mov byte [rdi + 0x3f3d], r14b
movsxd rcx, dword [rsi + 0xe8]
mov rax, qword [rsi + 0xf0]
mov r14d, dword [rax + rcx*4 - 4]
mov rax, qword [0x140135840]
movsxd rcx, r15d
cmp byte [rcx + rax + 0xe04], 0
jne 0x140009145
xor sil, sil
jmp 0x14000915e
movss xmm1, dword [rax + 0x38]
movss xmm0, dword [rax + rcx*4 + 0x3790]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae sil
call fcn.14001a8d0
test sil, sil
jne 0x1400091c2
xor al, al
jmp 0x140009262
mov r9d, 0xffffffff
lea rdx, [0x1400df9a1]
mov ebx, r9d
lea r10, [0x1400de490]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
nop dword [rax]
cmp r8b, 0x23
jne 0x1400091a3
cmp byte [rdx], r8b
jne 0x1400091a3
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x140009190
not ebx
cmp byte [rdi + 0x4a5c], 0
jne 0x140009200
call fcn.14000a960
mov dword [rdi + 0x4a7c], ebx
mov dword [rdi + 0x4a80], r14d
mov byte [rdi + 0x4a5c], 1
mov dword [rdi + 0x4a60], ebp
mov dword [rdi + 0x4a68], r15d
cmp ebx, dword [rdi + 0x3f30]
jne 0x140009200
mov byte [rdi + 0x3f3e], 1
mov eax, dword [rdi + 0x3e50]
mov dword [rdi + 0x4a64], eax
mov byte [rdi + 0x4a5d], 1
test bpl, 1
jne 0x140009253
xor edx, edx
xor ecx, ecx
call fcn.140009610
cmp dword [rdi + 0x4ad0], 0
je 0x140009253
test dword [rdi + 0x4ac4], 0x1000
je 0x140009253
mov rax, qword [rdi + 0x3ed0]
mov byte [rax + 0xb3], 1
mov byte [rax + 0xb5], 1
mov byte [rax + 0xd0], 1
test bpl, 0x12
jne 0x140009260
and dword [rdi + 0x4774], 0xfffffffe
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret