joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400086b8
Capabilities:
Check for time delay via gettickcount
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, r9
mov rsi, r8
mov r15, rcx
call qword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov ebx, eax
shl ebx, 2
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edi, eax
xor edi, ebx
shl edi, 0xc
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov ebp, eax
xor ebp, edi
xor edi, edi
lea r12d, [rdi + 1]
mov ebx, edi
mov rdx, r15
mov rcx, rsi
call fcn.1400e7be0
mov r9d, ebp
lea r10, [rsp + 0x28]
mov r11d, 8
mov r8d, r9d
shr r9d, 4
and r8d, 0xf
cmp r8d, 0xa
lea eax, [r8 + 0x37]
lea edx, [r8 + 0x30]
movzx ecx, al
movzx eax, dl
cmovb ecx, eax
movsx eax, cl
mov word [r10], ax
lea r10, [r10 + 2]
sub r11, r12
jne 0x140008722
mov word [rsp + 0x38], di
test r14, r14
je 0x140008771
lea rdx, [rsp + 0x20]
mov rcx, rsi
mov dword [rsp + 0x20], gethostbyname
call fcn.1400e7ce0
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400e7ce0
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
add eax, 2
cmove eax, r12d
add ebp, eax
test r14, r14
je 0x1400087a1
lea rdx, str..tmp
mov rcx, rsi
call fcn.1400e7ce0
cmp qword [rsi + 8], rdi
lea rcx, [0x14012da68]
cmovne rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400087c9
mov ecx, UnRegisterTypeLib
call qword [sym.imp.KERNEL32.DLL_SetLastError]
jmp 0x14000881e
test r14, r14
je 0x1400087f0
cmp qword [rsi + 8], rdi
mov rax, qword [r14]
lea rdx, [0x14012da68]
cmovne rdx, qword [rsi + 8]
mov r8d, 0x1000
mov rcx, r14
call qword [rax]
test al, al
jmp 0x14000880a
cmp qword [rsi + 8], rdi
lea rcx, [0x14012da68]
cmovne rcx, qword [rsi + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x140008836
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x50
je 0x14000881e
cmp eax, 0xb7
jne 0x14000882a
add ebx, r12d
cmp ebx, 0x64
jb 0x140008709
mov rcx, rsi
call fcn.1400e719c
xor al, al
jmp 0x140008839
mov al, r12b
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001010
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140008858
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14, r8
mov rsi, rcx
call fcn.1400089a4
xor r15d, r15d
test al, al
je 0x140008977
lea r12, vtable.micro::utils::QString.0
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r15
lea rcx, [rsp + 0x20]
call fcn.1400e719c
mov word [rsp + 0x60], r15w
lea rdx, [rsp + 0x60]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.DLL_GetTempPathW]
mov ebx, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400e7be0
lea eax, [rbx - 1]
cmp eax, 0x103
ja 0x140008962
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edi, 1
test rax, rax
je 0x140008912
lock add dword [rax - 0xc], edi
lea r8, [0x140106498]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140008a10
nop
lea rcx, [0x14012da68]
cmp qword [rax + 8], r15
cmovne rcx, qword [rax + 8]
lea r8, [rsi + 8]
mov r9, r14
call fcn.1400086b8
test al, al
sete bl
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x40]
call fcn.1400e712c
test bl, bl
jne 0x140008962
mov byte [rsi], dil
jmp 0x140008965
mov dil, r15b
mov qword [rsp + 0x20], r12
lea rcx, [rsp + 0x20]
call fcn.1400e712c
mov al, dil
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140001010
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret

Function at 0x1400089a4
Capabilities:
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
cmp byte [rcx], bl
jne 0x1400089c0
mov al, 1
jmp 0x1400089fd
cmp qword [rcx + 0x10], rbx
lea rsi, [0x14012da68]
cmovne rsi, qword [rcx + 0x10]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
jne 0x1400089e3
mov al, bl
jmp 0x1400089f1
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
setne al
test al, al
sete cl
test cl, cl
mov byte [rdi], cl
sete al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140009788
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rsi, qword [rcx + 0x10]
mov eax, 0x100000
mov r14, r9
mov r15d, r8d
mov r12, rdx
mov ebp, r8d
cmp dword [rsi + 0x38], eax
jae 0x1400097f1
sub eax, dword [rsi + 0x38]
mov ecx, dword [rsi + 0x38]
mov edi, r8d
cmp eax, r8d
cmovb edi, eax
add rcx, qword [rsi + 0x30]
mov r8d, edi
mov ebx, edi
call qword [sym.imp.msvcrt.dll_memcpy]
lea rcx, [rsi + 0x48]
mov r8d, edi
mov rdx, r12
call fcn.1400e9028
add dword [rsi + 0x38], edi
sub ebp, edi
add r12, rbx
add qword [rsi + 0x40], rbx
xor edi, edi
test ebp, ebp
je 0x140009864
cmp byte [rsi + 0x3c], dil
jne 0x140009811
lea r8, [rsi + 0x18]
mov rcx, rsi
call fcn.140008858
test al, al
je 0x140009855
mov byte [rsi + 0x3c], 1
mov rcx, qword [rsi + 0x20]
lea r9, [rsp + 0x70]
mov r8d, ebp
mov rdx, r12
mov dword [rsp + 0x70], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x140009855
mov ebx, dword [rsp + 0x70]
lea rcx, [rsi + 0x48]
mov rdx, r12
mov r8d, ebx
call fcn.1400e9028
add qword [rsi + 0x40], rbx
cmp dword [rsp + 0x70], ebp
sete al
test al, al
jne 0x140009864
test r14, r14
je 0x14000985d
mov dword [r14], edi
mov eax, 0x80004005
jmp 0x14000986e
test r14, r14
je 0x14000986c
mov dword [r14], r15d
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140010114
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [rcx + 0x10]
xor edi, edi
mov r8d, edx
mov rdx, qword [rcx]
mov qword [r11 - 0x38], rax
lea rax, [r11 - 0x48]
mov qword [rcx + 0x20], rax
mov rax, qword [rcx + 0x8cf8]
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x24], 8
mov byte [rsp + 0x28], dil
mov dword [rcx + 0x8ce8], edi
mov r9d, dword [rax + 0x194]
mov rbx, rcx
call fcn.14000fde4
mov rcx, qword [rbx + 0x8cf8]
cmp byte [rcx + 0x1dc], dil
je 0x1400101aa
mov eax, dword [rbx + 0x8cec]
mov rcx, qword [rcx + 0x1a0]
or edx, 0xffffffff
imul r8, rax, 0x8e28
mov rcx, qword [r8 + rcx + 0x8d18]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov r8d, edi
cmp dword [rbx + 0x8ce8], edi
jbe 0x1400101e0
mov rdx, qword [rbx + 0x8cf8]
mov eax, r8d
inc r8d
mov ecx, dword [rdx + 0x198]
rol ecx, 1
xor ecx, dword [rbx + rax*4 + 0x7ce8]
mov dword [rdx + 0x198], ecx
cmp r8d, dword [rbx + 0x8ce8]
jb 0x1400101b5
mov eax, dword [rsp + 0x20]
mov r13b, byte [rsp + 0x28]
mov rbp, qword [rbx + 0x10]
mov r15, qword [rbx + 0x8cf8]
lea esi, [rax*8 + 8]
sub esi, dword [rsp + 0x24]
mov eax, esi
shr eax, 3
test eax, eax
je 0x140010229
mov r14d, eax
movzx edx, byte [rbp]
lea rcx, [r15 + 0x150]
mov r8d, 8
call fcn.140010928
inc rbp
dec r14
jne 0x14001020b
and esi, 7
lea rcx, [r15 + 0x150]
movzx edx, r13b
mov r8d, esi
call fcn.140010928
mov rdx, qword [rbx + 0x8cf8]
cmp byte [rdx + 0x1dc], dil
je 0x1400102ec
mov esi, dword [rbx + 0x8cec]
mov r9, qword [rdx + 0x1f8]
inc esi
cmp esi, dword [rdx + 0x1d8]
cmove esi, edi
test r9, r9
je 0x1400102c6
mov ecx, dword [rdx + 0x160]
mov eax, dword [rdx + 0x158]
mov r8, qword [rdx + 0x170]
sub r8, rcx
add r8, rax
cmp ecx, eax
jbe 0x140010296
mov eax, dword [rdx + 0x164]
add r8, rax
mov eax, reloc.WS2_32.dll_ntohs
mov rcx, r9
sub eax, dword [rdx + 0x188]
mov edx, eax
shr rdx, 3
add rdx, r8
lea r8, [rsp + 0x70]
mov qword [rsp + 0x70], rdx
mov rax, qword [r9]
lea rdx, [rbx + 0x8d20]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov edi, eax
mov ecx, esi
imul r8, rcx, 0x8e28
mov rcx, qword [rbx + 0x8cf8]
mov rcx, qword [rcx + 0x1a0]
add rcx, 0x8d18
add rcx, r8
call fcn.14001fd78
lea r11, [rsp + 0x40]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140010e98
Capabilities:
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov byte [rax + 0x20], r9b
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor ebx, ebx
lea r14, [0x14012da68]
mov al, r9b
cmp qword [r8 + 8], rbx
mov rdi, r14
mov r12, r8
cmovne rdi, qword [r8 + 8]
mov r13, rdx
mov r15d, ebx
lea rcx, vtable.micro::utils::QString.0
cmp word [rdi], bx
je 0x140010f6f
mov ebp, ebx
mov rsi, rdi
cmp word [rsi], 0x2f
jne 0x140010f5c
mov word [rsi], bx
mov rax, qword [r13 + 8]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140010f0e
lock inc dword [rax - 0xc]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r8, rdi
call fcn.140008a10
mov rcx, r14
cmp qword [rax + 8], rbx
cmovne rcx, qword [rax + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
lea rcx, [rsp + 0x30]
mov r15d, eax
lea rax, vtable.micro::utils::QString.0
mov qword [rsp + 0x30], rax
call fcn.1400e712c
mov eax, 0x5c
mov word [rsi], ax
lea rcx, vtable.micro::utils::QString.0
inc rbp
lea rsi, [rdi + rbp*2]
cmp word [rsi], bx
jne 0x140010eee
mov al, byte [rsp + 0x98]
test al, al
je 0x140010fb0
lea rcx, [rsp + 0x40]
mov r8, r12
mov rdx, r13
call fcn.140011d2c
cmp qword [rax + 8], rbx
cmovne r14, qword [rax + 8]
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
lea rcx, [rsp + 0x40]
mov r15d, eax
lea rax, vtable.micro::utils::QString.0
mov qword [rsp + 0x40], rax
call fcn.1400e712c
lea r11, [rsp + 0x50]
test r15d, r15d
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
setne al
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140014f9c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r9
push rdi
push r13
push r14
push r15
mov r10d, dword [r9]
xor r13d, r13d
mov edi, r8d
and r10d, 7
mov rbp, rcx
mov r11d, r13d
cmp rdx, 5
jae 0x140014fd6
xor eax, eax
jmp 0x14001513d
lea rsi, [rdx - 4]
add edi, 5
or rbx, 0xffffffffffffffff
add rsi, rcx
lea r14, [0x140000000]
lea r8, [r11 + rbp]
jmp 0x140014ffd
mov al, byte [r8]
and al, 0xfe
cmp al, 0xe8
je 0x140015002
inc r8
cmp r8, rsi
jb 0x140014ff1
mov r11, r8
sub r11, rbp
mov rax, r11
cmp r8, rsi
jae 0x14001511d
sub rax, rbx
cmp rax, 3
jbe 0x140015068
mov r10d, r13d
mov al, byte [r8 + 4]
mov rbx, r11
dec al
cmp al, 0xfd
jbe 0x140015099
movzx eax, byte [r8 + 3]
movzx r9d, byte [r8 + 4]
mov r15d, r10d
shl r9d, 8
or r9d, eax
movzx eax, byte [r8 + 2]
shl r9d, 8
or r9d, eax
movzx eax, byte [r8 + 1]
shl r9d, 8
or r9d, eax
cmp dword [rsp + 0x48], r13d
je 0x1400150ac
lea edx, [r11 + r9]
add edx, edi
jmp 0x1400150b4
lea ecx, [rax - 1]
shl r10d, cl
and r10d, 7
je 0x140015020
movzx eax, byte [r10 + r14 + 0x1066e8]
mov rcx, r8
sub rcx, rax
mov al, byte [rcx + 4]
cmp byte [r10 + r14 + 0x1066e0], r13b
je 0x140015096
inc al
test al, 0xfe
jne 0x140015020
mov rbx, r11
and r10d, 3
add r10d, r10d
or r10d, 1
inc r11
jmp 0x140014feb
mov edx, r9d
sub edx, r11d
sub edx, edi
test r10d, r10d
je 0x1400150ef
movzx r9d, byte [r15 + r14 + 0x1066e8]
mov eax, edx
shl r9d, 3
neg r9d
lea ecx, [r9 + 0x18]
shr eax, cl
inc al
test al, 0xfe
jne 0x1400150ef
lea ecx, [r9 + 0x20]
mov r9d, 1
shl r9d, cl
dec r9d
xor r9d, edx
jmp 0x140015059
mov eax, edx
mov byte [r8 + 1], dl
shr eax, 0x18
and al, 1
dec al
not al
mov byte [r8 + 4], al
mov eax, edx
shr eax, 0x10
mov byte [r8 + 3], al
mov eax, edx
shr eax, 8
add r11, 5
mov byte [r8 + 2], al
jmp 0x140014feb
mov r14, qword [rsp + 0x40]
mov rdx, r11
sub rdx, rbx
lea ecx, [rdx - 1]
shl r10d, cl
and r10d, 7
cmp rdx, 3
cmova r10d, r13d
mov dword [r14], r10d
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
pop r15
pop r14
pop r13
pop rdi
ret

Function at 0x14001520c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov qword [rcx + 0x60], 4
mov dword [rcx + 0x3c], 0x20
mov qword [rcx + 0x70], 1
lea r8, [rcx + 0x8c]
mov qword [rcx + 0x40], rdx
mov qword [rcx + 0x28], rdx
mov r9d, edx
mov r10d, 8
mov ecx, r9d
mov eax, r9d
and ecx, 1
shr eax, 1
dec ecx
not ecx
and ecx, 0xedb88320
mov r9d, ecx
xor r9d, eax
dec r10
jne 0x14001523d
inc edx
mov dword [r8], r9d
add r8, 4
cmp edx, 0x100
jb 0x140015234
ret
Function at 0x14001a9c4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10d, edx
mov ebx, 0x100
xor r11d, r11d
mov rdi, r9
mov rsi, rcx
or r10d, ebx
add r8d, r8d
mov r9d, r10d
mov ecx, r10d
shr ecx, 7
shr r9d, 8
mov eax, ebx
and ecx, 1
and eax, r8d
add r10d, r10d
neg ecx
add eax, ebx
sar rcx, 4
add r9d, eax
movzx edx, word [rsi + r9*2]
and ecx, 0x7f
shr rdx, 4
xor rdx, rcx
mov ecx, r10d
add r11d, dword [rdi + rdx*4]
xor ecx, r8d
not ecx
and ebx, ecx
cmp r10d, 0x10000
jb 0x14001a9e7
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, r11d
ret

Function at 0x14001ab64
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
xor r10d, r10d
mov rdi, r9
mov ebx, edx
mov rsi, rcx
lea r11d, [r10 + 1]
test edx, edx
je 0x14001abb8
mov eax, r11d
mov r9d, r8d
add r11d, r11d
movzx edx, word [rsi + rax*2]
and r9d, 1
shr r8d, 1
mov ecx, r9d
shr rdx, 4
or r11d, r9d
neg ecx
sar rcx, 4
and ecx, 0x7f
xor rdx, rcx
add r10d, dword [rdi + rdx*4]
dec ebx
jne 0x14001ab86
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, r10d
ret
Function at 0x14001fd24
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x40]
mov r9, r8
mov rbx, rcx
mov r8, rdx
mov qword [rsp + 0x28], rax
xor edi, edi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov qword [rbx], rax
test rax, rax
jne 0x14001fd69
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, 1
test eax, eax
cmovne edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14001fe90
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
test r8d, r8d
jne 0x14001fe9f
lea eax, [r8 + 1]
jmp 0x14001feb5
and dword [r9], 0
mov rcx, qword [rcx + 0x10]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_ReadFile]
xor eax, eax
add rsp, 0x38
ret

Function at 0x14001fec4
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
and dword [r9], 0
mov rcx, qword [rcx + 0x10]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_WriteFile]
xor eax, eax
add rsp, 0x38
ret
Function at 0x140020538
Capabilities:
Get file size

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x2d0
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov r14, r8
mov rsi, rdx
mov rbx, rcx
lea r15, vtable.micro::files::QFile.0
mov qword [rsp + 0x30], r15
and qword [rsp + 0x38], 0
lea rdi, [0x14012da68]
mov rdx, rdi
cmp qword [rsi + 8], 0
cmovne rdx, qword [rsi + 8]
xor r8d, r8d
lea rcx, [rsp + 0x30]
call fcn.1400e82c4
test al, al
jne 0x1400205bb
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.1400e8500
xor al, al
jmp 0x140020780
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
mov rdx, qword [rsp + 0x88]
mov qword [rbx + 0x38], rdx
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x140020620
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rdx, rdi
cmp qword [rsi + 8], 0
cmovne rdx, qword [rsi + 8]
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rdx, rdi
cmp qword [r14 + 8], 0
cmovne rdx, qword [r14 + 8]
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdx, rdi
cmp qword [rsi + 8], 0
cmovne rdx, qword [rsi + 8]
lea rax, vtable.MySeqInStream.0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r15
and qword [rsp + 0x78], 0
xor r8d, r8d
lea rcx, [rsp + 0x70]
call qword [vtable.micro::files::QFile.0]
nop
cmp qword [r14 + 8], 0
cmovne rdi, qword [r14 + 8]
lea rax, vtable.MySeqOutStream.0
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r15
and qword [rsp + 0x58], 0
mov r8d, 0x1000
mov rdx, rdi
lea rcx, [rsp + 0x50]
call qword [vtable.micro::files::QFile.0]
nop
mov rcx, qword [rbx + 0x38]
mov rax, qword [rbx + 0xa0]
and dword [rsp + 0x98], 0
lea rdx, vtable.MyCompressProgressInfo.0
mov qword [rsp + 0x90], rdx
and qword [rsp + 0xa8], 0
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xb0], rcx
lea rcx, [rsp + 0xc0]
call fcn.14000ef34
nop
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xc0]
call fcn.1400107f4
nop
lea rcx, [rsp + 0xc0]
test eax, eax
je 0x140020745
call fcn.14000f054
nop
mov qword [rsp + 0x50], r15
lea rcx, [rsp + 0x50]
call fcn.1400e8500
nop
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x70]
call fcn.1400e8500
nop
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.1400e8500
xor al, al
jmp 0x140020780
call fcn.14000f054
nop
mov qword [rsp + 0x50], r15
lea rcx, [rsp + 0x50]
call fcn.1400e8500
nop
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x70]
call fcn.1400e8500
nop
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.1400e8500
mov al, 1
jmp 0x140020780
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140001010
add rsp, 0x2d0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400209ac
Capabilities:
Get file size

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, r8
mov r14, rdx
mov rbx, rcx
lea r13, vtable.micro::files::QFile.0
mov qword [rbp - 0x31], r13
xor edi, edi
mov qword [rbp - 0x29], rdi
lea rax, [0x1400207a0]
mov qword [rbp - 0x39], rax
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], rdi
lea rax, [0x1400207c8]
mov qword [rsp + 0x38], rax
xor r8d, r8d
lea rcx, [rbp - 0x31]
call fcn.1400e82c4
test al, al
je 0x140020b8a
mov r8d, 0x1000
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1400e82c4
test al, al
je 0x140020b8a
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x140020a6e
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
mov rax, qword [rbx + 0xa0]
mov qword [rbp - 0x11], rax
mov rbx, qword [rsp + 0x30]
mov qword [rbp - 9], rbx
lea rax, [0x1400207d4]
mov qword [rbp - 0x19], rax
mov qword [rbp - 1], rdi
mov ecx, 0x46d00
call qword [0x140171058]
mov r14, rax
test rax, rax
je 0x140020b8a
mov rcx, rax
call fcn.14001cb44
mov r15d, 5
mov qword [rbp - 0x71], r15
mov qword [rbp - 0x49], rdi
or dword [rbp - 0x69], 0xffffffff
or eax, 0xffffffff
mov dword [rbp - 0x41], eax
mov dword [rbp - 0x4d], eax
mov dword [rbp - 0x51], eax
mov dword [rbp - 0x55], eax
mov dword [rbp - 0x59], eax
mov dword [rbp - 0x5d], eax
mov dword [rbp - 0x61], eax
mov dword [rbp - 0x65], eax
lea rdx, [rbp - 0x71]
mov rcx, r14
call fcn.14001a6e4
mov esi, eax
lea r12, [0x140171058]
test eax, eax
jne 0x140020b76
mov qword [rsp + 0x30], r15
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0xf]
mov rcx, r14
call fcn.14001dbf0
mov esi, eax
mov ecx, edi
mov r15, qword [rsp + 0x30]
mov rax, rbx
shr rax, cl
mov byte [rbp + r15 + 0xf], al
inc r15
add ecx, 8
cmp ecx, 0x40
jl 0x140020b24
mov r8, r15
lea rdx, [rbp + 0xf]
lea rcx, [rsp + 0x38]
call qword [rsp + 0x38]
cmp rax, r15
je 0x140020b56
mov esi, 9
jmp 0x140020b76
test esi, esi
jne 0x140020b76
mov qword [rsp + 0x28], r12
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x39]
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.14001db98
mov esi, eax
mov r8, r12
mov rdx, r12
mov rcx, r14
call fcn.14001cd38
test esi, esi
sete dil
mov qword [rsp + 0x40], r13
lea rcx, [rsp + 0x40]
call fcn.1400e8500
nop
mov qword [rbp - 0x31], r13
lea rcx, [rbp - 0x31]
call fcn.1400e8500
mov al, dil
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140001010
mov rbx, qword [rsp + 0x148]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140020dcc
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rsi, r8
mov r14, rcx
lea r15, vtable.micro::files::QFile.0
mov qword [rsp + 0x40], r15
xor edi, edi
mov qword [rsp + 0x48], rdi
lea rax, [0x1400207a0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], rdi
lea rax, [0x1400207c8]
mov qword [rsp + 0x58], rax
lea rbx, [0x14012da68]
mov rdx, rbx
cmp qword [rcx + 0x10], rdi
cmovne rdx, qword [rcx + 0x10]
xor r8d, r8d
lea rcx, [rsp + 0x40]
call fcn.1400e82c4
test al, al
je 0x140020f30
cmp qword [rsi + 8], rdi
cmovne rbx, qword [rsi + 8]
mov r8d, 0x1000
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1400e82c4
test al, al
je 0x140020f30
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
lea r8d, [rdi + 0xd]
lea rdx, [rbp + 0x10]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
cmp dword [rsp + 0x30], 0xd
jne 0x140020f30
mov ebx, edi
mov ecx, edi
lea rdx, [rbp + 0x15]
movzx eax, byte [rdx]
shl rax, cl
add rbx, rax
add ecx, 8
inc rdx
cmp ecx, 0x40
jl 0x140020eb7
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x70], rdi
lea r9, [0x140171058]
mov r8d, 5
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x80]
call fcn.140019fcc
test eax, eax
jne 0x140020f30
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140020bd4
mov ebx, eax
mov rcx, qword [rbp - 0x70]
call qword [0x140171060]
mov qword [rbp - 0x70], rdi
mov rcx, qword [rbp - 0x68]
call qword [0x140171060]
mov qword [rbp - 0x68], rdi
test ebx, ebx
sete dil
mov qword [rsp + 0x60], r15
lea rcx, [rsp + 0x60]
call fcn.1400e8500
nop
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.1400e8500
mov al, dil
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140001010
mov rbx, qword [rsp + 0x168]
add rsp, 0x130
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret