joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001ca80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c60], 0
lea rbx, [rcx + 0x5c68]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001cb27
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001cada
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001f390
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400043b0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c60]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c70]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401e3e78]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001cb2f
mov rcx, rbx
call fcn.1400043b0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001cee0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x1401e3e80]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001cf44
lea r10, [0x1401997e0]
cmp r8b, 0x23
jne 0x14001cf27
cmp byte [rdx], r8b
jne 0x14001cf27
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14001cf14
mov eax, dword [r14 + 0x5bd8]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001cfa5
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001cf6a
cmp edi, eax
jl 0x14001cf84
mov r8d, 0x709
lea rdx, str.C:UsersAlienwareDocumentsGitHubCRust_Featuresdependencies_renderingimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x5be0]
cmp dword [rax + rbp + 8], ebx
je 0x14001cfc2
mov eax, dword [r14 + 0x5bd8]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001cf61
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x14001cfcf
cmp edi, dword [r14 + 0x5bd8]
jl 0x14001cfe9
mov r8d, 0x709
lea rdx, str.C:UsersAlienwareDocumentsGitHubCRust_Featuresdependencies_renderingimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5be0]
lea rax, [rax + rcx*8]
jmp 0x14001cfa7
Function at 0x140039570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
movsxd rsi, edx
mov rdi, rcx
imul rbx, rsi, 0x70
add rbx, qword [rcx + 0x18]
cmp rbx, qword [rcx + 0x18]
jb 0x140039599
cmp rbx, qword [rcx + 0x20]
jb 0x1400395b3
mov r8d, 0x261
lea rdx, str.C:UsersAlienwareDocumentsGitHubCRust_Featuresdependencies_renderingimguiimgui_internal.h
lea rcx, str.p___Data__p___DataEnd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [rdi + 0x180]
mov dword [rdi + 0x74], esi
test dword [rbx], 0x10000
movss xmm1, dword [rbx + 0x34]
je 0x1400395d2
addss xmm1, dword [rdi + 0x8c]
lea rsi, [r9 + 0x100]
movss dword [rsi], xmm1
movss xmm0, dword [rdi + 0xc0]
addss xmm0, dword [rdi + 0x7c]
movss dword [r9 + 0x118], xmm1
subss xmm1, dword [r9 + 0x20]
movss dword [r9 + 0x104], xmm0
subss xmm1, dword [r9 + 0x144]
movss dword [r9 + 0x148], xmm1
mov eax, dword [rdi + 0x88]
mov dword [r9 + 0x138], eax
movsx eax, byte [rbx + 0x6a]
mov dword [r9 + 0x158], eax
movss dword [r9 + 0x21c], xmm0
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x218], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x220], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1bc], eax
movzx eax, byte [rbx + 0x68]
mov byte [r9 + 0xbb], al
cmp byte [rbx + 0x68], 0
je 0x140039679
mov rax, qword [0x1401e3e80]
xor ecx, ecx
mov dword [rax + 0x476c], ecx
mov dword [rax + 0x4774], ecx
test dword [rdi + 4], 0x100000
je 0x14003968d
mov r8d, 2
jmp 0x14003970d
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x298]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r9 + 0x238], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x298]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, word [rbx + 0x5c]
mov rdx, qword [r9 + 0x298]
mov rcx, qword [rdi + 0x198]
call fcn.14002b820
mov rdi, qword [0x1401e3e80]
cmp byte [rdi + 0x5c58], 0
je 0x140039752
cmp byte [rbx + 0x68], 0
jne 0x140039752
xor r8d, r8d
lea rdx, [0x1401a0a00]
mov rcx, rsi
call fcn.14001cb90
mov dword [rdi + 0x5c88], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14003b8f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1401e3e80]
mov ebx, ecx
mov rdi, qword [rax + 0x4b10]
cmp ecx, 0xffffffff
jne 0x14003b916
cmp dword [rdi + 0x74], ecx
cmovne ebx, dword [rdi + 0x74]
mov eax, dword [rdi + 0x6c]
cmp ebx, eax
jne 0x14003b924
mov ebx, 0xffffffff
jmp 0x14003b929
cmp ebx, 0xffffffff
jl 0x14003b92d
cmp ebx, eax
jl 0x14003b947
mov r8d, 0xbf9
lea rdx, str.C:UsersAlienwareDocumentsGitHubCRust_Featuresdependencies_renderingimguiimgui_tables.cpp
lea rcx, str.column_n____1__column_n___table__ColumnsCount
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test byte [rdi + 4], 7
je 0x14003b9b9
mov r10d, dword [rdi]
lea r8, [0x1401a12b9]
movzx eax, word [rdi + 0x78]
lea r11, [0x1401997e0]
not r10d
mov byte [rdi + 0x227], 1
mov ecx, r10d
mov word [rdi + 0x210], bx
mov word [rdi + 0x7a], ax
mov r9b, reloc.WLDAP32.dll_Ordinal_35
nop dword [rax]
cmp r9b, 0x23
jne 0x14003b993
cmp byte [r8], r9b
jne 0x14003b993
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14003b980
not ecx
xor edx, edx
call fcn.140016ac0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140063e10
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1401cd5c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, qword [0x1401f2410]
movzx esi, dx
cmp qword [rdi], 0xffffffffffffffff
je 0x140063eba
movzx ebx, r8w
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
je 0x140063eba
xor eax, eax
xor edx, edx
mov qword [rsp + 0x40], rax
mov ecx, ebx
mov word [rsp + 0x44], si
mov dword [rsp + 0x48], eax
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ecx, ecx
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x38], rcx
lea r8, [rsp + 0x58]
mov word [rsp + 0x42], ax
mov edx, 0x222660
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
lea r9d, [rcx + 0x10]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
setne al
jmp 0x140063ebc
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14015b1d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140065460
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rdi, rax
mov ebx, 1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x1400654ac
inc ebx
cmp ebx, 0xbe
jle 0x140065478
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
sub rax, rdi
cmp rax, 0x2faf080
jl 0x140065473
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [0x1401ebf28], ebx
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400985b0
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 0x1400985d8
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 0x1400985fe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140098600
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140098659
test ecx, ecx
jle 0x140098639
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 0x140098659
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140098659
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 0x140098680
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 0x1400986a2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400986b8
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 0x1400986d4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400986d6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140098712
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 0x1400987ae
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14009874d
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 0x14009878e
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 0x1400987ae
cmp rbx, rax
ja 0x140098760
test rbx, rbx
je 0x1400987ae
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 0x140098bb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1401cd5c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140098bdd
xor eax, eax
jmp 0x140098d49
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140098c17
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140098c17
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 0x140098d49
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140098d3c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140098c5a
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 0x140098c85
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 0x140098d41
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 0x140098cf4
sub eax, 1
je 0x140098cf4
cmp eax, 2
jne 0x140098d3c
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 0x140098d41
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140098d22
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 0x140098d3c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140098d41
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14015b1d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14009b520
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1401cd5c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14009b5f3
cmp byte [rcx + 0x71], 0
je 0x14009b5f3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14009b5ef
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 0x14009b5b4
sub eax, 1
je 0x14009b5b8
cmp eax, 2
jne 0x14009b5ef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14015b1d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14009b5e6
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 0x14009b5ef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14009b59c
xor al, al
jmp 0x14009b59c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14015b1d0
add rsp, 0x60
pop rbx
ret

Function at 0x14009f980
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1401cd5c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x28], rdx
mov rbx, rcx
mov qword [rsp + 0x20], r8
lea rdx, [rsp + 0x38]
mov r8d, 0x100
mov qword [rsp + 0x30], 0
xor eax, eax
nop
mov byte [rdx], al
lea rdx, [rdx + 1]
inc eax
cmp eax, r8d
jl 0x14009f9c0
xor r11d, r11d
lea r10, [rsp + 0x38]
xor r9d, r9d
nop dword [rax + rax]
movzx edx, byte [r10]
lea rcx, [rsp + 0x38]
movzx eax, dl
lea r10, [r10 + 1]
add al, byte [rsp + r9 + 0x28]
add al, r11b
movzx r11d, al
movzx eax, byte [rcx + r11]
mov byte [r10 - 1], al
lea rax, [r9 + 1]
xor r9d, r9d
mov byte [rcx + r11], dl
cmp rax, 8
cmovl r9, rax
sub r8, 1
jne 0x14009f9e0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140063720
mov rax, qword [rsp + 0x20]
xor rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14015b1d0
add rsp, 0x150
pop rbx
ret
Function at 0x1400ecdf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x28]
xor esi, esi
sub rax, 0x34
mov qword [rcx + 0x88], rsi
mov qword [rcx + 0x30], rax
mov r14d, edx
mov rax, qword [rcx + 0x38]
mov rbx, rcx
mov word [rcx + 0x7a], si
mov r10d, esi
mov dword [rcx + 0x44], esi
mov ebp, esi
mov qword [rcx + 0x80], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x78], si
cmp si, word [rcx + 0xc8]
jge 0x1400ecf48
mov edi, esi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0xe0]
mov r9d, r14d
mov dword [rbx + 0x98], esi
movzx edx, r10w
mov qword [rbx + 0x90], rsi
mov rcx, rbx
movzx r8d, word [rax + rdi]
call fcn.1400ed240
test al, al
jne 0x1400ecf7a
mov rax, qword [rbx + 0xe0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x6c]
movzx r10d, word [rax + rdi]
inc r10d
lea eax, [r8 - 1]
test edx, eax
jne 0x1400ecedd
cmp edx, dword [rbx + 0x70]
jl 0x1400ecedd
cmp edx, dword [rbx + 0x74]
jg 0x1400ecedd
mov r9, qword [rbx + 0x90]
test r9, r9
je 0x1400ecedd
mov rax, qword [rbx + 0x80]
movzx ecx, byte [rax + 0x18]
xor cl, byte [r9 + 0x18]
test cl, 8
jne 0x1400ecedd
add qword [rbx + 0x38], 0xfffffffffffffffc
mov r9, qword [rbx + 0x80]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x38], rax
je 0x1400ecf03
test byte [r9 + 0x18], 8
je 0x1400ecf03
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x1400ecf14
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.1400edc90
test al, al
jne 0x1400ecf7a
mov rax, qword [rbx + 0x90]
test rax, rax
je 0x1400ecf33
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xc8]
inc ebp
add rdi, 2
cmp ebp, eax
jl 0x1400ece60
mov rcx, rbx
call fcn.1400edd40
test al, al
jne 0x1400ecf7a
mov rcx, qword [rbx + 0x30]
cmp qword [rbx + 0x38], rcx
setae al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov al, 1
jmp 0x1400ecf5f
Function at 0x140117ec0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
cmp byte [rcx + 0xa97], 0
mov rbp, r9
mov r14, r8
movsxd rsi, edx
mov rdi, rcx
je 0x140117f89
cmp qword [rcx + 0x250], 0
je 0x140117f3e
mov qword [rsp + 0x40], rbx
call fcn.1401061f0
mov dl, 1
mov rcx, rdi
movzx ebx, al
call fcn.140106570
mov rcx, qword [rdi + 0x1c8]
mov r9, rbp
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rdi
mov edx, esi
call qword [rdi + 0x250]
movzx edx, bl
mov rcx, rdi
call fcn.140106570
mov rbx, qword [rsp + 0x40]
jmp 0x140117f89
mov ecx, esi
test edx, edx
je 0x140117f4e
sub ecx, 1
je 0x140117f4e
cmp ecx, 1
jne 0x140117f89
mov r9, qword [rdi + 0x1c0]
lea rax, [0x140186df0]
mov edx, 2
lea rcx, [rsi + rsi*2]
add rcx, rax
lea r8d, [rdx - 1]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov r9, qword [rdi + 0x1c0]
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140119c80
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
cdqe
add rsp, 0x28
ret
Function at 0x140119f70
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x140119f9a
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, str.LoadLibraryExA
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140187038]
mov rcx, rbx
mov r14, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strpbrk
test rax, rax
je 0x140119ffd
mov rcx, rbx
test r14, r14
je 0x140119fe7
xor edx, edx
lea r8d, [rdx + 8]
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
test r14, r14
je 0x14011a035
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14011a035
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r15d, eax
test eax, eax
je 0x14011a0f8
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x14011a060
lea ecx, [rax + 1]
add rcx, rdx
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14011a0ea
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x14011a0ea
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x14011a090
mov ecx, 0x5c
mov word [rax + rdi], cx
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x14011a0a4
mov rcx, rdi
sub rcx, rbx
add rcx, rsi
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x14011a0c0
mov rcx, rdi
test r14, r14
je 0x14011a0e1
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x14011a0e7
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [case.0x14011733f.0]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret