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

Disassembly:
push rbx
push rsi
push r15
sub rsp, 0x30
mov rcx, qword [rcx + 0x20]
mov rbx, rdx
add rcx, 0x110
call fcn.18005db60
mov ecx, dword [rbx + 0x58]
mov r15, rax
mov rsi, qword [rbx + 0x68]
test ecx, ecx
je 0x18005378d
mov qword [rsp + 0x50], rbp
add rsi, 0xe
mov qword [rsp + 0x60], r12
mov ebp, ecx
mov qword [rsp + 0x28], r13
lea r12, [0x1800bad40]
mov qword [rsp + 0x20], r14
mov edx, 0x100
mov qword [rsp + 0x58], rdi
xor r13d, r13d
nop dword [rax]
mov ebx, dword [rsi - 0xe]
movzx ecx, bl
movsx eax, word [r15 + rcx*2 + 0x18]
lea r14, [r15 + rcx*2]
cmp eax, 0xffffffff
je 0x18005365c
mov ecx, ebx
shr ecx, 5
xor ecx, eax
test ecx, 0xfffffff8
jne 0x18005365c
and eax, 7
jmp 0x18005375f
mov rax, qword [r15]
mov rcx, r12
test rax, rax
mov rdi, r12
cmovne rcx, rax
cmp dword [rcx + 0x18], 4
cmovae rdi, qword [rcx + 0x10]
movzx ecx, byte [rdi]
movzx eax, byte [rdi + 1]
shl ecx, 8
add ecx, eax
cmp ecx, 1
je 0x18005368b
mov rcx, r12
jmp 0x1800536af
movzx eax, byte [rdi + 4]
movzx ecx, dx
mov edx, eax
movzx eax, byte [rdi + 5]
imul edx, ecx
add dx, ax
cmp r13w, dx
jne 0x1800536a9
mov rcx, r12
jmp 0x1800536af
movzx ecx, dx
add rcx, rdi
mov edx, ebx
call fcn.18005e7c0
sub eax, 1
je 0x180053734
sub eax, 1
je 0x18005372d
cmp eax, 1
je 0x1800536ca
mov eax, r13d
jmp 0x180053739
movzx ecx, byte [rdi]
movzx eax, byte [rdi + 1]
shl ecx, 8
add ecx, eax
cmp ecx, 1
je 0x1800536ed
mov rcx, r12
mov edx, ebx
call fcn.18005e7c0
shl eax, 8
or eax, 8
jmp 0x180053739
movzx edx, byte [rdi + 0xa]
mov ecx, 0x100
movzx eax, byte [rdi + 0xb]
imul edx, ecx
add dx, ax
cmp r13w, dx
jne 0x180053718
mov rcx, r12
mov edx, ebx
call fcn.18005e7c0
shl eax, 8
or eax, 8
jmp 0x180053739
movzx ecx, dx
mov edx, ebx
add rcx, rdi
call fcn.18005e7c0
shl eax, 8
or eax, 8
jmp 0x180053739
mov eax, 4
jmp 0x180053739
mov eax, 2
cmp qword [r15], r13
je 0x18005375a
cmp ebx, 0x200000
jae 0x18005375a
cmp eax, 8
jae 0x18005375a
shr ebx, 5
and bx, 0xfff8
or bx, ax
mov word [r14 + 0x18], bx
mov edx, 0x100
mov word [rsi - 2], ax
mov byte [rsi], r13b
add rsi, 0x14
sub rbp, 1
jne 0x180053630
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop r15
pop rsi
pop rbx
ret
jmp 0x1800535d0
Function at 0x180086950
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
movabs rdi, 0x880355f21e6d1965
mov r10, rdx
imul r10, rdi
mov rax, rdx
mov rbx, rdx
shr rax, 3
mov r9, rcx
lea r11, [rcx + rax*8]
mov eax, r8d
xor r10, rax
movabs r8, 0x2127599bf4325c37
mov rax, rcx
and eax, 7
cmp rcx, r11
je 0x1800869fb
test rax, rax
jne 0x1800869d0
nop dword [rax]
mov rcx, qword [r9]
shr rcx, 0x17
xor rcx, qword [r9]
add r9, 8
imul rcx, r8
mov rax, rcx
shr rax, 0x2f
xor rax, rcx
xor r10, rax
imul r10, rdi
cmp r9, r11
jne 0x1800869a0
jmp 0x1800869fb
mov rax, qword [r9]
add r9, 8
mov rcx, rax
shr rcx, 0x17
xor rcx, rax
imul rcx, r8
mov rax, rcx
shr rax, 0x2f
xor rax, rcx
xor r10, rax
imul r10, rdi
cmp r9, r11
jne 0x1800869d0
and ebx, 7
xor edx, edx
lea rax, [rbx - 1]
cmp rax, 6
ja case.default.0x180086a1b
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x86ab4]
add rax, rcx
jmp rax
movzx edx, byte [r9 + 6]
shl rdx, 0x30
movzx eax, byte [r9 + 5]
shl rax, 0x28
xor rdx, rax
movzx eax, byte [r9 + 4]
shl rax, 0x20
xor rdx, rax
movzx eax, byte [r9 + 3]
shl rax, 0x18
xor rdx, rax
movzx eax, byte [r9 + 2]
shl rax, 0x10
xor rdx, rax
movzx eax, byte [r9 + 1]
shl rax, 8
xor rdx, rax
movzx eax, byte [r9]
xor rdx, rax
mov rcx, rdx
shr rcx, 0x17
xor rcx, rdx
imul rcx, r8
mov rax, rcx
shr rax, 0x2f
xor rax, rcx
xor r10, rax
imul r10, rdi
mov rbx, qword [rsp + 8]
mov rcx, r10
mov rdi, qword [rsp + 0x10]
shr rcx, 0x17
xor rcx, r10
imul rcx, r8
mov rax, rcx
shr rax, 0x2f
xor rax, rcx
mov rcx, rax
shr rcx, 0x20
sub eax, ecx
ret
Function at 0x1800a3a20
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 0x1800a3a8f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800a3a8f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800a3a8f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800a3a8f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800a3a8f
cmp dword [rcx + 0x84], 0xe
jbe 0x1800a3a8f
cmp dword [rcx + 0xf8], 0
je 0x1800a3a8f
mov ecx, ebx
call fcn.1800a3b40
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.1800a391c
nop
cmp dword [rbp + 0x20], 0
je 0x1800a3add
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800a3ae8
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1800a3a20
Function at 0x1800a65e8
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, [0x1800f3f40]
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 0x1800a663f
cmp word [rdx], r13w
jne 0x1800a663f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800a6644
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800a6769
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1800a678a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1800a667d
mov rdx, r9
mov word [rbx], cx
jmp 0x1800a66a4
cmp r9, r8
jae 0x1800a66b4
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 0x1800a665e
jmp 0x1800a6769
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 0x1800a675e
cmp dword [rsp + 0x80], esi
je 0x1800a675e
lea r8, [0x1800f3f40]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1800a6736
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1800a6706
mov word [rbx], r13w
jmp 0x1800a6766
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 0x1800a6713
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800a6766
cmp word [rsp + 0x70], r13w
jne 0x1800a6743
cmp rbx, r14
je 0x1800a6700
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800aee34
cmp word [rsp + 0x70], r13w
je 0x1800a6769
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, [0x1800f3f40]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800a6763
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800a6769
Function at 0x1800ab6d8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1800ab708
xor eax, eax
jmp 0x1800ab7cb
mov rbp, rbx
cmp word [rax], si
je 0x1800ab72d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800ab714
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800ab710
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800ab5f8
movsxd r14, eax
test eax, eax
jne 0x1800ab76b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800ab701
mov rcx, r14
call fcn.1800a4af0
mov rdi, rax
test rax, rax
jne 0x1800ab784
xor ecx, ecx
call fcn.1800a4ab4
jmp 0x1800ab760
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800ab5f8
test eax, eax
jne 0x1800ab7b5
mov rcx, rdi
call fcn.1800a4ab4
jmp 0x1800ab7bf
xor ecx, ecx
call fcn.1800a4ab4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1800b0a94
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800b0aaa
mov al, 1
jmp 0x1800b0b0a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800b0abb
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800b0b08
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800ad024
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800b0b08
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800b0b08
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800b0b08
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800b0b0a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800b2278
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1800a948c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1800b2302
cmp byte [rbp - 0x21], r15b
je 0x1800b22fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1800b2338
call fcn.1800a990c
test eax, eax
jne 0x1800b2324
cmp byte [rbp - 0x21], r15b
je 0x1800b231c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1800b2338
cmp byte [rbp - 0x21], r15b
je 0x1800b2335
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1800a9dac
test eax, eax
jne 0x1800b23d8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1800a948c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1800b2377
cmp byte [rbp - 0x21], r15b
je 0x1800b23ac
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1800b23ac
call fcn.1800a990c
test eax, eax
jne 0x1800b2398
cmp byte [rbp - 0x21], r15b
je 0x1800b2391
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1800b23ac
cmp byte [rbp - 0x21], r15b
je 0x1800b23a9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1800a9dac
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1800b23d8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1800b23db
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1800b23e9
mov rcx, rdi
call fcn.1800a4ab4
cmp byte [rbp + 0x3f], r15b
je 0x1800b23f8
mov rcx, qword [rbp + 0x27]
call fcn.1800a4ab4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1800b2660
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800aee34
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800aee34
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800b27b0
cmp rax, 0xffffffffffffffff
je 0x1800b27b0
xor edi, edi
test rbp, rbp
jle 0x1800b275b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800a4a3c
mov rbx, rax
test rax, rax
jne 0x1800b26e8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800b2751
mov edx, 0x8000
mov ecx, r14d
call fcn.1800b24e4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1800adb7c
cmp eax, 0xffffffff
je 0x1800b2731
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800b26f8
mov edx, r15d
mov ecx, r14d
call fcn.1800b24e4
jmp 0x1800b2751
cmp byte [rsi + 0x38], dil
je 0x1800b2748
cmp dword [rsi + 0x34], 5
jne 0x1800b2748
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800b2751
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800a4ab4
jmp 0x1800b27c4
jns 0x1800b27c4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800aee34
cmp rax, 0xffffffffffffffff
jne 0x1800b277c
cmp byte [rsi + 0x30], dil
je 0x1800b27c4
mov edi, dword [rsi + 0x2c]
jmp 0x1800b27c4
mov ecx, r14d
call fcn.1800ad024
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800b27c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1800b27c4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800b27bd
mov eax, dword [rsi + 0x2c]
jmp 0x1800b27c2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800aee34
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1800b3870
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800b3898
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800b3898
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001988
Capabilities:
Parse pe header

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

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x180002181
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1800021ae
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1800021b0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180002209
test ecx, ecx
jle 0x1800021e9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180002209
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180002209
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
invalid
Function at 0x180002230
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180002261
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x180002278
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18000229b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18000229d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800022d9
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18000236e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180002314
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x18000234e
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x18000236e
cmp rbx, rax
ja 0x180002320
test rbx, rbx
je 0x18000236e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
sub rsp, 0x38
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call 0x1800122e0
add rsp, 0x38
ret
Function at 0x140008628
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 0x140008493
xor ecx, ecx
call qword [0x14001b0f0]
test rax, rax
je 0x140008493
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140008493
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140008493
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140008493
cmp dword [rcx + 0x84], 0xe
jbe 0x140008493
cmp dword [rcx + 0xf8], 0
je 0x140008493
mov ecx, ebx
call fcn.140008544
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.140008320
nop
cmp dword [rbp + 0x20], 0
je 0x1400084e1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400084ec
int3
xor r8d, r8d
xor edx, edx
jmp 0x140008424
Function at 0x1800161f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x18021d4c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x18026f978]
mov edi, ecx
cmp byte [rbx + 0x4d3d], 0
jne 0x180016251
cmp byte [rbx + 0x4d3e], 0
jne 0x180016251
movsx r9d, word [rbx + 0x5eb0]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180005470
test dil, 2
je 0x18001637f
jmp 0x1800162dc
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5eb0]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1801f56e4]
mov edx, 0x10
mulss xmm1, dword [0x1801f56c0]
addss xmm0, dword [rbx + 0xf8]
addss xmm1, dword [rbx + 0xfc]
mov qword [rbx + 0x4a30], rax
mov dword [rbx + 0x4a1c], 1
movss dword [rbx + 0x4a28], xmm0
movss dword [rbx + 0x4a2c], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x1801f550c]
or dword [rbx + 0x4a18], 0x41
movss dword [rbx + 0x4a78], xmm0
call fcn.180005470
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180016330
lea r11, [0x1801dc4f0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180016313
cmp byte [r8], r9b
jne 0x180016313
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180016300
not ecx
call fcn.18000c230
test rax, rax
je 0x18001637f
cmp byte [rax + 0xca], 0
je 0x18001637f
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x5eb0]
movsx r9d, word [rbx + 0x5eb0]
call fcn.180005470
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.18000ee30
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18016e810
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001b560
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18026f978]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001b5c3
mov qword [rsp], rbx
lea rbx, [0x1801dc4f0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001b5a3
cmp byte [r8], r9b
jne 0x18001b5a3
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 [rbx + rdx*4]
test r9b, r9b
jne 0x18001b590
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f78]
not eax
mov r8, qword [r10 + 0x5f80]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18001b5ef
cmp dword [r8 + 8], eax
je 0x18001b5f6
add r8, 0x48
cmp r8, rcx
jne 0x18001b5e0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret

Function at 0x18001b600
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
lea rdx, [0x1801dbaf4]
call fcn.180005710
mov rbx, rax
test rax, rax
je 0x18001b77c
mov qword [rsp + 0x30], rsi
mov rcx, rax
mov qword [rsp + 0x38], rdi
call fcn.1801796b8
mov esi, eax
cmp eax, 0xffffffff
je 0x18001b76a
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.180179a58
test eax, eax
jne 0x18001b76a
mov rcx, rbx
call fcn.1801796b8
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18001b76a
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.180179a58
test eax, eax
jne 0x18001b76a
cmp rdi, 0xffffffffffffffff
je 0x18001b76a
mov rcx, rdi
call fcn.180008fa0
mov rsi, rax
test rax, rax
je 0x18001b76a
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.180179d54
mov rcx, rbx
cmp rax, rdi
je 0x18001b6d1
call fcn.180178ff8
mov rcx, rsi
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp fcn.180009040
call fcn.180178ff8
test rdi, rdi
je 0x18001b6e6
mov rdx, rdi
mov rcx, rsi
call fcn.18001b790
mov r8, qword [0x18026f978]
test r8, r8
je 0x18001b753
movsx rdx, word [r8 + 0x60e8]
lea rcx, [r8 + 0x60ec]
mov r9d, dword [r8 + 0x3f68]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x18001b748
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60e8], cx
movsx rax, cx
lea rcx, [r8 + 0x60ec]
lea rcx, [rcx + rax*8]
xor eax, eax
mov dword [rcx], r9d
mov dword [rcx + 4], eax
inc word [rcx + 6]
inc dword [r8 + 0x60e4]
mov rcx, rsi
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp fcn.180175888
mov rcx, rbx
call fcn.180178ff8
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret