joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455780
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x4558f7
movzx edx, byte [rax]
test edx, edx
jne 0x4557b4
nop dword [rax]
test r8b, r8b
jne 0x4557b4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x4557c7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x4558b7
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 0x4558a5
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 0x455897
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x45581d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x455860
mov eax, 1
cmp rax, rbx
ja 0x45584b
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.00469860
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x45588f
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 0x455853
mov rcx, r11
mov eax, r12d
jmp 0x455822
mov rcx, rbx
call fcn.004697a0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.004697a0
mov eax, r8d
mov rcx, rbx
call fcn.00469860
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x4558ed
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 0x4558b0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x4557cd
mov eax, edx
mov rcx, rbx
call fcn.004697a0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.004697a0
nop
int3

Function at 0x45b7a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45b855
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.00459420
nop
test bl, bl
je 0x45b84f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x0045b8a0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.004673a0
xorps xmm15, xmm15
mov r14, qword [0x0068ccc0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
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.004674c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0045b7a0
Function at 0x45e7c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45e86f
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, [0x0045e8c0]
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.004673a0
xorps xmm15, xmm15
mov r14, qword [0x0068ccc0]
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.004674c0
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.0045e7c0
Function at 0x4692c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4043a3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.0040a3a0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004674c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x404380
cmp byte [0x0068caab], 0
je 0x4692d5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x466500
jmp 0x404380

Function at 0x4692e0
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 [0x0068cdc0]
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 [0x0068caab], 0
je 0x469315
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0068d0e0]
aesenc xmm0, xmmword [0x0068d0f0]
aesenc xmm0, xmmword [0x0068d100]
movq rax, xmm0
ret
jmp 0x40a5c0

Function at 0x469320
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 [0x0068cdc0]
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 [0x0068caab], 0
je 0x469356
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0068d0e0]
aesenc xmm0, xmmword [0x0068d0f0]
aesenc xmm0, xmmword [0x0068d100]
movq rax, xmm0
ret
jmp 0x40a620

Function at 0x46b100
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x46b134
mov rcx, 0x28
jmp 0x46b13f
shl rcx, 3
add rcx, 0x1480
mov qword [0x0068ccc0], rcx
pop rbp
ret
Function at 0x48afc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48b08a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403900
xorps xmm15, xmm15
mov r14, qword [0x0068ccc0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x48b06f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004fd700]
xor ebx, ebx
mov rcx, rdx
call fcn.0044e1e0
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.0048bda0
inc rbx
cmp rcx, rbx
jae 0x48b05e
mov edi, 1
lea rsi, [0x004fd700]
call fcn.0044e2c0
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, [0x0054c178]
lea rsi, [0x0054b7a8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004674c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0048afc0
Function at 0x4ccd80
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4cd4bf
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4ccdad
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4cd031
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4cd05d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x0054dac0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004fd600]
lea rbx, [0x0054bf90]
call fcn.00437520
inc rax
cmp rax, r8
jge 0x4cd082
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4cd0b7
lea rdi, [0x004fd680]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4ccda3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4cd09b
jmp 0x4cd070
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.004674c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004ccd80

Function at 0x4cd660
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 0x4cd677
inc rax
cmp rax, 4
jge 0x4cd68f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4cd674
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4cd6a0
inc rax
cmp rax, 4
jge 0x4cd6ae
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4cd6d7
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 0x4cd6bb
jmp 0x4cd69d
Function at 0x180002890
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1800028cc
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.180002e00
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x180002988
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1800029f0
test ebx, ebx
jne 0x1800029f0
mov ecx, 2
call fcn.180002e00
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.180002fe0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret

Function at 0x180002d60
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x180002d9a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x180002d9f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180002de8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800057e0]
cmp byte [rcx + rax], 0
je 0x180002de8
dec r8
sub rdx, 1
jne 0x180002dce
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x180002518
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x12e8]
mov eax, 0x13e8
call fcn.18003ed60
sub rsp, rax
mov rbx, rcx
xor ecx, ecx
call fcn.180046404
or dword [rbp + 0x12d4], 0xffffffff
mov r8d, 1
mov edx, r8d
mov dword [rsp + 0x54], eax
mov r9d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul ecx, ecx, 0x6c078965
add ecx, edx
mov dword [rsp + rdx*4 + 0x54], ecx
mov eax, ecx
add rdx, r8
cmp rdx, r9
jb 0x180002554
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], r9d
lea rcx, [rbp + 0x1300]
mov dword [rbp + 0x1300], r8d
mov dword [rbp + 0x1304], 5
call fcn.1800096a8
mov dword [rbx + 0x28], eax
mov ecx, 0x27d
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
add rax, rcx
mov dword [rsp + 0x48], ecx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.180009764
mov ecx, dword [rbx + 0x28]
mov qword [rbp + 0x1310], rax
sub ecx, 1
je 0x18000275f
sub ecx, 1
je 0x1800026e8
sub ecx, 1
je 0x180002688
sub ecx, 1
je 0x18000260e
cmp ecx, 1
jne 0x1800027b9
mov ecx, 0x1c58
call fcn.18003e760
mov qword [rbx + 0x20], rax
jmp 0x1800027b9
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea r9, [rbp + 0x1308]
and qword [rsp + 0x40], 0
lea r8, [rbp + 0x1318]
mov ecx, 0x190
mov dword [rbp + 0x1300], 4
add rax, rcx
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x30]
lea rax, [rbp + 0x1300]
lea rcx, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x1308], 0x3000
mov qword [rbp + 0x1318], 0x1c58
call fcn.180008dc4
mov qword [rbx + 0x18], rax
jmp 0x1800027b9
mov rax, qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea r9, [rbp + 0x1308]
mov ecx, 0x23d
mov qword [rbp + 0x1308], 0x1c58
mov dword [rsp + 0x38], ecx
lea r8, [rbp + 0x1300]
add rax, rcx
mov dword [rbp + 0x1300], 8
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x1310]
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1800099b8
mov qword [rbx + 0x10], rax
jmp 0x1800027b9
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea r9, [rbp + 0x1308]
and qword [rsp + 0x40], 0
lea r8, [rbp + 0x1318]
mov ecx, 0x240
mov dword [rbp + 0x1300], 4
add rax, rcx
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x30]
lea rax, [rbp + 0x1300]
lea rcx, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x1308], 0x3000
mov qword [rbp + 0x1318], 0x1c58
call fcn.180008dc4
mov qword [rbx + 8], rax
jmp 0x1800027b9
mov rax, qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea r9, [rbp + 0x1308]
mov ecx, 0x277
mov qword [rbp + 0x1308], 0x1c58
mov dword [rsp + 0x38], ecx
lea r8, [rbp + 0x1300]
add rax, rcx
mov dword [rbp + 0x1300], 8
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x1310]
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1800099b8
mov qword [rbx], rax
mov rax, rbx
add rsp, 0x13e8
pop rbx
pop rbp
ret
Function at 0x1800042e0
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x1a0
mov r14, qword [rcx + 0x10]
mov rdi, rcx
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 2
jb 0x18000453e
cmp qword [rdi + 0x18], 0xf
jbe 0x18000432d
mov rdi, qword [rdi]
lea r15, [r14 + 2]
mov ebx, 0xf
lea rsi, [rsp + 0x20]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
cmp r15, rbx
jbe 0x1800043a2
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x18000436c
mov rbx, rcx
movabs rcx, 0x8000000000000000
jmp 0x180004385
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x18000438f
call fcn.180010944
mov rsi, rax
jmp 0x18000439d
test rcx, rcx
je 0x18000439b
call fcn.18003e3b4
jmp 0x18000438a
xor esi, esi
mov qword [rsp + 0x20], rsi
mov r8, r14
mov qword [rsp + 0x30], r15
mov rdx, rdi
mov qword [rsp + 0x38], rbx
mov rcx, rsi
call fcn.180059930
mov word [rsi + r14], 0x2a5c
lea rcx, [rsp + 0x20]
mov byte [rsi + r15], 0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x38], 0xf
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdx, qword [rsp + 0x38]
mov rdi, rax
cmp rdx, 0xf
jbe 0x180004422
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000441d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004532
call fcn.18003e2c8
movdqa xmm0, xmmword [0x180068b60]
mov byte [rsp + 0x20], 0
movdqu xmmword [rsp + 0x30], xmm0
cmp rdi, 0xffffffffffffffff
jne 0x180004442
xor eax, eax
jmp 0x180004515
xor ebx, ebx
test byte [rsp + 0x60], 0x10
je 0x1800044f4
and qword [rsp + 0x50], 0
lea rax, [rbp - 0x74]
and qword [rsp + 0x58], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18000446b
lea rdx, [rbp - 0x74]
lea rcx, [rsp + 0x40]
call fcn.18000c128
mov rdx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
cmp rdx, 0xf
cmova rax, rcx
cmp qword [rsp + 0x50], 1
jne 0x1800044a7
cmp byte [rax], 0x2e
je 0x1800044c5
cmp rdx, 0xf
lea rax, [rsp + 0x40]
cmova rax, rcx
cmp qword [rsp + 0x50], 2
jne 0x1800044c3
cmp word [rax], 0x2e2e
je 0x1800044c5
inc ebx
cmp rdx, 0xf
jbe 0x1800044f4
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800044ef
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004538
call fcn.18003e2c8
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180004444
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1800470ac
int3
call fcn.1800470ac
int3
call fcn.180001380
int3
Function at 0x18000dc10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r9, qword [rcx]
mov ebx, 0x270
mov ecx, dword [r9]
cmp ecx, ebx
jne 0x18000dc7b
lea r8, [r9 + 8]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r10d
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub rbx, 1
jne 0x18000dc3e
mov ecx, dword [r9]
jmp 0x18000dd49
cmp ecx, 0x4e0
jb 0x18000dd49
lea rbx, [r9 + 0x9c4]
mov esi, 0xe3
mov edi, dword [rbx]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov eax, edi
mov edi, dword [rbx + 4]
mov edx, eax
lea rbx, [rbx + 4]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [rbx + 0x630]
xor ecx, edx
mov dword [rbx - 0x9c4], ecx
sub rsi, 1
jne 0x18000dca1
lea rbx, [r9 + 0xd50]
mov esi, 0x18c
mov edi, dword [rbx]
mov eax, edi
mov edi, dword [rbx + 4]
mov edx, eax
lea rbx, [rbx + 4]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [rbx - 0xd50]
xor ecx, edx
mov dword [rbx - 0x9c4], ecx
sub rsi, 1
jne 0x18000dce2
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 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
ret

Function at 0x18004a2ec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18004a302
mov al, 1
jmp 0x18004a362
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18004a313
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18004a360
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800546ac
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18004a360
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18004a360
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18004a360
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18004a362
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18004ed34
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.18003ed60
sub rsp, rax
mov rax, qword [0x18007b080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18004a1cc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18004ed83
mov rax, rbp
jmp 0x18004ee8b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xc9d90]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800500b0
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xc9d90]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18004ee87
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18004ee87
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800500b0
test rax, rax
js 0x18004ee87
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18004ee87
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x18004ee79
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x18004ee79
cmp byte [rcx], 0xd
jne 0x18004ee5f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18004ee6e
cmp byte [rcx + 1], 0xa
jne 0x18004ee6e
inc rcx
jmp 0x18004ee6e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x7b4b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x18004ee41
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18004ee8b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18003eb80
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret