joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1d26160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01d262e7
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1d26191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1d26177
add dl, dl
jne 0x1d2619e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1d261fe
xor eax, eax
add dl, dl
jne 0x1d261ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1d262b5
add dl, dl
jne 0x1d261be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d261cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d261d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d261e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1d261f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1d26186
mov eax, 1
add dl, dl
jne 0x1d2620e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d2621b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1d26203
sub eax, ebx
mov ebx, 1
jne 0x1d26254
mov ecx, 1
add dl, dl
jne 0x1d26236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1d26243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1d2622b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1d26186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1d26270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1d2627d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1d26265
cmp eax, 0x7d00
jae 0x1d262a3
cmp eax, 0x500
jb 0x1d2629e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1d26186
cmp eax, 0x7f
ja 0x1d262a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1d26186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1d262da
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1d26186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800041d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18000422d
lea rbx, [0x1800595f0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180004214
cmp r10, 2
jb 0x180004214
cmp byte [r9], r8b
jne 0x180004214
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1800041f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000426f
lea rbx, [0x1800595f0]
cmp r8b, 0x23
jne 0x180004253
cmp byte [r9], r8b
jne 0x180004253
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180004240
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1800043a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800043ba
mov qword [r8], 0
lea rdx, [0x180059440]
call fcn.180004280
mov rbx, rax
test rax, rax
jne 0x1800043da
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.18003438c
mov esi, eax
cmp eax, 0xffffffff
je 0x1800044a8
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.180034c1c
test eax, eax
jne 0x1800044a8
mov rcx, rbx
call fcn.18003438c
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800044a8
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.180034c1c
test eax, eax
jne 0x1800044a8
cmp rdi, 0xffffffffffffffff
je 0x1800044a8
mov rax, qword [0x18006a078]
test rax, rax
je 0x18000444a
inc dword [rax + 0x3bc]
mov rcx, rdi
call fcn.18003c184
mov rsi, rax
test rax, rax
je 0x1800044a8
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.180036bbc
mov rcx, rbx
cmp rax, rdi
je 0x180004496
call fcn.1800349b0
mov rax, qword [0x18006a078]
test rax, rax
je 0x18000448c
dec dword [rax + 0x3bc]
mov rcx, rsi
call fcn.180036948
jmp 0x1800044b0
call fcn.1800349b0
test r14, r14
je 0x1800044a3
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800044b2
mov rcx, rbx
call fcn.1800349b0
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180007e70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
xor eax, eax
lea r8, [0x18005937d]
mov dword [rsp + 0x2c], eax
lea r11, [0x1800595f0]
mov qword [rsp + 0x38], rax
mov r10d, 0xffffffff
mov qword [rsp + 0x60], rax
mov rbx, rcx
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x180007ec6
cmp byte [r8], r9b
jne 0x180007ec6
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x180007eb3
mov ecx, dword [rbx + 0x2fbc]
lea rax, [0x180013a60]
mov edi, dword [rbx + 0x2fb8]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x180013af0]
mov qword [rsp + 0x40], rax
lea rax, [0x180013be0]
mov qword [rsp + 0x48], rax
lea rax, [0x180013cc0]
mov qword [rsp + 0x50], rax
lea rax, [0x180013e10]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x180007fee
inc edi
test ecx, ecx
je 0x180007f4a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180007f4f
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x180007fee
mov rax, qword [0x18006a078]
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], rsi
test rax, rax
je 0x180007f7e
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*8]
shl rcx, 3
call fcn.18003c184
mov rsi, qword [rbx + 0x2fc0]
mov rbp, rax
test rsi, rsi
je 0x180007fd1
movsxd rcx, dword [rbx + 0x2fb8]
mov rdx, rsi
lea r8, [rcx + rcx*8]
mov rcx, rax
shl r8, 3
call fcn.180033820
mov rax, qword [0x18006a078]
test rax, rax
je 0x180007fc9
dec dword [rax + 0x3bc]
mov rcx, rsi
call fcn.180036948
mov rsi, qword [rsp + 0x88]
mov qword [rbx + 0x2fc0], rbp
mov rbp, qword [rsp + 0x80]
mov dword [rbx + 0x2fbc], edi
movsxd rax, dword [rbx + 0x2fb8]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x2fc0]
movups xmmword [rax + rcx*8], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx*8 + 0x20], xmm0
movsd xmm0, qword [rsp + 0x60]
movups xmmword [rax + rcx*8 + 0x30], xmm1
movsd qword [rax + rcx*8 + 0x40], xmm0
inc dword [rbx + 0x2fb8]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x1800090b0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180009100
lea r11, [0x1800595f0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800090e3
cmp byte [r8], r9b
jne 0x1800090e3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1800090d0
mov rcx, qword [0x18006a078]
not eax
movsxd rdx, dword [rcx + 0x1a68]
mov r9, qword [rcx + 0x1a70]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180009161
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180009159
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18000915c
mov rdx, r8
test rdx, rdx
jne 0x180009130
cmp r9, r10
je 0x180009170
cmp dword [r9], eax
jne 0x180009170
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x180013150
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x18006a078]
cmp byte [rbx + 0x2fd8], 0
je 0x18001323b
cmp qword [rbx + 0x2fe0], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x2fe8]
je 0x180013223
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x1800131cb
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180014d80
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.1800047a0
mov eax, dword [rdi]
lea rcx, [0x18006a070]
mov r9, qword [rbx + 0x2fe0]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rbx + 0x2ff0]
cmove edx, ebp
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call fcn.180035394
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.1800047a0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x180013920
Capabilities:
Write file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov rbx, qword [0x18006a078]
xor r15d, r15d
mov r14, rcx
mov dword [rbx + 0x2fa4], r15d
test rcx, rcx
je 0x180013a49
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
lea rdi, [rbx + 0x2fa8]
mov dword [rbx + 0x2fa4], r15d
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x180013984
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.180014d80
mov dword [rdi], r15d
cmp dword [rdi + 4], r15d
jne 0x18001399a
mov edx, 8
mov rcx, rdi
call fcn.180014d80
movsxd rcx, dword [rdi]
mov ebp, r15d
mov rax, qword [rdi + 8]
mov byte [rcx + rax], r15b
inc dword [rdi]
cmp dword [rbx + 0x2fb8], r15d
jle 0x1800139e5
mov rsi, r15
nop word [rax + rax]
mov r9, qword [rbx + 0x2fc0]
mov r8, rdi
add r9, rsi
mov rcx, rbx
mov rdx, r9
call qword [r9 + 0x38]
inc ebp
add rsi, 0x48
cmp ebp, dword [rbx + 0x2fb8]
jl 0x1800139c0
mov eax, dword [rdi]
lea rdx, [0x180059444]
test eax, eax
lea rdi, [0x18006a070]
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2fb0]
cmove ecx, r15d
test rax, rax
movsxd rsi, ecx
mov rcx, r14
cmovne rdi, rax
call fcn.180004280
mov rbp, qword [rsp + 0x40]
mov rbx, rax
test rax, rax
je 0x180013a3f
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call fcn.180035394
mov rcx, rbx
call fcn.1800349b0
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x18001ec60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x18001edf1
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x18001ecd0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.18001e680
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.18001dce0
mov dword [rbx + 0x80], 0
jmp 0x18001eddd
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.18001cb80
movzx edx, word [rbx + 0x4c]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x4c], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x18002d480
Capabilities:
Create thread

