joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800025d8
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xb8]
sub rsp, 0x1b0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18002f528]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, rcx
xor ebx, ebx
cmp byte [rcx + 0x10], bl
je 0x18000267e
call fcn.180002808
test al, al
jne 0x18000267e
mov r8d, dword [0x180031de8]
mov ecx, r8d
imul ecx, r8d
imul ecx, r8d
mov eax, 0x6bca1af3
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
sub ecx, edx
cmp ecx, 0xf
jne 0x1800027de
lea rdx, [rbp - 0x80]
mov eax, dword [rdx]
lea ecx, [rax + rax*8]
lea r8d, [r8 + rcx*4]
inc ebx
lea rdx, [rdx + 4]
movsxd rax, ebx
cmp rax, 0x120
jb 0x180002658
mov dword [0x180031de8], r8d
jmp 0x1800027de
mov dword [rsp + 0x30], ebx
lea rax, [rdi + 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov rdx, qword [rdi + 0x60]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180002733
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x1800026fe
cmp eax, 0x3e5
je 0x1800026f8
lea rax, str.Channel_read_failure
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.18000cc48
nop
lea rax, [0x180026e28]
mov qword [rsp + 0x60], rax
lea rdx, [0x18002d8a0]
lea rcx, [rsp + 0x60]
call fcn.18000d448
int3
mov byte [rdi + 0x10], 1
jmp 0x180002733
lea rcx, [rsp + 0x40]
call fcn.18000ccc0
nop
lea rax, [0x180026e28]
mov qword [rsp + 0x40], rax
lea rax, [0x180026e48]
mov qword [rsp + 0x40], rax
lea rdx, [0x18002d858]
lea rcx, [rsp + 0x40]
call fcn.18000d448
int3
cmp byte [rdi + 0x10], bl
jne 0x1800027de
lea rbx, [rdi + 0x48]
mov rsi, qword [rbx + 8]
sub rsi, qword [rbx]
mov ecx, dword [0x180031de8]
mov eax, ecx
imul eax, ecx
and eax, 0x8000000f
jge 0x180002760
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 3
jne 0x1800027ad
movsd xmm3, qword [0x1800274d0]
xorps xmm2, xmm2
movd xmm4, ecx
cvtdq2pd xmm4, xmm4
addsd xmm2, xmm3
movaps xmm0, xmm2
mulsd xmm0, xmm2
comisd xmm0, xmm4
jbe 0x180002795
subsd xmm2, xmm3
divsd xmm3, qword [0x1800274d8]
movaps xmm1, xmm2
mulsd xmm1, xmm2
movaps xmm0, xmm4
subsd xmm0, xmm1
comisd xmm0, xmmword [0x1800274c8]
ja 0x180002778
mov edx, dword [rsp + 0x30]
add rdx, rsi
mov rcx, rbx
call fcn.1800039ac
mov r8d, dword [rsp + 0x30]
mov rcx, qword [rbx]
add rcx, rsi
mov rdx, qword [rdi + 0x60]
call fcn.18000bbf0
mov rcx, qword [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov al, 1
jmp 0x1800027e0
xor al, al
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.18000bbc0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x180006830
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x2a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18002f528]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r14, rcx
mov edx, dword [0x180031de8]
mov eax, edx
imul eax, edx
and eax, 0x80000003
jge 0x180006888
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 2
jne 0x180006895
inc edx
mov dword [0x180031de8], edx
xor r15d, r15d
mov word [rbp - 0x80], r15w
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x7e]
call fcn.180010ae0
mov r8d, 0x104
lea rdx, [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1800068f1
lea rax, str.error_getting_exe_path
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.18000cc48
lea rdx, [0x18002d9c8]
lea rcx, [rsp + 0x58]
call fcn.18000d448
int3
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
jne 0x180006930
lea rax, str.error_get_version_info_size
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.18000cc48
lea rdx, [0x18002d9c8]
lea rcx, [rsp + 0x58]
call fcn.18000d448
int3
mov rcx, rsi
call fcn.18000bb8c
mov rdi, rax
mov qword [rsp + 0x78], rax
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.180010ae0
mov r9, rdi
mov r8d, esi
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x180006990
lea rax, str.error_get_version_info
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.18000cc48
lea rdx, [0x18002d9c8]
lea rcx, [rsp + 0x58]
call fcn.18000d448
int3
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x50], r15
call fcn.1800062e4
test al, al
jne 0x1800069cc
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
lea rdx, [0x180027068]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x180006a41
cmp dword [rsp + 0x40], r15d
je 0x180006a41
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0xfeef04bd
jne 0x180006a06
movzx eax, word [rax + 0xa]
mov dword [r14 + 0x58], eax
mov eax, dword [0x180031de8]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xd
sub ecx, edx
cmp ecx, 5
jne 0x180006a41
lea edx, [rcx + 0x77]
lea r8d, [rcx + 0x78]
lea rcx, str._d__d_n
call fcn.18000ce18
nop
mov rcx, rdi
call fcn.18000cec4
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.18000bbc0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x180007860
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800078a3
mov qword [0x180031df8], rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x180007748]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800078a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x55
add rsp, 0x38
ret

Function at 0x18000800c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x18002f528]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [str.chrome.dll]
mov rbx, rcx
lea r8, str.chrome.dll
mov qword [rbp - 0x20], rax
mov rax, qword [0x1800271b8]
lea rdx, [0x180009818]
mov qword [rbp - 0x18], rax
mov eax, dword [0x1800271c0]
lea rcx, [0x180026e68]
mov dword [rbp - 0x10], eax
movzx eax, word [0x1800271c4]
mov word [rbp - 0xc], ax
call fcn.1800063d4
mov qword [rbx + 0x40], rax
test rax, rax
je 0x180008196
lea r8, [rbp - 0x20]
lea rdx, [0x180009a78]
lea rcx, str.GetQueuedCompletionStatus
call fcn.1800063d4
mov qword [rbx + 0x38], rax
test rax, rax
je 0x1800081bf
lea r8, str.chrome.dll
lea rdx, [0x180009b70]
lea rcx, [0x180027218]
call fcn.1800063d4
mov qword [rbx + 0x48], rax
test rax, rax
je 0x1800081e8
lea r8, str.chrome.dll
lea rdx, [0x180009998]
lea rcx, [0x180027230]
call fcn.1800063d4
mov r9d, dword [0x180031de8]
mov r11, rax
mov qword [rbx + 0x28], rax
mov r8d, r9d
mov eax, 0x6bca1af3
imul r8d, r9d
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x13
sub r8d, edx
cmp r8d, 0xd
jne 0x18000814f
xor edx, edx
mov r8d, edx
mov r10d, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
sar eax, 1
dec ecx
not ecx
and ecx, r9d
mov r8d, ecx
xor r8d, eax
dec r10
jne 0x18000811e
inc edx
add r9d, r8d
cmp edx, 0x100
jl 0x180008115
mov dword [0x180031de8], r9d
test r11, r11
je 0x180008211
lea r8, str.chrome.dll
lea rdx, [0x18000989c]
lea rcx, [0x180027258]
call fcn.1800063d4
mov qword [rbx + 0x30], rax
test rax, rax
je 0x18000823a
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18000bbc0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret
lea rax, str.Failure_to_hook_0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x40], rax
call fcn.18000cc48
lea rdx, [0x18002d9c8]
lea rcx, [rbp - 0x38]
call fcn.18000d448
int3
lea rax, str.Failure_to_hook_1
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x40], rax
call fcn.18000cc48
lea rdx, [0x18002d9c8]
lea rcx, [rbp - 0x38]
call fcn.18000d448
int3
lea rax, str.Failure_to_hook_1
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x40], rax
call fcn.18000cc48
lea rdx, [0x18002d9c8]
lea rcx, [rbp - 0x38]
call fcn.18000d448
int3
lea rax, str.Failure_to_hook_2
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x40], rax
call fcn.18000cc48
lea rdx, [0x18002d9c8]
lea rcx, [rbp - 0x38]
call fcn.18000d448
int3
lea rax, str.Failure_to_hook_3
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x40], rax
call fcn.18000cc48
lea rdx, [0x18002d9c8]
lea rcx, [rbp - 0x38]
call fcn.18000d448
int3
Function at 0x1800016d0
Capabilities:
Compute adler32 checksum

Disassembly:
movzx r9d, cx
mov r11d, r8d
shr ecx, 0x10
mov r10, rdx
test rdx, rdx
jne 0x1800016e6
lea eax, [rdx + 1]
ret
test r8d, r8d
je 0x180001831
nop
mov edx, 0x15b0
cmp r11d, edx
cmovb edx, r11d
sub r11d, edx
cmp edx, 0x10
jl 0x1800017dd
mov r8d, edx
shr r8, 4
mov eax, r8d
neg eax
shl eax, 4
add edx, eax
nop dword [rax]
movzx eax, byte [r10]
add r9d, eax
movzx eax, byte [r10 + 1]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 2]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 3]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 4]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 5]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 6]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 7]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 8]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 9]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xa]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xb]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xc]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xd]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xe]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xf]
add ecx, r9d
add r10, 0x10
add r9d, eax
add ecx, r9d
sub r8, 1
jne 0x180001720
test edx, edx
je 0x180001802
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r10]
inc r10
add r9d, eax
add ecx, r9d
sub edx, 1
jne 0x1800017f0
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
test r11d, r11d
jne 0x1800016f0
shl ecx, 0x10
or ecx, r9d
mov eax, ecx
ret
Function at 0x180002470
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov esi, dword [rcx + 0x38]
mov r14, rcx
mov qword [rsp + 0x50], rbp
xor r13d, r13d
mov qword [rsp + 0x58], rdi
nop word [rax + rax]
mov ebx, dword [r14 + 0x50]
lea r8, [r14 + 0x48]
mov edx, dword [r14 + 0x8c]
sub ebx, edx
mov eax, dword [r14 + 0x94]
sub ebx, eax
jne 0x1800024cf
test edx, edx
jne 0x1800024de
lea r8, [r14 + 0x48]
test eax, eax
jne 0x1800024de
mov ebx, esi
jmp 0x180002570
cmp ebx, 0xffffffff
jne 0x1800024de
mov ebx, 0xfffffffe
jmp 0x180002570
mov ecx, dword [r14 + 0x38]
add ecx, 0xfffffefa
add ecx, esi
cmp edx, ecx
jb 0x180002570
mov rcx, qword [r8]
mov r8, rsi
lea rdx, [rcx + rsi]
call fcn.180008d80
mov r8d, dword [r14 + 0x6c]
mov rax, qword [r14 + 0x60]
sub dword [r14 + 0x90], esi
sub dword [r14 + 0x8c], esi
sub dword [r14 + 0x7c], esi
lea rdx, [rax + r8*2]
nop
movzx ecx, word [rdx - 2]
lea rdx, [rdx - 2]
movzx eax, cx
sub ax, si
cmp ecx, esi
cmovb ax, r13w
mov word [rdx], ax
add r8d, 0xffffffff
jne 0x180002520
mov rax, qword [r14 + 0x58]
mov r8d, esi
lea rdx, [rax + rsi*2]
nop dword [rax]
movzx ecx, word [rdx - 2]
lea rdx, [rdx - 2]
movzx eax, cx
sub ax, si
cmp ecx, esi
cmovb ax, r13w
mov word [rdx], ax
add r8d, 0xffffffff
jne 0x180002550
add ebx, esi
mov r15, qword [r14]
mov ecx, dword [r15 + 8]
test ecx, ecx
je 0x180002635
mov ebp, dword [r14 + 0x94]
mov eax, dword [r14 + 0x8c]
add rbp, rax
add rbp, qword [r14 + 0x48]
cmp ecx, ebx
cmovbe ebx, ecx
test ebx, ebx
jne 0x1800025a2
mov ebx, r13d
jmp 0x1800025dc
mov rax, qword [r15 + 0x28]
sub ecx, ebx
mov dword [r15 + 8], ecx
cmp dword [rax + 0x2c], r13d
jne 0x1800025c5
mov rdx, qword [r15]
mov r8d, ebx
mov ecx, dword [r15 + 0x4c]
call fcn.1800016d0
mov dword [r15 + 0x4c], eax
mov rdx, qword [r15]
mov rcx, rbp
mov r8d, ebx
mov edi, ebx
call fcn.180008d80
add qword [r15], rdi
add dword [r15 + 0xc], ebx
mov r9d, dword [r14 + 0x94]
add r9d, ebx
mov dword [r14 + 0x94], r9d
cmp r9d, 3
jb 0x18000261f
mov eax, dword [r14 + 0x8c]
mov rdx, qword [r14 + 0x48]
mov ecx, dword [r14 + 0x78]
movzx r8d, byte [rax + rdx]
mov dword [r14 + 0x68], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [r14 + 0x74]
mov dword [r14 + 0x68], r8d
cmp r9d, 0x106
jae 0x180002635
mov rax, qword [r14]
cmp dword [rax + 8], r13d
jne 0x1800024a0
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x180006db0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
mov eax, dword [rcx + 0x3c]
mov r11d, r9d
mov rdi, rdx
mov r14, r8
xor edx, edx
mov rbx, rcx
mov esi, dword [rax + rcx + 0x88]
mov eax, edx
add rsi, rcx
mov r15d, dword [rsi + 0x20]
mov r10d, dword [rsi + 0x1c]
add r15, rcx
mov r9d, dword [rsi + 0x24]
add r10, rcx
mov r8d, dword [rsi + 0x14]
add r9, rcx
test r8d, r8d
je 0x180006e26
cmp eax, 0xffff
ja 0x180006e26
mov ecx, dword [r10]
add rcx, rbx
cmp rcx, rdi
jne 0x180006e1b
dec r11d
test r11d, r11d
jle 0x180006e3f
inc eax
add r10, 4
cmp eax, r8d
jb 0x180006e01
xor eax, eax
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
pop r15
ret
mov r8d, dword [rsi + 0x18]
test r8d, r8d
je 0x180006e26
movzx ecx, word [r9]
cmp eax, ecx
je 0x180006e5d
inc edx
add r9, 2
cmp edx, r8d
jb 0x180006e48
jmp 0x180006e26
mov edx, dword [r15 + rdx*4]
test r14, r14
je 0x180006e69
mov dword [r14], eax
lea rax, [rbx + rdx]
jmp 0x180006e28

Function at 0x1800074a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
xor r10d, r10d
mov rbx, rdx
mov r11, rcx
test r8d, r8d
je 0x18000753f
xor r9b, 1
mov qword [rsp + 0x10], rsi
shl r9b, 5
mov esi, 0x100
add r9b, 0x37
mov qword [rsp + 0x18], rdi
movzx r9d, r9b
mov edi, r8d
nop word [rax + rax]
movzx edx, byte [r11]
mov ecx, gethostbyaddr
movzx eax, dl
and al, 0xf
cmp al, 0xa
movzx eax, al
cmovae cx, r9w
shr dl, 4
add cx, ax
movzx eax, dl
movzx r8d, cx
imul r8d, esi
cmp dl, 0xa
jae 0x180007513
add eax, 0x30
jmp 0x180007516
add eax, r9d
or ax, r8w
inc r11
mov byte [r10 + rbx], al
inc r10d
shr ax, 8
mov byte [r10 + rbx], al
inc r10d
sub rdi, 1
jne 0x1800074e0
mov rdi, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x10]
mov eax, r10d
pop rbx
ret
Function at 0x18000bbf0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x3c]
add ecx, eax
mov eax, ecx
mov eax, eax
add rax, 0x18
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 8]
movzx eax, word [rax + 6]
test eax, eax
jne 0x18000bc7d
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x54]
mov rcx, qword [rsp + 8]
add eax, dword [rcx + 0x1c]
mov rcx, qword [rsp + 8]
add eax, dword [rcx + 0x20]
mov rcx, qword [rsp + 8]
add eax, dword [rcx + 0x24]
jmp 0x18000bce2
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x18], rax
mov dword [rsp], 0
jmp 0x18000bca6
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x10]
add rax, 0x28
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 8]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jae 0x18000bcd2
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov ecx, dword [rcx + 0x14]
cmp dword [rax + 0x14], ecx
jbe 0x18000bcd0
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x18], rax
jmp 0x18000bc90
mov rax, qword [rsp + 0x18]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x18]
add eax, dword [rcx + 0x10]
add rsp, 0x38
ret
Function at 0x18000f8e0
Capabilities:
Encrypt data using blowfish

Disassembly:
push rbx
mov eax, 0x1020
call fcn.180038220
sub rsp, rax
mov rbx, rcx
lea r8d, [rax - 0x20]
lea rcx, [rsp + 0x20]
lea rdx, [0x180044180]
call fcn.180008d80
lea r8, [rsp + 0x20]
mov dword [rbx], 0x243f6a88
sub r8, rbx
mov dword [rbx + 4], 0x85a308d3
lea r9, [rsp + 0x24]
mov dword [rbx + 8], 0x13198a2e
sub r9, rbx
mov dword [rbx + 0xc], 0x3707344
mov dword [rbx + 0x10], 0xa4093822
lea rax, [rbx + 0x4c]
mov dword [rbx + 0x14], 0x299f31d0
mov r10d, 4
mov dword [rbx + 0x18], 0x82efa98
mov dword [rbx + 0x1c], 0xec4e6c89
mov dword [rbx + 0x20], 0x452821e6
mov dword [rbx + 0x24], 0x38d01377
mov dword [rbx + 0x28], 0xbe5466cf
mov dword [rbx + 0x2c], 0x34e90c6c
mov dword [rbx + 0x30], 0xc0ac29b7
mov dword [rbx + 0x34], 0xc97c50dd
mov dword [rbx + 0x38], 0x3f84d5b5
mov dword [rbx + 0x3c], 0xb5470917
mov dword [rbx + 0x40], 0x9216d5d9
mov dword [rbx + 0x44], 0x8979fb1b
nop
mov edx, 0x80
nop word [rax + rax]
mov ecx, dword [r8 + rax - 0x4c]
mov dword [rax - 4], ecx
mov ecx, dword [r9 + rax - 0x4c]
mov dword [rax], ecx
add rax, 8
sub rdx, 1
jne 0x18000f9b0
sub r10, 1
jne 0x18000f9a0
mov rax, rbx
add rsp, 0x1020
pop rbx
ret
Function at 0x180011300
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
test edx, edx
mov rbx, r9
lea rdx, [0x18007e458]
mov edi, r8d
jne 0x180011322
lea rdx, [rcx + 0xd9]
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rbx
call fcn.1800335c0
test edi, edi
je 0x18001141b
mov r9d, dword [rbx + 8]
mov edi, 0
mov r11, qword [rbx]
and r9d, 0x1fffffff
mov r10d, edi
sub r9d, 1
je 0x180011380
nop dword [rax]
nop dword [rax + rax]
movzx r8d, byte [r9 + r11]
mov ecx, r10d
inc r10d
movzx eax, byte [rcx + r11]
mov byte [r9 + r11], al
dec r9d
mov byte [rcx + r11], r8b
cmp r10d, r9d
jb 0x180011360
mov ecx, dword [rbx + 8]
mov rax, qword [rbx]
and ecx, 0x1fffffff
lea rdx, [rcx + rax]
cmp rax, rdx
cmova rcx, rdi
test rcx, rcx
je 0x180011403
cmp rcx, 0x40
jb 0x180011403
movdqa xmm2, xmmword [0x180045180]
and rcx, 0xffffffffffffffc0
nop
movdqu xmm0, xmmword [rax]
add rdi, 0x40
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax], xmm1
movdqu xmm0, xmmword [rax + 0x10]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax + 0x10], xmm1
movdqu xmm0, xmmword [rax + 0x20]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax + 0x20], xmm1
movdqu xmm0, xmmword [rax + 0x30]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax + 0x30], xmm1
add rax, 0x40
cmp rdi, rcx
jb 0x1800113b0
cmp rax, rdx
jae 0x18001141b
nop dword [rax + rax]
xor byte [rax], 0x7b
inc rax
cmp rax, rdx
jb 0x180011410
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800175d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov eax, dword [rcx + 0xc]
mov rsi, rdx
xor edx, edx
mov rdi, rcx
movsxd rcx, dword [rcx + 4]
mov rbx, r8
cmp eax, 1
jne 0x180017719
mov rax, r9
div rcx
mov rbp, rax
cmp rsi, rbx
jne 0x18001769b
test rax, rax
je 0x18001785f
nop dword [rax + rax]
movsxd r8, ecx
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.180008d80
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.180017880
mov eax, dword [rdi + 4]
mov rcx, rbx
test eax, eax
jle 0x180017671
lea r8, [rdi + 0x3d0]
mov edx, eax
sub r8, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180017660
movsxd r8, dword [rdi + 4]
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x3d0]
call fcn.180008d80
movsxd rcx, dword [rdi + 4]
add rsi, rcx
add rbx, rcx
sub rbp, 1
jne 0x180017620
jmp 0x18001785f
test rax, rax
je 0x18001785f
nop dword [rax]
nop dword [rax + rax]
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.180017880
mov eax, dword [rdi + 4]
mov rcx, rbx
test eax, eax
jle 0x1800176f1
lea r8, [rdi + 0x3d0]
mov edx, eax
sub r8, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1800176e0
movsxd r8, dword [rdi + 4]
lea rcx, [rdi + 0x3d0]
mov rdx, rsi
call fcn.180008d80
movsxd rax, dword [rdi + 4]
add rsi, rax
add rbx, rax
sub rbp, 1
jne 0x1800176b0
jmp 0x18001785f
cmp eax, 2
mov rax, r9
jne 0x180017836
div rcx
mov r14, rax
cmp rsi, rbx
jne 0x1800177c1
test rax, rax
je 0x18001785f
mov qword [rsp + 0x60], r15
lea r8, [rdi + 0x3d0]
mov rcx, rdi
lea rdx, [rdi + 0x3d0]
call fcn.180019d70
mov r15d, dword [rdi + 4]
lea rcx, [rsp + 0x20]
movsxd r8, r15d
mov rdx, rsi
call fcn.180008d80
mov rcx, rbx
test r15d, r15d
jle 0x180017792
lea r8, [rdi + 0x3d0]
mov edx, r15d
sub r8, rbx
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180017781
movsxd r8, dword [rdi + 4]
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x3d0]
call fcn.180008d80
movsxd rax, dword [rdi + 4]
add rsi, rax
add rbx, rax
sub r14, 1
jne 0x180017742
mov r15, qword [rsp + 0x60]
jmp 0x18001785f
test rax, rax
je 0x18001785f
nop word [rax + rax]
lea r8, [rdi + 0x3d0]
mov rcx, rdi
lea rdx, [rdi + 0x3d0]
call fcn.180019d70
mov ecx, dword [rdi + 4]
mov rax, rbx
test ecx, ecx
jle 0x180017811
lea r8, [rdi + 0x3d0]
mov edx, ecx
sub r8, rbx
nop dword [rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x180017800
movsxd r8, dword [rdi + 4]
lea rcx, [rdi + 0x3d0]
mov rdx, rsi
call fcn.180008d80
movsxd rax, dword [rdi + 4]
add rsi, rax
add rbx, rax
sub r14, 1
jne 0x1800177d0
jmp 0x18001785f
div rcx
mov rbp, rax
test rax, rax
je 0x18001785f
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.180017880
movsxd rcx, dword [rdi + 4]
add rsi, rcx
add rbx, rcx
sub rbp, 1
jne 0x180017841
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x180019c10
Capabilities:
Encode data using xor

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
movsxd r11, dword [rcx + 4]
mov rdi, rdx
xor edx, edx
mov rax, r9
div r11
mov rsi, r8
mov rbx, rcx
mov r8d, dword [rcx + 0xc]
mov r14, rax
cmp r8d, 1
jne 0x180019cb4
test rax, rax
je 0x180019d4e
lea rbp, [rcx + 0x3d0]
nop dword [rax]
mov rcx, rbp
test r11d, r11d
jle 0x180019c82
mov r8, rdi
mov edx, r11d
sub r8, rbp
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180019c71
mov r8, rbp
mov rdx, rbp
mov rcx, rbx
call fcn.180019d70
movsxd r8, dword [rbx + 4]
mov rdx, rbp
mov rcx, rsi
call fcn.180008d80
movsxd r11, dword [rbx + 4]
add rdi, r11
add rsi, r11
sub r14, 1
jne 0x180019c60
jmp 0x180019d4e
cmp r8d, 2
jne 0x180019d22
test rax, rax
je 0x180019d4e
lea rbp, [rcx + 0x3d0]
nop word [rax + rax]
mov r8, rbp
mov rdx, rbp
mov rcx, rbx
call fcn.180019d70
mov eax, dword [rbx + 4]
mov rcx, rbp
test eax, eax
jle 0x180019d01
mov r8, rdi
mov edx, eax
sub r8, rbp
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180019cf0
movsxd r8, dword [rbx + 4]
mov rdx, rbp
mov rcx, rsi
call fcn.180008d80
movsxd rax, dword [rbx + 4]
add rdi, rax
add rsi, rax
sub r14, 1
jne 0x180019cd0
jmp 0x180019d4e
test rax, rax
je 0x180019d4e
nop word [rax + rax]
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.180019d70
movsxd rax, dword [rbx + 4]
add rdi, rax
add rsi, rax
sub r14, 1
jne 0x180019d30
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