joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180040f70
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1801443c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x1801481f0]
lea rdx, [rsp + 0x28]
mov rdi, qword [0x1801478b0]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
sub eax, dword [rsp + 0x28]
mov qword [rsp + 0x40], 0
movd xmm1, eax
mov eax, dword [rsp + 0x34]
sub eax, dword [rsp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1801481f8]
cvtsi2ss xmm0, qword [0x180148200]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1801481f8], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x1801478b0]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], 0
mov byte [rdi + 0x142], al
cmp byte [rbx + 0x39b], 0
je 0x1800410af
cvttss2si eax, dword [rbx + 0x128]
mov rcx, qword [0x1801481f0]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
cvttss2si eax, dword [rbx + 0x12c]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1800410af
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx + 0x128], 0xff7fffff
mov dword [rbx + 0x12c], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x18004112e
mov rdx, qword [0x1801481f0]
cmp rax, rdx
je 0x1800410e7
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x18004112e
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x18004112e
mov rcx, qword [0x1801481f0]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18004112e
movd xmm0, dword [rsp + 0x20]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x128], xmm0
movss dword [rbx + 0x12c], xmm1
cmp byte [rdi + 0xc8], 0
je 0x18004113e
mov eax, 0xffffffff
jmp 0x18004114b
mov rax, qword [0x1801478b0]
mov eax, dword [rax + 0x1e20]
cmp dword [0x1801452cc], eax
je 0x18004115e
mov dword [0x1801452cc], eax
call fcn.180040b20
call fcn.180040ca0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18009aae0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x180054350
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test dword [rcx + 0x10], 0x100000
mov r10, rdx
je 0x1800543db
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1800543b0
lea r10, [0x1800e0040]
nop dword [rax]
cmp r9b, 0x23
jne 0x180054393
cmp byte [r8], r9b
jne 0x180054393
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r10 + rdx*4]
test r9b, r9b
jne 0x180054380
mov rcx, qword [0x1801478b0]
not eax
cmp dword [rcx + 0x1b30], eax
jne 0x1800543c7
mov dword [rcx + 0x1b34], eax
cmp dword [rcx + 0x1b70], eax
jne 0x18005442d
mov byte [rcx + 0x1b74], 1
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
xor edx, edx
mov rbx, qword [0x1801478b0]
mov rcx, r10
mov r8, qword [rbx + 0x1ae0]
movsxd rax, dword [r8 + 0xc8]
mov r8, qword [r8 + 0xd0]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.18001a840
cmp dword [rbx + 0x1b30], eax
jne 0x180054419
mov dword [rbx + 0x1b34], eax
cmp dword [rbx + 0x1b70], eax
jne 0x180054428
mov byte [rbx + 0x1b74], 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x18006f910
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18006faab
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18006dc60
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18006fa74
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18006f9ee
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18006fa63
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18006fa2b
mov r10, qword [rdx]
cmp r10, rax
je 0x18006fa25
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x18006fa63
cmp r9, rdx
je 0x18006fa3f
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18006fa85
cmp r9, rdx
jne 0x18006fa30
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x18006f9a1
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18006fa63
lea rcx, str.invalid_hash_bucket_count
call fcn.1800998ac
int3
Function at 0x180070090
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
cmp qword [rdx + 0x18], 0xf
mov r15, r8
mov r13, qword [rcx + 8]
mov r8, rdx
mov r10, qword [rdx + 0x10]
jbe 0x1800700bc
mov rdx, qword [rdx]
xor ebx, ebx
movabs rdi, 0xcbf29ce484222325
mov r9, rdi
mov ecx, ebx
movabs r12, 0x100000001b3
test r10, r10
je 0x1800700f3
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
xor r9, rax
imul r9, r12
cmp rcx, r10
jb 0x1800700e0
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.18006fd40
mov rsi, qword [r13 + 8]
mov r14, qword [rax + 8]
mov rax, rsi
test r14, r14
jne 0x180070113
mov r14, rsi
cmp qword [r15 + 0x18], 0xf
mov rcx, r15
mov rdx, qword [r15 + 0x10]
jbe 0x180070124
mov rcx, qword [r15]
mov rbp, rsi
cmovbe rbp, rax
test rdx, rdx
je 0x180070146
movzx eax, byte [rcx + rbx]
inc rbx
xor rdi, rax
imul rdi, r12
cmp rbx, rdx
jb 0x180070130
mov rbp, rsi
mov r9, rdi
lea rdx, [rsp + 0x30]
mov r8, r15
mov rcx, r13
call fcn.18006fd40
mov rax, qword [rax + 8]
test rax, rax
cmove rbp, rsi
cmove rax, rsi
cmp r14, rbp
jne 0x180070171
xor al, al
jmp 0x180070185
cmp rax, rbp
jne 0x18007017a
mov al, 1
jmp 0x180070185
mov rax, qword [rax + 0x30]
cmp qword [r14 + 0x30], rax
setb al
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800703b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1801443c0]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rbx, qword [0x180145378]
cmp rbx, qword [0x180145380]
je 0x1800705a4
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
lea rdi, [rbx + 0x14]
movaps xmmword [rsp + 0x40], xmm6
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm7
movss xmm7, dword [0x1801303e8]
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rsi, rax
lea rdx, [rbx + 8]
sub esi, dword [rbx + 4]
lea rcx, [rbx + 0x18]
call fcn.1800708c0
mov byte [rbx], al
test al, al
je 0x180070578
lea rdx, [rbx + 0x10]
lea rcx, [rbx + 0x24]
call fcn.1800708c0
xorps xmm0, xmm0
xorps xmm2, xmm2
cvtsi2ss xmm0, dword [0x18014503c]
cvtsi2ss xmm2, esi
movaps xmm3, xmm7
movaps xmm4, xmm7
movaps xmm1, xmm2
divss xmm1, xmm0
xorps xmm0, xmm0
subss xmm3, xmm1
movaps xmm1, xmm2
mulss xmm3, dword [rbx + 0x60]
comiss xmm6, xmm3
movss dword [rbx + 0x3c], xmm3
cvtsi2ss xmm0, dword [0x18014503c]
divss xmm1, xmm0
xorps xmm0, xmm0
subss xmm4, xmm1
movaps xmm1, xmm7
mulss xmm4, dword [rbx + 0x64]
movss dword [rbx + 0x4c], xmm4
cvtsi2ss xmm0, dword [0x18014503c]
divss xmm2, xmm0
subss xmm1, xmm2
mulss xmm1, dword [rbx + 0x68]
movss dword [rbx + 0x5c], xmm1
jb 0x180070578
comiss xmm6, xmm4
jb 0x180070578
comiss xmm6, xmm1
jb 0x180070578
mov r8, qword [0x180145380]
lea r9, [rbx + 0x6c]
cmp r9, r8
je 0x180070563
mov rdx, rdi
nop
movzx eax, byte [r9]
add r9, 0x6c
mov byte [rdx - 0x14], al
mov eax, dword [rdx + 0x5c]
mov dword [rdx - 0x10], eax
mov eax, dword [rdx + 0x60]
mov dword [rdx - 0xc], eax
mov eax, dword [rdx + 0x64]
mov dword [rdx - 8], eax
mov eax, dword [rdx + 0x68]
mov dword [rdx - 4], eax
mov eax, dword [rdx + 0x6c]
mov dword [rdx], eax
mov eax, dword [rdx + 0x70]
mov dword [rdx + 4], eax
mov eax, dword [rdx + 0x74]
mov dword [rdx + 8], eax
mov eax, dword [rdx + 0x78]
mov dword [rdx + 0xc], eax
mov eax, dword [rdx + 0x7c]
mov dword [rdx + 0x10], eax
mov eax, dword [rdx + 0x80]
mov dword [rdx + 0x14], eax
mov eax, dword [rdx + 0x84]
mov dword [rdx + 0x18], eax
movups xmm0, xmmword [rdx + 0x88]
lea rdx, [rdx + 0x6c]
movups xmmword [rdx - 0x50], xmm0
movups xmm0, xmmword [rdx + 0x2c]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rdx + 0x3c]
movups xmmword [rdx - 0x30], xmm0
mov eax, dword [rdx + 0x4c]
mov dword [rdx - 0x20], eax
mov eax, dword [rdx + 0x50]
mov dword [rdx - 0x1c], eax
mov eax, dword [rdx + 0x54]
mov dword [rdx - 0x18], eax
cmp r9, r8
jne 0x1800704d0
mov r8, qword [0x180145380]
sub r8, 0x6c
sub rbx, 0x6c
mov qword [0x180145380], r8
sub rdi, 0x6c
jmp 0x18007057f
mov r8, qword [0x180145380]
add rbx, 0x6c
add rdi, 0x6c
cmp rbx, r8
jne 0x180070400
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.18009aae0
add rsp, 0x50
pop rbx
ret
Function at 0x1800969e0
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.1800967d0
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180096ab7
mov dword [rsp + 0x20], 0
jmp 0x180096a54
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180096ab7
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180096ab5
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.1800965b0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180096a4a
add rsp, 0x30
pop rdi
ret

Function at 0x180096ad0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180096b74
mov dword [rsp + 0x20], 0
jmp 0x180096b0d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180096b5d
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180096b5b
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180096b03
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x180145e98]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x30
pop rdi
ret
Function at 0x180096b80
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x80]
mov eax, dword [rsp + 0x80]
imul rax, rax, 0x38
mov rcx, qword [0x180148bf0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], 5
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180096c04
mov rax, qword [rsp + 0x50]
sub rax, 5
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180096c2d
mov eax, 0xa
jmp 0x180096d67
cmp dword [rsp + 0x88], 0
je 0x180096c9b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x50]
add rax, 5
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180096c99
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x60]
mov byte [rax + 1], 0xf9
jmp 0x180096ce7
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180096ccb
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.1800ce3a0
jmp 0x180096ce7
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.1800ce3a0
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1800d3d70]
call fcn.18009b740
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x180098250
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov rdi, rsp
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x20]
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x1800982be
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x1800982be
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x1800982be
xor eax, eax
jmp 0x180098305
mov dword [rsp], 1
jmp 0x1800982cf
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x180098300
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x1800982fe
xor eax, eax
jmp 0x180098305
jmp 0x1800982c7
mov eax, 1
add rsp, 0x10
pop rdi
ret
Function at 0x1800adb10
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.18009bec0
sub rsp, rax
mov rax, qword [0x1801443c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800b8a88
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800adb5f
mov rax, rbp
jmp 0x1800adc67
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 + 0x147060]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800bc770
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x147060]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800adc63
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 0x1800adc63
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800bc770
test rax, rax
js 0x1800adc63
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800adc63
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800adc55
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800adc55
cmp byte [rcx], 0xd
jne 0x1800adc3b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800adc4a
cmp byte [rcx + 1], 0xa
jne 0x1800adc4a
inc rcx
jmp 0x1800adc4a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x144800]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800adc1d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800adc67
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18009aae0
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 0x1800b9764
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800b977a
mov al, 1
jmp 0x1800b97da
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800b978b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800b97d8
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800c4eac
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800b97d8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800b97d8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800b97d8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800b97da
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800bbb10
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, [0x180147060]
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 0x1800bbb67
cmp word [rdx], r13w
jne 0x1800bbb67
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800bbb6c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800bbc91
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1800bbcb2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1800bbba5
mov rdx, r9
mov word [rbx], cx
jmp 0x1800bbbcc
cmp r9, r8
jae 0x1800bbbdc
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 0x1800bbb86
jmp 0x1800bbc91
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 0x1800bbc86
cmp dword [rsp + 0x80], esi
je 0x1800bbc86
lea r8, [0x180147060]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1800bbc5e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1800bbc2e
mov word [rbx], r13w
jmp 0x1800bbc8e
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 0x1800bbc3b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800bbc8e
cmp word [rsp + 0x70], r13w
jne 0x1800bbc6b
cmp rbx, r14
je 0x1800bbc28
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800bc778
cmp word [rsp + 0x70], r13w
je 0x1800bbc91
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, [0x180147060]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800bbc8b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800bbc91
Function at 0x1800bcc4c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800bcc6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800b26e4
or eax, 0xffffffff
jmp 0x1800bcc6e
xor eax, eax
add rsp, 0x28
ret