joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140094b80
Capabilities:
Read file on windows

Disassembly:
push rsi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r9, qword [rcx]
mov r14, rdx
mov edx, 8
mov r15, r8
mov rsi, rcx
lea r8d, [rdx - 7]
lea rcx, [rsp + 0x20]
call fcn.1401c1e14
cmp rax, 1
je 0x140094bc8
mov eax, 2
jmp 0x140094d96
mov rax, qword [rsp + 0x20]
cmp rax, qword [str.HPHP49_C]
jne 0x140094bbe
mov rcx, qword [rsi]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rdi
call fcn.1401c3f28
movzx ecx, al
mov edi, ecx
shr ecx, 4
and edi, 0xf
shl edi, 4
or edi, ecx
mov rcx, qword [rsi]
call fcn.1401c3f28
mov rcx, qword [rsi]
movzx ebx, al
call fcn.1401c3f28
shl edi, 0xc
and eax, 0xf
mov ecx, ebx
and ecx, 0xf
shl ecx, 4
shl ecx, 4
or ecx, ebx
mov rbx, qword [rsp + 0x48]
and ecx, 0xfffffff0
or eax, ecx
or eax, edi
mov rdi, qword [rsp + 0x40]
cmp eax, 0xc2a20
jne 0x140094bbe
mov rcx, qword [rsi]
call fcn.1401c3f28
mov rcx, qword [rsi]
call fcn.1401c3f28
mov r9, qword [rsi]
mov edx, 4
lea r8d, [rdx - 3]
lea rcx, [rsp + 0x20]
call fcn.1401c1e14
cmp rax, 1
jne 0x140094bbe
mov eax, dword [rsp + 0x20]
cmp eax, dword [str.GR16]
jne 0x140094bbe
mov rcx, qword [rsi]
call fcn.1401c3f28
movzx ecx, al
mov eax, ecx
shr ecx, 4
and eax, 0xf
shl eax, 4
or eax, ecx
mov dword [r15], eax
mov rcx, qword [rsi]
call fcn.1401c3f28
movzx ecx, al
mov eax, ecx
shr ecx, 4
and eax, 0xf
or eax, dword [r15]
shl eax, 4
or eax, ecx
mov dword [r15], eax
mov rcx, qword [rsi]
call fcn.1401c3f28
movzx r9d, al
mov eax, dword [r15]
shl eax, 8
mov r8d, r9d
and r9d, 0xf0
and r8d, 0xf
or r8d, eax
mov ecx, r8d
mov edx, r8d
mov eax, r8d
and edx, 0xf
sar ecx, 8
and eax, 0xf0
shl edx, 8
and ecx, 0xf00
or edx, eax
mov eax, r8d
and r8d, 0xf00
shl edx, 8
and eax, 0xf000
or ecx, eax
sar ecx, 8
or edx, ecx
or edx, r8d
mov dword [r15], edx
mov dword [r14], r9d
mov rcx, qword [rsi]
call fcn.1401c3f28
movzx edx, al
mov eax, edx
shr edx, 4
and eax, 0xf
or eax, dword [r14]
shl eax, 4
or eax, edx
mov dword [r14], eax
mov rcx, qword [rsi]
call fcn.1401c3f28
movzx ecx, al
mov eax, dword [r14]
mov r8d, ecx
shl eax, 4
shr ecx, 4
and r8d, 0xf
or r8d, eax
shl r8d, 4
or r8d, ecx
mov edx, r8d
mov eax, r8d
mov ecx, r8d
and edx, 0xf
and eax, 0xf0
sar ecx, 8
shl edx, 8
and ecx, 0xf00
or edx, eax
mov eax, r8d
and eax, 0xf000
shl edx, 8
or ecx, eax
sar ecx, 8
and r8d, 0xf00
or edx, ecx
or edx, r8d
xor eax, eax
mov dword [r14], edx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x50
pop r15
pop r14
pop rsi
ret
Function at 0x140095ca0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
call fcn.140066b20
mov dword [rdi], eax
cmp eax, 0xe880
je 0x140095cce
mov eax, 2
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.140066da0
lea rcx, [rdi + 6]
mov edx, 0xf6
mov word [rdi + 4], ax
mov r9, qword [rbx]
mov r8d, 1
call fcn.1401c1e14
mov rcx, rbx
call fcn.140066b20
lea rcx, [rdi + 0x100]
mov edx, 0xa0
mov dword [rdi + 0xfc], eax
mov r9, qword [rbx]
mov r8d, 1
call fcn.1401c1e14
mov rcx, rbx
call fcn.140066da0
mov rcx, rbx
mov word [rdi + 0x1a0], ax
call fcn.140066da0
mov rcx, rbx
mov word [rdi + 0x1a2], ax
call fcn.140066da0
mov rcx, rbx
mov word [rdi + 0x1a4], ax
call fcn.140066da0
mov rcx, rbx
mov word [rdi + 0x1a6], ax
call fcn.140066da0
mov rcx, rbx
mov word [rdi + 0x1a8], ax
call fcn.140066da0
mov rcx, rbx
mov word [rdi + 0x1aa], ax
call fcn.140066da0
mov rcx, rbx
mov word [rdi + 0x1ac], ax
call fcn.140066da0
mov rcx, rbx
mov word [rdi + 0x1ae], ax
call fcn.140066da0
mov rcx, rbx
mov word [rdi + 0x1b0], ax
call fcn.140066da0
mov edx, 0xc
mov word [rdi + 0x1b2], ax
mov r9, qword [rbx]
lea rcx, [rdi + 0x1b4]
lea r8d, [rdx - 0xb]
call fcn.1401c1e14
mov rcx, rbx
call fcn.140066b20
mov edx, 0x3c
lea rcx, [rdi + 0x1c2]
mov word [rdi + 0x1c0], ax
mov r9, qword [rbx]
lea r8d, [rdx - 0x3b]
call fcn.1401c1e14
mov rcx, rbx
call fcn.140066b20
mov rcx, rbx
mov dword [rdi + 0x200], eax
call fcn.140066b20
mov word [rdi + 0x204], ax
mov rcx, qword [rbx]
call fcn.1401c1a94
mov rbx, qword [rsp + 0x30]
neg eax
sbb ecx, ecx
and ecx, 4
movzx eax, cx
add rsp, 0x20
pop rdi
ret
Function at 0x140096060
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor eax, eax
mov edi, r8d
mov r15, rdx
mov r14, rcx
movsxd r12, r8d
movzx ebp, ax
imul edi, r9d
test edi, edi
jle 0x140096132
mov r13, qword [rsp + 0x80]
mov ebx, eax
mov r9, qword [r14]
mov edx, 1
lea rcx, [rsp + 0x70]
mov r8d, edx
call fcn.1401c1e14
cmp rax, 1
jne 0x140096194
movzx eax, byte [rsp + 0x70]
movzx esi, al
test al, al
jns 0x14009614a
mov rcx, qword [r14]
and esi, 0x7f
inc esi
sub edi, esi
mov dword [rsp + 0x78], edi
call fcn.1401c3f28
xor edi, edi
mov r14d, eax
test esi, esi
jle 0x140096121
nop word [rax + rax]
mov byte [rbx + r15], r14b
inc rbx
cmp rbx, r12
jl 0x14009611b
or r8d, 0xffffffff
mov r9d, 1
mov rcx, r13
or edx, r8d
call fcn.1400615b0
movzx ebp, ax
test ax, ax
jne 0x140096121
xor ebx, ebx
inc edi
cmp edi, esi
jl 0x1400960f0
mov r14, qword [rsp + 0x60]
mov edi, dword [rsp + 0x78]
test edi, edi
jg 0x1400960a0
movzx eax, bp
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
inc esi
sub edi, esi
mov dword [rsp + 0x78], edi
xor edi, edi
test esi, esi
jle 0x140096126
mov rcx, qword [r14]
call fcn.1401c3f28
inc rbx
mov byte [rbx + r15 - 1], al
cmp rbx, r12
jl 0x14009618c
or r8d, 0xffffffff
mov r9d, 1
mov rcx, r13
or edx, r8d
call fcn.1400615b0
movzx ebp, ax
test ax, ax
jne 0x140096126
xor ebx, ebx
inc edi
cmp edi, esi
jl 0x140096158
jmp 0x140096126
mov eax, 4
jmp 0x140096135
Function at 0x1400963a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r9, qword [rcx]
mov rdi, rdx
mov edx, 0x20
mov rbx, rcx
lea r8d, [rdx - 0x1f]
mov rcx, rdi
call fcn.1401c1e14
cmp rax, 1
je 0x1400963e4
mov eax, 4
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
mov qword [rsp + 0x30], r14
call fcn.140066de0
mov rcx, rbx
mov word [rdi + 0x20], ax
call fcn.140066de0
mov rcx, rbx
mov word [rdi + 0x22], ax
call fcn.140066b70
mov rcx, rbx
mov dword [rdi + 0x24], eax
call fcn.140066b70
mov rcx, rbx
mov dword [rdi + 0x28], eax
call fcn.140066b70
mov rcx, rbx
mov dword [rdi + 0x2c], eax
call fcn.140066b70
mov rcx, rbx
mov dword [rdi + 0x30], eax
call fcn.140066b70
mov rcx, rbx
mov dword [rdi + 0x34], eax
call fcn.140066b70
mov esi, 4
mov dword [rdi + 0x38], eax
mov r9, qword [rbx]
lea rcx, [rdi + 0x3c]
lea r8d, [rsi - 3]
mov edx, esi
call fcn.1401c1e14
cmp rax, 1
jne 0x140096483
mov eax, dword [rdi + 0x3c]
cmp eax, dword [str.vIMG]
jne 0x140096493
mov r9, qword [rbx]
lea r8d, [rsi - 3]
lea rcx, [rdi + 0x40]
mov edx, esi
call fcn.1401c1e14
cmp rax, 1
je 0x140096488
movzx eax, si
jmp 0x1400964cd
mov eax, dword [rdi + 0x40]
cmp eax, dword [str.View]
je 0x14009649a
mov eax, 2
jmp 0x1400964cd
mov rcx, rbx
call fcn.140066b70
mov rcx, rbx
mov dword [rdi + 0x44], eax
call fcn.140066b70
mov rcx, rbx
mov dword [rdi + 0x48], eax
call fcn.140066de0
mov word [rdi + 0x4c], ax
mov rcx, qword [rbx]
call fcn.1401c1a94
neg eax
sbb ecx, ecx
and ecx, esi
movzx eax, cx
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400964f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rcx]
mov rdi, rdx
mov edx, 0x20
mov rbx, rcx
lea r8d, [rdx - 0x1f]
mov rcx, rdi
call fcn.1401c1e14
cmp rax, 1
je 0x14009652a
mov eax, 4
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx]
call fcn.1401c3f28
mov byte [rdi + 0x20], al
mov rcx, qword [rbx]
call fcn.1401c3f28
mov rcx, rbx
mov byte [rdi + 0x21], al
call fcn.140066b70
mov rcx, rbx
mov dword [rdi + 0x24], eax
call fcn.140066b70
mov rcx, rbx
mov dword [rdi + 0x28], eax
call fcn.140066de0
mov rcx, rbx
mov word [rdi + 0x2c], ax
call fcn.140066de0
mov rcx, rbx
mov word [rdi + 0x2e], ax
call fcn.140066b70
mov rcx, rbx
mov dword [rdi + 0x30], eax
call fcn.140066de0
mov rcx, rbx
mov word [rdi + 0x34], ax
call fcn.140066de0
cmp byte [rdi + 0x20], 0x18
mov word [rdi + 0x36], ax
jne 0x1400965a4
mov edx, 0xc
mov rcx, rbx
call fcn.140066ff0
mov rcx, rbx
call fcn.140066de0
mov rcx, rbx
mov word [rdi + 0x38], ax
call fcn.140066de0
mov word [rdi + 0x3a], ax
mov rcx, qword [rbx]
call fcn.1401c1a94
mov rbx, qword [rsp + 0x30]
neg eax
sbb ecx, ecx
and ecx, 4
movzx eax, cx
add rsp, 0x20
pop rdi
ret
Function at 0x140096cf0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r9, qword [rcx]
mov rsi, rdx
mov edx, 5
mov r14, r8
mov rdi, rcx
lea r8d, [rdx - 4]
lea rcx, [rsp + 0x28]
call fcn.1401c1e14
cmp rax, 1
je 0x140096d37
mov eax, 2
jmp 0x140096e4f
mov ecx, dword [rsp + 0x28]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbp
xor ebp, ebp
cmp ecx, dword [str.__HP:]
jne 0x140096dce
movzx eax, byte [rsp + 0x2c]
cmp al, byte [0x14021a8b0]
jne 0x140096dce
mov ebx, ebp
nop
mov rcx, qword [rdi]
call fcn.1401c3f28
cmp eax, 0xffffffff
je 0x140096e40
cmp eax, 0x3b
je 0x140096d7d
inc ebx
cmp ebx, 0x14
jl 0x140096d60
cmp ebx, 0x14
je 0x140096e40
mov rcx, qword [rdi]
call fcn.1401c3f28
cmp eax, 0xd
jne 0x140096e40
mov rcx, qword [rdi]
call fcn.1401c3f28
cmp eax, 0xa
je 0x140096dae
mov rdx, qword [rdi]
mov ecx, eax
call fcn.1401c4544
mov r9, qword [rdi]
mov edx, 5
lea rcx, [rsp + 0x28]
lea r8d, [rdx - 4]
call fcn.1401c1e14
cmp rax, 1
jne 0x140096e40
mov ecx, dword [rsp + 0x28]
cmp ecx, dword [str.GROB]
jne 0x140096e40
movzx eax, byte [rsp + 0x2c]
cmp al, byte [0x14021a8b8]
jne 0x140096e40
lea rdx, [rsp + 0x24]
mov rcx, rdi
call fcn.140066e20
test eax, eax
je 0x140096e40
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140066e20
test eax, eax
je 0x140096e40
mov rcx, qword [rdi]
call fcn.1401c3f28
cmp eax, 0xd
je 0x140096e17
cmp eax, 0x20
jne 0x140096e40
mov rcx, qword [rdi]
call fcn.1401c3f28
cmp eax, 0xa
je 0x140096e2e
mov rdx, qword [rdi]
mov ecx, eax
call fcn.1401c4544
mov ecx, dword [rsp + 0x24]
movzx eax, bp
mov dword [rsi], ecx
mov ecx, dword [rsp + 0x20]
mov dword [r14], ecx
jmp 0x140096e45
mov eax, 2
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
Function at 0x140096e70
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x48
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov r14, rdx
mov edx, 8
mov rbp, r9
mov r9, qword [rcx]
mov r15, r8
mov rdi, rcx
lea r8d, [rdx - 7]
lea rcx, [rsp + 0x20]
call fcn.1401c1e14
cmp rax, 1
je 0x140096ece
mov eax, 2
jmp 0x1400970ae
mov r9d, dword [rsp + 0x20]
movzx edx, byte [rsp + 0x26]
movzx r8d, word [rsp + 0x24]
mov ecx, r9d
sub ecx, dword [str.HP38BinE]
jne 0x140096f04
movzx eax, word [0x14021a8c4]
movzx ecx, r8w
sub ecx, eax
jne 0x140096f04
movzx eax, byte [0x14021a8c6]
movzx ecx, dl
sub ecx, eax
movzx r11d, byte [0x14021a8d6]
movzx r10d, word [0x14021a8d4]
mov eax, dword [str.HP39BinE]
test ecx, ecx
je 0x140096f70
cmp r9d, eax
jne 0x140096f2e
cmp r8w, r10w
jne 0x140096f2e
cmp dl, r11b
je 0x140096f70
cmp r9d, dword [str.HPHP48_E]
jne 0x140096f49
cmp r8w, word [0x14021a8e4]
jne 0x140096f49
cmp dl, byte [0x14021a8e6]
je 0x140096f70
cmp r9d, dword [str.HPHP49_C]
jne 0x140096ec4
cmp r8w, word [0x14021a6d4]
jne 0x140096ec4
cmp dl, byte [0x14021a6d6]
jne 0x140096ec4
movsx eax, byte [rsp + 0x22]
lea ecx, [rax + rax*4]
movsx eax, byte [rsp + 0x23]
lea ecx, [rcx - 0x108]
lea ecx, [rax + rcx*2]
movzx eax, byte [rsp + 0x27]
mov dword [rbx], ecx
mov byte [rsi], al
cmp r9d, dword [str.HP38BinE]
jne 0x140096faa
cmp r8w, word [0x14021a8c4]
jne 0x140096faa
cmp dl, byte [0x14021a8c6]
je 0x140096fc5
cmp r9d, dword [str.HP39BinE]
jne 0x140096fe6
cmp r8w, word [0x14021a8d4]
jne 0x140096fe6
cmp dl, byte [0x14021a8d6]
jne 0x140096fe6
mov rcx, qword [rdi]
call fcn.1401c3f28
cmp eax, 2
jne 0x140096ec4
mov rcx, qword [rdi]
call fcn.1401c3f28
mov rcx, qword [rdi]
call fcn.1401c3f28
mov rcx, qword [rdi]
call fcn.1401c3f28
mov rcx, qword [rdi]
mov ebx, eax
call fcn.1401c3f28
mov rcx, qword [rdi]
shl eax, 8
or ebx, eax
call fcn.1401c3f28
mov esi, eax
cmp eax, 0xffffffff
je 0x140096ec4
and eax, 0xf
shl eax, 0x10
or eax, ebx
cmp eax, 0x2b1e
jne 0x140096ec4
mov rcx, qword [rdi]
call fcn.1401c3f28
mov rcx, qword [rdi]
sar esi, 4
mov ebx, eax
shl ebx, 4
or ebx, esi
call fcn.1401c3f28
shl eax, 0xc
or eax, ebx
mov dword [r14], eax
mov rcx, qword [rdi]
call fcn.1401c3f28
mov rcx, qword [rdi]
mov ebx, eax
call fcn.1401c3f28
mov rcx, qword [rdi]
shl eax, 8
or ebx, eax
call fcn.1401c3f28
mov esi, eax
cmp eax, 0xffffffff
je 0x140096ec4
and eax, 0xf
shl eax, 0x10
or eax, ebx
mov dword [rbp], eax
mov rcx, qword [rdi]
call fcn.1401c3f28
mov rcx, qword [rdi]
sar esi, 4
mov ebx, eax
shl ebx, 4
or ebx, esi
call fcn.1401c3f28
shl eax, 0xc
or eax, ebx
mov dword [r15], eax
mov rcx, qword [rdi]
call fcn.1401c1a94
neg eax
sbb ecx, ecx
and ecx, 4
movzx eax, cx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140097b70
Capabilities:
Read file on windows

Disassembly:
push r12
push r15
sub rsp, 0x38
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x30], rsi
xor r12d, r12d
mov qword [rsp + 0x28], rdi
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x20], r14
mov ebp, r12d
mov r9, qword [r15]
mov edx, 1
lea rcx, [rsp + 0x60]
mov r8d, edx
call fcn.1401c1e14
cmp rax, 1
jne 0x140097c1f
movzx eax, byte [rsp + 0x60]
dec ebx
cmp al, 0xff
jg 0x140097bec
mov rcx, qword [r15]
movsx eax, al
mov edi, 2
sub edi, eax
movsxd r14, edi
call fcn.1401c3f28
mov r8, r14
mov edx, eax
mov rcx, rsi
call fcn.1401c0040
dec ebx
jmp 0x140097c10
mov r9, qword [r15]
movsx edi, al
mov r8d, 1
inc edi
mov rcx, rsi
movsxd r14, edi
mov rdx, r14
call fcn.1401c1e14
cmp rax, 1
jne 0x140097c1f
sub ebx, edi
add ebp, edi
add rsi, r14
cmp ebp, 0x7c60
jl 0x140097ba0
jmp 0x140097c28
mov eax, 4
movzx r12d, ax
mov r14, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x58]
test ebx, ebx
mov rbx, qword [rsp + 0x50]
jle 0x140097c4d
mov rcx, qword [r15]
call fcn.1401c3f28
movzx eax, r12w
add rsp, 0x38
pop r15
pop r12
ret

Function at 0x140098180
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r13, rdx
mov ebp, r8d
mov r12, rcx
xor edx, edx
mov r8d, 0xa0
mov rcx, r13
xor esi, esi
call fcn.1401c0040
lea rbx, [r13 + 0xa0]
lea rdi, [r13 + 0xa1]
test ebp, ebp
jle 0x1400982a6
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r15
nop dword [rax + rax]
mov r9, qword [r12]
mov edx, 1
lea rcx, [rsp + 0x60]
mov r8d, edx
call fcn.1401c1e14
cmp rax, 1
jne 0x14009829f
movzx eax, byte [rsp + 0x60]
dec ebp
cmp al, 0x7f
ja 0x14009823d
mov rcx, qword [r12]
movzx esi, al
call fcn.1401c3f28
mov byte [rsp + 0x60], al
add esi, 3
je 0x140098239
lea rdx, [r13 + 0x7d00]
mov ecx, esi
nop dword [rax]
mov byte [rbx], al
add rbx, 0xa0
cmp rbx, rdx
jb 0x140098234
mov rbx, rdi
inc rdi
dec rcx
jne 0x140098220
dec ebp
jmp 0x14009827a
movzx r14d, al
sub r14d, 0x7f
je 0x140098277
lea r15, [r13 + 0x7d00]
mov esi, r14d
mov rcx, qword [r12]
call fcn.1401c3f28
add rbx, 0xa0
mov byte [rbx - 0xa0], al
cmp rbx, r15
jb 0x140098272
mov rbx, rdi
inc rdi
dec rsi
jne 0x140098251
sub ebp, r14d
test ebp, ebp
jg 0x1400981d0
xor eax, eax
mov r14, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, 4
jmp 0x140098284
movzx eax, si
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140098440
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r13
push r15
sub rsp, 0x80
movsxd rdi, dword [rsp + 0xd0]
mov rsi, rcx
mov r15d, r9d
mov rcx, rdi
mov rbp, r8
call fcn.1401bee78
mov r13, rax
test rax, rax
jne 0x140098481
lea eax, [r13 + 1]
jmp 0x1400985d9
mov r9, qword [rsi]
mov esi, 1
mov rdx, rdi
mov r8d, esi
mov rcx, rax
call fcn.1401c1e14
lea rax, [0x1400e7320]
lea r8d, [rsi + 0x57]
mov qword [rsp + 0x50], rax
lea rax, [fcn.140169310]
lea rdx, [0x14021128c]
lea rcx, [rsp + 0x20]
xor ebx, ebx
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x60], rbx
call fcn.140150550
test eax, eax
jne 0x1400985d6
mov qword [rsp + 0xc0], r14
mov r14, qword [rsp + 0xd8]
mov edi, ebx
cmp dword [r14 + 0xc], ebx
jle 0x1400985bc
mov qword [rsp + 0xb0], r12
mov r12, qword [rsp + 0xe0]
nop dword [rax + rax]
test bx, bx
jne 0x1400985b4
mov rcx, qword [rbp + 0x10]
movsxd rax, dword [r14]
mov dword [rsp + 0x38], r15d
add rax, rcx
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x18]
cmp dword [r14 + 8], eax
je 0x140098541
movsxd r8, dword [rbp + 0x28]
xor edx, edx
call fcn.1401c0040
lea rcx, [rsp + 0x20]
mov edx, esi
call fcn.14014ec60
cmp eax, esi
je 0x140098574
cmp eax, 0xfffffffd
jne 0x140098560
lea rcx, [rsp + 0x20]
call fcn.140150710
test eax, eax
jne 0x14009856c
cmp dword [rsp + 0x38], eax
ja 0x140098541
jmp 0x140098574
mov eax, 4
movzx ebx, ax
cmp edi, dword [rbp + 0x1c]
jge 0x140098597
mov edx, dword [rsp + 0xb8]
mov r9d, esi
or r8d, 0xffffffff
mov rcx, r12
call fcn.1400615b0
movzx ebx, ax
test ax, ax
jne 0x1400985b4
cmp dword [rsp + 0x38], 0
jne 0x1400985ac
inc edi
cmp edi, dword [r14 + 0xc]
jl 0x140098510
jmp 0x1400985b4
mov eax, 4
movzx ebx, ax
mov r12, qword [rsp + 0xb0]
mov rcx, r13
call fcn.1401be23c
lea rcx, [rsp + 0x20]
call fcn.140150410
mov r14, qword [rsp + 0xc0]
movzx eax, bx
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140098d40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r14, qword [rsp + 0x80]
xor edi, edi
mov r13d, r9d
mov ebx, edi
mov rbp, r8
mov r15d, edx
mov rsi, rcx
cmp dword [r14 + 4], ebx
jle 0x140098da2
nop dword [rax + rax]
mov rcx, qword [rsp + 0x88]
mov r9d, 1
or r8d, 0xffffffff
mov edx, r15d
call fcn.1400615b0
inc ebx
cmp ebx, dword [r14 + 4]
jl 0x140098d80
mov rcx, qword [rbp + 0x10]
movsxd rbx, dword [r14]
mov eax, dword [rbp + 0x18]
movzx edx, di
add rbx, rcx
mov r12d, edi
mov word [rsp + 0x70], dx
cmp dword [r14 + 8], eax
je 0x140098dce
movsxd r8, dword [rbp + 0x28]
xor edx, edx
call fcn.1401c0040
movzx edx, di
cmp dword [r14 + 0xc], edi
jle 0x140098eac
nop dword [rax + rax]
test dx, dx
jne 0x140098eac
mov r9, qword [rsi]
mov edx, 1
lea rcx, [rsp + 0x80]
mov r8d, edx
call fcn.1401c1e14
cmp rax, 1
jne 0x140098f34
movzx eax, byte [rsp + 0x80]
cmp al, 0x80
jbe 0x140098ec3
mov rcx, qword [rsp + 0x60]
movzx esi, al
mov rcx, qword [rcx]
add esi, 0xffffff80
call fcn.1401c3f28
mov r15d, eax
test esi, esi
jle 0x140098e93
nop word [rax + rax]
inc edi
mov byte [rbx], r15b
inc rbx
cmp edi, r13d
jl 0x140098e8e
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x88]
xor edi, edi
lea r9d, [rdi + 1]
or r8d, 0xffffffff
call fcn.1400615b0
mov rcx, qword [rbp + 0x10]
movsxd rbx, dword [r14]
mov edx, dword [rbp + 0x18]
add rbx, rcx
inc r12d
mov word [rsp + 0x70], ax
cmp dword [r14 + 8], edx
je 0x140098e8e
movsxd r8, dword [rbp + 0x28]
xor edx, edx
call fcn.1401c0040
dec rsi
jne 0x140098e40
mov r15d, dword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
movzx edx, word [rsp + 0x70]
cmp r12d, dword [r14 + 0xc]
jl 0x140098de0
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movzx ecx, al
test ecx, ecx
jle 0x140098e9d
mov esi, ecx
nop dword [rax]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call fcn.1401c3f28
inc edi
inc rbx
mov byte [rbx - 1], al
cmp edi, r13d
jl 0x140098f2a
mov rcx, qword [rsp + 0x88]
xor edi, edi
or r8d, 0xffffffff
lea r9d, [rdi + 1]
mov edx, r15d
call fcn.1400615b0
mov rcx, qword [rbp + 0x10]
movsxd rbx, dword [r14]
mov word [rsp + 0x70], ax
mov eax, dword [rbp + 0x18]
inc r12d
add rbx, rcx
cmp dword [r14 + 8], eax
je 0x140098f2a
movsxd r8, dword [rbp + 0x28]
xor edx, edx
call fcn.1401c0040
dec rsi
jne 0x140098ed0
jmp 0x140098e98
mov eax, 4
jmp 0x140098eae
Function at 0x140098f40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r9, qword [rcx]
mov rbx, rdx
mov ebp, 4
movzx esi, r8w
mov rdi, rcx
lea r8d, [rbp - 3]
mov edx, ebp
mov rcx, rbx
call fcn.1401c1e14
test rax, rax
je 0x140098fca
cmp byte [rbx], 0x7e
jne 0x140098fca
cmp byte [rbx + 1], 0x42
jne 0x140098fca
cmp byte [rbx + 2], 0x4b
jne 0x140098fca
cmp byte [rbx + 3], 0
jne 0x140098fca
mov rcx, rdi
call fcn.140066da0
mov word [rbx + 4], ax
cmp si, bp
jge 0x140098fac
mov rcx, rdi
call fcn.140066b20
mov dword [rbx + 8], eax
mov rcx, rdi
call fcn.140066b20
mov dword [rbx + 0xc], eax
mov rcx, qword [rdi]
call fcn.1401c1a94
neg eax
sbb ecx, ecx
and ecx, ebp
movzx eax, cx
jmp 0x140098fcd
movzx eax, bp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140099160
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r9, qword [rcx]
mov rdi, rdx
mov edx, 0x20
mov r14, r8
mov rsi, rcx
lea r8d, [rdx - 0x1f]
lea rcx, [rsp + 0x20]
call fcn.1401c1e14
test rax, rax
jne 0x1400991a3
mov eax, 2
jmp 0x140099210
lea rdx, str.Paint_Shop_Pro_Image_File_n
lea rcx, [rsp + 0x20]
mov r8d, 0x1a
call fcn.1401c5410
test eax, eax
jne 0x14009919c
mov rcx, rsi
mov qword [rsp + 0x88], rbx
call fcn.140066da0
mov rcx, rsi
movzx ebx, ax
call fcn.140066da0
cmp bx, 3
jl 0x1400991ec
test ax, ax
jne 0x1400991ec
mov word [r14], bx
xor eax, eax
jmp 0x140099208
movups xmm0, xmmword [str.PSP_:_Bad_Version__]
movups xmmword [rdi + 0x74], xmm0
mov eax, dword [0x14021a9d8]
mov dword [rdi + 0x84], eax
mov eax, 9
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x140099d50
Capabilities:
Read file on windows
Write file on windows

Disassembly:
test r8d, r8d
je 0x140099df1
push rbx
push rbp
push rsi
sub rsp, 0x230
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov ebx, r8d
mov rbp, rdx
mov rsi, rcx
mov qword [rsp + 0x268], rdi
nop word [rax + rax]
mov r9, qword [rsi]
mov eax, 0x200
lea rcx, [rsp + 0x20]
cmp ebx, eax
mov r8d, 1
cmovl eax, ebx
movsxd rdi, eax
sub ebx, eax
mov rdx, rdi
call fcn.1401c1e14
lea rcx, [rsp + 0x20]
mov r9, rbp
mov r8d, 1
mov rdx, rdi
call fcn.1401c24f8
test ebx, ebx
jne 0x140099d90
mov rdi, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x230
pop rsi
pop rbp
pop rbx
ret

Function at 0x140099d59
Capabilities:
Read file on windows
Write file on windows

Disassembly:
test r8d, r8d
je 0x140099df1
push rbx
push rbp
push rsi
sub rsp, 0x230
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov ebx, r8d
mov rbp, rdx
mov rsi, rcx
mov qword [rsp + 0x268], rdi
nop word [rax + rax]
mov r9, qword [rsi]
mov eax, 0x200
lea rcx, [rsp + 0x20]
cmp ebx, eax
mov r8d, 1
cmovl eax, ebx
movsxd rdi, eax
sub ebx, eax
mov rdx, rdi
call fcn.1401c1e14
lea rcx, [rsp + 0x20]
mov r9, rbp
mov r8d, 1
mov rdx, rdi
call fcn.1401c24f8
test ebx, ebx
jne 0x140099d90
mov rdi, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x230
pop rsi
pop rbp
pop rbx
ret