joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a3a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, rdx
mov r12, r8
mov edx, 5
mov rsi, rcx
call fcn.140009b30
test rax, rax
je 0x14000a612
test rsi, rsi
je 0x14000a612
cmp rax, rsi
jb 0x14000a612
mov rcx, rax
sub rcx, rsi
lea rdx, [rcx + 8]
cmp rdx, r14
ja 0x14000a612
cmp rdx, 8
jb 0x14000a612
cmp rdx, rcx
jb 0x14000a612
mov ecx, dword [rax + 4]
mov edx, 0x40
mov ebx, dword [rax]
mov dword [rsp + 0x20], ecx
mov rcx, rsi
mov dword [rsp + 0x78], ebx
call fcn.14000a750
test al, al
jne 0x14000a471
mov eax, 0x5a4d
cmp word [rsi], ax
jne 0x14000a471
movsxd rax, dword [rsi + 0x3c]
cmp eax, 0x400
jg 0x14000a471
lea rbx, [rsi + rax]
mov edx, 0xf8
mov rcx, rbx
call fcn.14000a750
test al, al
jne 0x14000a46d
cmp dword [rbx], 0x4550
jne 0x14000a46d
mov edx, 0xf8
mov rcx, rbx
call fcn.14000a750
mov ebx, dword [rsp + 0x78]
mov r10d, dword [rsp + 0x20]
xor r13d, r13d
test r10d, r10d
je 0x14000a60e
mov r11d, 0x1000
nop dword [rax + rax]
lea eax, [rbx + r13]
lea r15, [rax + rsi]
mov ecx, eax
test r15, r15
je 0x14000a612
cmp r15, rsi
jb 0x14000a612
add rax, 8
cmp rax, r14
ja 0x14000a612
cmp rax, 8
jb 0x14000a612
cmp rax, rcx
jb 0x14000a612
mov eax, dword [r15 + 4]
test eax, eax
je 0x14000a60e
mov r9d, dword [r15]
lea rbp, [rax - 8]
shr rbp, 1
lea rax, [r15 + 8]
mov dword [rsp + 0x24], r9d
test rax, rax
je 0x14000a612
cmp rax, rsi
jb 0x14000a612
sub rax, rsi
lea rbx, [rax + 2]
cmp rbx, r14
ja 0x14000a612
cmp rbx, 2
jb 0x14000a612
cmp rbx, rax
jb 0x14000a612
test rbp, rbp
je 0x14000a5fd
xor r8d, r8d
test rbp, rbp
je 0x14000a5fd
mov rax, rbx
nop dword [rax + rax]
lea rdx, [rsi - 2]
add rdx, rax
je 0x14000a579
cmp rdx, rsi
jb 0x14000a579
cmp rax, r14
ja 0x14000a579
cmp rax, 2
jb 0x14000a579
lea rcx, [rax - 2]
cmp rax, rcx
jb 0x14000a579
cmp word [rdx], r11w
jae 0x14000a579
add rax, 2
inc r8
cmp r8, rbp
jb 0x14000a540
jmp 0x14000a5fd
xor edi, edi
nop dword [rax + rax]
lea rcx, [rsi - 2]
add rcx, rbx
je 0x14000a5ed
cmp rcx, rsi
jb 0x14000a5ed
cmp rbx, r14
ja 0x14000a5ed
cmp rbx, 2
jb 0x14000a5ed
lea rax, [rbx - 2]
cmp rbx, rax
jb 0x14000a5ed
movzx eax, word [rcx]
mov ecx, eax
shr eax, 0xc
and ecx, 0xfff
test eax, eax
je 0x14000a5ed
cmp eax, 3
je 0x14000a5be
cmp eax, 0xa
jne 0x14000a612
add ecx, r9d
cmp rcx, r14
jae 0x14000a612
test r12, r12
je 0x14000a5e1
mov rax, qword [r12]
lea rdx, [rcx + rsi]
mov rcx, r12
call qword [rax]
test al, al
je 0x14000a612
mov r9d, dword [rsp + 0x24]
add rbx, 2
inc rdi
cmp rdi, rbp
jb 0x14000a580
test rdi, rdi
je 0x14000a612
mov r10d, dword [rsp + 0x20]
mov r11d, 0x1000
add r13d, dword [r15 + 4]
mov ebx, dword [rsp + 0x78]
cmp r13d, r10d
jb 0x14000a490
mov al, 1
jmp 0x14000a614
xor al, al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000a640
Capabilities:
Parse pe header

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x50
mov rax, qword [0x1401d1a38]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, r8
mov r14, rdx
mov rbx, rcx
test rcx, rcx
je 0x14000a743
mov qword [rsp + 0x78], rsi
call fcn.140009c40
mov rsi, rax
cmp rbp, rax
je 0x14000a73f
mov edx, 0x40
mov qword [rsp + 0x80], rdi
mov rcx, rbx
call fcn.14000a750
test al, al
jne 0x14000a6e2
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x14000a6e2
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x14000a6e2
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14000a750
test al, al
jne 0x14000a6e2
cmp dword [rdi], 0x4550
jne 0x14000a6e2
mov edx, 0xf8
mov rcx, rdi
call fcn.14000a750
test al, al
jne 0x14000a6e2
movzx eax, word [rdi + 0x18]
jmp 0x14000a6e4
xor eax, eax
mov ecx, 0x20b
mov qword [rsp + 0x30], rsi
cmp ax, cx
mov qword [rsp + 0x38], rbp
lea rax, vtable.ApplyRelocCallback.0
mov rdx, r14
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rcx, rbx
sete byte [rsp + 0x28]
call fcn.14000a3a0
mov rdi, qword [rsp + 0x80]
test al, al
setne al
mov rsi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140036ee0
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
mov al, 1
jmp 0x14000a724
xor al, al
jmp 0x14000a729
Function at 0x14000ce20
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x1401d1a38]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov r14, rdx
mov rbx, rcx
call fcn.140009a40
test rax, rax
je 0x14000d03c
mov ecx, dword [rax + 0x28]
xor r15d, r15d
mov dword [0x1401d48a0], ecx
mov ecx, 0x2000
mov qword [rsp + 0xd8], rdi
lea rdi, [rax + 0x28]
test word [rax + 0x16], cx
jne 0x14000ce96
mov dword [0x1401d486c], r15d
or word [rax + 0x16], cx
mov ecx, 4
xor eax, eax
rep stosb byte [rdi], al
jmp 0x14000cea0
mov dword [0x1401d486c], 1
mov rcx, rbx
call fcn.140009d30
mov edx, eax
lea rdi, [rbp + 0x2f]
xor eax, eax
mov qword [rbp + 0x27], rdx
mov ecx, 8
rep stosb byte [rdi], al
mov qword [rbp + 0x2f], rdx
mov rcx, rbx
lea edx, [rax + 5]
call fcn.140009b30
test rax, rax
je 0x14000cee1
cmp dword [rax + 4], r15d
je 0x14000cee1
mov sil, 1
mov qword [rbp - 0x11], r15
mov rax, r15
jmp 0x14000cef0
xor sil, sil
mov qword [rbp - 0x11], r15
mov rcx, rbx
call fcn.140009c40
mov qword [rbp - 0x19], rax
lea rdi, [rbp - 9]
xor eax, eax
mov dword [rbp - 5], r15d
mov dword [rbp + 0x13], r15d
lea r9, [rbp + 0x2f]
xorps xmm0, xmm0
mov qword [rsp + 0x30], r15
mov ecx, 0x30
mov dword [rsp + 0x28], 0x8000000
rep stosb byte [rdi], al
lea rcx, [rbp - 0x11]
mov dword [rbp - 9], 0x30
lea r8, [rbp - 9]
mov qword [rbp - 1], r15
mov edx, 0xf001f
mov dword [rbp + 0xf], r15d
mov qword [rbp + 7], r15
movdqu xmmword [rbp + 0x17], xmm0
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov rdi, qword [rsp + 0xd8]
test eax, eax
js 0x14000d03c
mov rcx, qword [rbp - 0x11]
lea rax, [rbp + 0x27]
mov dword [rsp + 0x48], 4
lea r8, [rbp - 0x19]
mov dword [rsp + 0x40], r15d
xor r9d, r9d
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
lea rdx, [r9 - 1]
mov qword [rsp + 0x20], r15
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
jns 0x14000cfeb
test sil, sil
jne 0x14000cfeb
mov rcx, qword [rbp - 0x11]
lea rax, [rbp + 0x27]
mov dword [rsp + 0x48], 4
lea r8, [rbp - 0x19]
mov dword [rsp + 0x40], r15d
xor r9d, r9d
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
lea rdx, [r9 - 1]
mov qword [rbp - 0x19], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
js 0x14000d03c
mov r9, qword [rbp + 0x27]
mov rdx, r14
mov r8, qword [rbp - 0x19]
mov rcx, rbx
call fcn.14000a0e0
test sil, sil
je 0x14000d013
mov rcx, qword [rbp - 0x19]
mov rdx, qword [rbp + 0x27]
mov r8, rcx
call fcn.14000a640
mov rdx, qword [rbp - 0x19]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov rax, qword [rbp - 0x11]
mov qword [0x1401d4860], rax
mov rax, qword [rbp - 0x19]
mov qword [0x1401d48a8], rax
jmp 0x14000d03e
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140036ee0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000de30
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14000de52
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14000decc
mov rdi, r14
mov rcx, rbx
call fcn.140005df0
test rax, rax
jle 0x14000dea4
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.140038dd0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000debc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14000dec4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14000de66
sub r14, rdi
jmp 0x14000dfaf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14000dee3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000dee5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000df17
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140038dd0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000dfac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000df52
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 rbp, 0xfff
jbe 0x14000df8d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400202d8
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000dfac
cmp rbp, rax
ja 0x14000df60
test rbp, rbp
je 0x14000dfac
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400202d8
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x14002bf74
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x14002bfa6
call fcn.140025e6c
mov dword [rax], 0x16
call fcn.14001ec20
jmp 0x14002c0c5
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14002c0c5
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14002c0c5
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14002bfd5
lock or dword [rcx + 0x14], 0x10
jmp 0x14002c0c5
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14002bfe9
call fcn.14002d040
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140029c20
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14002d558
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14002c0b3
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14002c07e
mov rcx, rsi
call fcn.140029c20
cmp eax, edi
je 0x14002c069
mov rcx, rsi
call fcn.140029c20
cmp eax, 0xfffffffe
je 0x14002c069
mov rcx, rsi
call fcn.140029c20
movsxd rbx, eax
lea r14, [0x1401d2d70]
mov rcx, rsi
sar rbx, 6
call fcn.140029c20
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14002c070
lea rdx, [0x1401d1350]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14002c07e
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14002c0a2
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14002c0a2
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14002c0a2
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x14002c0c8
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x14002cdc0
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.140037b70
sub rsp, rax
mov rax, qword [0x1401d1a38]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140029c20
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002ce0f
mov rax, rbp
jmp 0x14002cf17
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, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x1d2d70]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002dd30
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1d2d70]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14002cf13
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 0x14002cf13
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002dd30
test rax, rax
js 0x14002cf13
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14002cf13
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14002cf05
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14002cf05
cmp byte [rcx], 0xd
jne 0x14002ceeb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002cefa
cmp byte [rcx + 1], 0xa
jne 0x14002cefa
inc rcx
jmp 0x14002cefa
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1d13b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14002cecd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002cf17
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140036ee0
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 0x14002d0ac
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1401d2d70]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14002d10a
cmp word [rdx], r12w
jne 0x14002d10a
or byte [rax + r8*8 + 0x38], cl
jmp 0x14002d110
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14002d26b
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14002d246
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14002d149
mov rcx, r9
jmp 0x14002d16c
cmp r9, rdx
jae 0x14002d183
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14002d12d
jmp 0x14002d26b
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002d240
cmp dword [rsp + 0x80], edi
je 0x14002d240
mov rdx, r14
lea r11, [0x1401d2d70]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14002d219
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14002d1ec
mov word [rbx], r12w
jmp 0x14002d267
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14002d1f5
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14002d267
cmp word [rsp + 0x70], r12w
jne 0x14002d226
cmp rbx, rsi
je 0x14002d1e6
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14002dd38
cmp word [rsp + 0x70], r12w
je 0x14002d26b
mov word [rbx], r13w
jmp 0x14002d267
lea r11, [0x1401d2d70]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14002d263
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14002d26b
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400321d0
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 0x14003223f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003223f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003223f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003223f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003223f
cmp dword [rcx + 0x84], 0xe
jbe 0x14003223f
cmp dword [rcx + 0xf8], 0
je 0x14003223f
mov ecx, ebx
call fcn.1400322fc
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.1400320cc
nop
cmp dword [rbp + 0x20], 0
je 0x14003228d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140032298
int3
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400321d0

Function at 0x1400323e0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400321d0

Function at 0x140037a98
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140037ae2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140037ae2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140037ae2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140037ae2
cmp dword [rcx + 0x84], 0xe
jbe 0x140037ae2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140037ae4
xor al, al
add rsp, 0x28
ret
Function at 0x1400462d0
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov ebx, ecx
movaps xmmword [rsp + 0x30], xmm7
mov r10, rdx
movdqa xmm7, xmmword [0x14009abc0]
mov edi, 0x15b0
movaps xmmword [rsp + 0x20], xmm8
movdqa xmm8, xmmword [0x14009abd0]
movaps xmmword [rsp + 0x10], xmm9
movaps xmmword [rsp], xmm10
movdqa xmm10, xmmword [0x14009abe0]
shr ebx, 0x10
movzx r11d, cx
cmp r9, 0x10
jb 0x1400464a5
xorps xmm5, xmm5
nop dword [rax]
cmp r9, rdi
movd xmm3, r11d
mov rax, r9
movd xmm9, ebx
cmova rax, rdi
movdqa xmm6, xmm5
and rax, 0xfffffffffffffff0
movdqa xmm4, xmm5
sub r9, rax
cmp rax, 0x20
jb 0x1400463cd
mov rdx, rax
shr rdx, 5
imul rcx, rdx, 0xffffffffffffffe0
add rax, rcx
nop word [rax + rax]
movdqu xmm1, xmmword [r8]
movdqu xmm2, xmmword [r8 + 0x10]
add r8, 0x20
movdqa xmm0, xmm1
paddd xmm6, xmm3
psadbw xmm0, xmm5
movdqu xmmword [r10], xmm1
movdqu xmmword [r10 + 0x10], xmm2
add r10, 0x20
pmaddubsw xmm1, xmm10
paddd xmm3, xmm0
movdqa xmm0, xmm2
pmaddubsw xmm2, xmm8
psadbw xmm0, xmm5
pmaddwd xmm1, xmm7
pmaddwd xmm2, xmm7
paddd xmm3, xmm0
paddd xmm9, xmm1
paddd xmm4, xmm2
sub rdx, 1
jne 0x140046370
pslld xmm6, 5
paddd xmm4, xmm9
paddd xmm4, xmm6
movdqa xmm6, xmm5
cmp rax, 0x10
jb 0x14004642e
movdqa xmm2, xmm3
shr rax, 4
nop dword [rax]
movdqu xmm1, xmmword [r8]
add r8, 0x10
paddd xmm6, xmm2
movdqa xmm0, xmm1
psadbw xmm0, xmm5
movdqu xmmword [r10], xmm1
add r10, 0x10
paddd xmm3, xmm0
movdqa xmm0, xmm1
pmaddubsw xmm0, xmm8
movdqa xmm2, xmm3
pmaddwd xmm0, xmm7
paddd xmm4, xmm0
sub rax, 1
jne 0x1400463f0
movdqa xmm0, xmm3
pslld xmm6, 4
psrldq xmm0, 8
paddd xmm6, xmm4
paddd xmm0, xmm3
mov eax, 0x80078071
movd r11d, xmm0
movdqa xmm1, xmm6
punpckhqdq xmm1, xmm6
paddd xmm1, xmm6
mul r11d
pshufd xmm0, xmm1, 1
paddd xmm0, xmm1
movd ebx, xmm0
shr edx, 0xf
imul eax, edx, 0xfff1
sub r11d, eax
mov eax, 0x80078071
mul ebx
shr edx, 0xf
imul eax, edx, 0xfff1
sub ebx, eax
cmp r9, 0x10
jae 0x140046330
test r9, r9
jne 0x140046320
shl ebx, 0x10
or ebx, r11d
mov eax, ebx
jmp 0x1400464f1
test r9, r9
je 0x1400464c8
sub r8, r10
nop dword [rax]
movzx eax, byte [r8 + r10]
mov byte [r10], al
lea r10, [r10 + 1]
add r11d, eax
add ebx, r11d
sub r9, 1
jne 0x1400464b0
mov eax, 0x80078071
mul r11d
mov eax, 0x80078071
shr edx, 0xf
imul ecx, edx, 0xfff1
mul ebx
sub r11d, ecx
shr edx, 0xf
imul eax, edx, 0xf
add eax, ebx
shl eax, 0x10
or eax, r11d
mov rbx, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x10]
movaps xmm10, xmmword [rsp]
add rsp, 0x50
pop rdi
ret
Function at 0x140046560
Capabilities:
Compute adler32 checksum

Disassembly:
sub rsp, 0x68
mov r11, r8
mov r10, rdx
mov eax, ecx
test r8, r8
jne 0x14004657e
mov eax, 1
vzeroupper
add rsp, 0x68
ret
test r9, r9
je 0x1400467bf
mov qword [rsp + 0x70], rbx
mov ebx, ecx
mov qword [rsp + 0x60], rdi
mov edi, 0x15b0
vmovaps xmmword [rsp + 0x50], xmm6
vmovaps xmmword [rsp + 0x40], xmm7
vmovdqu ymm7, ymmword [0x14009afc0]
vmovaps xmmword [rsp + 0x30], xmm8
vmovdqu ymm8, ymmword [0x14009afa0]
vmovaps xmmword [rsp + 0x20], xmm9
vmovdqu ymm9, ymmword [0x14009af80]
movzx r8d, cx
mov ecx, dword [rsp + 0x90]
shr ebx, 0x10
cmp r9, 0x10
jb 0x14004670f
cmp r9, 0x20
jb 0x1400466e3
vpxor xmm6, xmm6, xmm6
nop
cmp r9, rdi
mov rax, r9
vmovd xmm2, r8d
cmova rax, rdi
and rax, 0xffffffffffffffe0
sub r9, rax
vmovd xmm3, ebx
vmovdqu ymm5, ymm2
vmovdqu ymm4, ymm6
cmp rax, 0x20
jb 0x14004665a
shr rax, 5
nop dword [rax]
vmovdqu ymm0, ymmword [r11]
add r11, 0x20
vpsadbw ymm1, ymm0, ymm6
test ecx, ecx
je 0x14004663a
vmovdqu ymmword [r10], ymm0
add r10, 0x20
vpaddd ymm2, ymm1, ymm2
vpmaddubsw ymm0, ymm0, ymm7
vpmaddwd ymm1, ymm0, ymm8
vpaddd ymm4, ymm4, ymm5
vpaddd ymm3, ymm1, ymm3
vmovdqu ymm5, ymm2
sub rax, 1
jne 0x140046620
vpermd ymm1, ymm9, ymm2
vpunpckhqdq xmm0, xmm1, xmm1
vpaddd xmm2, xmm0, xmm1
vpshufd xmm1, xmm2, 1
vpaddd xmm0, xmm1, xmm2
vmovd r8d, xmm0
vpslld ymm0, ymm4, 5
vpaddd ymm2, ymm0, ymm3
vextracti128 xmm1, ymm2, 1
vpaddd xmm1, xmm1, xmm2
vpunpckhqdq xmm0, xmm1, xmm1
vpaddd xmm2, xmm0, xmm1
mov eax, 0x80078071
mul r8d
vpshufd xmm1, xmm2, 1
shr edx, 0xf
imul eax, edx, 0xfff1
vpaddd xmm0, xmm1, xmm2
vmovd ebx, xmm0
sub r8d, eax
mov eax, 0x80078071
mul ebx
shr edx, 0xf
imul eax, edx, 0xfff1
sub ebx, eax
cmp r9, 0x20
jae 0x1400465f0
mov eax, ebx
shl eax, 0x10
or eax, r8d
test r9, r9
jne 0x1400465d6
jmp 0x14004679d
test ecx, ecx
mov ecx, eax
je 0x1400466fc
mov r8, r11
mov rdx, r10
vzeroupper
call fcn.1400462d0
jmp 0x14004679d
mov r8, r9
mov rdx, r11
vzeroupper
call fcn.1400457f0
jmp 0x14004679d
test ecx, ecx
je 0x14004674e
test r9, r9
je 0x140046738
sub r11, r10
nop dword [rax + rax]
movzx eax, byte [r11 + r10]
mov byte [r10], al
lea r10, [r10 + 1]
add r8d, eax
add ebx, r8d
sub r9, 1
jne 0x140046720
mov eax, 0x80078071
mul r8d
shr edx, 0xf
imul ecx, edx, 0xfff1
sub r8d, ecx
jmp 0x140046788
test r9, r9
je 0x140046774
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r11]
lea r11, [r11 + 1]
add r8d, eax
add ebx, r8d
sub r9, 1
jne 0x140046760
mov eax, 0x80078071
mul r8d
shr edx, 0xf
imul eax, edx, 0xfff1
sub r8d, eax
mov eax, 0x80078071
mul ebx
shr edx, 0xf
imul eax, edx, 0xf
add eax, ebx
shl eax, 0x10
or eax, r8d
vmovaps xmm8, xmmword [rsp + 0x30]
vmovaps xmm7, xmmword [rsp + 0x40]
vmovaps xmm6, xmmword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
vmovaps xmm9, xmmword [rsp + 0x20]
vzeroupper
add rsp, 0x68
ret