joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800475c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x58
mov rdx, rcx
movdqa xmm0, xmmword [0x1800b77c0]
movdqu xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x38], 0x240b2031
mov dword [rsp + 0x3c], 0x39352635
mov dword [rsp + 0x40], 0x213b370b
mov word [rsp + 0x44], 0x203a
xor eax, eax
mov byte [rsp + 0x46], al
mov qword [rsp + 0x20], rax
cmp rax, 0x1d
jae 0x180047617
movzx ecx, byte [rsp + 0x28]
xor cl, byte [rsp + rax + 0x29]
mov byte [rsp + rax + 0x29], cl
inc rax
jmp 0x1800475fa
mov byte [rsp + 0x46], 0
lea rcx, [rsp + 0x29]
call fcn.180066f90
jmp 0x180047653
add rsp, 0x58
ret

Function at 0x180047a70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x58
mov r9, rcx
movdqa xmm0, xmmword [0x1800b7ae0]
movdqu xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x38], 0x48407259
mov dword [rsp + 0x3c], 0x49424559
mov word [rsp + 0x40], 0x5e
xor ecx, ecx
mov qword [rsp + 0x20], rcx
cmp rcx, 0x18
jae 0x180047abb
movzx eax, byte [rsp + 0x28]
xor al, byte [rsp + rcx + 0x29]
mov byte [rsp + rcx + 0x29], al
inc rcx
jmp 0x180047a9e
mov byte [rsp + 0x41], 0
mov r8, rdx
mov rdx, r9
lea rcx, [rsp + 0x29]
call fcn.180067050
jmp 0x180047afd
add rsp, 0x58
ret

Function at 0x180047bb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x58
mov rdx, rcx
movdqa xmm0, xmmword [0x1800b7af0]
movdqu xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x38], 0x404f7358
mov dword [rsp + 0x3c], 0x735f5f4d
mov dword [rsp + 0x40], 0x4259434f
mov word [rsp + 0x44], 0x58
xor eax, eax
mov qword [rsp + 0x20], rax
cmp rax, 0x1c
jae 0x180047c03
movzx ecx, byte [rsp + 0x28]
xor cl, byte [rsp + rax + 0x29]
mov byte [rsp + rax + 0x29], cl
inc rax
jmp 0x180047be6
mov byte [rsp + 0x45], 0
lea rcx, [rsp + 0x29]
call fcn.180066f90
jmp 0x180047c3f
add rsp, 0x58
ret

Function at 0x180047ce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1800cb040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdx, rcx
xor eax, eax
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [str.A__s_11]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x201e3524
mov dword [rsp + 0x34], 0x2c243232
mov dword [rsp + 0x38], 0x24282d23
mov word [rsp + 0x3c], 0x32
mov qword [rsp + 0x40], rax
cmp rax, 0x1c
jae 0x180047d47
movzx ecx, byte [rsp + 0x20]
xor cl, byte [rsp + rax + 0x21]
mov byte [rsp + rax + 0x21], cl
inc rax
jmp 0x180047d2a
mov byte [rsp + 0x3d], 0
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x21]
call fcn.180067050
mov rax, qword [rsp + 0x48]
jmp 0x180047d8d
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800704c0
add rsp, 0x68
ret
Function at 0x180047da0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1800cb040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdx, rcx
xor eax, eax
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [0x1800b7b20]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x66587362
mov dword [rsp + 0x34], 0x6a627474
mov dword [rsp + 0x38], 0x626e6b65
mov word [rsp + 0x3c], 0x74
mov qword [rsp + 0x40], rax
cmp rax, 0x1c
jae 0x180047e07
movzx ecx, byte [rsp + 0x20]
xor cl, byte [rsp + rax + 0x21]
mov byte [rsp + rax + 0x21], cl
inc rax
jmp 0x180047dea
mov byte [rsp + 0x3d], 0
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x21]
call fcn.180067050
jmp 0x180047e48
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800704c0
add rsp, 0x68
ret
Function at 0x18004c5f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test rcx, rcx
je 0x18004c650
mov r8, qword [rcx]
test r8, r8
je 0x18004c650
mov r8, qword [r8 + 0x10]
mov eax, 0xffffffff
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x18004c610
test ecx, ecx
je 0x18004c64d
mov r9d, ecx
lea r10, [0x1800b4d40]
nop dword [rax + rax]
movsx edx, byte [r8]
lea r8, [r8 + 1]
mov ecx, eax
shr eax, 8
xor rdx, rcx
movzx ecx, dl
xor eax, dword [r10 + rcx*4]
sub r9, 1
jne 0x18004c630
not eax
ret
xor eax, eax
ret

Function at 0x18004d1c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x18004d1df
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [0x1800ccce0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1800ce878], ecx
jle 0x18004d237
lea rcx, [0x1800ce878]
call fcn.180070588
cmp dword [0x1800ce878], 0xffffffff
jne 0x18004d237
mov ecx, 0x668c7be0
call fcn.18004a6b0
mov rdx, qword [rax]
mov qword [0x1800ce610], rdx
lea rcx, [0x1800ce878]
call fcn.18007051c
mov rax, qword [0x1800ce610]
mov rcx, rdi
call rax
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2 + 0x14], 0
jne 0x18004d250
mov rax, qword [0x1800ce610]
mov rcx, rdi
call rax
lea r8, [rax + 0x14]
mov eax, 0xffffffff
test ebx, ebx
je 0x18004d29d
mov r9d, ebx
lea r10, [0x1800b4d40]
nop
movzx edx, word [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r10 + rcx*4]
lea r8, [r8 + 2]
sub r9, 1
jne 0x18004d280
not eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180055440
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], rcx
lea rcx, [0x1800ce030]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, qword [0x1800ce030]
mov edx, dword [0x1800ce034]
test ax, ax
je 0x1800554f0
movss xmm3, dword [0x1800cc0f0]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x1800554f0
movss xmm4, dword [0x1800cc0f4]
movd xmm2, edx
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm4
jbe 0x1800554f0
movss xmm0, dword [rsp + 0x20]
addss xmm0, xmm3
comiss xmm0, xmm1
jbe 0x1800554f0
movss xmm0, dword [rsp + 0x24]
addss xmm0, xmm4
comiss xmm0, xmm2
jbe 0x1800554f0
cmp byte [0x1800ce014], 0
mov byte [0x1800cdec7], 1
jne 0x1800554f9
subss xmm1, xmm3
mov byte [0x1800ce014], 1
subss xmm2, xmm4
cvttss2si eax, xmm1
cvttss2si r8d, xmm2
mov dword [0x1800ce028], eax
mov dword [0x1800ce02c], r8d
jmp 0x180055506
cmp byte [0x1800cdec7], 0
je 0x180055529
mov r8d, dword [0x1800ce02c]
mov eax, dword [0x1800ce028]
sub ecx, eax
sub edx, r8d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [0x1800cc0f0], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [0x1800cc0f4], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180055545
mov byte [0x1800cdec7], al
mov byte [0x1800ce014], al
add rsp, 0x38
ret
Function at 0x180063a70
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180063aac
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x18005e860]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180063aac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret

Function at 0x1800645e0
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x180064604
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x180064692
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x180064660
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x180064660
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1800a0ff0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18006467d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x180064685
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x180064621
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x180064770
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x1800646a9
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800646ab
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800646dd
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1800a0ff0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18006476d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180064718
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x18006474e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.18007eb98
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x18006476d
cmp rsi, rax
ja 0x180064721
test rsi, rsi
je 0x18006476d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.18007eb98
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret

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

Disassembly:
mov dword [rcx + 4], edx
lea r9, [rcx + 8]
mov eax, 1
nop dword [rax]
mov r8d, edx
lea r9, [r9 + 4]
shr r8d, 0x1e
xor r8d, edx
imul edx, r8d, 0x6c078965
add edx, eax
inc rax
mov dword [r9 - 4], edx
cmp rax, 0x270
jb 0x180066090
mov dword [rcx], 0x270
ret
Function at 0x18006c6e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x18006c741
lea r8, [r9 + 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 r10, 1
jne 0x18006c700
mov ecx, dword [r9]
jmp 0x18006c82b
cmp ecx, 0x4e0
jb 0x18006c82b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18006c760
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18006c7b0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
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
add rsp, 8
ret
Function at 0x18006c9f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.18006cc10
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18006caf7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18006ca54
mov rax, qword [0x1800cb008]
cmp qword [rsp + 0x20], rax
ja 0x18006ca54
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18006ca16
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1800a1690
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18006ca83
jmp 0x18006caf7
cmp dword [rsp + 0x50], 0x10000
jne 0x18006cada
cmp qword [rsp + 0x48], 0x10000
jb 0x18006cada
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006cac8
mov rax, qword [rsp + 0x28]
jmp 0x18006caf9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18006caf2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18006cc10
mov qword [rsp + 0x20], rax
jmp 0x18006ca16
xor eax, eax
add rsp, 0x68
ret

Function at 0x18006cb00
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.18006cc50
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18006cc03
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18006cb5b
mov rax, qword [0x1800cb008]
cmp qword [rsp + 0x20], rax
ja 0x18006cb5b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18006cb1d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1800a1690
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18006cb8a
jmp 0x18006cc03
cmp dword [rsp + 0x50], 0x10000
jne 0x18006cbe1
cmp qword [rsp + 0x48], 0x10000
jb 0x18006cbe1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006cbcf
mov rax, qword [rsp + 0x28]
jmp 0x18006cc05
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18006cbfe
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18006cc50
mov qword [rsp + 0x20], rax
jmp 0x18006cb1d
xor eax, eax
add rsp, 0x68
ret
Function at 0x18006cca0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18006d230
mov qword [rsp + 0x28], 0
cmp qword [0x1800cc6d8], 0
jne 0x18006cce8
cmp qword [0x1800cc6d0], 0
je 0x18006cce8
mov rax, qword [0x1800cc6d0]
mov qword [0x1800cc6d8], rax
cmp qword [0x1800cc6d8], 0
je 0x18006cd8e
mov rax, qword [0x1800cc6d8]
cmp qword [rax + 0x10], 0
je 0x18006cd8e
mov rax, qword [0x1800cc6d8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18006cd8e
mov rax, qword [0x1800cc6d8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18006cd8e
mov rax, qword [0x1800cc6d8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18006cd54
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18006cd5b
xor eax, eax
jmp 0x18006cf09
mov rax, qword [0x1800cc6d8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.1800a1690
mov rax, qword [rsp + 0x28]
jmp 0x18006cf09
mov rax, qword [0x1800cc6d0]
mov qword [0x1800cc6d8], rax
jmp 0x18006cdb0
mov rax, qword [0x1800cc6d8]
mov rax, qword [rax + 8]
mov qword [0x1800cc6d8], rax
cmp qword [0x1800cc6d8], 0
je 0x18006cdfd
cmp qword [0x1800cc6d8], 0
je 0x18006cdfb
mov rax, qword [0x1800cc6d8]
cmp qword [rax + 0x10], 0
je 0x18006cdfb
mov rax, qword [0x1800cc6d8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18006cdfb
mov rax, qword [0x1800cc6d8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18006cdfb
jmp 0x18006cd2c
jmp 0x18006cd9e
mov rcx, qword [rsp + 0x60]
call fcn.18006f0b0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18006cf10
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18006cf07
mov rax, qword [rsp + 0x48]
mov qword [0x1800cc6d8], rax
mov rax, qword [0x1800cc6d8]
mov dword [rax], 0x52727464
mov rax, qword [0x1800cc6d8]
mov qword [rax + 0x10], 0
mov rax, qword [0x1800cc6d8]
mov rcx, qword [0x1800cc6d0]
mov qword [rax + 8], rcx
mov rax, qword [0x1800cc6d8]
mov qword [0x1800cc6d0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1800cc6d8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x18006ceb8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18006cef2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18006ceae
mov rax, qword [0x1800cc6d8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18006cd2c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800777b0
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.18009b280
sub rsp, rax
mov rax, qword [0x1800cb040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18008904c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800777ff
mov rax, rbp
jmp 0x180077907
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 + 0xcd750]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800892dc
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xcd750]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180077903
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 0x180077903
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800892dc
test rax, rax
js 0x180077903
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180077903
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800778f5
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800778f5
cmp byte [rcx], 0xd
jne 0x1800778db
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800778ea
cmp byte [rcx + 1], 0xa
jne 0x1800778ea
inc rcx
jmp 0x1800778ea
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xcb490]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800778bd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180077907
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800704c0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x180086d80
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x180086def
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180086def
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180086def
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180086def
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180086def
cmp dword [rcx + 0x84], 0xe
jbe 0x180086def
cmp dword [rcx + 0xf8], 0
je 0x180086def
mov ecx, ebx
call fcn.180086ea0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.180086c7c
nop
cmp dword [rbp + 0x20], 0
je 0x180086e3d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180086e48
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180086d80
Function at 0x18008b324
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800cd750]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x18008b37b
cmp word [rdx], r13w
jne 0x18008b37b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x18008b380
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x18008b4a5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18008b4c6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x18008b3b9
mov rdx, r9
mov word [rbx], cx
jmp 0x18008b3e0
cmp r9, r8
jae 0x18008b3f0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x18008b39a
jmp 0x18008b4a5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18008b49a
cmp dword [rsp + 0x80], esi
je 0x18008b49a
lea r8, [0x1800cd750]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x18008b472
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x18008b442
mov word [rbx], r13w
jmp 0x18008b4a2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x18008b44f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x18008b4a2
cmp word [rsp + 0x70], r13w
jne 0x18008b47f
cmp rbx, r14
je 0x18008b43c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800892e4
cmp word [rsp + 0x70], r13w
je 0x18008b4a5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800cd750]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x18008b49f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x18008b4a5
Function at 0x18008e280
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18008e296
mov al, 1
jmp 0x18008e2f6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18008e2a7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18008e2f4
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800939f0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18008e2f4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18008e2f4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18008e2f4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18008e2f6
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x180090290
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800902b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180087c44
or eax, 0xffffffff
jmp 0x1800902b2
xor eax, eax
add rsp, 0x28
ret