Disassembly:
sub rsp, 0x28
cmp edx, 1
jne 0x18002d514
lea rcx, str.CryGameHooked.dll
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [0x18005d690]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x18005d6a8]
mov rcx, rbx
mov qword [0x18006a0c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x18005d6b8]
mov rcx, rbx
mov qword [0x18006a0b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x18005d6d0]
mov rcx, rbx
mov qword [0x18006a0d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8, rbx
lea rcx, [0x18002d430]
xor edx, edx
mov qword [0x18006a0c8], rax
call fcn.18003cce8
mov rbx, qword [rsp + 0x20]
mov eax, 1
add rsp, 0x28
ret

Function at 0x18004b240
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18004b268
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18004b268
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400151bc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14001523a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015231
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140015231
mov rax, qword [rbp - 8]
jmp 0x14001524f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140015204
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001970
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400019ba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400019ba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400019ba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400019ba
cmp dword [rcx + 0x84], 0xe
jbe 0x1400019ba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400019bc
xor al, al
add rsp, 0x28
ret
Function at 0x140003ac0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [rcx], 0x67452301
mov r9d, 0x40
mov qword [rcx + 0x10], rax
mov dword [rcx + 4], 0xefcdab89
xor r8d, r8d
mov dword [rcx + 8], 0x98badcfe
mov edx, r9d
mov dword [rcx + 0xc], 0x10325476
add rcx, 0x18
jmp fcn.140023ab0

Function at 0x1400054a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x140065c40]
xor rax, rsp
mov qword [rsp + 0x68], rax
movzx edi, r9b
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x30], rcx
xor ebx, ebx
mov dword [rsp + 0x28], ebx
movzx r8d, r8b
mov edx, 0x10
mov r9d, edx
lea rcx, [rsp + 0x58]
call fcn.140023ab0
mov r8d, edi
mov edx, 0x10
mov r9d, edx
lea rcx, [rsp + 0x48]
call fcn.140023ab0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x58]
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140005250
nop
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
mov dword [rsp + 0x28], 1
mov rax, qword [rsp + 0x20]
mov esi, dword [rax + 4]
test esi, esi
jle 0x140005590
mov edx, ebx
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_char___cdecl_QByteArray::at_int_const___ptr64]
movzx edi, al
mov eax, 1
sub al, bl
movsx ecx, sil
movsx r8d, al
imul r8d, ecx
xor dil, r8b
mov rax, qword [rsp + 0x20]
mov r8d, dword [rax + 4]
sub r8d, ebx
dec r8d
lea rdx, [rsp + 0x38]
mov rcx, rbp
call qword [sym.imp.Qt5Core.dll_public:_class_QByteRef___cdecl_QByteArray::operator___int____ptr64]
mov rcx, rax
movzx edx, dil
call qword [sym.imp.Qt5Core.dll_public:_class_QByteRef____ptr64___cdecl_QByteRef::operator_char____ptr64]
inc ebx
mov rcx, qword [rsp + 0x20]
mov esi, dword [rcx + 4]
cmp ebx, esi
jl 0x140005532
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
mov rax, rbp
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140024330
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400201e8
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
sub rsp, 0x18
mov dword [rsp + 4], 0
jmp 0x140020200
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 0x100
jge 0x140020438
movsxd rax, dword [rsp + 4]
lea rcx, [0x140044bb0]
mov al, byte [rcx + rax]
mov byte [rsp], al
movzx eax, byte [rsp]
shl eax, 3
movzx ecx, byte [rsp]
sar ecx, 5
and ecx, 1
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp]
sar ecx, 5
and ecx, 2
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp]
sar ecx, 5
and ecx, 4
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp]
shl ecx, 1
movzx edx, byte [rsp]
sar edx, 7
and edx, 1
imul edx, edx, 0x11b
xor ecx, edx
xor eax, ecx
movzx ecx, byte [rsp]
xor eax, ecx
movzx ecx, byte [rsp]
shl ecx, 3
movzx edx, byte [rsp]
sar edx, 5
and edx, 1
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp]
sar edx, 5
and edx, 2
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp]
sar edx, 5
and edx, 4
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp]
shl edx, 2
movzx r8d, byte [rsp]
sar r8d, 6
and r8d, 1
imul r8d, r8d, 0x11b
xor edx, r8d
movzx r8d, byte [rsp]
sar r8d, 6
and r8d, 2
imul r8d, r8d, 0x11b
xor edx, r8d
xor ecx, edx
movzx edx, byte [rsp]
xor ecx, edx
shl ecx, 8
or eax, ecx
movzx ecx, byte [rsp]
shl ecx, 3
movzx edx, byte [rsp]
sar edx, 5
and edx, 1
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp]
sar edx, 5
and edx, 2
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp]
sar edx, 5
and edx, 4
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp]
xor ecx, edx
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [rsp]
shl ecx, 3
movzx edx, byte [rsp]
sar edx, 5
and edx, 1
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp]
sar edx, 5
and edx, 2
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp]
sar edx, 5
and edx, 4
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp]
shl edx, 2
movzx r8d, byte [rsp]
sar r8d, 6
and r8d, 1
imul r8d, r8d, 0x11b
xor edx, r8d
movzx r8d, byte [rsp]
sar r8d, 6
and r8d, 2
imul r8d, r8d, 0x11b
xor edx, r8d
xor ecx, edx
movzx edx, byte [rsp]
shl edx, 1
movzx r8d, byte [rsp]
sar r8d, 7
and r8d, 1
imul r8d, r8d, 0x11b
xor edx, r8d
xor ecx, edx
shl ecx, 0x18
or eax, ecx
mov dword [rsp + 0xc], eax
mov dword [rsp + 8], 0
jmp 0x1400203f4
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
cmp dword [rsp + 8], 4
jge 0x140020433
imul eax, dword [rsp + 8], 0x100
mov ecx, dword [rsp + 4]
add ecx, eax
mov eax, ecx
cdqe
lea rcx, [0x14006a9e0]
mov edx, dword [rsp + 0xc]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0xc]
shl eax, 0x18
mov ecx, dword [rsp + 0xc]
shr ecx, 8
or ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
jmp 0x1400203ea
jmp 0x1400201f6
mov byte [0x14006b9e1], 1
add rsp, 0x18
ret
Function at 0x140020444
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
sub rsp, 0x18
mov dword [rsp + 4], 0
jmp 0x14002045c
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 0x100
jge 0x140020525
movsxd rax, dword [rsp + 4]
lea rcx, str.cw
mov al, byte [rcx + rax]
mov byte [rsp], al
movzx eax, byte [rsp]
shl eax, 1
movzx ecx, byte [rsp]
sar ecx, 7
and ecx, 1
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp]
xor eax, ecx
movzx ecx, byte [rsp]
shl ecx, 8
or eax, ecx
movzx ecx, byte [rsp]
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [rsp]
shl ecx, 1
movzx edx, byte [rsp]
sar edx, 7
and edx, 1
imul edx, edx, 0x11b
xor ecx, edx
shl ecx, 0x18
or eax, ecx
mov dword [rsp + 0xc], eax
mov dword [rsp + 8], 0
jmp 0x1400204e1
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
cmp dword [rsp + 8], 4
jge 0x140020520
imul eax, dword [rsp + 8], 0x100
mov ecx, dword [rsp + 4]
add ecx, eax
mov eax, ecx
cdqe
lea rcx, [0x1400699e0]
mov edx, dword [rsp + 0xc]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0xc]
shl eax, 0x18
mov ecx, dword [rsp + 0xc]
shr ecx, 8
or ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
jmp 0x1400204d7
jmp 0x140020452
mov byte [0x14006b9e0], 1
add rsp, 0x18
ret
Function at 0x140024bc8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140024c12
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140024c12
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140024c12
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140024c12
cmp dword [rcx + 0x84], 0xe
jbe 0x140024c12
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140024c14
xor al, al
add rsp, 0x28
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140174550]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140174560]
mov dword [rax], 1
mov rax, qword [0x140174570]
mov dword [rax], 1
mov rax, qword [0x1401744e0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140174540]
mov dword [0x14017700c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140174610]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1401745f0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140174490]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a