joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e39a0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x24], 0xca
mov rbx, rcx
jne 0x1400e39d3
call fcn.1400e3c60
cmp byte [rbx + 0x58], 0
je 0x1400e39cc
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
mov eax, dword [rbx + 0x24]
cmp eax, 0xcb
jne 0x1400e3a65
mov rax, qword [rbx + 0x238]
cmp byte [rax + 0x20], 0
je 0x1400e3a4c
nop
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400e39fe
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x238]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x1400e3a44
cmp eax, 2
je 0x1400e3a4c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400e39f0
dec eax
test eax, 0xfffffffd
jne 0x1400e39f0
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x1400e39f0
mov ecx, dword [rbx + 0x188]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x1400e39f0
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x1400e3b20
cmp eax, 0xcc
je 0x1400e3a87
mov rax, qword [rbx]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400e3b20
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
xor ebp, ebp
cmp dword [rcx + 0x24], 0xcc
mov rbx, rcx
je 0x1400e3b4e
mov rax, qword [rcx + 0x218]
call qword [rax]
mov dword [rbx + 0x98], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x218]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
cmp byte [rax + 0x10], bpl
je 0x1400e3bfd
nop dword [rax]
mov eax, dword [rbx + 0x98]
cmp eax, dword [rbx + 0x78]
jae 0x1400e3bcd
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400e3b9f
mov dword [rcx + 8], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rax, qword [rbx + 0x10]
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x220]
mov edi, dword [rbx + 0x98]
lea r8, [rbx + 0x98]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call qword [rax + 8]
mov eax, dword [rbx + 0x98]
cmp eax, edi
je 0x1400e3c25
cmp eax, dword [rbx + 0x78]
jb 0x1400e3b80
mov rax, qword [rbx + 0x218]
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rbx + 0x218]
mov rcx, rbx
call qword [rax]
mov dword [rbx + 0x98], ebp
mov rax, qword [rbx + 0x218]
cmp byte [rax + 0x10], bpl
jne 0x1400e3b70
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
xor al, al
jmp 0x1400e3c10
Function at 0x1400e3b20
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x24], 0xca
mov rbx, rcx
jne 0x1400e39d3
call fcn.1400e3c60
cmp byte [rbx + 0x58], 0
je 0x1400e39cc
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
mov eax, dword [rbx + 0x24]
cmp eax, 0xcb
jne 0x1400e3a65
mov rax, qword [rbx + 0x238]
cmp byte [rax + 0x20], 0
je 0x1400e3a4c
nop
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400e39fe
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x238]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x1400e3a44
cmp eax, 2
je 0x1400e3a4c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400e39f0
dec eax
test eax, 0xfffffffd
jne 0x1400e39f0
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x1400e39f0
mov ecx, dword [rbx + 0x188]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x1400e39f0
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x1400e3b20
cmp eax, 0xcc
je 0x1400e3a87
mov rax, qword [rbx]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400e3b20
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
xor ebp, ebp
cmp dword [rcx + 0x24], 0xcc
mov rbx, rcx
je 0x1400e3b4e
mov rax, qword [rcx + 0x218]
call qword [rax]
mov dword [rbx + 0x98], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x218]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
cmp byte [rax + 0x10], bpl
je 0x1400e3bfd
nop dword [rax]
mov eax, dword [rbx + 0x98]
cmp eax, dword [rbx + 0x78]
jae 0x1400e3bcd
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400e3b9f
mov dword [rcx + 8], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rax, qword [rbx + 0x10]
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x220]
mov edi, dword [rbx + 0x98]
lea r8, [rbx + 0x98]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call qword [rax + 8]
mov eax, dword [rbx + 0x98]
cmp eax, edi
je 0x1400e3c25
cmp eax, dword [rbx + 0x78]
jb 0x1400e3b80
mov rax, qword [rbx + 0x218]
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rbx + 0x218]
mov rcx, rbx
call qword [rax]
mov dword [rbx + 0x98], ebp
mov rax, qword [rbx + 0x218]
cmp byte [rax + 0x10], bpl
jne 0x1400e3b70
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
xor al, al
jmp 0x1400e3c10
Function at 0x1400e9250
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.1400f5d30
mov edx, 0x98
mov rcx, rdi
mov dword [rsp + 0x38], eax
call fcn.1400f5d10
mov rbx, rax
test rax, rax
jne 0x1400e92a6
mov rcx, rdi
call fcn.1400f5d40
mov rcx, qword [rdi]
mov dword [rcx + 0x28], 0x38
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.1400e8df0]
lea rcx, str.JPEGMEM
mov qword [rbx], rax
lea rax, [fcn.1400e8c20]
mov qword [rbx + 8], rax
lea rax, [fcn.1400e8d10]
mov qword [rbx + 0x10], rax
lea rax, [fcn.1400e8b30]
mov qword [rbx + 0x18], rax
lea rax, [0x1400e9670]
mov qword [rbx + 0x20], rax
lea rax, [0x1400e95c0]
mov qword [rbx + 0x28], rax
lea rax, [0x1400e93e0]
mov qword [rbx + 0x30], rax
lea rax, [0x1400e88e0]
mov qword [rbx + 0x38], rax
lea rax, [0x1400e8680]
mov qword [rbx + 0x40], rax
lea rax, [0x1400e9100]
mov qword [rbx + 0x48], rax
lea rax, [0x1400e9720]
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 qword [sym.imp.msvcrt.dll_getenv]
test rax, rax
je 0x1400e93af
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, str._ld_c
mov rcx, rax
mov byte [rsp + 0x30], 0x78
call qword [sym.imp.msvcrt.dll_sscanf]
test eax, eax
jle 0x1400e93af
movzx eax, byte [rsp + 0x30]
sub al, 0x4d
test al, 0xdf
jne 0x1400e93a2
imul eax, dword [rsp + 0x38], 0x3e8
jmp 0x1400e93a6
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 0x1400eaa10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
push r13
push r15
sub rsp, 0x30
cmp dword [rcx + 0x64], 1
mov r13, qword [rcx + 0x268]
mov rdi, rcx
jne 0x1400eaa3c
mov ebx, 0x1fe
mov byte [r13 + 0x38], 1
jmp 0x1400eaa42
xor ebx, ebx
mov byte [r13 + 0x38], bl
mov rax, qword [rcx + 8]
mov r9d, dword [rcx + 0x7c]
lea r8d, [rbx + 0x100]
mov edx, 1
call qword [rax + 0x10]
mov ebp, dword [r13 + 0x28]
xor r15d, r15d
mov qword [r13 + 0x30], rax
cmp dword [rdi + 0x7c], r15d
jle 0x1400eab92
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x28], r12
movsxd rcx, ebx
mov qword [rsp + 0x20], r14
lea r12, [r13 + 0x3c]
mov qword [rsp + 0x68], rcx
xor r14d, r14d
nop dword [rax]
mov esi, dword [r12]
mov eax, ebp
cdq
idiv esi
mov ebp, eax
test rcx, rcx
je 0x1400eaaac
mov rax, qword [r13 + 0x30]
add qword [rax + r14], 0xff
mov rax, qword [r13 + 0x30]
lea ecx, [rsi - 1]
xor r8d, r8d
mov rdi, qword [r14 + rax]
lea eax, [rcx + 0xff]
add ecx, ecx
cdq
xor r10d, r10d
idiv ecx
xor ebx, ebx
mov r9d, eax
nop dword [rax]
cmp r10d, r9d
jle 0x1400eab07
imul eax, r8d, 0x1fe
lea ecx, [rsi + 0xfe]
lea r11d, [rsi*2 - 2]
add ecx, eax
nop dword [rax]
add ecx, 0x1fe
inc r8d
mov eax, ecx
cdq
idiv r11d
mov r9d, eax
cmp r10d, eax
jg 0x1400eaaf0
movzx eax, r8b
inc rbx
inc r10d
imul bpl
mov byte [rbx + rdi - 1], al
cmp rbx, 0xff
jle 0x1400eaad0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400eab69
mov ecx, 1
lea rdx, [rdi - 1]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi]
inc rcx
lea rdx, [rdx - 1]
mov byte [rdx + 1], al
movzx eax, byte [rdi + 0xff]
mov byte [rdi + rcx + 0xfe], al
cmp rcx, 0xff
jle 0x1400eab40
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
inc r15d
add r12, 4
add r14, 8
cmp r15d, dword [rax + 0x7c]
jl 0x1400eaa90
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r13
pop rdi
pop rbp
pop rbx
ret
Function at 0x14010d2e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x20
mov rdi, qword [rcx + 0x70]
mov r15, rdx
mov rsi, rcx
mov eax, dword [rdi + 0x18]
cmp eax, 0xc
jle 0x14010d31c
mov dword [rcx + 0x60], 0x70
xor eax, eax
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r14
cmp dword [rdi + 0x2c], eax
jge 0x14010d404
nop
movzx ecx, byte [rdi + 0x50]
test cl, cl
jne 0x14010d3d7
mov r9, qword [rsi + 0x70]
mov rax, qword [r9 + 0x40]
test rax, rax
je 0x14010d35c
lea rdx, [rdi + 0x50]
mov r8d, 1
mov rcx, rsi
call rax
cdqe
jmp 0x14010d372
mov r9, qword [r9 + 0x38]
mov edx, 1
lea rcx, [rdi + 0x50]
mov r8d, edx
call qword [sym.imp.msvcrt.dll_fread]
cmp rax, 1
jne 0x14010d47a
movzx eax, byte [rdi + 0x50]
test al, al
je 0x14010d46f
mov r9, qword [rsi + 0x70]
lea r14, [rdi + 0x51]
mov r10, qword [r9 + 0x40]
test r10, r10
je 0x14010d3aa
movzx r8d, al
mov rdx, r14
mov rcx, rsi
call r10
cdqe
jmp 0x14010d3c0
mov r9, qword [r9 + 0x38]
movzx r8d, al
mov edx, 1
mov rcx, r14
call qword [sym.imp.msvcrt.dll_fread]
movzx ecx, byte [rdi + 0x50]
cmp rax, rcx
jne 0x14010d47a
movzx edx, byte [r14]
mov byte [r14], 2
jmp 0x14010d3e5
movzx eax, byte [rdi + 0x51]
movzx edx, byte [rax + rdi + 0x50]
inc al
mov byte [rdi + 0x51], al
dec cl
movzx eax, dl
mov byte [rdi + 0x50], cl
mov ecx, dword [rdi + 0x2c]
shl eax, cl
or dword [rdi + 0x30], eax
lea eax, [rcx + 8]
mov dword [rdi + 0x2c], eax
cmp eax, dword [rdi + 0x18]
jl 0x14010d330
movsxd rax, dword [rdi + 0x18]
lea rcx, [0x1401590d0]
movzx ecx, word [rcx + rax*2]
and ecx, dword [rdi + 0x30]
mov dword [r15], ecx
mov edx, dword [rdi + 0x18]
sub dword [rdi + 0x2c], edx
mov ecx, edx
shr dword [rdi + 0x30], cl
mov ecx, dword [rdi + 0x14]
cmp ecx, 0x1001
jge 0x14010d44f
mov r8d, dword [rdi + 0x1c]
inc ecx
mov dword [rdi + 0x14], ecx
cmp ecx, r8d
jle 0x14010d44f
cmp edx, 0xc
jge 0x14010d44f
lea ecx, [r8 + r8]
mov dword [rdi + 0x1c], ecx
lea ecx, [rdx + 1]
mov dword [rdi + 0x18], ecx
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
mov dword [rsi + 0x60], 0x70
xor eax, eax
jmp 0x14010d454
mov dword [rsi + 0x60], 0x66
xor eax, eax
jmp 0x14010d454
Function at 0x14010d750
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [rcx + 0x70]
mov rsi, rdx
mov rbx, rcx
mov rax, qword [rdi + 0x40]
test rax, rax
je 0x14010d783
lea rdx, [rsp + 0x30]
mov r8d, 1
call rax
cdqe
jmp 0x14010d79a
mov r9, qword [rdi + 0x38]
mov edx, 1
lea rcx, [rsp + 0x30]
mov r8d, edx
call qword [sym.imp.msvcrt.dll_fread]
cmp rax, 1
jne 0x14010d7f9
movzx ecx, byte [rsp + 0x30]
test cl, cl
je 0x14010d812
lea rax, [rdi + 0x50]
mov qword [rsi], rax
mov byte [rax], cl
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x40]
test rax, rax
je 0x14010d7d4
mov rdx, qword [rsi]
movzx r8d, byte [rsp + 0x30]
mov rcx, rbx
inc rdx
call rax
cdqe
jmp 0x14010d7ef
mov rcx, qword [rsi]
movzx r8d, byte [rsp + 0x30]
mov r9, qword [r9 + 0x38]
inc rcx
mov edx, 1
call qword [sym.imp.msvcrt.dll_fread]
movzx ecx, byte [rsp + 0x30]
cmp rax, rcx
je 0x14010d81d
mov dword [rbx + 0x60], 0x66
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov qword [rsi], rax
mov byte [rdi + 0x50], al
mov dword [rdi + 0x34], eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x14010d8f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, qword [rcx + 0x70]
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rsi + 0x40]
test rax, rax
je 0x14010d923
lea rdx, [rsp + 0x30]
mov r8d, 1
call rax
cdqe
jmp 0x14010d93a
mov r9, qword [rsi + 0x38]
mov edx, 1
lea rcx, [rsp + 0x30]
mov r8d, edx
call qword [sym.imp.msvcrt.dll_fread]
cmp rax, 1
jne 0x14010d999
movzx ecx, byte [rsp + 0x30]
test cl, cl
je 0x14010d9b2
lea rax, [rsi + 0x50]
mov qword [rdi], rax
mov byte [rax], cl
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x40]
test rax, rax
je 0x14010d974
mov rdx, qword [rdi]
movzx r8d, byte [rsp + 0x30]
mov rcx, rbx
inc rdx
call rax
cdqe
jmp 0x14010d98f
mov rcx, qword [rdi]
movzx r8d, byte [rsp + 0x30]
mov r9, qword [r9 + 0x38]
inc rcx
mov edx, 1
call qword [sym.imp.msvcrt.dll_fread]
movzx ecx, byte [rsp + 0x30]
cmp rax, rcx
je 0x14010d9b9
mov dword [rbx + 0x60], 0x66
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rdi], 0
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x14010deb0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rcx + 0x70]
mov rdi, rdx
mov rbx, rcx
test byte [r9], 8
jne 0x14010dede
mov dword [rcx + 0x60], 0x6f
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [r9 + 0x40]
test rax, rax
je 0x14010def8
lea rdx, [rsp + 0x30]
mov r8d, 1
call rax
cdqe
jmp 0x14010df0f
mov r9, qword [r9 + 0x38]
mov edx, 1
lea rcx, [rsp + 0x30]
mov r8d, edx
call qword [sym.imp.msvcrt.dll_fread]
cmp rax, 1
je 0x14010df29
mov dword [rbx + 0x60], 0x66
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rsp + 0x30]
cmp al, 0x21
je 0x14010df80
cmp al, 0x2c
je 0x14010df6a
cmp al, 0x3b
je 0x14010df54
mov dword [rdi], 0
xor eax, eax
mov dword [rbx + 0x60], 0x6b
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov dword [rdi], 4
mov eax, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov dword [rdi], 2
mov eax, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
mov dword [rdi], 3
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x14010dfa0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x70]
mov rbx, rcx
test byte [rax], 8
jne 0x14010dfc1
mov dword [rcx + 0x60], 0x6f
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, rcx
call fcn.14010e1b0
test eax, eax
je 0x14010dfb9
lea rdx, [rbx + 4]
mov rcx, rbx
call fcn.14010e1b0
test eax, eax
je 0x14010dfb9
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x40]
test rax, rax
je 0x14010dffe
lea rdx, [rsp + 0x30]
mov r8d, 3
mov rcx, rbx
call rax
cdqe
jmp 0x14010e016
mov r9, qword [r9 + 0x38]
mov edx, 1
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 2]
call qword [sym.imp.msvcrt.dll_fread]
cmp rax, 3
je 0x14010e03c
mov rcx, qword [rbx + 0x18]
mov dword [rbx + 0x60], 0x66
call fcn.14010ec20
mov qword [rbx + 0x18], 0
xor eax, eax
add rsp, 0x20
pop rbx
ret
movzx edx, byte [rsp + 0x30]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov eax, edx
mov ecx, edx
movzx edi, dl
shr eax, 4
shr dil, 3
and ecx, 7
and eax, 7
and dil, 1
inc ecx
inc eax
mov dword [rbx + 8], eax
movzx eax, byte [rsp + 0x31]
mov dword [rbx + 0xc], eax
movzx eax, byte [rsp + 0x32]
mov byte [rbx + 0x10], al
test dl, dl
jns 0x14010e18f
mov eax, 1
xor edx, edx
shl eax, cl
mov ecx, eax
call fcn.14010ed60
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x14010e0b2
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov dword [rbx + 0x60], 0x6d
add rsp, 0x20
pop rbx
ret
mov byte [rax + 8], dil
mov rax, qword [rbx + 0x18]
xor esi, esi
cmp dword [rax], esi
jle 0x14010e197
xor edi, edi
nop word [rax + rax]
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x40]
test rax, rax
je 0x14010e0f1
lea rdx, [rsp + 0x30]
mov r8d, 3
mov rcx, rbx
call rax
cdqe
jmp 0x14010e109
mov r9, qword [r9 + 0x38]
mov edx, 1
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 2]
call qword [sym.imp.msvcrt.dll_fread]
cmp rax, 3
jne 0x14010e165
mov rax, qword [rbx + 0x18]
inc esi
add rdi, 3
mov rcx, qword [rax + 0x10]
movzx eax, byte [rsp + 0x30]
mov byte [rdi + rcx - 3], al
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax + 0x10]
movzx eax, byte [rsp + 0x31]
mov byte [rcx + rdi - 2], al
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax + 0x10]
movzx eax, byte [rsp + 0x32]
mov byte [rcx + rdi - 1], al
mov rax, qword [rbx + 0x18]
cmp esi, dword [rax]
jl 0x14010e0d0
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx + 0x18]
call fcn.14010ec20
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov qword [rbx + 0x18], 0
mov dword [rbx + 0x60], 0x66
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov qword [rbx + 0x18], 0
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x14010e1b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rcx + 0x70]
mov rdi, rdx
mov rbx, rcx
mov rax, qword [r9 + 0x40]
test rax, rax
je 0x14010e1de
lea rdx, [rsp + 0x30]
mov r8d, 2
call rax
cdqe
jmp 0x14010e1f6
mov r9, qword [r9 + 0x38]
mov edx, 1
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 1]
call qword [sym.imp.msvcrt.dll_fread]
cmp rax, 2
je 0x14010e210
mov dword [rbx + 0x60], 0x66
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx edx, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
shl edx, 8
mov eax, 1
or edx, ecx
mov dword [rdi], edx
add rsp, 0x20
pop rdi
ret

Function at 0x14010e240
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ecx, 0x78
mov rbx, r8
mov rbp, rdx
call qword [sym.imp.msvcrt.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14010e284
test rbx, rbx
je 0x14010e274
mov dword [rbx], 0x6d
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x40], rsi
lea r8d, [rdx + 0x78]
mov qword [rsp + 0x48], r15
call sub.msvcrt.dll_memset
xor r15d, r15d
mov edx, 0x6160
lea ecx, [r15 + 1]
mov qword [rdi + 0x48], r15
mov qword [rdi + 0x18], r15
call qword [sym.imp.msvcrt.dll_calloc]
mov rsi, rax
test rax, rax
jne 0x14010e2dd
test rbx, rbx
je 0x14010e385
mov rcx, rdi
mov dword [rbx], 0x6d
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
jmp 0x14010e3d4
xor edx, edx
mov r8d, 0x6160
mov rcx, rax
call sub.msvcrt.dll_memset
mov qword [rdi + 0x70], rsi
mov qword [rsi], 8
mov qword [rsi + 0x38], r15
mov qword [rsi + 0x40], rbp
mov r9, qword [rdi + 0x70]
mov qword [rdi + 0x68], r14
mov rax, qword [r9 + 0x40]
test rax, rax
je 0x14010e325
lea rdx, [rsp + 0x58]
mov r8d, 6
mov rcx, rdi
call rax
cdqe
jmp 0x14010e33d
mov r9, qword [r9 + 0x38]
mov edx, 1
lea rcx, [rsp + 0x58]
lea r8d, [rdx + 5]
call qword [sym.imp.msvcrt.dll_fread]
cmp rax, 6
je 0x14010e350
test rbx, rbx
je 0x14010e37c
mov dword [rbx], 0x66
jmp 0x14010e37c
lea rdx, [rsp + 0x58]
lea rcx, str.GIFVER
mov r8d, 3
mov byte [rsp + 0x5e], r15b
call qword [sym.imp.msvcrt.dll_strncmp]
test eax, eax
je 0x14010e392
test rbx, rbx
je 0x14010e37c
mov dword [rbx], 0x67
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
jmp 0x14010e3d4
mov rcx, rdi
call fcn.14010dfa0
test eax, eax
jne 0x14010e3bf
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
test rbx, rbx
je 0x14010e3bb
mov dword [rbx], 0x68
xor eax, eax
jmp 0x14010e3d4
mov dword [rdi + 0x60], r15d
cmp byte [rsp + 0x5b], 0x39
sete al
mov byte [rsi + 0x6158], al
mov rax, rdi
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14010e6b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x70]
mov rdi, rcx
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x14010e6db
lea rdx, [rsp + 0x30]
mov r8d, 1
call rax
cdqe
jmp 0x14010e6f2
mov r9, qword [rbx + 0x38]
mov edx, 1
lea rcx, [rsp + 0x30]
mov r8d, edx
call qword [sym.imp.msvcrt.dll_fread]
cmp rax, 1
jb 0x14010e709
movzx ecx, byte [rsp + 0x30]
cmp ecx, 8
jle 0x14010e716
mov dword [rdi + 0x60], 0x66
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, 1
mov dword [rbx + 8], ecx
mov byte [rbx + 0x50], 0
shl eax, cl
mov dword [rbx + 0x20], 0x1002
mov edx, 0x100
mov dword [rbx + 0xc], eax
inc eax
mov dword [rbx + 0x10], eax
inc eax
inc ecx
mov dword [rbx + 0x14], eax
mov eax, 1
mov dword [rbx + 0x18], ecx
shl eax, cl
lea rcx, [rbx + 0x2150]
mov dword [rbx + 0x1c], eax
xor eax, eax
mov qword [rbx + 0x28], rax
mov dword [rbx + 0x30], eax
movabs rax, 0x100200001002
nop word [rax + rax]
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
lea rcx, [rcx + 0x40]
mov qword [rcx - 0x28], rax
mov qword [rcx - 0x20], rax
mov qword [rcx - 0x18], rax
mov qword [rcx - 0x10], rax
mov qword [rcx - 8], rax
dec rdx
jne 0x14010e770
lea eax, [rdx + 1]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14010fbd8
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x1403d9a90], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x1403d9aa0]
jne 0x14010fc25
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, rbx
mov dword [0x1403d9ac8], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x1403d9a90], 1
mov ecx, dword [0x1403d9ac8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x14010fcfa
mov rcx, qword [0x1403d5880]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x14010fd25
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1403d9a98]
test rax, rax
je 0x14010fc75
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x1403d9a98], rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rbp + 0x20]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
lea r8, [0x14010fd40]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [0x1403d9ac8]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x1403d5880]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14010fd25
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret