joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009a730
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, 0x68464b2e
je 0x14009a75e
mov eax, 2
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.140066da0
mov ecx, 0x80
mov word [rdi + 4], ax
cmp ax, cx
jne 0x14009a74e
mov rcx, rbx
call fcn.140066da0
mov rcx, rbx
mov word [rdi + 6], ax
call fcn.140066b20
mov rcx, rbx
mov dword [rdi + 8], eax
call fcn.140066da0
mov rcx, rbx
mov word [rdi + 0xc], ax
call fcn.140066da0
mov rcx, rbx
mov word [rdi + 0xe], ax
call fcn.140066da0
mov word [rdi + 0x10], ax
mov rcx, qword [rbx]
call fcn.1401c3f28
mov byte [rdi + 0x12], al
mov rcx, qword [rbx]
call fcn.1401c3f28
mov rcx, rbx
mov byte [rdi + 0x13], al
call fcn.140066da0
mov rcx, rbx
mov word [rdi + 0x14], ax
call fcn.140066da0
mov word [rdi + 0x16], ax
mov rcx, qword [rbx]
call fcn.1401c3f28
mov byte [rdi + 0x18], al
mov rcx, qword [rbx]
call fcn.1401c3f28
mov rcx, rbx
mov byte [rdi + 0x19], al
call fcn.140066da0
mov edx, 0x14
mov word [rdi + 0x1a], ax
mov r9, qword [rbx]
lea rcx, [rdi + 0x1c]
lea r8d, [rdx - 0x13]
call fcn.1401c1e14
mov rcx, rbx
call fcn.140066b20
mov rcx, rbx
mov dword [rdi + 0x30], eax
call fcn.140066b20
mov rcx, rbx
mov dword [rdi + 0x34], eax
call fcn.140066b20
mov edx, 4
mov dword [rdi + 0x38], eax
mov r9, qword [rbx]
lea rcx, [rdi + 0x3c]
lea r8d, [rdx - 3]
call fcn.1401c1e14
mov rcx, rbx
call fcn.140066b20
mov rcx, rbx
mov dword [rdi + 0x40], eax
call fcn.140066b20
mov rcx, rbx
mov dword [rdi + 0x44], eax
call fcn.140066b20
mov rcx, rbx
mov dword [rdi + 0x48], eax
call fcn.140066b20
mov rcx, rbx
mov dword [rdi + 0x4c], eax
call fcn.140066b20
mov rcx, rbx
mov dword [rdi + 0x50], eax
call fcn.140066b20
mov rcx, rbx
mov dword [rdi + 0x54], eax
call fcn.140066b20
mov rcx, rbx
mov dword [rdi + 0x58], eax
call fcn.140066b20
lea rcx, [rdi + 0x60]
mov dword [rdi + 0x5c], eax
mov r9, qword [rbx]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
call fcn.1401c1e14
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 0x14009b6a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor ebp, ebp
cmp dword [r8 + 0x230], 1
mov r14, r9
mov rdi, r8
mov r15, rdx
mov r12, rcx
movzx eax, bp
jne 0x14009b760
cmp dword [r8 + 0x238], ebp
jne 0x14009b7e6
cmp dword [r8 + 0x20c], ebp
jbe 0x14009b7e6
nop dword [rax + rax]
mov edx, dword [rdi + 0x208]
mov r9, qword [r12]
mov r8d, 1
mov rcx, r15
call fcn.1401c1e14
test rax, rax
je 0x14009b748
or r8d, 0xffffffff
mov r9d, 1
mov rcx, r14
or edx, r8d
call fcn.1400615b0
test ax, ax
jne 0x14009b7e6
inc ebp
cmp ebp, dword [rdi + 0x20c]
jb 0x14009b6f0
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 4
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp dword [r8 + 0x238], ebp
jne 0x14009b7e6
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov r13d, 4
mov esi, ebp
nop dword [rax + rax]
test ax, ax
jne 0x14009b7dc
mov ebx, ebp
cmp dword [rdi + 0x20c], ebx
jbe 0x14009b7d5
nop
mov edx, dword [rdi + 0x208]
mov r9, qword [r12]
mov r8d, 1
mov rcx, r15
call fcn.1401c1e14
test rax, rax
je 0x14009b7d2
mov r9d, 1
or r8d, 0xffffffff
mov edx, esi
mov rcx, r14
call fcn.1400615b0
test ax, ax
jne 0x14009b7d5
inc ebx
cmp ebx, dword [rdi + 0x20c]
jb 0x14009b790
jmp 0x14009b7d5
mov eax, r13d
inc esi
cmp esi, 3
jl 0x14009b780
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14009b800
Capabilities:
Read file on windows

Disassembly:
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov r15, r9
mov rdi, r8
mov r14, rdx
mov r12, rcx
cmp dword [r8 + 0x238], r13d
jne 0x14009b934
mov qword [rsp + 0x58], rbp
mov ebp, r13d
cmp dword [r8 + 0x20c], r13d
jbe 0x14009b91d
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
nop dword [rax]
mov eax, dword [rdi + 0x208]
mov r9, qword [r12]
mov r8d, 1
lea edx, [rax + rax]
mov rcx, r14
call fcn.1401c1e14
test rax, rax
je 0x14009b916
movzx eax, byte [rdi + 4]
mov esi, r13d
sub al, 4
test al, 0xfb
je 0x14009b8ac
cmp dword [rdi + 0x208], r13d
jbe 0x14009b8d1
mov rbx, r14
nop dword [rax]
movzx ecx, word [rbx]
call fcn.140065fc0
inc esi
lea rbx, [rbx + 2]
mov word [rbx - 2], ax
cmp esi, dword [rdi + 0x208]
jb 0x14009b890
jmp 0x14009b8d1
cmp dword [rdi + 0x208], esi
jbe 0x14009b8d1
mov rbx, r14
movzx ecx, word [rbx]
call fcn.140065fd0
inc esi
lea rbx, [rbx + 2]
mov word [rbx - 2], ax
cmp esi, dword [rdi + 0x208]
jb 0x14009b8b7
or r8d, 0xffffffff
mov r9d, 1
mov rcx, r15
or edx, r8d
call fcn.1400615b0
test ax, ax
jne 0x14009b8f9
inc ebp
cmp ebp, dword [rdi + 0x20c]
jb 0x14009b850
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 4
jmp 0x14009b8f9
movzx eax, r13w
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movzx eax, r13w
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14009b950
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r15
sub rsp, 0x20
xor ebx, ebx
mov rbp, r9
mov rsi, rdx
mov r15, rcx
cmp dword [r9 + 0x238], ebx
jne 0x14009ba31
mov qword [rsp + 0x40], rdi
movsxd rdi, r8d
cmp dword [r9 + 0x20c], ebx
jbe 0x14009ba2c
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r14
mov r14, qword [rsp + 0x60]
lea r12, [0x14020bdd0]
mov r9, qword [r15]
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call fcn.1401c1e14
test rax, rax
je 0x14009ba25
test rdi, rdi
jle 0x14009b9e4
mov rax, rsi
mov rdx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rax]
lea rax, [rax + 1]
movzx ecx, byte [rcx + r12]
mov byte [rax - 1], cl
dec rdx
jne 0x14009b9d0
or r8d, 0xffffffff
mov r9d, 1
mov rcx, r14
or edx, r8d
call fcn.1400615b0
test ax, ax
jne 0x14009ba08
inc ebx
cmp ebx, dword [rbp + 0x20c]
jb 0x14009b9a0
mov r12, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
mov eax, 4
jmp 0x14009ba08
movzx eax, bx
jmp 0x14009ba12
movzx eax, bx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
Function at 0x14009c780
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r9, qword [rcx]
mov rdi, rdx
mov edx, 0x11
mov rbx, rcx
lea rcx, [rsp + 0x20]
lea r8d, [rdx - 0x10]
call fcn.1401c1e14
test rax, rax
jne 0x14009c7c1
mov eax, 4
jmp 0x14009c82f
lea rdx, str.PhotoFiltre_Image
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x31], 0
call fcn.1401c3380
test eax, eax
je 0x14009c7e2
mov eax, 2
jmp 0x14009c82f
mov rcx, qword [rbx]
call fcn.1401c3f28
mov rcx, rbx
mov byte [rdi], al
call fcn.140066b20
mov rcx, rbx
mov dword [rdi + 4], eax
call fcn.140066b20
mov rcx, rbx
mov dword [rdi + 8], eax
call fcn.140066b20
mov rcx, rbx
mov dword [rdi + 0xc], eax
call fcn.140066b20
mov edx, 0x100
mov rcx, rbx
call fcn.140066ff0
mov rcx, rbx
call fcn.140066b20
mov dword [rdi + 0x10], eax
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401bd600
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x14009cbc0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rdi, r9
mov r14, r8
mov dword [r8], 0
mov rsi, rdx
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x20]
xor edx, edx
mov rbp, rcx
call fcn.14009d3d0
test eax, eax
jne 0x14009cc11
lea rcx, str.LWF:_MapFileReadOnly_failed_r_n
call fcn.1401bdc60
xor eax, eax
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
mov qword [rsp + 0x60], rbx
mov rbx, qword [rsp + 0x30]
cmp dword [rbx + 0x28], 0x464d4520
jne 0x14009cc3f
lea rax, str.Windows_Enhanced_metafile
mov dword [rdi], 0
mov rcx, rbp
mov qword [rsi], rax
call qword [sym.imp.GDI32.dll_GetEnhMetaFileA]
jmp 0x14009cc9d
cmp dword [rbx], 0x9ac6cdd7
jne 0x14009cc6f
mov edx, dword [rsp + 0x70]
lea rax, str.Windows_Placeable_metafile
mov dword [rdi], 2
mov rcx, rbx
mov qword [rsi], rax
call fcn.14009ccc0
mov rdi, rax
movzx eax, word [rbx + 0xe]
mov dword [r14], eax
jmp 0x14009cca0
mov rcx, qword [rsp + 0x20]
lea rax, str.Windows_metafile
mov dword [rdi], 1
xor edx, edx
mov qword [rsi], rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor r9d, r9d
xor r8d, r8d
mov ecx, eax
mov rdx, rbx
call qword [sym.imp.GDI32.dll_SetWinMetaFileBits]
mov rdi, rax
lea rcx, [rsp + 0x20]
call fcn.14009cb70
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14009d3d0
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, r9
xor r9d, r9d
mov rbx, r8
mov rsi, rdx
mov qword [rsp + 0x30], 0
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x14009d48c
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor r9d, r9d
xor edx, edx
mov dword [rdi], eax
mov rcx, qword [rbx]
lea r8d, [r9 + 2]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rbx + 8], rax
test rax, rax
je 0x14009d483
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x14009d49e
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, 1
add rsp, 0x40
pop rdi
ret
Function at 0x14009e990
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb8]
movsx r14d, word [rsp + 0xb0]
mov r12, rdx
mov qword [rsp + 0x30], rax
xor eax, eax
mov r15d, r9d
mov ebp, eax
mov esi, eax
mov eax, r8d
cdq
mov qword [rsp + 0x28], rcx
mov word [rsp + 0x22], r14w
mov rbx, r12
idiv r14d
mov r13d, eax
jmp 0x14009ea10
mov rcx, qword [rsp + 0x28]
nop dword [rax]
nop dword [rax + rax]
movzx r14d, word [rsp + 0x22]
nop word [rax + rax]
mov r9, qword [rcx]
mov edx, 1
lea rcx, [rsp + 0x20]
mov r8d, edx
call fcn.1401c1e14
test rax, rax
je 0x14009eb43
movsx edi, byte [rsp + 0x20]
test edi, edi
jns 0x14009eab9
mov rcx, qword [rsp + 0x28]
and edi, 0x7f
inc edi
test edi, edi
jle 0x14009ea10
movsx r14, r14w
nop dword [rax]
mov rax, qword [rsp + 0x28]
mov r8d, 1
mov rdx, r14
mov r9, qword [rax]
mov rcx, rbx
call fcn.1401c1e14
test rax, rax
je 0x14009eb43
inc esi
cmp esi, r13d
jl 0x14009eaab
mov rcx, qword [rsp + 0x30]
or r8d, 0xffffffff
mov r9d, 1
or edx, r8d
call fcn.1400615b0
test ax, ax
jne 0x14009eb48
inc ebp
cmp ebp, r15d
jge 0x14009eb3f
xor esi, esi
mov rbx, r12
jmp 0x14009eaae
add rbx, r14
dec edi
test edi, edi
jg 0x14009ea50
jmp 0x14009e9ef
mov rax, qword [rsp + 0x28]
movsx r14, r14w
lea rcx, [rsp + 0x38]
mov r9, qword [rax]
mov r8d, 1
mov rdx, r14
inc edi
call fcn.1401c1e14
test rax, rax
je 0x14009eb43
mov rcx, qword [rsp + 0x28]
test edi, edi
jle 0x14009ea00
nop dword [rax]
lea rdx, [rsp + 0x38]
mov r8, r14
mov rcx, rbx
call fcn.1401bd6e0
inc esi
cmp esi, r13d
jl 0x14009eb31
mov rcx, qword [rsp + 0x30]
or r8d, 0xffffffff
mov r9d, 1
or edx, r8d
call fcn.1400615b0
test ax, ax
jne 0x14009eb48
inc ebp
cmp ebp, r15d
jge 0x14009eb3f
xor esi, esi
mov rbx, r12
jmp 0x14009eb34
add rbx, r14
dec edi
test edi, edi
jg 0x14009eaf0
jmp 0x14009e9ef
xor eax, eax
jmp 0x14009eb48
mov eax, 4
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401bd600
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009f360
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
movsxd r13, dword [rsp + 0xc0]
mov r14, rdx
mov qword [rsp + 0x38], rax
mov eax, r8d
xor r15d, r15d
cdq
xor edi, edi
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x28], rcx
mov rbx, r14
idiv r13d
mov dword [rsp + 0x34], eax
movsxd rsi, eax
nop dword [rax + rax]
mov r9, qword [rcx]
mov edx, 1
lea rcx, [rsp + 0x20]
mov r8d, edx
call fcn.1401c1e14
test rax, rax
je 0x14009f56b
movsx ebp, byte [rsp + 0x20]
test ebp, ebp
jns 0x14009f4a2
mov rcx, qword [rsp + 0x28]
and ebp, 0x7f
inc ebp
test ebp, ebp
jle 0x14009f3c0
nop dword [rax]
mov rax, qword [rsp + 0x28]
mov r8d, 1
mov rdx, r13
mov r9, qword [rax]
mov rcx, rbx
call fcn.1401c1e14
test rax, rax
je 0x14009f56b
inc edi
cmp edi, dword [rsp + 0x34]
jl 0x14009f48b
xor edi, edi
cmp r13d, 2
jne 0x14009f458
mov ebx, edi
test rsi, rsi
jle 0x14009f458
nop dword [rax]
movzx ecx, word [r14 + rbx*2]
call fcn.140065fd0
inc rbx
mov word [r14 + rbx*2 - 2], ax
cmp rbx, rsi
jl 0x14009f440
mov rcx, qword [rsp + 0x38]
or r8d, 0xffffffff
mov r9d, 1
or edx, r8d
call fcn.1400615b0
test ax, ax
jne 0x14009f570
inc r15d
cmp r15d, dword [rsp + 0x30]
jge 0x14009f566
mov rbx, r14
jmp 0x14009f48e
add rbx, r13
dec ebp
test ebp, ebp
jg 0x14009f400
mov rcx, qword [rsp + 0x28]
jmp 0x14009f3c0
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x40]
mov r8d, 1
mov r9, qword [rax]
mov rdx, r13
inc ebp
call fcn.1401c1e14
test rax, rax
je 0x14009f56b
mov rcx, qword [rsp + 0x28]
test ebp, ebp
jle 0x14009f3c0
nop word [rax + rax]
lea rdx, [rsp + 0x40]
mov r8, r13
mov rcx, rbx
call fcn.1401bd6e0
inc edi
cmp edi, dword [rsp + 0x34]
jl 0x14009f553
xor edi, edi
cmp r13d, 2
jne 0x14009f528
mov ebx, edi
test rsi, rsi
jle 0x14009f528
nop word [rax + rax]
movzx ecx, word [r14 + rbx*2]
call fcn.140065fd0
inc rbx
mov word [r14 + rbx*2 - 2], ax
cmp rbx, rsi
jl 0x14009f510
mov rcx, qword [rsp + 0x38]
or r8d, 0xffffffff
mov r9d, 1
or edx, r8d
call fcn.1400615b0
test ax, ax
jne 0x14009f570
inc r15d
cmp r15d, dword [rsp + 0x30]
jge 0x14009f566
mov rbx, r14
jmp 0x14009f556
add rbx, r13
dec ebp
test ebp, ebp
jg 0x14009f4e0
mov rcx, qword [rsp + 0x28]
jmp 0x14009f3c0
movzx eax, di
jmp 0x14009f570
mov eax, 4
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401bd600
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009f9d0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x250
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbp, qword [rsp + 0x2a0]
mov rsi, rdx
mov edx, 6
mov r15, r9
mov r9, qword [rcx]
mov r14, r8
mov rdi, rcx
lea r8d, [rdx - 5]
lea rcx, [rsp + 0x30]
call fcn.1401c1e14
test rax, rax
jne 0x14009fa2a
mov eax, 4
jmp 0x14009fb9e
mov eax, dword [rsp + 0x30]
cmp eax, dword [str.image]
jne 0x14009fa5e
movzx eax, word [rsp + 0x34]
cmp ax, word [0x14021ada8]
jne 0x14009fa5e
lea rdx, [rsp + 0x30]
mov r9b, 0x20
mov r8d, 0xc
mov rcx, rdi
call fcn.140066f20
test eax, eax
jne 0x14009fa68
mov eax, 2
jmp 0x14009fb9e
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x24]
lea rdx, str._d_c
lea rcx, [rsp + 0x30]
call fcn.1401be96c
lea rdx, [rsp + 0x30]
mov r9b, 0x20
mov r8d, 0xc
mov rcx, rdi
call fcn.140066f20
test eax, eax
je 0x14009fa5e
lea r9, [rsp + 0x21]
lea r8, [rsp + 0x28]
lea rdx, str._d_c
lea rcx, [rsp + 0x30]
call fcn.1401be96c
movzx eax, byte [rsp + 0x20]
sub al, 0x4c
test al, 0xdf
je 0x14009face
movzx eax, byte [rsp + 0x21]
sub al, 0x42
test al, 0xdf
jne 0x14009fa5e
mov eax, dword [rsp + 0x24]
cmp eax, 4
jl 0x14009fa5e
mov qword [rsp + 0x248], rbx
mov qword [rsp + 0x240], r12
xor r12d, r12d
mov ebx, r12d
test eax, eax
jle 0x14009fb8a
nop word [rax + rax]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 0x200
call fcn.1400663c0
test rax, rax
je 0x14009fbbd
test ebx, ebx
jne 0x14009fb2d
lea rcx, [rsp + 0x30]
call fcn.1401bee6c
mov dword [rsi], eax
jmp 0x14009fb7e
cmp ebx, 1
jne 0x14009fb41
lea rcx, [rsp + 0x30]
call fcn.1401bee6c
mov dword [r14], eax
jmp 0x14009fb7e
cmp ebx, 2
jne 0x14009fb55
lea rcx, [rsp + 0x30]
call fcn.1401bee6c
mov dword [r15], eax
jmp 0x14009fb7e
cmp ebx, 3
jne 0x14009fb7e
lea rcx, [rsp + 0x30]
mov rdx, rbp
lea rax, [rsp + 0x30]
sub rdx, rcx
nop word [rax + rax]
movzx ecx, byte [rax]
inc rax
mov byte [rdx + rax - 1], cl
test cl, cl
jne 0x14009fb70
inc ebx
cmp ebx, dword [rsp + 0x24]
jl 0x14009fb00
movzx eax, r12w
mov rbx, qword [rsp + 0x248]
mov r12, qword [rsp + 0x240]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x250
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov eax, 2
jmp 0x14009fb8e
Function at 0x1400a12c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r9, qword [rcx]
mov rdi, rdx
mov edx, 8
mov rbx, rcx
lea rcx, [rbp - 0x60]
lea r8d, [rdx - 7]
call fcn.1401c1e14
test rax, rax
je 0x1400a14e7
mov eax, dword [rbp - 0x60]
cmp eax, dword [str._bitmap]
jne 0x1400a14e7
movzx eax, word [rbp - 0x5c]
cmp ax, word [0x14021ae7c]
jne 0x1400a14e7
movzx eax, byte [rbp - 0x5a]
cmp al, byte [0x14021ae7e]
jne 0x1400a14e7
mov r9, qword [rbx]
mov edx, 8
lea rcx, [rbp - 0x60]
lea r8d, [rdx - 7]
call fcn.1401c1e14
test rax, rax
je 0x1400a14e7
lea rcx, [rbp - 0x60]
call fcn.1401bee6c
mov edx, 8
lea rcx, [rbp - 0x60]
mov dword [rdi], eax
mov r9, qword [rbx]
lea r8d, [rdx - 7]
call fcn.1401c1e14
test rax, rax
je 0x1400a14e7
lea rcx, [rbp - 0x60]
call fcn.1401bee6c
mov edx, 8
lea rcx, [rbp - 0x60]
mov dword [rdi + 4], eax
mov r9, qword [rbx]
lea r8d, [rdx - 7]
call fcn.1401c1e14
test rax, rax
je 0x1400a14e7
lea rcx, [rbp - 0x60]
call fcn.1401bee6c
mov edx, 8
lea rcx, [rbp - 0x60]
mov dword [rdi + 8], eax
mov r9, qword [rbx]
lea r8d, [rdx - 7]
call fcn.1401c1e14
test rax, rax
je 0x1400a14e7
lea rcx, [rbp - 0x60]
call fcn.1401bee6c
mov edx, 8
lea rcx, [rbp - 0x60]
mov dword [rdi + 0xc], eax
mov r9, qword [rbx]
lea r8d, [rdx - 7]
call fcn.1401c1e14
test rax, rax
je 0x1400a14e7
lea rcx, [rbp - 0x60]
call fcn.1401bee6c
mov edx, 0xc
lea rcx, [rbp - 0x60]
mov dword [rdi + 0x10], eax
mov r9, qword [rbx]
lea r8d, [rdx - 0xb]
call fcn.1401c1e14
test rax, rax
je 0x1400a14e7
lea rcx, [rbp - 0x60]
call fcn.1401bee6c
mov edx, 0xc
lea rcx, [rbp - 0x60]
mov dword [rdi + 0x14], eax
mov r9, qword [rbx]
lea r8d, [rdx - 0xb]
call fcn.1401c1e14
test rax, rax
je 0x1400a14e7
lea rcx, [rbp - 0x60]
call fcn.1401bee6c
mov edx, 0xc
lea rcx, [rbp - 0x60]
mov dword [rdi + 0x18], eax
mov r9, qword [rbx]
lea r8d, [rdx - 0xb]
call fcn.1401c1e14
test rax, rax
je 0x1400a14e7
lea rcx, [rbp - 0x60]
call fcn.1401bee6c
mov edx, 0xc
lea rcx, [rbp - 0x60]
mov dword [rdi + 0x1c], eax
mov r9, qword [rbx]
lea r8d, [rdx - 0xb]
call fcn.1401c1e14
test rax, rax
je 0x1400a14e7
lea rcx, [rbp - 0x60]
call fcn.1401bee6c
mov edx, 0x50
lea rcx, [rbp - 0x60]
mov dword [rdi + 0x20], eax
mov r9, qword [rbx]
lea r8d, [rdx - 0x4f]
call fcn.1401c1e14
test rax, rax
jne 0x1400a14c9
mov eax, 4
jmp 0x1400a14ec
mov r9, qword [rbx]
mov edx, 0x50
lea rcx, [rbp - 0x60]
lea r8d, [rdx - 0x4f]
call fcn.1401c1e14
test rax, rax
je 0x1400a14c2
xor eax, eax
jmp 0x1400a14ec
mov eax, 2
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401bd600
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400a49b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13d, dword [rsp + 0xa0]
mov r14, rcx
cmp r13d, 2
jne 0x1400a49f3
xor ebp, ebp
mov dword [rsp + 0x20], 1
mov r12d, ebp
jmp 0x1400a4a25
cmp dword [rsp + 0xa8], 0
jne 0x1400a4a12
cmp r13d, 4
jne 0x1400a4a12
xor ebp, ebp
mov dword [rsp + 0x20], 3
mov r12d, ebp
jmp 0x1400a4a25
xor ebp, ebp
mov dword [rsp + 0x20], r13d
mov r12d, ebp
test r13d, r13d
jle 0x1400a4c67
mov eax, dword [rsp + 0x90]
nop dword [rax]
movsxd rbx, r12d
mov edi, ebp
mov r15d, ebp
add rbx, r8
test eax, eax
jle 0x1400a4c4c
nop dword [rax]
nop word [rax + rax]
mov r9, qword [r14]
mov edx, 1
lea rcx, [rsp + 0xa0]
mov r8d, edx
call fcn.1401c1e14
test rax, rax
je 0x1400a4c60
movzx esi, byte [rsp + 0xa0]
cmp esi, 0x80
jl 0x1400a4b63
mov r14d, 0x100
sub r14d, esi
cmp r14d, 0x80
jne 0x1400a4aa5
mov rcx, qword [rsp + 0x70]
call fcn.140066de0
movzx r14d, ax
mov esi, ebp
test r14d, r14d
jle 0x1400a4c2a
mov ebp, r15d
imul ebp, dword [rsp + 0x98]
nop dword [rax + rax]
cmp r13d, 2
jne 0x1400a4acc
cmp r12d, 1
je 0x1400a4ae2
cmp dword [rsp + 0xa8], 0
jne 0x1400a4af1
cmp r13d, 4
jne 0x1400a4af1
cmp r12d, 3
jne 0x1400a4af1
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.1401c3f28
jmp 0x1400a4b08
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.1401c3f28
mov byte [rbx], al
movsxd rax, dword [rsp + 0x20]
add rbx, rax
inc edi
cmp edi, dword [rsp + 0x88]
jl 0x1400a4b45
add ebp, dword [rsp + 0x98]
mov r8, qword [rsp + 0x80]
movsxd rax, r12d
movsxd rbx, ebp
inc r15d
xor edi, edi
add rbx, rax
mov eax, dword [rsp + 0x90]
add rbx, r8
cmp r15d, eax
jge 0x1400a4c4c
jmp 0x1400a4b4c
mov eax, dword [rsp + 0x90]
inc esi
cmp esi, r14d
jl 0x1400a4ac0
mov r14, qword [rsp + 0x70]
xor ebp, ebp
jmp 0x1400a4c36
inc esi
cmp esi, 0x80
jne 0x1400a4b78
mov rcx, r14
call fcn.140066de0
movzx esi, ax
mov r9, qword [r14]
mov edx, 1
lea rcx, [rsp + 0xa0]
mov r8d, edx
call fcn.1401c1e14
test rax, rax
je 0x1400a4c60
mov ecx, ebp
test esi, esi
jle 0x1400a4c2f
mov eax, dword [rsp + 0x98]
mov r8d, dword [rsp + 0x90]
mov r9d, dword [rsp + 0x88]
mov edx, r15d
imul edx, eax
cmp r13d, 2
jne 0x1400a4bcc
cmp r12d, 1
je 0x1400a4bfb
cmp dword [rsp + 0xa8], 0
jne 0x1400a4be2
cmp r13d, 4
jne 0x1400a4be2
cmp r12d, 3
je 0x1400a4bfb
movzx eax, byte [rsp + 0xa0]
mov byte [rbx], al
movsxd rax, dword [rsp + 0x20]
add rbx, rax
mov eax, dword [rsp + 0x98]
inc edi
cmp edi, r9d
jl 0x1400a4c1f
add edx, eax
movsxd r10, r12d
inc r15d
movsxd rbx, edx
mov edi, ebp
add rbx, r10
add rbx, qword [rsp + 0x80]
cmp r15d, r8d
jge 0x1400a4c41
inc ecx
cmp ecx, esi
jl 0x1400a4bc0
mov eax, r8d
jmp 0x1400a4c36
mov r14, qword [rsp + 0x70]
mov eax, dword [rsp + 0x90]
cmp r15d, eax
jl 0x1400a4a50
jmp 0x1400a4c44
mov eax, r8d
mov r8, qword [rsp + 0x80]
inc r12d
xor ebp, ebp
cmp r12d, r13d
jge 0x1400a4c67
mov r14, qword [rsp + 0x70]
jmp 0x1400a4a30
mov eax, 4
jmp 0x1400a4c6a
movzx eax, bp
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret