joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180163a90
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x180163c3f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180119d80
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180163c04
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180163b7d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180163bf3
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x180163bba
mov r10, qword [rdx]
cmp r10, rax
je 0x180163bb4
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180163bf3
cmp r9, rdx
je 0x180163bcf
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180163c19
cmp r9, rdx
jne 0x180163bc0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x180163b30
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180163bf3
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x180163fb0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x60
mov r11, r8
mov rdi, rcx
movzx r10d, dl
movabs rax, 0xcbf29ce484222325
xor r10, rax
movabs rcx, 0x100000001b3
imul r10, rcx
movzx eax, byte [rsp + 0x79]
xor r10, rax
imul r10, rcx
movzx eax, byte [rsp + 0x7a]
xor r10, rax
imul r10, rcx
movzx eax, byte [rsp + 0x7b]
xor r10, rax
imul r10, rcx
mov rcx, qword [rdi + 0x30]
and rcx, r10
shl rcx, 4
add rcx, qword [rdi + 0x18]
mov rax, qword [rcx + 8]
mov r8, qword [rdi + 8]
cmp rax, r8
je 0x180164045
mov rcx, qword [rcx]
cmp edx, dword [rax + 0x10]
je 0x180164047
cmp rax, rcx
je 0x180164045
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x180164035
jmp 0x180164047
xor eax, eax
test rax, rax
cmove rax, r8
cmp rax, r8
je 0x180164098
lea rcx, [rax + 0x18]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180164078
mov qword [rdx], r11
mov qword [rdx + 8], r9
add qword [rcx + 8], 0x10
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x80]
call fcn.1801626b0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov qword [rsp + 0x20], r11
mov qword [rsp + 0x28], r9
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.18013f2d0
mov qword [rsp + 0x40], rax
lea rbx, [rax + 0x10]
mov qword [rsp + 0x50], rbx
mov r8d, 0x10
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x48], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.180162bb0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180164132
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x18016412d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18016412d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18026980c
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x180164ca0
Capabilities:
Hash data using fnv

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, 0x40
mov rsi, rcx
cmp qword [rcx + 8], 0
je 0x180164d0d
mov rdi, qword [rcx + 0x60]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x180164d0d
movups xmm0, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [0x1803cd030]
add rcx, 0x410
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call fcn.180164480
mov rcx, qword [rax]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rsp + 0x28]
mov qword [rax], rcx
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x180164cd0
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x180164e98
xor r8d, r8d
mov ecx, r8d
cmp qword [rdx + 8], rcx
je 0x180164d53
nop word [rax + rax]
mov rax, qword [rdx + 0x18]
lea r9, [rax + rcx*8]
mov rax, qword [rdx + 0x10]
mov r10, qword [rax + rcx*8]
cmp qword [r9 + 8], r10
je 0x180164d4a
mov qword [r9 + 8], r10
inc rcx
cmp rcx, qword [rdx + 8]
jne 0x180164d30
mov rcx, qword [rdx]
mov rax, qword [rdx + 0x10]
mov qword [rcx], rax
mov rdx, qword [rsi + 8]
mov r9, rdx
shr r9, 0x38
mov r10, rdx
shr r10, 0x30
mov r11, rdx
shr r11, 0x28
mov rbx, rdx
shr rbx, 0x20
mov rdi, rdx
shr rdi, 0x18
mov rbp, rdx
shr rbp, 0x10
mov rax, rdx
shr rax, 8
test rdx, rdx
je 0x180164e98
movzx ecx, dl
movabs r14, 0xcbf29ce484222325
xor rcx, r14
movabs r14, 0x100000001b3
imul rcx, r14
movzx eax, al
xor rcx, rax
imul rcx, r14
movzx eax, bpl
xor rcx, rax
imul rcx, r14
movzx eax, dil
xor rcx, rax
imul rcx, r14
movzx eax, bl
xor rcx, rax
imul rcx, r14
movzx eax, r11b
xor rcx, rax
imul rcx, r14
movzx eax, r10b
xor rcx, rax
imul rcx, r14
xor r9, rcx
imul r9, r14
and r9, qword [0x18041c840]
shl r9, 4
add r9, qword [0x18041c828]
mov r11, qword [r9 + 8]
mov rax, r11
mov r10, qword [0x18041c818]
cmp r11, r10
je 0x180164e42
mov rcx, qword [r9]
cmp rdx, qword [r11 + 0x10]
je 0x180164e3f
nop
cmp rax, rcx
je 0x180164e42
mov rax, qword [rax + 8]
cmp rdx, qword [rax + 0x10]
jne 0x180164e30
mov r8, rax
test r8, r8
je 0x180164e98
mov rax, qword [r9]
cmp r11, r8
jne 0x180164e67
cmp rax, r8
jne 0x180164e5d
mov qword [r9], r10
mov qword [r9 + 8], r10
jmp 0x180164e72
mov r10, qword [r8 + 8]
mov qword [r9 + 8], r10
jmp 0x180164e72
cmp rax, r8
jne 0x180164e72
mov rax, qword [r8]
mov qword [r9], rax
mov rdx, qword [r8]
dec qword [0x18041c820]
mov rax, qword [r8 + 8]
mov qword [rax], rdx
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
mov edx, 0x20
mov rcx, r8
call fcn.18026980c
lea rcx, [rsi + 0x58]
call fcn.180163790
lea rcx, [rsi + 0x18]
call fcn.180163790
mov rbx, qword [rsi + 0x10]
test rbx, rbx
je 0x180164ecf
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x180164ec1
call fcn.18026980c
mov edx, 0x20
mov rcx, rbx
call fcn.18026980c
nop
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x18016a4b0
Capabilities:
Check if file exists
Create thread
Download url
Get file attributes
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
xor edi, edi
lea rcx, [0x1802b03b0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18016a4d2
test al, 0x10
jne 0x18016a4ef
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, str.C:Sumano
lea rdx, str.https:__cdn.discordapp.com_attachments_1140699693626699906_1179368206918496266_Sumano.zip_ex6579873cis6567123chmfa677a5a8f422fe71062ebc14131f9df7c0d8c67bd6f28e2745d4f1de6e159c6
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileA
mov ecx, 0x340
call fcn.1802697d0
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18016a50d
mov rcx, rax
call fcn.18025f8b0
jmp 0x18016a510
mov rax, rdi
mov rbx, qword [0x1803cd038]
mov qword [0x1803cd038], rax
test rbx, rbx
je 0x18016a538
mov rcx, rbx
call fcn.18025fc00
mov edx, 0x340
mov rcx, rbx
call fcn.18026980c
call fcn.18016b920
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x180166620]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1801743a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1803d9938]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x18041dec0]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x4a2d], 0
jne 0x180174408
cmp byte [rbx + 0x4a2e], 0
jne 0x180174408
movsx r9d, word [rbx + 0x5b2a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180179710
test sil, 1
je 0x180174539
jmp 0x1801744a1
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1802b2818]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x1802aeb08]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
or dword [rbx + 0x4778], 1
mov qword [rbx + 0x4790], rax
movss dword [rbx + 0x4788], xmm0
mov dword [rbx + 0x477c], 1
movss dword [rbx + 0x478c], xmm1
movss xmm0, dword [rbx + 0x38f4]
mov rax, qword [0x18041dec0]
mulss xmm0, dword [0x1802b27f0]
or dword [rax + 0x4778], 0x40
movss dword [rax + 0x47d8], xmm0
movsx r9d, word [rbx + 0x5b2a]
call fcn.180179710
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1801744f1
lea r11, [0x1802b0e70]
cmp r9b, 0x23
jne 0x1801744d4
cmp byte [r8], r9b
jne 0x1801744d4
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 0x1801744c1
not ecx
call fcn.180178300
test rax, rax
je 0x180174539
cmp byte [rax + 0x96], 0
je 0x180174539
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b2a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b2a]
call fcn.180179710
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.180171a50
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180269d00
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x180178250
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18041dec0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1801782b3
mov qword [rsp], rbx
lea rbx, [0x1802b0e70]
nop dword [rax]
cmp r9b, 0x23
jne 0x180178293
cmp byte [r8], r9b
jne 0x180178293
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180178280
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b88]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1801782e7
mov r10, qword [r10 + 0x5b90]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1801782ee
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1801782d4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x180178380
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x1801783d0
lea r11, [0x1802b0e70]
cmp r9b, 0x23
jne 0x1801783b3
cmp byte [r8], r9b
jne 0x1801783b3
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 0x1801783a0
not ecx
jmp fcn.180178300

Function at 0x180179460
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x18017947b
mov qword [r8], 0
call fcn.1801795c0
mov rbx, rax
test rax, rax
jne 0x180179491
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180179599
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180179599
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180179599
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180179599
cmp rdi, 0xffffffffffffffff
je 0x180179599
mov rax, qword [0x18041dec0]
test rax, rax
je 0x180179512
inc dword [rax + 0xf4]
mov rdx, qword [0x18041ded0]
lea rcx, [rdi + rbp]
call qword [0x1803ce690]
mov rsi, rax
test rax, rax
je 0x180179599
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rdi
je 0x180179571
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18041dec0]
test rax, rax
je 0x18017955f
dec dword [rax + 0xf4]
mov rdx, qword [0x18041ded0]
mov rcx, rsi
call qword [0x1803ce698]
jmp 0x1801795a2
test ebp, ebp
jle 0x180179583
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180179594
mov qword [r14], rdi
mov rax, rsi
jmp 0x1801795a4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
Function at 0x180179960
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1801799bd
lea rbx, [0x1802b0e70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1801799a4
cmp r10, 2
jb 0x1801799a4
cmp byte [r9], r8b
jne 0x1801799a4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180179980
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1801799ff
lea rbx, [0x1802b0e70]
cmp r8b, 0x23
jne 0x1801799e3
cmp byte [r9], r8b
jne 0x1801799e3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1801799d0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180179cc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push r13
push r14
push r15
mov qword [rsp + 0x28], rbp
xor r10d, r10d
mov qword [rsp + 0x30], rsi
mov rbx, rdx
mov qword [rsp + 0x38], rdi
mov rax, rcx
mov qword [rsp + 0x40], r12
mov r14d, r10d
lea r15, [0x180000000]
mov r13, rax
test rbx, rbx
je 0x180179d00
cmp rax, rbx
jae 0x180179eac
movzx r8d, byte [rax]
test r8b, r8b
je 0x180179eac
mov r11d, r10d
mov ecx, r8d
shr rcx, 3
mov rdx, rbx
movsx r9, byte [rcx + r15 + 0x2b1a28]
test r9d, r9d
sete r11b
add r11d, r9d
test rbx, rbx
jne 0x180179d38
movsxd rdx, r11d
add rdx, rax
cmp rax, rdx
lea rcx, [rax + 1]
mov edi, r8d
cmovae edi, r10d
cmp rcx, rdx
jae 0x180179d51
movzx r12d, byte [rcx]
jmp 0x180179d54
xor r12b, r12b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x180179d62
movzx ebp, byte [rcx]
jmp 0x180179d65
xor bpl, bpl
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x180179d73
movzx esi, byte [rcx]
jmp 0x180179d76
xor sil, sil
lea r9, [r9*4]
movzx ecx, dil
mov r15d, dword [r9 + r15 + 0x2b1a48]
and r15d, ecx
movzx r8d, r12b
shl r15d, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, bpl
or r15d, ecx
movzx r10d, sil
shl r15d, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or r15d, ecx
and r8d, 0xc0
mov ecx, r10d
shl r15d, 6
and ecx, 0x3f
shr r10d, 2
or r10d, edx
or r15d, ecx
shr r10d, 2
lea rcx, [0x180000000]
mov ecx, dword [r9 + rcx + 0x2b1a78]
or r10d, r8d
shr r15d, cl
lea rcx, [0x180000000]
shr r10d, 2
mov edx, r15d
cmp r15d, dword [r9 + rcx + 0x2b1a60]
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
xor r8d, r8d
or r10d, ecx
mov ecx, 0x80
cmp edx, 0xd800
cmove r8d, ecx
xor edx, edx
or r10d, r8d
mov ecx, 0x100
cmp r15d, 0xffff
cmova edx, ecx
lea rcx, [0x180000000]
mov ecx, dword [r9 + rcx + 0x2b1a90]
or r10d, edx
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x180179e96
xor r10d, r10d
test dil, dil
mov eax, r10d
mov ecx, r10d
setne cl
test sil, sil
setne al
add ecx, eax
mov eax, r10d
test bpl, bpl
setne al
add ecx, eax
mov eax, r10d
test r12b, r12b
setne al
add ecx, eax
cmp r11d, ecx
cmovl ecx, r11d
movsxd rax, ecx
add rax, r13
inc r14d
jmp 0x180179ce8
movsxd rcx, r11d
add rax, rcx
test r15d, r15d
je 0x180179eac
xor r10d, r10d
inc r14d
jmp 0x180179ce8
mov r12, qword [rsp + 0x40]
mov eax, r14d
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
pop r15
pop r14
pop r13
pop rbx
ret
Function at 0x180179f20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x18], rbp
mov rbp, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp + 8], rax
cmp rcx, rax
jae 0x18017a149
mov qword [r11 + 0x20], rsi
lea rsi, [0x180000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov qword [rsp], r8
test rbp, rbp
je 0x180179f82
cmp r8, rbp
jae 0x18017a126
movzx edx, byte [r8]
test dl, dl
je 0x18017a126
mov eax, edx
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0x2b1a28]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x180179fb8
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
mov r14d, edx
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x180179fd1
movzx r13d, byte [rax]
jmp 0x180179fd4
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x180179fe3
movzx r12d, byte [rax]
jmp 0x180179fe6
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x180179ff5
movzx r15d, byte [rax]
jmp 0x180179ff8
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov esi, dword [r10 + rsi + 0x2b1a48]
and esi, eax
movzx r9d, r13b
shl esi, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or esi, eax
movzx r11d, r15b
shl esi, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or esi, eax
mov eax, r11d
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl esi, 6
or esi, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x180000000]
mov ecx, dword [r10 + rax + 0x2b1a78]
shr r11d, 2
shr esi, cl
mov ecx, 0x100
cmp esi, dword [r10 + rax + 0x2b1a60]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, esi
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp esi, 0xffff
cmova eax, ecx
lea rcx, [0x180000000]
mov ecx, dword [r10 + rcx + 0x2b1a90]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x18017a103
test r14b, r14b
mov eax, r9d
mov ecx, r9d
mov esi, 0xfffd
setne cl
test r15b, r15b
setne al
add ecx, eax
mov eax, r9d
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
movsxd r8, ecx
add r8, qword [rsp]
jmp 0x18017a10d
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x18017a126
mov word [rdi], si
add rdi, 2
lea rsi, [0x180000000]
cmp rdi, qword [rsp + 8]
jb 0x180179f70
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov word [rdi], r9w
test rax, rax
je 0x18017a15f
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x18017b9e0
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 + 0x5c10], 0
lea rbx, [rcx + 0x5c18]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18017ba87
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18017ba3a
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.18018a7c0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180189f40
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c10]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c20]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18041dec8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18017ba8f
mov rcx, rbx
call fcn.180189f40
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180184810
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x18041dec0]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5b74], ecx
test rbx, rbx
je 0x18018487f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.180184890
lea rdx, [0x1802b2620]
mov rcx, rbx
mov rdi, rax
call fcn.1801795c0
mov rbx, rax
test rax, rax
je 0x18018487a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x180188a80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
mov rbx, qword [0x18041dec0]
cmp byte [rbx + 0x5b71], 0
jne 0x180188bda
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180188bd3
lea rdx, [0x1802b261c]
mov qword [rsp + 0x40], rdi
call fcn.1801795c0
mov rdi, rax
test rax, rax
je 0x180188bce
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x180188bbb
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180188bbb
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x180188bbb
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180188bbb
cmp rsi, 0xffffffffffffffff
je 0x180188bbb
mov rax, qword [0x18041dec0]
test rax, rax
je 0x180188b45
inc dword [rax + 0xf4]
mov rdx, qword [0x18041ded0]
mov rcx, rsi
call qword [0x1803ce690]
mov rbp, rax
test rax, rax
je 0x180188bbb
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x180188b81
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x180188b97
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x180188b97
mov rdx, rsi
mov rcx, rbp
call fcn.18017b4d0
mov rax, qword [0x18041dec0]
test rax, rax
je 0x180188ba9
dec dword [rax + 0xf4]
mov rdx, qword [0x18041ded0]
mov rcx, rbp
call qword [0x1803ce698]
jmp 0x180188bc4
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x5b71], 1
movss xmm0, dword [rbx + 0x5b74]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x180188c1d
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5b74], xmm0
jb 0x180188c1d
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180188c0c
call fcn.180184810
jmp 0x180188c13
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x5b74], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret