joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180041d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
xor esi, esi
movsxd r15, edx
mov r12d, r8d
mov rbx, rcx
test rdi, rdi
jne 0x180041dbe
call fcn.180025fc0
mov qword [rbx + 0x10], rax
mov rdi, rax
test rax, rax
je 0x180041d9f
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.180026120
cmp qword [rbx + 0x1c0], rsi
jne 0x180041db5
mov rax, qword [rbx]
test byte [rax + 0x4c], 8
jne 0x180041db5
mov byte [rbx + 0x23], 1
test rdi, rdi
je 0x180041f52
movzx eax, byte [rbx + 0x1f]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], r14
test al, al
jne 0x180041ddf
inc dword [rbx + 0x54]
mov r14d, dword [rbx + 0x54]
inc dword [rbx + 0x54]
mov ebp, dword [rbx + 0x54]
jmp 0x180041e04
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r14d, dword [rbx + rax*4 + 0x24]
test al, al
jne 0x180041df8
inc dword [rbx + 0x54]
mov ebp, dword [rbx + 0x54]
jmp 0x180041e04
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov ebp, dword [rbx + rax*4 + 0x24]
mov r9d, r14d
mov dword [rsp + 0x20], 2
mov r8d, r15d
mov edx, 0x33
mov rcx, rdi
call fcn.180026120
mov eax, dword [rdi + 0x94]
bts eax, r15d
mov dword [rdi + 0x94], eax
cmp r15d, 1
je 0x180041e5e
mov rax, qword [rdi]
mov rdx, r15
shl rdx, 5
mov rcx, qword [rax + 0x20]
mov rax, qword [rdx + rcx + 8]
cmp byte [rax + 0x11], sil
je 0x180041e5e
mov eax, dword [rdi + 0x98]
bts eax, r15d
mov dword [rdi + 0x98], eax
mov r9d, ebp
mov dword [rsp + 0x20], esi
mov r8d, r12d
mov edx, 0x19
mov rcx, rdi
call fcn.180026120
xor r9d, r9d
mov dword [rsp + 0x20], r14d
mov r8d, ebp
mov rcx, rdi
lea edx, [r9 + 0x53]
call fcn.180026120
mov r12d, eax
mov rax, qword [rdi + 8]
test rax, rax
je 0x180041ea5
movsxd rcx, dword [rdi + 0x3c]
lea rdx, [rcx + rcx*2]
mov byte [rax + rdx*8 - 0x15], 0x90
mov r9d, 2
mov dword [rsp + 0x20], ebp
mov r8d, r15d
mov rcx, rdi
lea edx, [r9 + 0x32]
call fcn.180026120
mov edx, dword [rdi + 0x3c]
cmp edx, r12d
jbe 0x180041ed5
mov rax, qword [rdi + 8]
lea rcx, [r12 + r12*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
test r14d, r14d
je 0x180041f15
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x180041f15
mov ecx, esi
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], r14d
je 0x180041f11
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x180041ef6
mov dword [rbx + rdx*4 + 0x24], r14d
inc byte [rbx + 0x1f]
jmp 0x180041f15
mov byte [rax + 6], 1
mov r14, qword [rsp + 0x58]
test ebp, ebp
je 0x180041f4d
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x180041f4d
lea rax, [rbx + 0x88]
nop
cmp dword [rax + 0xc], ebp
je 0x180041f49
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x180041f30
mov dword [rbx + rcx*4 + 0x24], ebp
inc byte [rbx + 0x1f]
jmp 0x180041f4d
mov byte [rax + 6], 1
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r12
pop rdi
ret
Function at 0x180045ed0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14d, dword [rcx + 0x28]
xor edi, edi
xor ebx, ebx
mov rsi, r8
mov r15, rdx
mov rbp, rcx
test r14d, r14d
jle 0x180045fe4
mov qword [rsp + 0x58], r12
lea r12, [0x1801103d0]
nop word [rax + rax]
mov r11d, ebx
xor r11d, 1
cmp ebx, 2
cmovae r11d, ebx
test rsi, rsi
je 0x180045f8d
mov rax, qword [rbp + 0x20]
movzx r9d, byte [rsi]
mov ecx, r11d
shl rcx, 5
mov r8, qword [rcx + rax]
test r9b, r9b
je 0x180045f77
mov r10, rsi
movzx eax, r9b
sub r10, r8
nop word [rax + rax]
movzx edx, byte [r8]
movzx r9d, al
movzx ecx, al
movzx eax, byte [rdx + r12]
cmp byte [rcx + r12], al
jne 0x180045f77
movzx eax, byte [r10 + r8 + 1]
inc r8
movzx r9d, al
test al, al
jne 0x180045f50
movzx eax, byte [r8]
movzx ecx, byte [rax + r12]
movzx eax, r9b
movzx eax, byte [rax + r12]
cmp eax, ecx
jne 0x180045fc0
mov rax, qword [rbp + 0x20]
lea r8, [rsp + 0x50]
mov ecx, r11d
mov rdx, r15
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
add rcx, 8
call fcn.1800098c0
test rax, rax
je 0x180045fbe
mov rdi, qword [rax + 0x10]
test rdi, rdi
jne 0x180045fcb
jmp 0x180045fc0
xor edi, edi
inc ebx
cmp ebx, r14d
jl 0x180045f10
mov r12, qword [rsp + 0x58]
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x60]
mov rax, rdi
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800460d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push rdi
push r14
sub rsp, 0x28
mov ebp, dword [rcx + 0x28]
xor r11d, r11d
xor ebx, ebx
mov rdi, r8
mov r14, rdx
test ebp, ebp
jle 0x1800461c7
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r12
lea r12, [0x1801103d0]
mov qword [rsp + 0x20], r15
mov r15, qword [rcx + 0x20]
nop word [rax + rax]
mov eax, ebx
xor eax, 1
cmp ebx, 2
cmovae eax, ebx
shl rax, 5
mov rsi, qword [rax + r15 + 0x18]
test rdi, rdi
je 0x18004617d
movzx r9d, byte [rdi]
mov r8, qword [rax + r15]
test r9b, r9b
je 0x180046167
mov r10, rdi
movzx eax, r9b
sub r10, r8
movzx edx, byte [r8]
movzx r9d, al
movzx ecx, al
movzx eax, byte [rdx + r12]
cmp byte [rcx + r12], al
jne 0x180046167
movzx eax, byte [r10 + r8 + 1]
inc r8
movzx r9d, al
test al, al
jne 0x180046140
movzx eax, byte [r8]
movzx ecx, byte [rax + r12]
movzx eax, r9b
movzx eax, byte [rax + r12]
cmp eax, ecx
jne 0x1800461a1
lea rcx, [rsi + 0x20]
mov rdx, r14
lea r8, [rsp + 0x50]
call fcn.1800098c0
test rax, rax
je 0x18004619e
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x1800461ab
jmp 0x1800461a1
xor r11d, r11d
inc ebx
cmp ebx, ebp
jl 0x180046110
mov r12, qword [rsp + 0x60]
mov rax, r11
mov rsi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rdi
pop rbp
pop rbx
ret
mov rax, r11
add rsp, 0x28
pop r14
pop rdi
pop rbp
pop rbx
ret
Function at 0x1800580e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rdi
push r13
push r14
sub rsp, 0x38
mov r14, qword [rcx + 0x1b8]
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
mov r13, qword [rcx]
test r14, r14
je 0x1800582f0
mov qword [rsp + 0x60], rbp
xor ebp, ebp
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x30], r15
nop dword [rax + rax]
movsxd r9, dword [r14 + 0x10]
movzx eax, byte [rdi + 0x1f]
mov r15d, dword [r14 + 0x14]
shl r9, 5
add r9, qword [r13 + 0x20]
test al, al
jne 0x180058140
inc dword [rdi + 0x54]
mov esi, dword [rdi + 0x54]
jmp 0x18005814c
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov esi, dword [rdi + rax*4 + 0x24]
mov r9, qword [r9 + 0x18]
xor edx, edx
mov r8d, dword [r14 + 0x10]
mov rcx, rdi
mov dword [rsp + 0x20], 0x37
mov r9, qword [r9 + 0x68]
call fcn.1800579d0
xor r9d, r9d
mov dword [rsp + 0x20], ebp
lea r12d, [r15 + 1]
mov rcx, rbx
mov r8d, r12d
lea edx, [r9 + 0x4d]
call fcn.180026120
xor r8d, r8d
mov ebp, eax
mov r9d, r12d
mov dword [rsp + 0x20], 0
mov rcx, rbx
lea edx, [r8 + 0x4a]
call fcn.180026120
mov edx, dword [rbx + 0x3c]
cmp edx, ebp
jbe 0x1800581bd
mov rax, qword [rbx + 8]
lea rcx, [rbp*2]
add rcx, rbp
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
movsxd rbp, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
mov ecx, ebp
cmp dword [rax + 0x60], ebp
jg 0x1800581e5
mov rcx, rbx
call fcn.180026070
test eax, eax
jne 0x180058223
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rbp*2]
mov rax, qword [rbx + 8]
add rcx, rbp
mov word [rax + rcx*8], 0x31
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 8], 2
lea rdx, [rax + rcx*8]
lea eax, [r15 - 1]
mov dword [rdx + 0xc], esi
mov dword [rdx + 4], eax
mov qword [rdx + 0x10], 0
mov rax, qword [rbx + 0x30]
movsxd rbp, dword [rbx + 0x3c]
cmp dword [rax + 0x60], ebp
jg 0x18005823c
mov rcx, rbx
call fcn.180026070
test eax, eax
jne 0x18005826f
inc dword [rbx + 0x3c]
lea rcx, [rbp*2]
mov rax, qword [rbx + 8]
add rcx, rbp
xor ebp, ebp
mov word [rax + rcx*8], 0x4b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], rbp
jmp 0x180058271
xor ebp, ebp
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x180058287
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0x3d]
call fcn.180026120
test esi, esi
je 0x1800582d0
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x1800582d0
mov ecx, ebp
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], esi
je 0x1800582cc
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x1800582b3
mov dword [rdi + rdx*4 + 0x24], esi
inc byte [rdi + 0x1f]
jmp 0x1800582d0
mov byte [rax + 6], 1
mov r14, qword [r14]
test r14, r14
jne 0x180058120
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
add rsp, 0x38
pop r14
pop r13
pop rdi
pop rbx
ret
Function at 0x180065350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx eax, byte [rcx + 0x1f]
mov r12d, edx
mov r14, qword [rcx + 0x10]
mov rsi, rcx
movsxd r15, r9d
test al, al
jne 0x180065389
inc dword [rcx + 0x54]
mov ebp, dword [rcx + 0x54]
jmp 0x180065395
dec al
movzx eax, al
mov byte [rcx + 0x1f], al
mov ebp, dword [rcx + rax*4 + 0x24]
mov r13d, dword [rsp + 0x80]
mov r9d, r8d
mov r8d, r12d
mov dword [rsp + 0x20], r13d
mov edx, 0x45
mov rcx, r14
call fcn.180026120
mov r8, qword [r14 + 8]
xor edi, edi
mov rcx, qword [r14]
test r8, r8
je 0x180065400
cmp byte [rcx + 0x50], dil
jne 0x180065400
test eax, eax
jns 0x1800653d3
mov eax, dword [r14 + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.1800264a0
mov qword [rbx + 0x10], rdi
mov dword [rbx + 0x10], r15d
mov byte [rbx + 1], 0xf2
jmp 0x18006540d
mov r8, r15
mov edx, 0xfffffff2
call fcn.1800264a0
mov r9d, r15d
mov dword [rsp + 0x20], ebp
mov r8d, r13d
mov edx, 0x31
mov rcx, r14
call fcn.180026120
mov r9d, ebp
mov dword [rsp + 0x20], edi
mov r8d, r12d
mov edx, 0x6e
mov rcx, r14
call fcn.180026120
test ebp, ebp
je 0x18006546d
movzx ecx, byte [rsi + 0x1f]
cmp cl, 8
jae 0x18006546d
lea rax, [rsi + 0x88]
nop
cmp dword [rax + 0xc], ebp
je 0x180065469
inc edi
add rax, 0x14
cmp edi, 0xa
jl 0x180065450
mov dword [rsi + rcx*4 + 0x24], ebp
inc byte [rsi + 0x1f]
jmp 0x18006546d
mov byte [rax + 6], 1
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1800704d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, qword [rcx + 0x1c0]
mov r10, rcx
test rax, rax
cmovne r10, rax
mov rax, qword [r10 + 0x278]
test rax, rax
je 0x1800704fe
cmp qword [rax], rdx
jne 0x1800704f8
cmp dword [rax + 0x18], r9d
je 0x180070503
mov rax, qword [rax + 8]
jmp 0x1800704e8
jmp fcn.18006fe60
ret
Function at 0x18008a630
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x40
mov qword [rax + 0x10], rbp
mov rbx, rcx
xor ebp, ebp
mov qword [rax - 0x10], r12
mov qword [rax - 0x20], r14
mov r12d, ebp
mov qword [rcx + 0x10], rbp
mov r14, rdx
mov qword [rcx + 0x18], 0xf
mov byte [rcx], bpl
mov qword [rax - 0x28], r15
lea r15d, [rbp - 6]
cmp qword [rdx + 0x10], rbp
jbe 0x18008a7a1
mov qword [rax + 0x18], rsi
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov ecx, ebp
mov qword [rax + 0x20], rdi
mov qword [rax - 0x18], r13
mov qword [rsp + 0x50], rcx
nop word [rax + rax]
cmp qword [r14 + 0x18], 0x10
mov rax, r14
jb 0x18008a69d
mov rax, qword [r14]
movsx eax, byte [rcx + rax]
shl ebp, 8
add eax, ebp
add r15d, 8
movsxd rbp, eax
js 0x18008a72b
lea ecx, [r15 + 6]
movsxd rdi, r15d
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
imul eax, edx, 0xfffffffa
mov esi, edx
add r15d, eax
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
mov rcx, rdi
mov rax, rbp
sar rax, cl
mov rcx, qword [rbx + 0x10]
and eax, 0x3f
movzx r9d, byte [rax + r8]
cmp rcx, rdx
jae 0x18008a70d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x18008a702
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18008a71c
mov rcx, rbx
call fcn.1800bfda0
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
sub rdi, 6
sub rsi, 1
jne 0x18008a6d0
mov rcx, qword [rsp + 0x50]
inc r12d
inc rcx
movsxd rax, r12d
mov qword [rsp + 0x50], rcx
cmp rax, qword [r14 + 0x10]
jb 0x18008a690
mov r13, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
cmp r15d, 0xfffffffa
jle 0x18008a7a1
shl ebp, 8
lea ecx, [r15 + 8]
movsxd rdx, ebp
sar rdx, cl
mov rcx, qword [rbx + 0x10]
and edx, 0x3f
movzx r9d, byte [rdx + r8]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x18008a799
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x18008a78e
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18008a7a1
mov rcx, rbx
call fcn.1800bfda0
mov rcx, qword [rbx + 0x10]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x58]
test cl, 3
je 0x18008a7f9
nop
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x18008a7e5
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x18008a7dd
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x18008a7f0
mov r9b, 0x3d
mov rcx, rbx
call fcn.1800bfda0
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x18008a7c0
mov rax, rbx
add rsp, 0x40
pop rbx
ret
Function at 0x18008d940
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
xor r9d, r9d
lea rax, [rsp + 0x50]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xor edi, edi
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x50]
mov byte [rsp + 0x30], dil
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x18008d990
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1800bef90
mov r8d, 1
lea rdx, [0x180113be8]
lea rcx, [rsp + 0x30]
call fcn.1800be770
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18008da1d
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008da18
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008da31
call fcn.1800cb8d0
mov rax, rbx
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
call fcn.1800dab30
int3
Function at 0x18008ded0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push r15
sub rsp, 0x40
mov rcx, qword [0x180127808]
mov r15, rdx
inc rcx
mov byte [0x18012c940], 0
call fcn.1800cbc94
cmp qword [0x180127810], 0x10
lea r8, [0x1801277f8]
mov rdx, rax
cmovae r8, qword [0x1801277f8]
sub rdx, r8
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8]
mov byte [rdx + r8], cl
lea r8, [r8 + 1]
test cl, cl
jne 0x18008df20
xor ebx, ebx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov qword [rsp + 0x70], rdi
mov edx, 0x80000000
mov rcx, rax
mov dword [rsp + 0x20], 4
mov qword [rsp + 0x78], r14
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x18008e01c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test eax, eax
je 0x18008e01c
mov ecx, edi
call fcn.1800d3ef4
mov r14, rax
test rax, rax
je 0x18008dfa4
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.1800ced40
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rbx
mov r8d, edi
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18008e01c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.1800d3ef4
mov rbp, rax
test rax, rax
je 0x18008dfe7
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1800ced40
test edi, edi
je 0x18008e01c
lea rcx, [r14 + 2]
nop
cmp byte [rcx - 2], 0x6b
jne 0x18008e013
cmp byte [rcx - 1], 0x65
jne 0x18008e013
cmp byte [rcx], 0x79
jne 0x18008e013
cmp byte [rcx + 1], 0x22
jne 0x18008e013
cmp byte [rcx + 2], 0x3a
jne 0x18008e013
cmp byte [rcx + 3], 0x22
je 0x18008e036
inc ebx
inc rcx
cmp ebx, edi
jb 0x18008dff0
xor eax, eax
mov r14, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop r15
pop rbp
pop rbx
ret
movsxd rdx, ebx
add rdx, 6
movzx ecx, byte [rdx + r14]
cmp cl, 0x22
je 0x18008e070
sub rdx, rbp
mov rax, rbp
lea r8, [rdx + r14]
nop dword [rax]
nop word [rax + rax]
mov byte [rax], cl
lea rax, [rax + 1]
movzx ecx, byte [r8 + rax]
cmp cl, 0x22
jne 0x18008e060
mov rcx, r14
call fcn.1800d3ee0
mov rdx, rbp
lea rcx, [0x18012c940]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rcx, [0x18012c940]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, rbp
mov dword [r15], eax
call fcn.1800d3ee0
mov eax, 1
jmp 0x18008e01e
Function at 0x18008e0b0
Capabilities:
Decode data using base64 via dword translation table
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov ecx, edx
mov r15, r8
mov esi, edx
call fcn.1800d3ef4
mov r8d, esi
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.1800ced40
xor ebx, ebx
test sil, 3
jne 0x18008e176
xor r8d, r8d
test esi, esi
je 0x18008e176
lea r9, [0x18012c940]
lea r10, [0x1801127b0]
movsx rcx, byte [r9]
cmp cl, 0x3d
je 0x18008e176
lea eax, [rcx - 0x2b]
cmp al, 0x4f
ja 0x18008e174
movzx edx, byte [rcx + r10]
cmp dl, 0xff
je 0x18008e174
mov eax, r8d
and eax, 3
je 0x18008e161
sub eax, 1
je 0x18008e14f
sub eax, 1
je 0x18008e13d
cmp eax, 1
jne 0x18008e167
or byte [rbx + rdi], dl
inc ebx
jmp 0x18008e167
movzx eax, dl
shr al, 2
and al, 0xf
or byte [rbx + rdi], al
inc ebx
shl dl, 6
jmp 0x18008e164
movzx eax, dl
shr al, 4
and al, 3
or byte [rbx + rdi], al
inc ebx
shl dl, 4
jmp 0x18008e164
shl dl, 2
mov byte [rbx + rdi], dl
inc r8d
inc r9
cmp r8d, esi
jb 0x18008e105
jmp 0x18008e176
xor ebx, ebx
lea r14d, [rbx - 5]
mov ecx, r14d
mov ebp, r14d
call fcn.1800d3ef4
mov r8d, r14d
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.1800ced40
cmp ebx, 5
jbe 0x18008e1a9
lea rdx, [rdi + 5]
mov r8d, ebp
mov rcx, rsi
call fcn.1800cef60
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
xor edx, edx
mov dword [rsp + 0x40], r14d
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x18008e22d
mov r9d, dword [rsp + 0x50]
test r9d, r9d
je 0x18008e211
mov r8, qword [rsp + 0x58]
mov rcx, r15
sub r8, r15
mov edx, r9d
nop dword [rax]
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x18008e200
mov rcx, rdi
mov byte [r9 + r15], 0
call fcn.1800d3ee0
mov rcx, rsi
call fcn.1800d3ee0
mov eax, 1
jmp 0x18008e22f
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x180091e30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x60
mov rdx, qword [rcx + 0x10]
mov rbx, rcx
xor esi, esi
mov qword [rsp + 0x58], 0xf
add rdx, 0xc
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x40]
mov byte [rsp + 0x40], sil
call fcn.1800c17c0
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x180091e71
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1800be770
mov r8d, 0xc
lea rdx, str.logins.json
lea rcx, [rsp + 0x40]
call fcn.1800be770
lea rax, [rsp + 0x40]
cmp rbx, rax
je 0x180091eed
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180091eda
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180091ed5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18009207a
mov rcx, r8
call fcn.1800cb8d0
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
jmp 0x180091f2a
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x180091f2a
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180091f25
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009207a
call fcn.1800cb8d0
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x180091f37
mov rcx, qword [rbx]
lea rdx, [0x180113c10]
call fcn.1800d77e8
test rax, rax
je 0x18009201b
mov rcx, rax
mov qword [rsp + 0x78], rdi
call fcn.1800d7878
mov ecx, 0x186a0
call fcn.1800d3ef4
cmp qword [rbx + 0x18], 0x10
mov rdi, rax
mov rcx, rbx
jb 0x180091f73
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 4
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x180091fbc
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rsi
mov r8d, 0x186a0
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180091ff6
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180091ff1
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18009206e
mov rcx, r8
call fcn.1800cb8d0
mov rax, rdi
mov qword [rbx + 0x10], rsi
mov rdi, qword [rsp + 0x78]
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180092051
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18009204c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180092074
mov rcx, r8
call fcn.1800cb8d0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret
call fcn.1800dab30
int3
call fcn.1800dab30
int3
call fcn.1800dab30
int3
Function at 0x1800ab160
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x430
mov rdi, r8
mov rsi, rcx
mov r8d, 0x400
lea rcx, [rsp + 0x30]
xor edx, edx
mov rbx, r9
call fcn.1800ced40
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
mov dword [rsp + 0x448], 0x400
jb 0x1800ab1aa
mov rdx, qword [rdi]
lea rax, [rsp + 0x440]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1800ab209
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x1800ab1de
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x440]
lea rax, [rsp + 0x448]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x440]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x30]
mov qword [rsi + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
inc r8
cmp byte [rax + r8], 0
jne 0x1800ab236
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1800bef90
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1800ab283
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1800ab27e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800ab2f7
mov rcx, r8
call fcn.1800cb8d0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1800ab2cc
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1800ab2c7
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800ab2f7
mov rcx, r8
call fcn.1800cb8d0
lea r11, [rsp + 0x430]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov rax, rsi
mov rsi, qword [r11 + 0x28]
mov byte [rbx], 0
mov rbx, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1800dab30
int3