joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401870e0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1401870f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140187100
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140187110
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14018715d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140187154
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14018715f
add rax, 0x28
cmp rax, r9
jne 0x140187140
xor eax, eax
ret

Function at 0x140187160
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1401871f0
mov rdx, qword [0x1402cff10]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1401871de
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1401871de
cmp word [rax + 0x18], 0x20b
jne 0x1401871de
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1401871f0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1401871c9
add rbx, 0x28
cmp rbx, rdi
je 0x1401871f0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1401871c0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140187200
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1402cff10]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140187220
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140187228
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140187220
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14018727d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140187274
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140187220
add rax, 0x28
cmp rax, r9
jne 0x140187260
xor eax, eax
ret

Function at 0x140187280
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1402cff10]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14018729f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1401872a8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14018729f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1401872c0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1402cff10]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1401872e0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1401872e8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1401872e0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140187330
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140187327
test rcx, rcx
je 0x1401872e0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140187318
xor eax, eax
ret

Function at 0x140187340
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1402cff10]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14018735f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140187368
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140187380
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1402cff10]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401873a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401873a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401873a0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1401873a0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1401873f4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140187400
add rdx, 0x28
cmp r9, rdx
jne 0x1401873e0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140187410
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1402cff10]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140187432
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140187440
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140187432
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140187432
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140187432
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140187495
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1401874a8
add rdx, 0x28
cmp rdx, r10
jne 0x140187480
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1401874b7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1401874c7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14018749e
test ecx, ecx
jg 0x1401874b0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140002d94
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002dde
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002dde
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002dde
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002dde
cmp dword [rcx + 0x84], 0xe
jbe 0x140002dde
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002de0
xor al, al
add rsp, 0x28
ret
Function at 0x140003eb0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140003ed8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140003efe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140003f00
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140003f59
test ecx, ecx
jle 0x140003f39
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140003f59
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140003f59
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140003f80
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140003fa2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140003fb8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140003fd4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003fd6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004012
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400040ae
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000404d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000408e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400040ae
cmp rbx, rax
ja 0x140004060
test rbx, rbx
je 0x1400040ae
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x1400044d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400e6010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400044fd
xor eax, eax
jmp 0x140004669
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004537
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140004537
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140004669
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000465c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000457a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400045a5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140004661
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140004614
sub eax, 1
je 0x140004614
cmp eax, 2
jne 0x14000465c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140004661
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140004642
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000465c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140004661
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c69d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140004d30
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400e6010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140004e03
cmp byte [rcx + 0x71], 0
je 0x140004e03
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140004dff
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140004dc4
sub eax, 1
je 0x140004dc8
cmp eax, 2
jne 0x140004dff
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c69d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140004df6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140004dff
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140004dac
xor al, al
jmp 0x140004dac
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c69d0
add rsp, 0x60
pop rbx
ret
Function at 0x14000ee70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x850]
sub rsp, 0x950
mov rax, qword [0x1400e6010]
xor rax, rsp
mov qword [rbp + 0x840], rax
xor r14d, r14d
cmp byte [0x1400e8818], r14b
je 0x14000f061
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
lea r8d, [r14 + 0x3d]
lea rdx, str.SELECT_action_url__username_value__password_value_FROM_logins
lea rcx, [rsp + 0x50]
call fcn.140005690
nop
lea rdx, str.Local_State
lea rcx, [rbp - 0x60]
call fcn.140004820
mov rdi, rax
lea rdx, str.login_data
lea rcx, [rbp - 0x40]
call fcn.140004820
mov rsi, rax
lea rdx, str.Opera_SoftwareOpera_Stable
lea rcx, [rbp - 0x20]
call fcn.140004820
mov rbx, rax
mov qword [rsp + 0x40], rax
xor edx, edx
mov r8d, 0x820
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp + 0x20]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400ca8d0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp]
call fcn.140004820
nop
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7ffffffffffffffe
mov rdx, qword [rbp + 0x10]
sub rax, rdx
cmp rax, rcx
jb 0x14000f094
lea r9, [rbp]
cmp qword [rbp + 0x18], 8
cmovae r9, qword [rbp]
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000efa5
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x80]
call fcn.140005e60
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x14000f002
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000effc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000effc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c6a2c
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000f03d
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000f038
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000f08d
mov rcx, r8
call fcn.1400c6a2c
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea r9, [rsp + 0x50]
mov r8, rdi
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140002340
mov rcx, qword [rbp + 0x840]
xor rcx, rsp
call fcn.1400c69d0
lea r11, [rsp + 0x950]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400011c0
int3
Function at 0x14000f450
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x8a0
mov rax, qword [0x1400e6010]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x48], rdx
xor esi, esi
xor edx, edx
mov r8d, 0x820
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400ca8e0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140004820
nop
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7ffffffffffffffe
mov rdx, qword [rsp + 0x60]
sub rax, rdx
cmp rax, rcx
jb 0x14000f5d3
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000f4fc
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov rcx, rdi
call fcn.140005e60
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14000f55a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f554
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f554
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c6a2c
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000f595
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000f590
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000f5cc
mov rcx, r8
call fcn.1400c6a2c
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rax, rdi
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.1400c69d0
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400011c0
nop
int3
Function at 0x14000f5e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x8a0
mov rax, qword [0x1400e6010]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x48], rdx
xor esi, esi
xor edx, edx
mov r8d, 0x820
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400ca8d0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140004820
nop
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7ffffffffffffffe
mov rdx, qword [rsp + 0x60]
sub rax, rdx
cmp rax, rcx
jb 0x14000f763
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000f68c
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov rcx, rdi
call fcn.140005e60
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14000f6ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f6e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f6e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c6a2c
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000f725
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000f720
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000f75c
mov rcx, r8
call fcn.1400c6a2c
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rax, rdi
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.1400c69d0
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400011c0
nop
int3
Function at 0x140041da0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, qword [rcx]
cmp dword [rax + 0x290], 0
je 0x140041db6
cmp dword [rcx + 0x40], 0
jne fcn.140041ac0
xor eax, eax
ret
Function at 0x1400504c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r14
push r15
sub rsp, 0x30
mov r14, rcx
mov qword [rcx], 0
mov ecx, 0x28
mov rbp, r8
mov r15, rdx
call fcn.140016080
mov rbx, rax
test rax, rax
jne 0x140050502
lea eax, [rbx + 7]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
cmp dword [0x1400e60a4], 0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
je 0x140050567
mov rax, qword [0x1400e6238]
test rax, rax
je 0x14005052c
mov ecx, reloc.OLEAUT32.dll_SetErrorInfo
call rax
test eax, eax
jne 0x140050567
lea rsi, [rbx + 8]
mov qword [rbx + 0x10], r15
lea rdi, [rbx + 0x10]
mov qword [rsp + 0x28], rsi
mov r9, rbx
mov dword [rsp + 0x20], 0
lea r8, [0x140019290]
mov qword [rbx + 0x18], rbp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
jne 0x14005057f
jmp 0x14005056f
lea rdi, [rbx + 0x10]
lea rsi, [rbx + 8]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
cmp qword [rdi], 0
mov rdi, qword [rsp + 0x58]
jne 0x14005059c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rbp
mov dword [rsi], eax
call r15
mov qword [rbx + 0x20], rax
mov rsi, qword [rsp + 0x50]
xor eax, eax
mov qword [r14], rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
Function at 0x14005d520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
sub rsp, 0x30
movzx r9d, byte [rdx]
mov rbp, rcx
movzx eax, r9b
cmp r9b, 0x9a
jne 0x14005d53b
movzx eax, byte [rdx + 0x36]
mov qword [rsp + 0x28], r14
cmp al, 0x9b
jne 0x14005d54d
lea r14, [rdx + 0x20]
mov rax, r14
jmp 0x14005d55d
cmp al, 0x78
jne 0x14005d601
mov rax, qword [rdx + 0x20]
lea r14, [rdx + 0x20]
mov rax, qword [rax]
movsxd rcx, dword [rax]
cmp ecx, 1
je 0x14005d601
mov qword [rsp + 0x40], rbx
xor ebx, ebx
mov dword [r8], ebx
cmp r9b, 0x78
jne 0x14005d599
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x28]
add rsp, 0x30
pop rbp
jmp fcn.14005a8f0
mov eax, dword [rbp + 0x38]
mov qword [rsp + 0x48], rsi
mov rsi, rcx
mov qword [rsp + 0x20], r15
lea r15d, [rax + 1]
add eax, ecx
mov dword [rbp + 0x38], eax
test ecx, ecx
jle 0x14005d5e4
mov qword [rsp + 0x50], rdi
mov edi, r15d
nop
mov rdx, qword [r14]
mov r8d, edi
mov rcx, rbp
mov rdx, qword [rdx + rbx + 8]
call fcn.14005f630
inc edi
lea rbx, [rbx + 0x28]
sub rsi, 1
jne 0x14005d5c0
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov eax, r15d
mov r15, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x28]
add rsp, 0x30
pop rbp
ret
mov rcx, rbp
mov r14, qword [rsp + 0x28]
add rsp, 0x30
pop rbp
jmp fcn.14005f420
Function at 0x140068890
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
xor r10d, r10d
mov rdi, r8
mov ebx, r10d
mov rbp, rdx
mov rsi, rcx
cmp dword [rcx + 0x28], ebx
jle 0x14006895a
mov qword [rsp + 0x48], r14
lea r14, [0x1400cd490]
mov eax, ebx
xor eax, 1
cmp ebx, 2
cmovge eax, ebx
movsxd r9, eax
shl r9, 5
add r9, qword [rsi + 0x20]
mov r11, qword [r9 + 0x18]
test rdi, rdi
je 0x140068922
mov r9, qword [r9]
mov rax, rdi
movzx r8d, byte [rdi]
movzx ecx, byte [r9]
movzx edx, byte [rcx + r14]
movzx ecx, byte [r8 + r14]
cmp ecx, edx
jne 0x14006893a
sub r9, rdi
nop
test r8b, r8b
je 0x140068922
movzx ecx, byte [r9 + rax + 1]
inc rax
movzx edx, byte [rcx + r14]
movzx r8d, byte [rax]
movzx ecx, byte [r8 + r14]
cmp ecx, edx
je 0x140068900
jmp 0x14006893a
lea rcx, [r11 + 0x20]
xor r8d, r8d
mov rdx, rbp
call fcn.14001b050
mov r10, qword [rax + 0x10]
test r10, r10
jne 0x140068945
inc ebx
cmp ebx, dword [rsi + 0x28]
jl 0x1400688c0
mov r14, qword [rsp + 0x48]
mov rax, r10
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x50]
mov rax, r10
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret