joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rsp
mov rbx, rdx
mov qword [rbp + 0x50], rcx
mov edi, dword [rbx + 0x24]
mov esi, dword [rbx + 0x38]
sub esi, dword [rbx + 0x7c]
sub esi, dword [rbx + 0x74]
test esi, esi
jne 0x43c975
cmp dword [rbx + 0x74], 0
jne 0x43c975
cmp dword [rbx + 0x7c], 0
jne 0x43c975
mov esi, edi
jmp 0x43ca16
cmp esi, 0xffffffff
jne 0x43c982
sub esi, 1
jmp 0x43ca16
mov eax, edi
add eax, edi
sub eax, 0x106
cmp dword [rbx + 0x74], eax
jb 0x43ca16
mov rax, qword [rbx + 0x30]
mov ecx, edi
lea rcx, [rax + rcx]
mov rdx, qword [rbx + 0x30]
mov r8d, edi
call fcn.00408cc0
lea rax, [rbx + 0x78]
sub dword [rax], edi
lea rax, [rbx + 0x74]
sub dword [rax], edi
lea rax, [rbx + 0x64]
sub dword [rax], edi
mov eax, dword [rbx + 0x54]
mov rcx, qword [rbx + 0x48]
mov edx, eax
lea rdx, [rcx + rdx*2]
sub rdx, 2
movzx ecx, word [rdx]
cmp ecx, edi
jb 0x43c9dd
sub cx, di
mov word [rdx], cx
jmp 0x43c9e2
mov word [rdx], 0
sub eax, 1
test eax, eax
jne 0x43c9ca
mov eax, edi
mov rcx, qword [rbx + 0x40]
mov edx, eax
lea rdx, [rcx + rdx*2]
sub rdx, 2
movzx ecx, word [rdx]
cmp ecx, edi
jb 0x43ca08
sub cx, di
mov word [rdx], cx
jmp 0x43ca0d
mov word [rdx], 0
sub eax, 1
test eax, eax
jne 0x43c9f5
add esi, edi
mov rax, qword [rbx]
mov rcx, qword [rbp + 0x50]
lea rcx, [rcx + rbp + 0xe8]
mov rdx, rbp
neg rdx
mov rax, qword [rax + 0x10]
cmp rax, qword [rcx + rdx]
je 0x43cac0
mov rcx, rbp
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x30]
mov r8d, dword [rbx + 0x74]
add r8d, dword [rbx + 0x7c]
mov r8d, r8d
lea r8, [rax + r8]
mov r9d, esi
call fcn.0043c890
lea rcx, [rbx + 0x7c]
add dword [rcx], eax
cmp dword [rbx + 0x7c], 3
jb 0x43ca94
mov rax, qword [rbx + 0x30]
mov ecx, dword [rbx + 0x74]
movzx rax, byte [rax + rcx]
mov dword [rbx + 0x50], eax
mov eax, dword [rbx + 0x50]
movzx rcx, byte [rbx + 0x60]
shl eax, cl
mov rcx, qword [rbx + 0x30]
mov edx, dword [rbx + 0x74]
movzx rcx, byte [rcx + rdx + 1]
xor eax, ecx
and eax, dword [rbx + 0x5c]
mov dword [rbx + 0x50], eax
cmp dword [rbx + 0x7c], 0x106
jae 0x43cac0
mov rax, qword [rbx]
mov rcx, qword [rbp + 0x50]
lea rcx, [rcx + rbp + 0xe8]
mov rdx, rbp
neg rdx
mov rax, qword [rax + 0x10]
cmp rax, qword [rcx + rdx]
jne 0x43c955
lea rsp, [rbp + 0x28]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x43e8f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x40
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
lea rax, [rbx + rbp + 0xa0]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x43eb5e
lea rax, [rbx + rbp + 0xc8]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x43e938
cmp dword [rsi + 8], 0
jne 0x43eb5e
lea rax, [rbx + rbp + 0xb0]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x43e98f
lea rax, [rbx + rbp + 0xc8]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x43e98f
lea rax, [rbx + rbp + 0xc8]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
call sub.kernel32.dll_UnmapViewOfFile
lea rax, [rbx + rbp + 0xc8]
mov rcx, rbp
neg rcx
mov qword [rax + rcx], 0
mov ecx, 0x100000
lea rax, [rbx + rbp + 0xd8]
mov rdx, rbp
neg rdx
mov rax, qword [rax + rdx]
mov rdx, qword [rsi + 0x10]
neg rdx
lea rdx, [rax + rdx]
call fcn.0043c010
mov dword [rsi + 8], eax
cmp dword [rsi + 8], 0
je 0x43eb5e
lea rax, [rbx + rbp + 0xb0]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
jne 0x43eac9
lea rax, [rbx + rbp + 0x88]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
jne 0x43ea20
xor rcx, rcx
mov edx, 0x100000
mov r8d, 0x1000
mov r9d, 4
call sub.kernel32.dll_VirtualAlloc
lea rcx, [rbx + rbp + 0x88]
mov rdx, rbp
neg rdx
mov qword [rcx + rdx], rax
lea rax, [rbx + rbp + 0xa0]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
mov rdx, qword [rsi + 0x10]
xor r8, r8
xor r9, r9
call fcn.0043c020
test al, al
je 0x43eab1
lea rax, [rbx + rbp + 0xa0]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
lea rax, [rbx + rbp + 0x88]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
mov r8d, dword [rsi + 8]
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x43eab1
mov eax, dword [rbp + 0x3c]
cmp eax, dword [rsi + 8]
jne 0x43eab1
lea rax, [rbx + rbp + 0xc8]
mov rcx, rbp
neg rcx
lea rdx, [rbx + rbp + 0x88]
mov r8, rbp
neg r8
mov rdx, qword [rdx + r8]
mov qword [rax + rcx], rdx
jmp 0x43eb00
lea rax, [rbx + rbp + 0xc8]
mov rcx, rbp
neg rcx
mov qword [rax + rcx], 0
jmp 0x43eb00
lea rax, [rbx + rbp + 0xb0]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
mov edx, 4
mov r8, qword [rsi + 0x10]
mov r9d, dword [rsi + 8]
call fcn.0043c090
lea rcx, [rbx + rbp + 0xc8]
mov rdx, rbp
neg rdx
mov qword [rcx + rdx], rax
lea rax, [rbx + rbp + 0xc8]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov qword [rsi], rax
cmp qword [rsi + 0x10], 0
jne 0x43eb5e
lea rax, [rbx + rbp + 0xc0]
mov rcx, rbp
neg rcx
movsxd rax, dword [rax + rcx]
mov qword [rsi + 0x10], rax
lea rax, [rbx + rbp + 0xc0]
mov rcx, rbp
neg rcx
movsxd rax, dword [rax + rcx]
add qword [rsi], rax
lea rax, [rsi + 8]
lea rcx, [rbx + rbp + 0xc0]
mov rdx, rbp
neg rdx
mov ecx, dword [rcx + rdx]
sub dword [rax], ecx
lea rsp, [rbp + 0x40]
pop rbx
pop rsi
pop rbp
ret
Function at 0x43eb70
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x40
mov rbp, rsp
mov rbx, rcx
cmp qword [rdx + 0x28], 0
jle 0x43ec97
mov ecx, 0x100000
mov rax, qword [rdx + 0x28]
cqo
idiv rcx
mov rsi, rdx
test esi, esi
jne 0x43eba4
mov esi, 0x100000
lea rax, [rbx + rbp + 0xd0]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x43ec10
lea rax, [rbx + rbp + 0xe8]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x43ec10
lea rax, [rbx + rbp + 0xe8]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov ecx, dword [rax]
lea rax, [rbx + rbp + 0xd0]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
mov r8d, esi
call fcn.00442a90
lea rcx, [rbx + rbp + 0xe8]
mov rdx, rbp
neg rdx
mov rcx, qword [rcx + rdx]
mov dword [rcx], eax
lea rax, [rbx + rbp + 0xa8]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x43ec97
lea rax, [rbx + rbp + 0xb8]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
jne 0x43ec97
lea rax, [rbx + rbp + 0xa8]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
lea rax, [rbx + rbp + 0x80]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
mov r8d, esi
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
test eax, eax
je 0x43ec7c
cmp esi, dword [rbp + 0x3c]
je 0x43ec97
mov rcx, qword [0x00422418]
lea rdx, [0x0043ecac]
call fcn.00422680
mov rcx, rax
call fcn.0040f120
lea rsp, [rbp + 0x40]
pop rbx
pop rsi
pop rbp
ret

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

Disassembly:
mov eax, ecx
xor rcx, rcx
sub r8d, 1
cmp ecx, r8d
jg 0x442acc
add r8d, 1
lea r9, [0x00b23510]
movsxd r10, ecx
mov r11d, eax
xor r11b, byte [rdx + r10]
movzx r11, r11b
shr eax, 8
mov r9d, dword [r9 + r11*4]
xor r9d, eax
mov eax, r9d
add ecx, 1
cmp ecx, r8d
jne 0x442aa2
nop
ret
Function at 0x443fe0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov rcx, rdx
xor rbx, rbx
xor rax, rax
mov dword [rbp + 0x3c], eax
mov rax, qword [rbp + 0x30]
lea r9, [rax + rbp + 0x1058]
mov rax, rbp
neg rax
lea r9, [r9 + rax]
mov r10d, dword [rbp + 0x3c]
mov r10d, r10d
mov rax, qword [rbp + 0x30]
lea r11, [rax + rbp + 0x1058]
mov rax, rbp
neg rax
lea r11, [r11 + rax]
mov esi, dword [rbp + 0x3c]
mov esi, esi
mov eax, ebx
movzx rdi, byte [rcx + rax]
shl edi, 0x18
mov eax, ebx
add eax, 1
xor edx, edx
div r8d
mov edx, edx
movzx rax, byte [rcx + rdx]
shl eax, 0x10
add edi, eax
mov eax, ebx
add eax, 2
xor edx, edx
div r8d
mov edx, edx
movzx rax, byte [rcx + rdx]
shl eax, 8
add edi, eax
mov eax, ebx
add eax, 3
xor edx, edx
div r8d
mov edx, edx
movzx rax, byte [rcx + rdx]
add edi, eax
mov eax, dword [r11 + rsi*4]
xor eax, edi
mov dword [r9 + r10*4], eax
mov eax, ebx
add eax, 4
xor edx, edx
div r8d
mov rbx, rdx
mov eax, dword [rbp + 0x3c]
add eax, 1
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x3c]
cmp eax, 0x12
jne 0x443ffb
nop
mov dword [rbp + 0x4c], 0
mov dword [rbp + 0x48], 0
xor rax, rax
mov dword [rbp + 0x3c], eax
mov rcx, qword [rbp + 0x30]
lea rdx, [rbp + 0x4c]
lea r8, [rbp + 0x48]
mov rax, qword [rbp + 0x30]
lea rax, [rax + rbp + 0x1058]
mov r9, rbp
neg r9
lea r9, [rax + r9]
mov dword [rsp + 0x20], 1
call fcn.00443770
mov rax, qword [rbp + 0x30]
lea rax, [rax + rbp + 0x1058]
mov rcx, rbp
neg rcx
lea rax, [rax + rcx]
mov ecx, dword [rbp + 0x3c]
add ecx, ecx
mov ecx, ecx
mov edx, dword [rbp + 0x4c]
mov dword [rax + rcx*4], edx
mov rax, qword [rbp + 0x30]
lea rax, [rax + rbp + 0x105c]
mov rcx, rbp
neg rcx
lea rax, [rax + rcx]
mov ecx, dword [rbp + 0x3c]
add ecx, ecx
mov ecx, ecx
mov edx, dword [rbp + 0x48]
mov dword [rax + rcx*4], edx
mov eax, dword [rbp + 0x3c]
add eax, 1
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x3c]
cmp eax, 9
jne 0x4440bd
nop
xor rax, rax
mov dword [rbp + 0x3c], eax
xor rbx, rbx
mov rcx, qword [rbp + 0x30]
lea rdx, [rbp + 0x4c]
lea r8, [rbp + 0x48]
mov rax, qword [rbp + 0x30]
lea rax, [rax + rbp + 0x1058]
mov r9, rbp
neg r9
lea r9, [rax + r9]
mov dword [rsp + 0x20], 1
call fcn.00443770
mov rax, qword [rbp + 0x30]
lea rax, [rax + rbp + 0x58]
mov rcx, rbp
neg rcx
lea rax, [rax + rcx]
mov ecx, dword [rbp + 0x3c]
mov ecx, ecx
shl rcx, 7
lea rax, [rax + rcx*8]
mov ecx, ebx
add ecx, ecx
mov ecx, ecx
mov edx, dword [rbp + 0x4c]
mov dword [rax + rcx*4], edx
mov rax, qword [rbp + 0x30]
lea rax, [rax + rbp + 0x5c]
mov rcx, rbp
neg rcx
lea rax, [rax + rcx]
mov ecx, dword [rbp + 0x3c]
mov ecx, ecx
shl rcx, 7
lea rax, [rax + rcx*8]
mov ecx, ebx
add ecx, ecx
mov ecx, ecx
mov edx, dword [rbp + 0x48]
mov dword [rax + rcx*4], edx
add ebx, 1
cmp ebx, 0x80
jne 0x444151
nop
mov eax, dword [rbp + 0x3c]
add eax, 1
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x3c]
cmp eax, 4
jne 0x44414e
nop
lea rsp, [rbp + 0x58]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x444210
Capabilities:
Encrypt data using blowfish

Disassembly:
push rbp
push rdi
push rsi
push rbx
mov byte [rsp - 0xa8], 0
mov byte [rsp - 0x10a8], 0
sub rsp, 0x10a8
mov rbp, rsp
mov qword [rbp + 0x48], rcx
mov dword [rbp + 0x30], edx
mov byte [rbp + 0x37], r8b
mov rbx, r9
lea rdi, [rbp + 0x1058]
lea rsi, [0x00b23b88]
mov ecx, 9
rep movsq qword [rdi], qword [rsi]
lea rdi, [rbp + 0x58]
lea rsi, [0x00b23bd0]
mov ecx, 0x200
rep movsq qword [rdi], qword [rsi]
mov rcx, rbx
call fcn.00411320
mov rsi, rax
mov rcx, rbx
call fcn.004108b0
mov rcx, rbp
mov rdx, rsi
mov r8d, eax
call fcn.00443fe0
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x38], rax
movzx rax, byte [rbp + 0x37]
test al, al
je 0x4442ac
lea rax, [rbp + 0x1058]
mov qword [rbp + 0x40], rax
mov esi, 1
jmp 0x4442ba
lea rax, [rbp + 0x109c]
mov qword [rbp + 0x40], rax
or esi, 0xffffffff
xor rbx, rbx
mov edi, dword [rbp + 0x30]
shr edi, 3
sub edi, 1
cmp ebx, edi
jg 0x444418
add edi, 1
cmp qword [rbp + 0x10f0], 0
je 0x44437c
mov dword [rbp + 0x54], 7
mov eax, dword [rbp + 0x54]
mov ecx, dword [rbp + 0x54]
movzx rcx, byte [rcx + rbp + 0x10f0]
add cl, 1
and cl, 0xff
mov byte [rax + rbp + 0x10f0], cl
mov eax, dword [rbp + 0x54]
cmp byte [rax + rbp + 0x10f0], 0
jne 0x444319
sub dword [rbp + 0x54], 1
cmp dword [rbp + 0x54], 0xffffffff
jne 0x4442e6
nop
mov rcx, rbp
mov edx, dword [rbp + 0x10f0]
call fcn.00443740
mov dword [rbp + 0x54], eax
mov rcx, rbp
mov edx, dword [rbp + 0x10f4]
call fcn.00443740
mov dword [rbp + 0x50], eax
mov rcx, rbp
lea rdx, [rbp + 0x54]
lea r8, [rbp + 0x50]
mov r9, qword [rbp + 0x40]
mov dword [rsp + 0x20], esi
call fcn.00443770
mov rcx, rbp
mov edx, dword [rbp + 0x54]
call fcn.00443740
mov rcx, qword [rbp + 0x38]
xor dword [rcx], eax
mov rcx, rbp
mov edx, dword [rbp + 0x50]
call fcn.00443740
mov rcx, qword [rbp + 0x38]
xor dword [rcx + 4], eax
jmp 0x444401
cmp byte [rbp + 0x10f8], 0
jne 0x4443e5
mov rcx, rbp
mov rax, qword [rbp + 0x38]
mov edx, dword [rax]
call fcn.00443740
mov dword [rbp + 0x54], eax
mov rcx, rbp
mov rax, qword [rbp + 0x38]
mov edx, dword [rax + 4]
call fcn.00443740
mov dword [rbp + 0x50], eax
mov rcx, rbp
lea rdx, [rbp + 0x54]
lea r8, [rbp + 0x50]
mov r9, qword [rbp + 0x40]
mov dword [rsp + 0x20], esi
call fcn.00443770
mov rcx, rbp
mov edx, dword [rbp + 0x54]
call fcn.00443740
mov rcx, qword [rbp + 0x38]
mov dword [rcx], eax
mov rcx, rbp
mov edx, dword [rbp + 0x50]
call fcn.00443740
mov rcx, qword [rbp + 0x38]
mov dword [rcx + 4], eax
jmp 0x444401
mov rcx, rbp
mov rax, qword [rbp + 0x38]
lea rdx, [rax + 4]
mov r8, qword [rbp + 0x38]
mov r9, qword [rbp + 0x40]
mov dword [rsp + 0x20], esi
call fcn.00443770
mov rax, qword [rbp + 0x38]
add rax, 8
mov qword [rbp + 0x38], rax
add ebx, 1
cmp ebx, edi
jne 0x4442d1
nop
lea rsp, [rbp + 0x10a8]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x4445c0
Capabilities:
Encode data using base64

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
test edi, edi
jle 0x444790
mov rcx, rbx
mov eax, edi
add eax, 2
mov r8d, 3
cdq
idiv r8d
mov rdx, rax
add edx, edx
add edx, edx
xor r8, r8
call fcn.00411590
mov rcx, qword [rbx]
mov r8d, 1
mov r9d, 3
mov eax, edi
cdq
idiv r9d
mov r9, rax
mov eax, r8d
cmp eax, r9d
jg 0x4446c0
add r9d, 1
movzx rdx, byte [rsi]
shl edx, 0x10
movzx r8, byte [rsi + 1]
shl r8d, 8
add edx, r8d
movzx r8, byte [rsi + 2]
add edx, r8d
lea r8, [0x00b24bd0]
mov r10d, edx
shr r10d, 0x12
and r10d, 0x3f
mov r10d, r10d
movzx r8, byte [r8 + r10]
mov byte [rcx], r8b
lea r8, [0x00b24bd0]
mov r10d, edx
shr r10d, 0xc
and r10d, 0x3f
mov r10d, r10d
movzx r8, byte [r8 + r10]
mov byte [rcx + 1], r8b
lea r8, [0x00b24bd0]
mov r10d, edx
shr r10d, 6
and r10d, 0x3f
mov r10d, r10d
movzx r8, byte [r8 + r10]
mov byte [rcx + 2], r8b
lea r8, [0x00b24bd0]
and edx, 0x3f
mov edx, edx
movzx rdx, byte [r8 + rdx]
mov byte [rcx + 3], dl
add rcx, 4
add rsi, 3
add eax, 1
cmp eax, r9d
jne 0x444624
nop
mov r8d, 3
mov eax, edi
cdq
idiv r8d
mov rax, rdx
sub eax, 1
test eax, eax
je 0x4446e5
sub eax, 1
test eax, eax
jne 0x444798
jmp 0x444729
movzx rdx, byte [rsi]
shl edx, 0x10
lea rax, [0x00b24bd0]
mov r8d, edx
shr r8d, 0x12
and r8d, 0x3f
mov r8d, r8d
movzx rax, byte [rax + r8]
mov byte [rcx], al
lea rax, [0x00b24bd0]
shr edx, 0xc
and edx, 0x3f
mov edx, edx
movzx rax, byte [rax + rdx]
mov byte [rcx + 1], al
mov byte [rcx + 2], 0x3d
mov byte [rcx + 3], 0x3d
jmp 0x444798
movzx rdx, byte [rsi]
shl edx, 0x10
movzx rax, byte [rsi + 1]
shl eax, 8
add edx, eax
lea rax, [0x00b24bd0]
mov r8d, edx
shr r8d, 0x12
and r8d, 0x3f
mov r8d, r8d
movzx rax, byte [rax + r8]
mov byte [rcx], al
lea rax, [0x00b24bd0]
mov r8d, edx
shr r8d, 0xc
and r8d, 0x3f
mov r8d, r8d
movzx rax, byte [rax + r8]
mov byte [rcx + 1], al
lea rax, [0x00b24bd0]
shr edx, 6
and edx, 0x3f
mov edx, edx
movzx rax, byte [rax + rdx]
mov byte [rcx + 2], al
mov byte [rcx + 3], 0x3d
jmp 0x444798
mov rcx, rbx
call fcn.004100d0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x446ce0
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x90], r8
nop
mov byte [rbp + 0x67], 0
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x446d3c
mov rcx, qword [rbp + 0x88]
call fcn.00411e10
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x446d7a
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
je 0x446eaf
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x88]
xor r8, r8
call fcn.00411660
mov rcx, qword [rbp + 0x50]
call fcn.00411320
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x446eaf
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x446dca
mov rcx, qword [rbp + 0x88]
call fcn.00411e10
mov rcx, rax
mov edx, 0x80000000
mov r8d, 3
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov qword [rbp + 0x68], rax
jmp 0x446e1b
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x88]
xor r8, r8
call fcn.00411660
mov rcx, qword [rbp + 0x48]
call fcn.00411320
mov rcx, rax
mov edx, 0x80000000
mov r8d, 3
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileA
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0xffffffffffffffff
je 0x446eaf
nop
mov rcx, qword [rbp + 0x68]
xor rdx, rdx
call sub.kernel32.dll_GetFileSize
mov rcx, qword [rbp + 0x90]
mov edx, eax
xor r8, r8
call fcn.00411590
mov rax, qword [rbp + 0x90]
cmp qword [rax], 0
je 0x446e9b
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax]
call fcn.004108b0
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x90]
mov rdx, qword [rdx]
mov r8d, eax
lea r9, [rbp + 0x60]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x446e9b
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax]
call fcn.004108b0
cmp dword [rbp + 0x60], eax
je 0x446ea0
xor rax, rax
jmp 0x446ea2
mov al, 1
mov byte [rbp + 0x67], al
nop
mov rcx, qword [rbp + 0x68]
call sub.kernel32.dll_CloseHandle
nop
lea rcx, [rbp + 0x48]
mov edx, 2
call fcn.00410190
movzx rax, byte [rbp + 0x67]
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x45a4e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movzx rax, r9b
cmp word [rdx + rax*2], 0xffff
jne 0x45a52d
mov ecx, 0x7fffffff
xor rax, rax
movzx r10, r9b
movsxd r11, eax
lea r11, [r11 + r11*2]
movzx r11, byte [r8 + r11]
sub r10d, r11d
movsxd r11, r10d
shr r11, 0x20
xor r10d, r11d
sub r10d, r11d
cmp r10d, ecx
jge 0x45a524
movzx rcx, r9b
mov word [rdx + rcx*2], ax
mov ecx, r10d
add eax, 1
cmp eax, 0x10
jne 0x45a4f4
nop
movzx r9, r9b
movzx rax, byte [rdx + r9*2]
ret
Function at 0x460ca0
Capabilities:
Get graphical window text

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x38], 0
nop
mov rax, qword [rbp + 0x28]
cmp qword [rax + 0x28], 0
je 0x460da6
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x460d3b
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 0x28]
mov edx, 0xe
xor r8, r8
xor r9, r9
call sub.user32.dll_SendMessageW
mov rcx, qword [rbp + 0x28]
lea rcx, [rcx + 0x78]
lea rdx, [rax + 1]
call fcn.004120a0
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 0x78]
call fcn.004108a0
mov rcx, qword [rbp + 0x28]
mov rcx, qword [rcx + 0x28]
mov edx, 0xd
movsxd r8, eax
mov rax, qword [rbp + 0x28]
mov r9, qword [rax + 0x78]
call sub.user32.dll_SendMessageW
mov rcx, qword [rbp + 0x28]
lea rcx, [rcx + 0x78]
mov edx, eax
call fcn.004120a0
jmp 0x460da6
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 0x28]
mov edx, 0xe
xor r8, r8
xor r9, r9
call sub.user32.dll_SendMessageA
lea rcx, [rbp + 0x38]
lea rdx, [rax + 1]
xor r8, r8
call fcn.00411590
mov rcx, qword [rbp + 0x38]
call fcn.004108b0
dec dword [rax - 0x75]
sub byte [r8 - 0x75], r9b
sub r15b, al
ret 0xd
add byte [rax], al
movsxd r8, eax
mov r9, qword [rbp + 0x38]
call sub.user32.dll_SendMessageA
lea rcx, [rbp + 0x38]
mov edx, eax
xor r8, r8
call fcn.00411590
mov rax, qword [rbp + 0x28]
lea rcx, [rax + 0x78]
mov rdx, qword [rbp + 0x38]
call fcn.00411f60
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax + 0x78]
call fcn.004106d0
nop
lea rcx, [rbp + 0x38]
call fcn.004100d0
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x47bbd0
Capabilities:
Get disk information

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x468
mov rbp, rsp
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], r8
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
nop
mov ecx, 0x104
lea rdx, [rbp + 0x254]
call sub.kernel32.dll_GetLogicalDriveStringsW
mov esi, eax
test esi, esi
jle 0x47bcec
lea rbx, [rbp + 0x254]
mov word [rbx + 4], 0
mov rcx, rbx
lea rdx, [rbp + 0x48]
mov r8d, 0x104
call sub.kernel32.dll_QueryDosDeviceW
mov esi, eax
test esi, esi
jle 0x47bcd2
lea rcx, [rbp + 0x40]
lea rdx, [rbp + 0x48]
mov r8d, 0x106
call fcn.00411f10
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x28]
mov r8d, 1
call fcn.00412710
test eax, eax
jle 0x47bcd2
xor rsi, rsi
cmp qword [rbp + 0x40], 0
je 0x47bc82
mov rax, qword [rbp + 0x40]
mov esi, dword [rax - 4]
xor rdi, rdi
mov rax, qword [rbp + 0x28]
test rax, rax
je 0x47bc95
mov rax, qword [rbp + 0x28]
mov edi, dword [rax - 4]
lea rcx, [rbp + 0x38]
mov rdx, rbx
call fcn.00411eb0
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
mov r8d, esi
add r8d, 1
mov r9d, edi
sub r9d, esi
call fcn.00412480
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x38]
mov r8, qword [rbp + 0x30]
call fcn.00412270
jmp 0x47bceb
add rbx, 2
cmp word [rbx], 0
jne 0x47bcce
add rbx, 4
test rbx, rbx
je 0x47bceb
cmp word [rbx], 0
jne 0x47bc22
nop
nop
lea rcx, [rbp + 0x30]
mov edx, 3
call fcn.00410160
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x468]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x47be80
Capabilities:
Get file size
Read file via mapping

Disassembly:
push rbp
sub rsp, 0x2a0
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], rbp
mov qword [rbp + 0x2b0], rcx
mov qword [rbp + 0x2b8], rdx
mov qword [rbp + 0x2c0], r8
mov dword [rbp + 0x2c8], r9d
nop
mov byte [rbp + 0x28f], 0
mov rcx, qword [rbp + 0x2c0]
call fcn.00410080
mov dword [rbp + 0x288], 0
mov rcx, qword [rbp + 0x2b8]
lea rdx, [rbp + 0x288]
call sub.kernel32.dll_GetFileSize
mov dword [rbp + 0x284], eax
cmp dword [rbp + 0x284], 0
jne 0x47bf98
cmp dword [rbp + 0x288], 0
jne 0x47bf98
mov ecx, 6
xor rdx, rdx
call fcn.0048b020
test al, al
je 0x47bf98
mov rcx, qword [rbp + 0x2b8]
lea rdx, [rbp + 0x78]
mov r8d, 0x104
mov r9d, 2
call sub.kernel32.dll_GetFinalPathNameByHandleW
test eax, eax
jbe 0x47bf98
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x78]
mov r8d, 0x106
call fcn.00411f10
mov rcx, rbp
lea rdx, [rbp + 0x60]
mov r8, qword [rbp + 0x58]
call fcn.0047bbd0
mov rcx, qword [rbp + 0x2c0]
mov rdx, qword [rbp + 0x60]
call fcn.004106d0
mov byte [rbp + 0x28f], 1
jmp 0x47c103
cmp dword [rbp + 0x284], 0
jne 0x47bfae
cmp dword [rbp + 0x288], 0
je 0x47c09c
mov rcx, qword [rbp + 0x2b8]
xor rdx, rdx
mov r8d, 2
xor r9, r9
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x28], 0
call sub.kernel32.dll_CreateFileMappingW
mov qword [rbp + 0x290], rax
cmp qword [rbp + 0x290], 0x3ee
je 0x47c09c
nop
mov rcx, qword [rbp + 0x290]
mov edx, 4
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], 1
call sub.kernel32.dll_MapViewOfFile
mov qword [rbp + 0x298], rax
cmp qword [rbp + 0x298], 0
je 0x47c08f
nop
call sub.kernel32.dll_GetCurrentProcess
mov rcx, rax
mov rdx, qword [rbp + 0x298]
lea r8, [rbp + 0x78]
mov r9d, 0x104
call fcn.00468a90
test eax, eax
jbe 0x47c082
lea rcx, [rbp + 0x48]
lea rdx, [rbp + 0x78]
mov r8d, 0x106
call fcn.00411f10
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x48]
call fcn.0047bbd0
mov rcx, qword [rbp + 0x2c0]
mov rdx, qword [rbp + 0x50]
call fcn.004106d0
mov byte [rbp + 0x28f], 1
nop
mov rcx, qword [rbp + 0x298]
call sub.kernel32.dll_UnmapViewOfFile
nop
mov rcx, qword [rbp + 0x290]
call sub.kernel32.dll_CloseHandle
cmp byte [rbp + 0x28f], 0
jne 0x47c102
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x2b8]
call fcn.0047bd40
mov rcx, qword [rbp + 0x2c0]
mov rdx, qword [rbp + 0x40]
call fcn.004106d0
mov rax, qword [rbp + 0x2c0]
cmp qword [rax], 0
je 0x47c102
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov rax, qword [rbp + 0x2c0]
mov r8, qword [rax]
call fcn.0047bbd0
mov rcx, qword [rbp + 0x2c0]
mov rdx, qword [rbp + 0x38]
call fcn.004106d0
mov byte [rbp + 0x28f], 1
nop
lea rcx, [rbp + 0x38]
mov edx, 6
call fcn.00410160
movzx rax, byte [rbp + 0x28f]
lea rsp, [rbp + 0x2a0]
pop rbp
ret