joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140169e40
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rsp
sub rsp, 0x98
movdqu xmm2, xmmword [rcx]
lea r9, [rdx + r8]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm4, xmmword [rcx + 0x20]
movdqu xmm5, xmmword [rcx + 0x30]
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movdqa xmm7, xmmword [0x14053b6a0]
movaps xmmword [rax - 0x38], xmm8
movdqa xmm8, xmmword [0x14053b6b0]
movaps xmmword [rax - 0x48], xmm9
movdqa xmm9, xmmword [0x14053b6c0]
aesdec xmm2, xmm7
aesenc xmm3, xmm7
movaps xmmword [rax - 0x58], xmm10
movdqa xmm10, xmmword [0x14053b6d0]
aesdec xmm2, xmm8
aesenc xmm3, xmm8
movaps xmmword [rax - 0x68], xmm11
movdqa xmm11, xmmword [0x14053b6e0]
aesdec xmm4, xmm11
aesenc xmm5, xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rsp + 0x10], xmm13
movaps xmmword [rsp], xmm14
lea rax, [r8 + 0x80]
movdqa xmm12, xmmword [0x14053b6f0]
movdqa xmm13, xmmword [0x14053b700]
movdqa xmm14, xmmword [0x14053b710]
aesdec xmm4, xmm12
aesenc xmm5, xmm12
aesdec xmm2, xmm9
aesenc xmm3, xmm9
aesdec xmm4, xmm13
aesdec xmm2, xmm10
movdqu xmmword [r8], xmm2
aesenc xmm3, xmm10
movdqu xmmword [r8 + 0x10], xmm3
aesenc xmm5, xmm13
aesdec xmm4, xmm14
movdqu xmmword [r8 + 0x20], xmm4
aesenc xmm5, xmm14
movdqu xmmword [r8 + 0x30], xmm5
aesdec xmm2, xmm7
aesenc xmm3, xmm7
aesdec xmm4, xmm11
aesenc xmm5, xmm11
aesdec xmm2, xmm8
aesenc xmm3, xmm8
aesdec xmm4, xmm12
aesenc xmm5, xmm12
aesdec xmm2, xmm9
aesenc xmm3, xmm9
aesdec xmm4, xmm13
aesdec xmm2, xmm10
movdqu xmmword [r8 + 0x40], xmm2
aesenc xmm5, xmm13
aesenc xmm3, xmm10
movdqu xmmword [r8 + 0x50], xmm3
aesdec xmm4, xmm14
movdqu xmmword [r8 + 0x60], xmm4
aesenc xmm5, xmm14
movdqu xmmword [r8 + 0x70], xmm5
movdqa xmm6, xmmword [0x140479830]
cmp rax, r9
jae 0x14016a07e
nop word [rax + rax]
aesdec xmm2, xmm7
aesenc xmm3, xmm7
aesdec xmm4, xmm11
aesenc xmm5, xmm11
aesdec xmm2, xmm8
aesenc xmm3, xmm8
aesdec xmm4, xmm12
aesenc xmm5, xmm12
aesdec xmm2, xmm9
aesdec xmm2, xmm10
movdqa xmm0, xmm6
movdqa xmm1, xmm6
pand xmm0, xmm2
movdqu xmmword [rax], xmm0
movdqa xmm0, xmm6
aesenc xmm3, xmm9
aesenc xmm3, xmm10
pand xmm0, xmm3
movdqu xmmword [rax + 0x10], xmm0
movdqa xmm0, xmm6
aesdec xmm4, xmm13
aesenc xmm5, xmm13
aesdec xmm4, xmm14
aesenc xmm5, xmm14
pand xmm1, xmm4
pand xmm0, xmm5
movdqu xmmword [rax + 0x20], xmm1
movdqu xmmword [rax + 0x30], xmm0
add rax, 0x40
cmp rax, r9
jb 0x140169fe0
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x98]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [rsp + 0x10]
movaps xmm14, xmmword [rsp]
mov rsp, r11
ret
Function at 0x14016a0c0
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x68
movdqa xmm2, xmmword [0x1404d6080]
mov r10, rcx
movdqa xmm3, xmmword [0x1404d6030]
mov rax, rcx
movdqa xmm4, xmmword [0x1404d60a0]
mov r11, r8
movdqa xmm5, xmmword [0x1404d5fb0]
lea r8, [rcx + 0x1c00]
movdqu xmm0, xmmword [r9]
lea rcx, [rdx - 0x1c00]
movdqu xmm1, xmmword [r9 + 0x10]
add rcx, rax
movaps xmmword [rsp + 0x50], xmm6
mov edx, 2
movdqu xmm6, xmmword [r9 + 0x20]
movaps xmmword [rsp + 0x40], xmm7
movdqu xmm7, xmmword [r9 + 0x30]
movaps xmmword [rsp + 0x30], xmm8
movdqa xmm8, xmmword [0x1404d6050]
movaps xmmword [rsp + 0x20], xmm9
movdqa xmm9, xmmword [0x1404d5f10]
movaps xmmword [rsp + 0x10], xmm10
movdqa xmm10, xmmword [0x1404d5f50]
movaps xmmword [rsp], xmm11
movdqa xmm11, xmmword [0x1404d5f70]
nop
cmp rax, rcx
jae 0x14016a213
nop dword [rax]
aesenc xmm2, xmmword [rax]
aesdec xmm3, xmmword [rax + 0x10]
aesenc xmm4, xmmword [rax + 0x20]
aesdec xmm5, xmmword [rax + 0x30]
aesenc xmm2, xmmword [rax + 0x40]
aesdec xmm3, xmmword [rax + 0x50]
aesenc xmm4, xmmword [rax + 0x60]
aesdec xmm5, xmmword [rax + 0x70]
aesdec xmm0, xmm8
movdqu xmmword [rax], xmm0
aesenc xmm1, xmm9
movdqu xmmword [rax + 0x10], xmm1
aesdec xmm6, xmm10
movdqu xmmword [rax + 0x20], xmm6
aesenc xmm7, xmm11
movdqu xmmword [rax + 0x30], xmm7
aesdec xmm0, xmm8
movdqu xmmword [rax + 0x40], xmm0
aesenc xmm1, xmm9
movdqu xmmword [rax + 0x50], xmm1
aesdec xmm6, xmm10
aesenc xmm7, xmm11
movdqu xmmword [rax + 0x60], xmm6
movdqu xmmword [rax + 0x70], xmm7
prefetcht0 byte [r8]
prefetcht0 byte [r8 + 0x40]
sub rax, 0xffffffffffffff80
lea r8, [r8 + 0x80]
cmp rax, rcx
jb 0x14016a170
add rcx, 0x1c00
mov r8, r10
sub rdx, 1
jne 0x14016a160
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x20]
movaps xmm10, xmmword [rsp + 0x10]
movaps xmm11, xmmword [rsp]
movdqu xmmword [r9], xmm0
movdqa xmm0, xmmword [0x1404d5ee0]
movdqu xmmword [r9 + 0x10], xmm1
movdqa xmm1, xmmword [0x1404d60b0]
movdqu xmmword [r9 + 0x20], xmm6
movaps xmm6, xmmword [rsp + 0x50]
movdqu xmmword [r9 + 0x30], xmm7
movaps xmm7, xmmword [rsp + 0x40]
aesenc xmm2, xmm0
aesdec xmm3, xmm0
aesenc xmm2, xmm1
movdqu xmmword [r11], xmm2
aesenc xmm4, xmm0
aesdec xmm3, xmm1
movdqu xmmword [r11 + 0x10], xmm3
aesdec xmm5, xmm0
aesenc xmm4, xmm1
aesdec xmm5, xmm1
movdqu xmmword [r11 + 0x20], xmm4
movdqu xmmword [r11 + 0x30], xmm5
add rsp, 0x68
ret
Function at 0x1401737f0
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140526598]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [rdx - 1]
mov rdi, rdx
mov rbx, rcx
cmp rax, 0x3f
ja 0x1401738ca
xor eax, eax
mov byte [rsp + 0x20], dil
xor edx, edx
mov qword [rsp + 0x32], rax
mov r8d, 0xf0
mov qword [rsp + 0x3a], rax
mov qword [rsp + 0x42], rax
mov qword [rsp + 0x4a], rax
mov word [rsp + 0x21], 0x100
mov byte [rsp + 0x23], 1
mov dword [rsp + 0x24], 0
mov word [rsp + 0x30], 0
call fcn.140362150
movaps xmm0, xmmword [0x140479840]
mov rax, qword [rsp + 0x20]
movups xmmword [rbx], xmm0
movaps xmm1, xmmword [0x140479850]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x140479860]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x140479870]
movups xmmword [rbx + 0x30], xmm1
xor qword [rbx], rax
mov rax, qword [rsp + 0x30]
xor qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x38]
xor qword [rbx + 0x18], rax
mov rax, qword [rsp + 0x40]
xor qword [rbx + 0x20], rax
mov rax, qword [rsp + 0x48]
xor qword [rbx + 0x28], rax
xor qword [rbx + 8], 0
movzx eax, dil
mov dword [rbx + 0xe4], eax
xor eax, eax
jmp 0x1401738e8
cmp byte [rcx + 0xe8], 0
je 0x1401738db
mov qword [rcx + 0x58], 0xffffffffffffffff
mov qword [rcx + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140343400
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret

Function at 0x140177e30
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx + 0xab0]
mov ecx, dword [0x14053b618]
movdqa xmm4, xmmword [0x1404d6050]
add rcx, rax
movdqa xmm5, xmmword [0x1404d5f10]
movdqu xmm0, xmmword [rdx]
movdqu xmm1, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm3, xmmword [rdx + 0x30]
movaps xmmword [rsp + 0x10], xmm6
movdqa xmm6, xmmword [0x1404d5f50]
movaps xmmword [rsp], xmm7
movdqa xmm7, xmmword [0x1404d5f70]
cmp rax, rcx
jae 0x140177ec0
nop word [rax + rax]
aesdec xmm0, xmm4
movdqu xmmword [rax], xmm0
aesenc xmm1, xmm5
movdqu xmmword [rax + 0x10], xmm1
aesdec xmm2, xmm6
movdqu xmmword [rax + 0x20], xmm2
aesenc xmm3, xmm7
movdqu xmmword [rax + 0x30], xmm3
add rax, 0x40
cmp rax, rcx
jb 0x140177e90
movaps xmm6, xmmword [rsp + 0x10]
movaps xmm7, xmmword [rsp]
movdqu xmmword [rdx], xmm0
movdqu xmmword [rdx + 0x10], xmm1
movdqu xmmword [rdx + 0x20], xmm2
movdqu xmmword [rdx + 0x30], xmm3
add rsp, 0x28
ret
Function at 0x140182b50
Capabilities:
Delete service
Stop service

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140526598]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x140182b78
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
jne 0x140182b96
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140343400
add rsp, 0x50
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor esi, esi
mov qword [rsp + 0x70], rdi
mov dil, 1
cmp byte [rbx], sil
jne 0x140182bf1
lea r8, [rsp + 0x20]
lea edx, [rsi + 1]
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, qword [rbx + 0x18]
test eax, eax
movzx edi, dil
cmove edi, esi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x140182bf1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.e_43_1me_1_37m_msr_____e_0m
lea rdx, str._s_e_0_31mfailed_to_remove_WinRing0_driver__error__ue_0m
lea ecx, [rsi + 3]
call fcn.140028150
xor dil, dil
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, dil
mov qword [rbx + 0x18], rsi
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140343400
add rsp, 0x50
pop rbx
ret
Function at 0x140185420
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov esi, dword [rcx + 8]
mov r14, rcx
mov eax, dword [rcx + 0xc]
lea ebx, [rsi + 4]
cmp ebx, eax
ja 0x140185466
nop dword [rax]
mov rax, qword [r14]
mov edx, esi
mov r9, qword [r14 + 0x10]
mov ecx, esi
shl rcx, 6
add rcx, qword [rax + 0x18]
call fcn.1401a8208
mov eax, dword [r14 + 0xc]
add esi, 4
add ebx, 4
cmp ebx, eax
jbe 0x140185440
cmp esi, eax
jae 0x14018564a
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r12
mov r12d, dword [0x1405265a0]
mov qword [rsp + 0x68], r15
nop dword [rax]
mov rdi, qword [r14 + 0x10]
mov r9d, 0x40
mov rax, qword [r14]
mov ecx, esi
mov ebx, esi
mov r15, qword [rdi]
mov edx, dword [rdi + 0x20]
add rdx, rcx
shl rbx, 6
add rbx, qword [rax + 0x18]
movzx ecx, byte [rdi + 0x24]
mov r8, rbx
mov eax, dword [rdi + 0x1c]
imul rdx, rax
mov dword [rsp + 0x28], 0x40
shr rdx, cl
mov ecx, esi
imul edx, dword [rdi + 0x18]
mov qword [rsp + 0x20], rbx
sub ecx, edx
shl rcx, 6
movups xmm0, xmmword [rcx + r15]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rcx + r15 + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rcx + r15 + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rcx + r15 + 0x30]
mov ecx, 0x200
movups xmmword [rbx + 0x30], xmm1
xor dword [rbx], esi
call fcn.140016a20
xor r11d, r11d
xor ebp, ebp
mov rdx, rbp
mov eax, r11d
and edx, 0xf
xor eax, esi
imul ecx, eax, 0x1000193
mov eax, dword [rdi + 0x1c]
mov r8d, dword [rbx + rdx*4]
mov edx, dword [rdi + 0x20]
xor r8d, ecx
movzx ecx, byte [rdi + 0x24]
add rdx, r8
imul rdx, rax
shr rdx, cl
imul edx, dword [rdi + 0x18]
sub r8d, edx
mov r9d, r8d
shl r9, 6
add r9, r15
cmp r12d, 2
jl 0x1401855d3
lea rax, [r9 + 0x3c]
lea rcx, [rbx + 0x3c]
cmp rbx, rax
ja 0x140185568
cmp rcx, r9
jae 0x1401855d3
movdqu xmm1, xmmword [rbx]
movdqa xmm2, xmmword [0x1404d5ed0]
movdqu xmm0, xmmword [r9]
pmulld xmm1, xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [r9 + 0x10]
movdqu xmmword [rbx], xmm1
movdqu xmm1, xmmword [rbx + 0x10]
pmulld xmm1, xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [r9 + 0x20]
movdqu xmmword [rbx + 0x10], xmm1
movdqu xmm1, xmmword [rbx + 0x20]
pmulld xmm1, xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [r9 + 0x30]
movdqu xmmword [rbx + 0x20], xmm1
movdqu xmm1, xmmword [rbx + 0x30]
pmulld xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rbx + 0x30], xmm1
jmp 0x1401855f9
mov rax, rbx
sub r9, rbx
mov r10d, reloc.WS2_32.dll_recv
nop
imul ecx, dword [rax], 0x1000193
mov edx, dword [r9 + rax]
lea rax, [rax + 4]
xor edx, ecx
mov dword [rax - 4], edx
sub r10, 1
jne 0x1401855e0
inc r11d
inc rbp
cmp r11d, 0x200
jne 0x140185513
mov dword [rsp + 0x28], 0x40
mov r9d, 0x40
mov r8, rbx
mov qword [rsp + 0x20], rbx
mov ecx, r11d
call fcn.140016a20
inc esi
cmp esi, dword [r14 + 0xc]
jb 0x140185490
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x14018e600
Capabilities:
Log keystrokes
Manipulate console buffer

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140526598]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov ecx, dword [rcx + 0x58]
btr ecx, 0xc
mov eax, ecx
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], ecx
jne 0x14018e64b
test cl, 1
jne 0x14018e64b
test cl, 4
je 0x14018e64b
and eax, 0xfffffffb
mov dword [rbx + 0x58], eax
test al, 8
je 0x14018e64b
mov rax, qword [rbx + 8]
dec dword [rax + 8]
mov eax, dword [rbx + 0x58]
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0x88], rdi
bt eax, 0x10
jae 0x14018e7f6
bt eax, 0x19
jae 0x14018e6b3
mov rcx, qword [rbx + 0x110]
lea r9, [rsp + 0x40]
xor eax, eax
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], eax
mov eax, reloc.WS2_32.dll_recv
mov word [rsp + 0x60], ax
lea r8d, [rax - 0xf]
call qword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
test eax, eax
jne 0x14018e7f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14018e7f8
bt eax, 0x15
jb 0x14018e7f6
mov rcx, qword [0x14053c530]
mov edx, 0xffffffff
xor edi, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14018e81e
mov eax, 2
xchg dword [0x14053c338], eax
cmp eax, 1
je 0x14018e709
mov rcx, qword [0x14053c530]
lea edx, [rdi + 1]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
je 0x14018e81e
jmp 0x14018e7ef
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0xa8], rbp
lea rcx, str.conout_
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov qword [rsp + 0x80], r14
lea r8d, [r9 + 3]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14018e76c
lea rdx, [0x14053c510]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
je 0x14018e76c
lock or dword [0x14053c528], 1
mov esi, 1
mov dword [rsp + 0x50], 0xd0001
mov r14d, reloc.WS2_32.dll_listen
mov word [rsp + 0x48], si
mov ecx, r14d
mov dword [rsp + 0x4c], esi
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov rcx, qword [rbx + 0x110]
lea r9, [rsp + 0x44]
mov r8d, esi
mov word [rsp + 0x54], ax
lea rdx, [rsp + 0x48]
mov word [rsp + 0x56], r14w
mov dword [rsp + 0x58], edi
call qword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov r14, qword [rsp + 0x80]
test eax, eax
jne 0x14018e7d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rbp, 0xffffffffffffffff
je 0x14018e7df
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0xa8]
test edi, edi
je 0x14018e7ef
mov eax, edi
jmp 0x14018e7f8
or dword [rbx + 0x58], 0x200000
xor eax, eax
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140343400
add rsp, 0x90
pop rbx
ret
call fcn.14036c2ac
int3
Function at 0x14018e880
Capabilities:
Manipulate console buffer

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140526598]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14, qword [rsp + 0xb8]
mov esi, r9d
movzx ebp, r8b
mov edi, edx
mov rbx, rcx
cmp dword [r14], 0
je 0x14018e8be
mov eax, 0xffffffff
jmp 0x14018e9e7
mov qword [rsp + 0x58], r12
xor r12d, r12d
mov qword [rsp + 0x50], r15
movzx r15d, byte [rsp + 0xb0]
mov rcx, qword [rbx + 0x110]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x14018e8f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
movsx eax, word [rsp + 0x34]
mov edx, edi
movsx r8d, word [rsp + 0x38]
movsx r11d, word [rsp + 0x28]
sub r8d, eax
mov eax, dword [0x14052d3a0]
inc r8d
movsx r9d, word [rsp + 0x2e]
mov dword [0x14052d3b0], r11d
mov dword [0x14052d3a4], r8d
cmp eax, 0xffffffff
jne 0x14018e930
mov eax, r9d
jmp 0x14018e93d
mov ecx, r9d
sub ecx, r8d
inc ecx
cmp eax, ecx
cmovl eax, ecx
movsx r10d, word [rsp + 0x2a]
lea ecx, [r8 + rax]
cmp ecx, r10d
jle 0x14018e952
mov eax, r10d
sub eax, r8d
test eax, eax
lea ecx, [r9 + rsi]
cmovs eax, r12d
mov dword [0x14052d3a0], eax
test r15b, r15b
jne 0x14018e96a
lea ecx, [rax + rsi]
cmp ecx, eax
jge 0x14018e972
mov ecx, eax
jmp 0x14018e97f
lea r9d, [r8 + rax]
cmp ecx, r9d
jl 0x14018e97f
lea ecx, [r9 - 1]
test bpl, bpl
je 0x14018e98b
movsx edx, word [rsp + 0x2c]
add edx, edi
test edx, edx
jns 0x14018e994
mov edx, r12d
jmp 0x14018e99d
cmp edx, r11d
jl 0x14018e99d
lea edx, [r11 - 1]
mov word [rsp + 0x22], cx
mov rcx, qword [rbx + 0x110]
mov word [rsp + 0x20], dx
mov edx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
test eax, eax
jne 0x14018e9db
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x14018e8d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov eax, 0xffffffff
jmp 0x14018e9dd
xor eax, eax
mov r12, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140343400
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140190de0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x40
test dword [rcx + 0x58], 0x8000
mov rbx, rdx
jne 0x140190dfd
mov eax, 0xfffff031
add rsp, 0x40
pop rbx
ret
mov eax, dword [rcx + 0x10]
cmp eax, 7
je 0x140190e9b
cmp eax, 0xc
je 0x140190e4b
cmp eax, 0xe
je 0x140190e1e
mov eax, 0xfffff02a
add rsp, 0x40
pop rbx
ret
cmp dword [rcx + 0x100], 0
ja 0x140190e9b
lea r9, [rsp + 0x50]
call fcn.14018f2c0
test eax, eax
je 0x140190e43
mov ecx, dword [rsp + 0x50]
add rsp, 0x40
pop rbx
jmp fcn.14019e610
mov eax, dword [rbx]
add rsp, 0x40
pop rbx
ret
cmp dword [rcx + 0x100], 0
ja 0x140190e9b
mov rcx, qword [rcx + 0x110]
lea r9, [rsp + 0x50]
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
lea r8d, [rax + 1]
call qword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x140190e91
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
add rsp, 0x40
pop rbx
jmp fcn.14019e610
mov eax, dword [rsp + 0x50]
add rsp, 0x40
pop rbx
ret
mov eax, 0xfffff008
add rsp, 0x40
pop rbx
ret
Function at 0x140191e90
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rsi, rdx
mov rdi, rcx
mov eax, dword [rcx + 0x150]
mov dword [rsp + 0xb0], eax
mov eax, dword [rdx]
and al, 3
cmp al, 1
jne 0x140191ef2
mov dword [rcx + 0x14c], 5
mov ecx, 5
call fcn.14019e610
movsxd rdx, eax
mov qword [rdi + 0x88], rdx
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
cmp byte [rdx + 4], 0
je 0x140191f0c
mov dword [rcx + 0x14c], 1
mov ecx, 1
jmp 0x1401920ba
mov rcx, qword [rcx + 0x180]
cmp rcx, 0xffffffffffffffff
jne 0x140191f1d
mov rcx, qword [rdx + 0x18]
mov r15, qword [rdx + 0x10]
xor r13d, r13d
cmp rcx, r15
jl 0x140191f40
mov qword [rdi + 0x88], r13
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov r8, r13
mov eax, dword [rdi + 0x170]
test eax, eax
je 0x140191f6f
mov rdx, qword [rdi + 0x178]
mov r9d, eax
nop word [rax + rax]
mov eax, dword [rdx]
add r8, rax
lea rdx, [rdx + 0x10]
sub r9, 1
jne 0x140191f60
sub r15, rcx
cmp r8, r15
cmovl r15, r8
test r15, r15
je 0x140191f29
lea rbx, [r15 + rcx]
mov r8d, dword [0x14053c52c]
mov rax, rcx
cqo
idiv r8
mov rax, rdx
mov qword [rsp + 0x50], rdx
sub rcx, rdx
add rax, r15
mov r8, rcx
shr r8, 0x20
mov qword [rsp + 0x20], rax
mov r9d, ecx
mov edx, 4
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdx, rax
mov qword [rsp + 0xb8], rax
test rax, rax
jne 0x140191fe0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x14c], eax
mov ecx, eax
jmp 0x1401920ba
mov r14, r13
mov r12d, r13d
cmp r12d, dword [rdi + 0x170]
jae 0x14019206d
cmp r14, r15
jae 0x14019206d
mov dword [rsp + 0x30], r13d
mov ecx, r12d
shl rcx, 4
add rcx, qword [rdi + 0x178]
mov esi, dword [rcx]
mov rax, r15
sub rax, r14
cmp rsi, rax
cmovae rsi, rax
add rdx, r14
add rdx, qword [rsp + 0x50]
mov r8, rsi
mov rcx, qword [rcx + 8]
call fcn.140361cf0
nop
add r14, rsi
inc r12d
mov rdx, qword [rsp + 0xb8]
jmp 0x140191fe6
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
je 0x140191fcd
cmp qword [rdi + 0x180], 0xffffffffffffffff
jne 0x1401920a0
mov rdx, qword [rsp + 0xa8]
mov qword [rdx + 0x18], rbx
mov ecx, dword [rsp + 0xb0]
call fcn.140191020
mov qword [rdi + 0x88], r15
cmp r15, 0xffffffffffffffff
jne 0x1401920c9
call fcn.140369a60
mov ecx, dword [rax]
mov dword [rdi + 0x14c], ecx
call fcn.14019e610
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401920e0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x90
mov esi, dword [rcx + 0x150]
mov rdi, rcx
mov rbp, qword [rcx + 0x180]
cmp esi, 0xffffffff
jne 0x140192120
mov qword [rcx + 0x88], 0xfffffffffffff00d
mov dword [rcx + 0x14c], 6
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rsp + 0x50]
mov ecx, esi
call fcn.140190f10
test eax, eax
je 0x140192148
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140191e90
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0xc0], rbx
mov ecx, esi
mov qword [rsp + 0x80], r13
xor ebx, ebx
mov r13d, ebx
mov qword [rsp + 0x70], r15
call fcn.1403656a8
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x140192193
lea ecx, [rbx + 6]
mov dword [rdi + 0x14c], 6
call fcn.14019e610
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1401922a9
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x78], r14
cmp rbp, 0xffffffffffffffff
je 0x1401921e5
xor eax, eax
lea r8, [rsp + 0xb8]
mov rdx, rbx
mov qword [rsp + 0x30], rax
mov rcx, r15
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea r12, [rsp + 0x30]
lea r9d, [rax + 1]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1401921e8
mov r13d, 1
jmp 0x1401921e8
mov r12, rbx
mov esi, ebx
nop word [rax + rax]
cmp rbp, 0xffffffffffffffff
je 0x140192207
mov eax, esi
add rax, rbp
mov dword [rsp + 0x40], eax
shr rax, 0x20
mov dword [rsp + 0x44], eax
mov rax, qword [rdi + 0x178]
lea r9, [rsp + 0xb0]
mov ecx, ebx
add rcx, rcx
mov qword [rsp + 0x20], r12
mov r8d, dword [rax + rcx*8]
mov rdx, qword [rax + rcx*8 + 8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
add esi, dword [rsp + 0xb0]
inc ebx
mov r14d, eax
test eax, eax
je 0x14019224a
cmp ebx, dword [rdi + 0x170]
jb 0x1401921f0
mov r12, qword [rsp + 0x88]
test r13d, r13d
je 0x14019226e
mov rdx, qword [rsp + 0xb8]
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test r14d, r14d
mov r14, qword [rsp + 0x78]
jne 0x1401922a0
test esi, esi
jne 0x1401922a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
je 0x1401922a0
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.14019e610
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1401922a9
mov eax, esi
mov qword [rdi + 0x88], rax
mov r13, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xc0]
mov r15, qword [rsp + 0x70]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret