joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003b550
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x40
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x18003b650
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov rax, qword [r14 + 8]
mov qword [rsp + 0x60], rbx
mov rbx, r14
mov qword [rsp + 0x70], rax
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
xor rcx, rax
mov qword [rsp + 0x28], r13
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x20], r15
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
mov qword [rsp + 0x78], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov r13, qword [r15 + 8]
mov qword [rsp + 0x68], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x50
call fcn.180049e70
dec qword [rsi + 0x10]
cmp rdi, r13
je 0x18003b65c
cmp rbx, rbp
jne 0x18003b600
cmp qword [rsp + 0x68], r14
jne 0x18003b62b
mov qword [r15], rbx
mov rax, qword [rsp + 0x70]
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov qword [rax], rbx
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x60]
mov rax, rbp
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x68], r14
jne 0x18003b66b
mov qword [r15], r12
mov rax, r12
jmp 0x18003b670
mov rax, qword [rsp + 0x70]
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x18003b62b
mov r13, qword [rsp + 0x78]
nop
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, r13
mov r14, qword [r15 + 8]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x50
call fcn.180049e70
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x18003b6f8
cmp rbx, rbp
jne 0x18003b6d2
jmp 0x18003b628
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x18003b680
jmp 0x18003b62b
Function at 0x18003c0b0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18003c261
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18003b710
mov rcx, qword [rsi + 8]
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x18003c226
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18003c1a0
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x18003c215
mov rax, qword [r11 + 8]
mov r8d, dword [rcx + 0x10]
cmp r8d, dword [rax + 0x10]
jne 0x18003c1dd
mov r8, qword [rax]
cmp r8, rcx
je 0x18003c1d7
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x18003c215
cmp r9, rax
je 0x18003c1f1
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
je 0x18003c23b
cmp r9, rax
jne 0x18003c1e2
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x18003c150
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x18003c215
lea rcx, str.invalid_hash_bucket_count
call fcn.180049a78
int3
Function at 0x18003d090
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x460]
sub rsp, 0x560
mov rax, qword [0x180080920]
xor rax, rsp
mov qword [rbp + 0x450], rax
mov rdi, r8
mov rbx, rcx
mov r8, rdx
lea rcx, [rbp + 0x240]
mov edx, 0x104
call fcn.180051ef4
mov r8, rbx
lea rcx, [rbp + 0x30]
mov edx, 0x104
call fcn.180051ef4
xor ebx, ebx
mov qword [rbp - 0x68], 0xffffffffffffffff
xorps xmm0, xmm0
mov qword [rsp + 0x70], rbx
lea rax, [rbp + 0x30]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x20]
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x80], ebx
mov dword [rbp - 0x60], ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rbx
call fcn.18003fe70
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x18003d175
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18003d175
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x18003d175
cmp dword [rax], 0x4550
jne 0x18003d175
lea rcx, [rsp + 0x20]
call fcn.1800403b0
xorps xmm0, xmm0
mov qword [rbp - 0x48], rbx
lea rdx, [rbp + 0x240]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rbx
mov qword [rbp - 8], rbx
mov word [rbp], 1
mov byte [rbp - 0x50], bl
mov dword [rbp + 0x14], ebx
mov qword [rbp - 0x10], rdi
call fcn.180042860
mov rcx, qword [rbp - 0x70]
test al, al
mov esi, 0xfe
cmovne esi, ebx
test rcx, rcx
je 0x18003d1ce
call fcn.180049e70
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x18003d1dc
call fcn.180049e70
mov rdx, qword [rsp + 0x68]
movabs r14, 0x6db6db6db6db6db7
mov rcx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
sar rax, 3
imul rax, r14
test rax, rax
je 0x18003d23c
mov rdi, rbx
mov rax, qword [rdi + rcx + 0x28]
test rax, rax
je 0x18003d222
mov rcx, rax
call fcn.180049e70
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, rdx
inc rbx
sub rax, rcx
add rdi, 0x38
sar rax, 3
imul rax, r14
cmp rbx, rax
jb 0x18003d206
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x18003d280
mov rax, qword [rsp + 0x70]
sub rax, rcx
sar rax, 3
imul rax, r14
imul rdx, rax, 0x38
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003d27b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003d2a9
call fcn.180049e70
mov eax, esi
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.180049ad0
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1800503fc
int3
Function at 0x18003d850
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
xor ebx, ebx
mov qword [rbp - 0x68], 0xffffffffffffffff
xorps xmm0, xmm0
mov qword [rsp + 0x70], rbx
lea rdi, [0x18006df1c]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ebx
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x80], ebx
mov dword [rbp - 0x60], ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
call fcn.18003fe70
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x18003d900
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18003d900
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x18003d900
cmp dword [rax], 0x4550
jne 0x18003d900
lea rcx, [rsp + 0x20]
call fcn.1800403b0
xorps xmm0, xmm0
mov qword [rbp - 0x48], rbx
lea rdx, [0x180090ad0]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rbx
mov word [rbp], bx
mov qword [rbp - 8], rbx
mov byte [rbp - 0x50], bl
mov dword [rbp + 0x14], ebx
mov qword [rbp - 0x10], rdi
call fcn.180043530
mov rcx, qword [rbp - 0x70]
mov esi, dword [rbp - 0x28]
test rcx, rcx
je 0x18003d950
call fcn.180049e70
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x18003d95e
call fcn.180049e70
mov rdx, qword [rsp + 0x68]
movabs r14, 0x6db6db6db6db6db7
mov rcx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
sar rax, 3
imul rax, r14
test rax, rax
je 0x18003d9c6
mov rdi, rbx
nop dword [rax + rax]
mov rax, qword [rdi + rcx + 0x28]
test rax, rax
je 0x18003d9ac
mov rcx, rax
call fcn.180049e70
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, rdx
inc rbx
sub rax, rcx
add rdi, 0x38
sar rax, 3
imul rax, r14
cmp rbx, rax
jb 0x18003d990
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x18003da0a
mov rax, qword [rsp + 0x70]
sub rax, rcx
sar rax, 3
imul rax, r14
imul rdx, rax, 0x38
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003da05
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003da29
call fcn.180049e70
lea r11, [rsp + 0x130]
mov eax, esi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1800503fc
int3
Function at 0x18003db80
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x180080920]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, r8
mov rbp, r9
mov r8, qword [rsp + 0x4a0]
mov rsi, rdx
mov rbx, rcx
test r8, r8
je 0x18003dd25
xor edx, edx
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x18003dd25
test rsi, rsi
je 0x18003dc66
lea rax, [rsp + 0x240]
mov dword [rsp + 0x28], 0x104
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x18003dd25
call fcn.1800441e0
mov ecx, ebx
call fcn.180044640
test al, al
je 0x18003dd25
mov ecx, 0x88
call fcn.18004a114
lea rdx, [rsp + 0x240]
mov rcx, rax
call fcn.18003fae0
lea r9, [rsp + 0x30]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call fcn.180041620
test al, al
setne al
jmp 0x18003dd27
call fcn.1800441e0
mov ecx, ebx
call fcn.180044640
test al, al
je 0x18003dd25
mov ecx, 0x88
call fcn.18004a114
mov rbx, rax
xor eax, eax
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x68], rax
mov qword [rbx + 0x70], rax
mov qword [rbx + 0x20], rax
mov dword [rbx + 0x28], eax
mov qword [rbx + 0x38], rax
mov qword [rbx + 0x58], rax
mov dword [rbx + 0x60], eax
mov qword [rbx], rax
mov dword [rbx + 0x80], eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x78], 0xffffffffffffffff
mov qword [rbx + 8], rdi
test rdi, rdi
je 0x18003dd0b
mov dl, 1
mov rcx, rbx
call fcn.18003fcf0
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x18003dd0b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18003dd0b
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x18003dd0b
cmp dword [rax], 0x4550
jne 0x18003dd0b
mov rcx, rbx
call fcn.1800403b0
lea r9, [rsp + 0x30]
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.180041620
test al, al
setne al
jmp 0x18003dd27
xor al, al
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.180049ad0
mov rbx, qword [rsp + 0x498]
add rsp, 0x460
pop rdi
pop rsi
pop rbp
ret
Function at 0x18003e710
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x480
mov rax, qword [0x180080920]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
xor esi, esi
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
call fcn.1800441e0
mov dword [rsp + 0x252], 0x3a
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x260]
call fcn.18004c900
mov rax, qword [rbx + 0x10]
sub rax, qword [rbx]
sar rax, 3
movabs rcx, 0xf0b7672a07a44c6b
imul rax, rcx
cmp rax, 3
jae 0x18003e79a
mov rcx, rbx
call fcn.18003ed50
mov edi, 0x61
nop
mov word [rsp + 0x250], di
mov r8d, 0x104
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x18003e8a7
movzx ecx, di
call fcn.180052014
mov word [rsp + 0x30], ax
mov dword [rsp + 0x32], 0x3a
lea rcx, [rsp + 0x260]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x18003e7f0
mov qword [rsp + 0x240], rax
lea r8, [rsp + 0x260]
mov edx, 0x104
lea rcx, [rsp + 0x36]
call fcn.180051ef4
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x18003e89a
lea rax, [rsp + 0x30]
mov ecx, 4
nop dword [rax]
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x18003e830
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
mov rax, qword [rax + 0x10]
mov qword [rdx + 0x10], rax
add qword [rbx + 8], 0x218
jmp 0x18003e8a7
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.18003ef40
inc di
cmp di, 0x7a
jb 0x18003e7a0
mov rcx, rbx
call fcn.18003e9f0
nop
mov rax, rbx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.180049ad0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18003fae0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov rbx, rcx
xor eax, eax
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rax
mov qword [rcx + 0x68], rax
mov qword [rcx + 0x70], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov dword [rcx + 0x28], eax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x58], rax
mov dword [rcx + 0x60], eax
mov dword [rcx + 0x80], eax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x78], 0xffffffffffffffff
mov qword [rcx], rdx
test rdx, rdx
je 0x18003fb6d
call fcn.18003fe70
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x18003fb6d
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18003fb6d
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x18003fb6d
cmp dword [rax], 0x4550
jne 0x18003fb6d
mov rcx, rbx
call fcn.1800403b0
nop
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x18003fb80
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
movzx edi, r8b
mov rbx, rcx
xor eax, eax
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rax
mov qword [rcx + 0x68], rax
mov qword [rcx + 0x70], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov dword [rcx + 0x28], eax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x58], rax
mov dword [rcx + 0x60], eax
mov qword [rcx], rax
mov dword [rcx + 0x80], eax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x78], 0xffffffffffffffff
mov qword [rcx + 8], rdx
test rdx, rdx
je 0x18003fc1f
movzx edx, r8b
call fcn.18003fcf0
test dil, dil
je 0x18003fc1f
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x18003fc1f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18003fc1f
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x18003fc1f
cmp dword [rax], 0x4550
jne 0x18003fc1f
mov rcx, rbx
call fcn.1800403b0
nop
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18003fcf0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
mov rdi, rcx
movzx ebx, dl
mov ecx, 0x448
xor bpl, bpl
call fcn.18004a4dc
mov rcx, qword [rdi + 8]
mov r8, rax
mov edx, 0x448
mov qword [rdi + 0x70], rax
call fcn.180044760
test al, al
je 0x18003fe4f
mov rcx, qword [rdi + 0x70]
xor eax, eax
mov qword [rdi + 0x30], rax
mov bpl, 1
mov qword [rdi + 0x38], rax
mov dword [rdi + 0x28], eax
mov qword [rdi + 0x20], rax
mov rax, rcx
mov qword [rdi + 0x18], rcx
movsxd rdx, dword [rcx + 0x3c]
test edx, edx
jle 0x18003fd9c
cmp edx, 0x448
jge 0x18003fd9c
lea rax, [rcx + rdx]
mov qword [rdi + 0x30], rax
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rdi + 0x38], rax
mov edx, dword [rcx + 0x3c]
cmp edx, 0x40
jbe 0x18003fd8c
lea eax, [rdx - 0x40]
mov dword [rdi + 0x28], eax
lea rax, [rcx + 0x40]
mov qword [rdi + 0x20], rax
mov rax, rcx
jmp 0x18003fd9c
mov rax, rcx
jae 0x18003fd9c
mov dword [rcx + 0x3c], 0x40
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x18003fe4f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18003fe4f
mov r8, qword [rdi + 0x30]
test r8, r8
je 0x18003fe4f
cmp dword [r8], 0x4550
jne 0x18003fe4f
mov edx, dword [rax + 0x3c]
add edx, 0x32
test bl, bl
je 0x18003fde2
movzx eax, word [r8 + 6]
lea ecx, [rax + rax*4]
lea edx, [rdx + rcx*8]
movzx eax, word [r8 + 0x18]
mov ecx, 0x10b
cmp ax, cx
jne 0x18003fdf6
lea eax, [rcx - 0x13]
jmp 0x18003fe05
mov ecx, 0x20b
cmp ax, cx
jne 0x18003fe4f
mov eax, 0x108
mov qword [rsp + 0x30], rsi
lea esi, [rdx + rax]
cmp esi, 0x448
jbe 0x18003fe4a
mov rcx, qword [rdi + 0x70]
call fcn.180049e70
mov ecx, esi
call fcn.18004a4dc
mov rcx, qword [rdi + 8]
mov r8, rax
mov edx, esi
mov qword [rdi + 0x70], rax
call fcn.180044760
test al, al
je 0x18003fe4a
mov rdx, qword [rdi + 0x70]
mov r8d, esi
mov rcx, rdi
call fcn.180040500
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
movzx eax, bpl
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18003fe70
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
mov byte [rsp + 0x10], dl
push rbx
push rbp
push rsi
sub rsp, 0x30
mov rbx, rcx
xor ebp, ebp
mov ecx, 0x448
mov dword [rsp + 0x58], ebp
xor sil, sil
call fcn.18004a4dc
mov rcx, rbx
mov qword [rbx + 0x70], rax
call fcn.180040640
test al, al
je 0x180040057
mov rcx, qword [rbx + 0x78]
xor eax, eax
mov qword [rsp + 0x50], rax
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x18003fed2
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, qword [rsp + 0x50]
test eax, eax
cmove rcx, rbp
jmp 0x18003fed5
mov rcx, rbp
mov rdx, qword [rbx + 0x70]
lea r9, [rsp + 0x58]
mov dword [rbx + 0x80], ecx
mov r8d, 0x448
mov rcx, qword [rbx + 0x78]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18004003f
mov rcx, qword [rbx + 0x70]
mov sil, 1
mov qword [rbx + 0x18], rcx
mov rdx, rcx
mov qword [rbx + 0x30], rbp
mov qword [rbx + 0x38], rbp
mov dword [rbx + 0x28], ebp
mov qword [rbx + 0x20], rbp
movsxd rax, dword [rcx + 0x3c]
test eax, eax
jle 0x18003ff64
cmp eax, 0x448
jge 0x18003ff64
add rax, rcx
mov qword [rbx + 0x30], rax
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rbx + 0x38], rax
mov eax, dword [rcx + 0x3c]
cmp eax, 0x40
jbe 0x18003ff57
add eax, 0xffffffc0
mov dword [rbx + 0x28], eax
lea rax, [rcx + 0x40]
mov qword [rbx + 0x20], rax
jmp 0x18003ff64
jae 0x18003ff64
mov dword [rcx + 0x3c], 0x40
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x18004003f
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x18004003f
mov r8, qword [rbx + 0x30]
test r8, r8
je 0x18004003f
cmp dword [r8], 0x4550
jne 0x18004003f
movzx eax, word [r8 + 6]
mov qword [rsp + 0x60], rdi
lea ecx, [rax + rax*4]
mov eax, dword [rdx + 0x3c]
lea edi, [rax + rcx*8]
movzx eax, word [r8 + 0x18]
mov ecx, 0x10b
cmp ax, cx
jne 0x18003ffbf
add edi, 0x12a
jmp 0x18003ffcf
mov ecx, 0x20b
cmp ax, cx
jne 0x18004003a
add edi, 0x13a
cmp edi, 0x448
jbe 0x18004003a
mov eax, dword [rbx + 0x80]
test eax, eax
je 0x18003ffe6
cmp eax, edi
cmovb edi, eax
mov rcx, qword [rbx + 0x70]
call fcn.180049e70
mov ecx, edi
call fcn.18004a4dc
mov rcx, qword [rbx + 0x78]
xor r9d, r9d
xor r8d, r8d
mov qword [rbx + 0x70], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rdx, qword [rbx + 0x70]
lea r9, [rsp + 0x58]
mov rcx, qword [rbx + 0x78]
mov r8d, edi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18004003a
mov rdx, qword [rbx + 0x70]
mov r8d, edi
mov rcx, rbx
call fcn.180040500
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rbx + 0x78]
cmp rcx, 0xffffffffffffffff
je 0x180040057
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x78], 0xffffffffffffffff
movzx eax, sil
add rsp, 0x30
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800403b0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x180080920]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdx, qword [rcx + 0x30]
mov rbp, rcx
xor esi, esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
movzx eax, word [rdx + 0x14]
lea rbx, [rdx + 0x18]
add rbx, rax
mov rax, qword [rcx + 0x40]
mov qword [rcx + 0x48], rax
mov r8, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x50]
sub rcx, rax
movabs rax, 0x6db6db6db6db6db7
sar rcx, 3
movzx edx, word [r8 + 6]
imul rcx, rax
cmp rdx, rcx
jbe 0x18004042d
lea rcx, [rbp + 0x40]
call fcn.180041910
mov r8, qword [rbp + 0x30]
cmp si, word [r8 + 6]
jae 0x1800404db
test rbx, rbx
je 0x18004045b
movups xmm1, xmmword [rbx]
movups xmm2, xmmword [rbx + 0x10]
movsd xmm0, qword [rbx + 0x20]
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm2
movsd qword [rsp + 0x50], xmm0
jmp 0x18004048c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x50], rax
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x40], xmm0
call fcn.180052338
mov dword [rax], 0x16
call fcn.1800503dc
movups xmm2, xmmword [rsp + 0x20]
xorps xmm1, xmm1
mov rdx, qword [rbp + 0x48]
cmp rdx, qword [rbp + 0x50]
je 0x1800404b8
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm1
movsd xmm1, qword [rsp + 0x60]
movups xmmword [rdx + 0x10], xmm2
movups xmmword [rdx + 0x20], xmm0
movsd qword [rdx + 0x30], xmm1
add qword [rbp + 0x48], 0x38
jmp 0x1800404c6
lea r8, [rsp + 0x30]
lea rcx, [rbp + 0x40]
call fcn.180041b30
mov rax, qword [rbp + 0x30]
add rbx, 0x28
inc si
cmp si, word [rax + 6]
jb 0x180040438
mov al, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180049ad0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret