joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006d5b0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor ebx, ebx
mov r14, r8
mov rdi, rdx
mov qword [rdx], rbx
mov dword [r8], ebx
mov rsi, rcx
call fcn.14006e770
lea r15, [rsp + 0x160]
mov rdx, rsi
sub r15, rsi
nop dword [rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [r15 + rdx - 1], al
test al, al
jne 0x14006d600
lea rcx, [rsp + 0x160]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], bl
lea rcx, [rcx + 1]
jne 0x14006d620
mov eax, dword [0x140210e10]
lea rdx, [rsp + 0x20]
mov dword [rcx], eax
movzx eax, byte [0x140210e14]
mov byte [rcx + 4], al
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14006d6d2
mov ecx, dword [r14]
inc ecx
cmp ecx, ebx
jl 0x14006d68b
mov rcx, qword [rdi]
add ebx, 0x40
movsxd rax, ebx
test rcx, rcx
jne 0x14006d67c
imul rcx, rax, 0x104
call fcn.1401bee78
jmp 0x14006d688
imul rdx, rax, 0x104
call fcn.1401bef30
mov qword [rdi], rax
movsxd rcx, dword [r14]
lea rdx, [rsp + 0x4c]
lea eax, [rcx + 1]
imul r8, rcx, 0x104
add r8, qword [rdi]
mov dword [r14], eax
lea rax, [rsp + 0x4c]
sub r8, rax
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [r8 + rdx - 1], al
test al, al
jne 0x14006d6b0
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14006d657
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
movzx eax, byte [rsi]
lea rsi, [rsi + 1]
mov byte [r15 + rsi - 1], al
test al, al
jne 0x14006d6e0
lea rcx, [rsp + 0x160]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14006d700
mov eax, dword [0x140210e18]
lea rdx, [rsp + 0x20]
mov dword [rcx], eax
movzx eax, word [0x140210e1c]
mov word [rcx + 4], ax
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14006d7c6
nop dword [rax]
mov ecx, dword [r14]
inc ecx
cmp ecx, ebx
jl 0x14006d774
mov rcx, qword [rdi]
add ebx, 0x40
movsxd rax, ebx
test rcx, rcx
jne 0x14006d765
imul rcx, rax, 0x104
call fcn.1401bee78
jmp 0x14006d771
imul rdx, rax, 0x104
call fcn.1401bef30
mov qword [rdi], rax
movsxd rdx, dword [r14]
lea rax, [rsp + 0x4c]
lea ecx, [rdx + 1]
imul r8, rdx, 0x104
add r8, qword [rdi]
mov dword [r14], ecx
lea rcx, [rsp + 0x4c]
sub r8, rcx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rax]
lea rax, [rax + 1]
mov byte [r8 + rax - 1], cl
test cl, cl
jne 0x14006d7a0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14006d740
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401bd600
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140070e00
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rcx
mov qword [rcx + 8], rsi
call fcn.1400017d0
mov edx, 0x98
mov rcx, rdi
mov dword [rsp + 0x38], eax
call fcn.1400cc5d0
mov rbx, rax
test rax, rax
jne 0x140070e56
mov rcx, rdi
call fcn.14016a580
mov rcx, qword [rdi]
mov dword [rcx + 0x28], 0x36
mov rcx, qword [rdi]
mov dword [rcx + 0x2c], esi
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
mov dword [rbx + 0x5c], 0x3b9aca00
lea rax, [fcn.1400709c0]
lea rcx, str.JPEGMEM
mov qword [rbx], rax
lea rax, [fcn.140070810]
mov qword [rbx + 8], rax
lea rax, [fcn.1400708e0]
mov qword [rbx + 0x10], rax
lea rax, [fcn.140070720]
mov qword [rbx + 0x18], rax
lea rax, [0x140071220]
mov qword [rbx + 0x20], rax
lea rax, [0x140071170]
mov qword [rbx + 0x28], rax
lea rax, [0x140070f90]
mov qword [rbx + 0x30], rax
lea rax, [0x1400705c0]
mov qword [rbx + 0x38], rax
lea rax, [0x140070450]
mov qword [rbx + 0x40], rax
lea rax, [fcn.140070cb0]
mov qword [rbx + 0x48], rax
lea rax, [0x1400712d0]
mov qword [rbx + 0x50], rax
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x58], eax
mov qword [rbx + 0x68], rsi
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x60], rsi
mov qword [rbx + 0x70], rsi
mov qword [rbx + 0x80], rsi
mov qword [rbx + 0x88], rsi
mov dword [rbx + 0x90], 0x98
mov qword [rdi + 8], rbx
call fcn.1401c52dc
test rax, rax
je 0x140070f5d
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, str._ld_c
mov rcx, rax
mov byte [rsp + 0x30], 0x78
call fcn.1401be96c
test eax, eax
jle 0x140070f5d
movzx eax, byte [rsp + 0x30]
sub al, 0x4d
test al, 0xdf
jne 0x140070f50
imul eax, dword [rsp + 0x38], 0x3e8
jmp 0x140070f54
mov eax, dword [rsp + 0x38]
imul eax, eax, 0x3e8
mov dword [rbx + 0x58], eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400723d0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push r12
push r13
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rbx, rcx
mov ecx, 0x1f40
mov r12, rdx
call fcn.1401bee78
mov r13, rax
test rax, rax
jne 0x14007241a
lea eax, [r13 + 1]
jmp 0x140072634
mov r9, qword [rbx]
mov r15d, 1
mov edx, 0x1f40
mov r8d, r15d
mov rcx, rax
call fcn.1401c1e14
test rax, rax
jne 0x140072441
lea eax, [r15 + 1]
jmp 0x140072634
lea rcx, [rsp + 0x20]
call fcn.140060c40
movzx eax, word [0x1402111e8]
lea rdx, [rsp + 0x20]
movsd xmm0, qword [0x1402111e0]
movsd qword [rbp + 0xe], xmm0
mov word [rbp + 0x16], ax
movzx eax, byte [0x1402111ea]
mov rcx, r12
mov byte [rbp + 0x18], al
mov eax, 2
mov dword [rsp + 0x38], 0xf0
mov dword [rsp + 0x3c], 0xc8
mov dword [rsp + 0x40], 0x30001
mov dword [rsp + 0x48], 0xf0
mov dword [rsp + 0x20], eax
call fcn.14005ee10
movzx ebx, ax
test ax, ax
jne 0x140072629
mov qword [rsp + 0x1f0], rsi
mov qword [rsp + 0x1a0], r14
xor r14d, r14d
mov rsi, r13
cmp dword [rsp + 0x3c], r14d
jle 0x1400725ff
mov qword [rsp + 0x1a8], rdi
nop dword [rax + rax]
xor r11b, r11b
xor eax, eax
mov bl, 7
lea edi, [rax + 0x28]
nop word [rax + rax]
movzx r10d, byte [rsi]
inc rsi
movzx r8d, r11b
mov edx, r10d
movzx r9d, bl
and edx, 0x7f
cmp edx, 8
jge 0x14007250f
movzx ebx, dl
jmp 0x14007251b
lea ecx, [rdx - 6]
cmp ecx, 0x11
ja 0x140072525
lea r11d, [rdx - 0x10]
movzx r9d, bl
movzx r8d, r11b
xor edx, edx
test r10b, r10b
jns 0x14007253c
mov r8d, 7
mov r9d, 7
sub r8b, r11b
sub r9b, bl
mov rcx, qword [rsp + 0x30]
test dl, 0x20
je 0x14007254c
mov byte [rax + rcx], r9b
jmp 0x140072550
mov byte [rax + rcx], r8b
mov rcx, qword [rsp + 0x30]
inc rax
test dl, 0x10
je 0x140072563
mov byte [rax + rcx], r9b
jmp 0x140072567
mov byte [rax + rcx], r8b
mov rcx, qword [rsp + 0x30]
inc rax
test dl, 8
je 0x14007257a
mov byte [rax + rcx], r9b
jmp 0x14007257e
mov byte [rax + rcx], r8b
mov rcx, qword [rsp + 0x30]
inc rax
test dl, 4
je 0x140072591
mov byte [rax + rcx], r9b
jmp 0x140072595
mov byte [rax + rcx], r8b
mov rcx, qword [rsp + 0x30]
inc rax
test dl, 2
je 0x1400725a8
mov byte [rax + rcx], r9b
jmp 0x1400725ac
mov byte [rax + rcx], r8b
mov rcx, qword [rsp + 0x30]
inc rax
test r15b, dl
je 0x1400725bf
mov byte [rax + rcx], r9b
jmp 0x1400725c3
mov byte [rax + rcx], r8b
inc rax
dec rdi
jne 0x1400724f0
or r8d, 0xffffffff
mov r9d, r15d
mov rcx, r12
or edx, r8d
call fcn.1400615b0
movzx ebx, ax
test ax, ax
jne 0x1400725f7
inc r14d
cmp r14d, dword [rsp + 0x3c]
jl 0x1400724e0
mov rdi, qword [rsp + 0x1a8]
lea r9, [0x14029e088]
mov edx, 0x100
mov r8d, 8
mov rcx, r12
call fcn.14005cb20
mov r14, qword [rsp + 0x1a0]
mov rsi, qword [rsp + 0x1f0]
mov rcx, r13
call fcn.1401be23c
movzx eax, bx
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x1b0
pop r15
pop r13
pop r12
pop rbx
pop rbp
ret
Function at 0x140072910
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rcx]
mov rbx, rdx
mov edx, 8
mov rdi, rcx
lea r8d, [rdx - 7]
mov rcx, rbx
call fcn.1401c1e14
mov r9, qword [rdi]
mov edx, 0xc
lea r8d, [rdx - 0xb]
lea rcx, [rbx + 8]
call fcn.1401c1e14
mov rcx, rdi
call fcn.140066de0
mov edx, 2
lea rcx, [rbx + 0x16]
mov word [rbx + 0x14], ax
mov r9, qword [rdi]
lea r8d, [rdx - 1]
call fcn.1401c1e14
mov rcx, rdi
call fcn.140066de0
lea rcx, [rbx + 0x1a]
mov edx, 0x1e6
mov word [rbx + 0x18], ax
mov r9, qword [rdi]
mov r8d, 1
call fcn.1401c1e14
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
test rax, rax
setne cl
movzx eax, cx
add rsp, 0x20
pop rdi
ret
Function at 0x140074130
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x900]
sub rsp, 0xa00
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rbp + 0x8f0], rax
mov rbx, rcx
lea rcx, [rbp + 0x2d0]
mov rdi, rdx
call fcn.14006e770
xor esi, esi
mov edx, esi
nop
movzx eax, byte [rbp + rdx + 0x2d0]
lea rdx, [rdx + 1]
mov byte [rbp + rdx + 0xaf], al
test al, al
jne 0x140074170
lea rcx, [rbp + 0xb0]
dec rcx
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140074191
movsd xmm0, qword [str.texconv.exe]
mov eax, dword [0x140211210]
lea rdx, [rbp + 0x1c0]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
lea rcx, [rbp + 0xb0]
mov r8d, 0x104
mov byte [rbp + 0x1c0], sil
call qword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
jne 0x1400741df
mov eax, 1
jmp 0x140074358
lea rdx, [rbp - 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rcx, [rbp - 0x60]
mov edx, 0x5c
call fcn.1401c5348
test rax, rax
je 0x140074204
mov byte [rax], sil
mov rcx, qword [rbx + 0x100]
lea rdx, [rbp + 0x3e0]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea r9, [rbp + 0x3e0]
lea r8, [rbp - 0x60]
lea rdx, str._ft_bmp__y__o___s____s_
lea rcx, [rbp + 0x4f0]
call fcn.1401bea4c
xor edx, edx
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x6c]
call fcn.1401c0040
lea rax, [rbp + 0x1c0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x4f0]
mov dword [rsp + 0x30], 0x70
mov dword [rsp + 0x34], 0x40
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x68], rsi
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov rcx, qword [rbp - 0x68]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x100]
mov edx, 0x5c
call fcn.1401c2968
mov r8, rax
test rax, rax
je 0x140074306
lea rcx, [rbp - 0x60]
dec rcx
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x1400742c4
xor edx, edx
movzx eax, byte [r8 + rdx]
lea rdx, [rdx + 1]
mov byte [rcx + rdx - 1], al
test al, al
jne 0x1400742d0
lea rcx, [rbp - 0x60]
mov edx, 0x2e
call fcn.1401c2968
test rax, rax
je 0x140074306
mov ecx, dword [str..bmp]
mov dword [rax], ecx
movzx ecx, byte [0x140211234]
mov byte [rax + 4], cl
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x20]
call fcn.140066470
lea rcx, [rsp + 0x20]
mov edx, 0x11
call fcn.140066480
mov rbx, rax
test rax, rax
jne 0x140074330
lea eax, [rbx + 4]
jmp 0x140074358
lea r8, [0x140211238]
xor r9d, r9d
mov rdx, rdi
mov rcx, rax
call fcn.1401340b0
mov rcx, rbx
call fcn.140066370
lea rcx, [rbp - 0x60]
call fcn.1401c2588
xor eax, eax
mov rcx, qword [rbp + 0x8f0]
xor rcx, rsp
call fcn.1401bd600
mov rbx, qword [rsp + 0xa30]
add rsp, 0xa00
pop rdi
pop rsi
pop rbp
ret
Function at 0x140074660
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
xor r12d, r12d
test dword [rdx + 4], 0x80000
mov rbx, rdx
mov r14, rcx
je 0x1400746c8
mov esi, dword [rdx + 0x10]
mov edi, 1
mov ecx, esi
mov edx, edi
call fcn.1401be1f8
mov qword [rbx + 0x88], rax
test rax, rax
jne 0x1400746b5
movzx eax, di
jmp 0x140074742
mov r9, qword [r14]
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.1401c1e14
jmp 0x14007473e
mov edi, dword [rdx + 0x54]
mov ebp, dword [rdx + 0x10]
mov r15d, dword [rdx + 8]
imul edi, dword [rdx + 0xc]
mov edx, r15d
mov ecx, ebp
shr edi, 3
call fcn.1401be1f8
mov rsi, rax
mov qword [rbx + 0x88], rax
test rax, rax
jne 0x1400746f7
lea eax, [rsi + 1]
jmp 0x140074742
mov eax, r15d
mov dword [rbx + 0x94], edi
imul eax, ebp
mov dword [rbx + 0x90], eax
mov ebp, r12d
test r15d, r15d
je 0x14007473e
mov r15d, edi
mov edi, 1
nop dword [rax]
mov r9, qword [r14]
mov r8, rdi
mov rdx, r15
mov rcx, rsi
call fcn.1401c1e14
mov ecx, dword [rbx + 0x10]
inc ebp
add rsi, rcx
cmp ebp, dword [rbx + 8]
jb 0x140074720
movzx eax, r12w
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140074910
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rcx]
mov rbx, rdx
mov edx, 2
mov rdi, rcx
mov r8d, edx
mov rcx, rbx
call fcn.1401c1e14
mov rcx, rdi
call fcn.140066de0
mov edx, 8
lea rcx, [rbx + 6]
mov word [rbx + 4], ax
mov r9, qword [rdi]
lea r8d, [rdx - 6]
call fcn.1401c1e14
mov rcx, rdi
call fcn.140066de0
mov rcx, rdi
mov word [rbx + 0x16], ax
call fcn.140066de0
mov edx, 0x12
mov word [rbx + 0x18], ax
mov r9, qword [rdi]
lea rcx, [rbx + 0x1a]
lea r8d, [rdx - 0x10]
call fcn.1401c1e14
mov rcx, qword [rdi]
call fcn.1401c1a94
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
test eax, eax
sete cl
movzx eax, cx
add rsp, 0x20
pop rdi
ret
Function at 0x1400749a0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x1a8
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r15, rcx
lea rcx, [rsp + 0x20]
mov rbp, r9
movzx esi, r8w
movzx r14d, dx
call fcn.140060c40
mov ecx, r14d
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x10e], 0x4d4941
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x48], ecx
mov rcx, rbp
mov dword [rsp + 0x40], 0x80001
mov r12d, 1
mov dword [rsp + 0x3c], esi
call fcn.14005ee10
movzx edi, ax
test ax, ax
jne 0x140074a89
mov qword [rsp + 0x1a0], rbx
xor ebx, ebx
cmp bx, si
jae 0x140074a71
movzx r14d, r14w
nop dword [rax + rax]
mov r9, qword [r15]
mov rcx, qword [rsp + 0x30]
mov r8, r12
mov rdx, r14
call fcn.1401c1e14
test rax, rax
je 0x140074a6c
or r8d, 0xffffffff
mov r9d, r12d
mov rcx, rbp
or edx, r8d
call fcn.1400615b0
movzx edi, ax
test ax, ax
jne 0x140074a71
inc bx
cmp bx, si
jb 0x140074a30
jmp 0x140074a71
mov edi, 4
xor r8d, r8d
xor edx, edx
xor r9d, r9d
mov rcx, rbp
call fcn.14005cb20
mov rbx, qword [rsp + 0x1a0]
movzx eax, di
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x1a8
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140074ab0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x390
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x380], rax
movsxd rsi, dword [rsp + 0x3f0]
mov r12, qword [rsp + 0x3f8]
mov rbx, rcx
mov rcx, rsi
mov ebp, r9d
mov r15d, r8d
mov r14, rdx
call fcn.1401bee78
mov r13, rax
test rax, rax
jne 0x140074b0e
lea eax, [r13 + 1]
jmp 0x140074c4a
mov r9, qword [rbx]
mov ebx, 1
mov rdx, rsi
mov r8d, ebx
mov rcx, rax
call fcn.1401c1e14
lea rax, [0x1400e7320]
lea r8d, [rbx + 0x57]
mov qword [rsp + 0x50], rax
lea rax, [fcn.140169310]
lea rdx, [0x14021128c]
lea rcx, [rsp + 0x20]
xor edi, edi
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x60], rdi
call fcn.140150550
test eax, eax
jne 0x140074c47
lea rax, [rsp + 0x80]
mov dword [rsp + 0x38], 0x300
mov qword [rsp + 0x30], rax
nop
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.14014ec60
cmp eax, ebx
je 0x140074ba9
cmp eax, 0xfffffffd
jne 0x140074b9f
lea rcx, [rsp + 0x20]
call fcn.140150710
test eax, eax
jne 0x140074ba9
cmp dword [rsp + 0x38], edi
ja 0x140074b80
mov esi, edi
test ebp, ebp
jle 0x140074c1a
nop
mov rax, qword [r14 + 0x10]
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], rax
nop
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.14014ec60
cmp eax, ebx
je 0x140074be9
cmp eax, 0xfffffffd
jne 0x140074bdf
lea rcx, [rsp + 0x20]
call fcn.140150710
test eax, eax
jne 0x140074be9
cmp dword [rsp + 0x38], eax
ja 0x140074bc0
or r8d, 0xffffffff
mov r9d, ebx
mov rcx, r12
or edx, r8d
call fcn.1400615b0
movzx edi, ax
test ax, ax
jne 0x140074c1a
cmp dword [rsp + 0x38], 0
jne 0x140074c12
inc esi
cmp esi, ebp
jl 0x140074bb0
jmp 0x140074c1a
mov eax, 4
movzx edi, ax
mov rcx, r13
call fcn.1401be23c
lea rcx, [rsp + 0x20]
call fcn.140150410
lea r9, [rsp + 0x80]
mov edx, 0x100
mov r8d, 8
mov rcx, r12
call fcn.14005cb20
movzx eax, di
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.1401bd600
mov rbx, qword [rsp + 0x3e8]
add rsp, 0x390
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140076090
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
mov rcx, qword [rcx]
xor r13d, r13d
movsxd rbp, r8d
movzx r15d, r13w
call fcn.1401c2310
mov rcx, qword [rsi]
lea r8d, [r13 + 2]
xor edx, edx
mov edi, eax
call fcn.1401c1f88
mov rcx, qword [rsi]
call fcn.1401c2310
mov rcx, qword [rsi]
xor r8d, r8d
mov ebx, eax
mov edx, edi
sub ebx, edi
call fcn.1401c1f88
movsxd rbx, ebx
mov rcx, rbx
call fcn.1401bee78
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x140076104
lea eax, [rdi + 1]
jmp 0x1400761ff
mov r9, qword [rsi]
mov r14d, 1
mov rdx, rbx
mov r8d, r14d
mov rcx, rax
call fcn.1401c1e14
test rax, rax
jne 0x140076131
mov rcx, rdi
call fcn.1401be23c
lea eax, [r14 + 3]
jmp 0x1400761ff
lea rax, [rdi - 1]
mov qword [rsp + 0x68], r12
mov rsi, rdi
add rax, rbx
mov r12, rbp
mov qword [rsp + 0x20], rax
cmp rdi, rax
ja 0x1400761ee
mov rbx, r13
mov r13, qword [rsp + 0x88]
nop dword [rax]
test r15w, r15w
jne 0x1400761e9
movzx ebp, byte [rsi]
inc rsi
mov edi, r14d
mov qword [rsp + 0x60], rsi
cmp bpl, 0x80
jne 0x14007619f
movzx edi, byte [rsi]
inc rsi
inc edi
mov qword [rsp + 0x60], rsi
cmp edi, r14d
je 0x14007619b
movzx ebp, byte [rsi]
inc rsi
mov qword [rsp + 0x60], rsi
test edi, edi
je 0x1400761e0
xor esi, esi
mov rax, qword [r13 + 0x10]
inc rbx
dec edi
mov byte [rbx + rax - 1], bpl
cmp rbx, r12
jl 0x1400761d2
mov rcx, qword [rsp + 0x80]
or r8d, 0xffffffff
mov r9d, r14d
or edx, r8d
mov rbx, rsi
call fcn.1400615b0
movzx r15d, ax
test edi, edi
jne 0x1400761a1
mov rsi, qword [rsp + 0x60]
mov rax, qword [rsp + 0x20]
cmp rsi, rax
jbe 0x140076160
mov rdi, qword [rsp + 0x28]
mov rcx, rdi
call fcn.1401be23c
mov r12, qword [rsp + 0x68]
movzx eax, r15w
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret

Function at 0x140078210
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x28]
mov rdi, rcx
mov edx, 1
mov r9, qword [rbx + 0x38]
mov rcx, qword [rbx + 0x40]
mov r8d, 0x1000
mov r9, qword [r9]
call fcn.1401c1e14
mov rcx, rax
test rax, rax
jne 0x140078285
cmp byte [rbx + 0x48], al
je 0x14007825b
mov rax, qword [rdi]
mov rcx, rdi
mov dword [rax + 0x28], 0x2a
mov rax, qword [rdi]
call qword [rax]
mov rax, qword [rdi]
or edx, 0xffffffff
mov rcx, rdi
mov dword [rax + 0x28], 0x78
mov rax, qword [rdi]
call qword [rax + 8]
mov rax, qword [rbx + 0x40]
mov ecx, 2
mov byte [rax], 0xff
mov rax, qword [rbx + 0x40]
mov byte [rax + 1], 0xd9
mov rax, qword [rbx + 0x40]
mov qword [rbx + 8], rcx
mov byte [rbx + 0x48], 0
mov qword [rbx], rax
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret
Function at 0x140079570
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r13
push r14
sub rsp, 0x30
movzx eax, word [rdx + 2]
mov r14, rcx
mov ecx, 0xff00
xor r13d, r13d
mov rbp, r9
mov rsi, r8
mov rdi, rdx
test cx, ax
jne 0x140079671
movzx ebx, word [rdx + 8]
mov rcx, qword [r14]
movzx eax, al
imul ebx, dword [rsp + 0x78]
add ebx, dword [rsp + 0x70]
imul ebx, eax
movzx eax, word [rdx + 6]
imul ebx, eax
add ebx, 0x200
call fcn.1401c2310
mov rcx, qword [r14]
cmp ebx, eax
jl 0x1400795ec
call fcn.1401c2310
mov rcx, r14
sub ebx, eax
movsxd rdx, ebx
call fcn.140066ff0
jmp 0x1400795f6
xor r8d, r8d
mov edx, ebx
call fcn.1401c1f88
movzx eax, word [rdi + 2]
movzx ecx, al
dec ecx
je 0x14007964d
dec ecx
jne 0x1400797c4
movsx r9d, word [rdi + 0x7a]
movzx r8d, word [rdi + 6]
mov rcx, qword [rdi + 0x98]
mov rdx, rsi
mov qword [rsp + 0x20], r14
call fcn.140066c50
test eax, eax
jne 0x1400797c4
mov eax, 4
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop r13
pop rdi
ret
movzx r8d, word [rdi + 6]
mov r9, qword [r14]
mov edx, 1
mov rcx, rsi
call fcn.1401c1e14
movzx ecx, word [rdi + 6]
cmp rax, rcx
je 0x1400797c4
jmp 0x14007962f
movzx ecx, word [rdx + 8]
mov rax, qword [rdx + 0xa8]
imul ecx, dword [rsp + 0x78]
add ecx, dword [rsp + 0x70]
mov ebx, dword [rax + rcx*4]
mov rcx, qword [r14]
call fcn.1401c2310
mov rcx, qword [r14]
cmp ebx, eax
jl 0x1400796ab
call fcn.1401c2310
mov rcx, r14
sub ebx, eax
movsxd rdx, ebx
call fcn.140066ff0
jmp 0x1400796b5
xor r8d, r8d
mov edx, ebx
call fcn.1401c1f88
movzx ecx, word [rdi + 8]
mov rax, qword [rdi + 0xb0]
imul ecx, dword [rsp + 0x78]
add ecx, dword [rsp + 0x70]
movzx edx, word [rax + rcx*4]
movzx eax, word [rdi + 2]
movzx ecx, al
dec ecx
je 0x140079751
dec ecx
jne 0x1400797c4
cmp dx, 0xffff
je 0x140079757
movsx r8d, word [rdi + 0x7a]
mov rcx, qword [rdi + 0x98]
movsx ebx, dx
mov eax, ebx
mov r9, r14
cdq
sub eax, edx
sar eax, 1
mov edx, eax
call fcn.140066bc0
mov rcx, qword [rdi + 0x98]
mov r8, rbp
mov edx, ebx
call fcn.140079420
mov ecx, r13d
cmp r13w, word [rdi + 6]
jae 0x1400797c4
nop word [rax + rax]
movzx eax, byte [rbp + 1]
inc ecx
lea rbp, [rbp + 2]
mov byte [rsi], al
movzx eax, word [rdi + 6]
lea rsi, [rsi + 1]
cmp ecx, eax
jl 0x140079730
movzx eax, r13w
jmp 0x140079634
cmp dx, 0xffff
jne 0x14007975f
or eax, 0xffffffff
jmp 0x140079634
test dx, dx
jle 0x14007962f
movzx ecx, word [rdi + 6]
movsx ebp, dx
mov eax, ecx
sar eax, 4
and eax, 0xfffffffc
lea eax, [rax + rcx*4]
cmp ebp, eax
jg 0x14007962f
mov r9, qword [r14]
mov rcx, qword [rdi + 0x98]
movsx rbx, dx
mov r8, rbx
mov edx, 1
call fcn.1401c1e14
cmp rax, rbx
jne 0x14007962f
movzx ecx, word [rdi + 6]
movzx r9d, word [rdi + 0xa]
mov r8, rsi
mov edx, ebp
imul r9d, ecx
mov rcx, qword [rdi + 0x98]
call fcn.1400794b0
movzx eax, r13w
jmp 0x140079634