joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140054f80
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x370
mov rax, qword [0x1401b7030]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov qword [r11 + 0x18], rbx
mov r14, rcx
mov rbx, 0xffffffffffffffff
mov qword [r11 - 0x10], rsi
mov rax, rbx
mov rsi, rdx
inc rax
cmp byte [rdx + rax], 0
jne 0x140054fb6
mov qword [rsp + 0x398], rbp
cmp eax, 0xfa
jg 0x140055008
mov edx, 0x3a
mov rcx, rsi
call fcn.140120fe0
lea rcx, [rsp + 0x140]
mov rbp, rax
mov r8, rsi
test rax, rax
jne 0x1400550d3
mov r9d, 0xfa
mov dword [rsp + 0x20], 0x1bb
mov edx, r9d
call fcn.140125604
mov ecx, dword [rsp + 0x20]
lea eax, [rcx - 0x1bc]
lea r9d, [rcx - 0x1bb]
cmp eax, 0x62
lea r8, [rsp + 0x140]
cmova r9d, ecx
lea rdx, str._.15s__d.vnc
lea rcx, [rsp + 0x240]
call fcn.14002e0d0
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea r8, str.UltraVNC_
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1401252ac
lea r8, [rsp + 0x240]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1401252ac
lea rdx, [0x14019db4c]
lea rcx, [rsp + 0x30]
call fcn.1401319ac
mov rbp, qword [rsp + 0x398]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140055096
mov rsi, qword [rsp + 0x368]
test rbx, rbx
mov rbx, qword [rsp + 0x390]
je 0x140055147
test rax, rax
je 0x140055147
mov rcx, rax
call fcn.14012fd7c
lea rdx, [rsp + 0x30]
jmp 0x140055155
mov qword [rsp + 0x360], rdi
mov edx, 0xfa
mov rdi, rbp
sub rdi, rsi
mov r9, rdi
call fcn.140125604
mov byte [rsp + rdi + 0x140], 0
lea rcx, [rbp + 1]
cmp byte [rcx], 0x3a
lea r8, [rsp + 0x20]
mov rdi, qword [rsp + 0x360]
lea rdx, [0x14019be28]
jne 0x140055121
lea rcx, [rbp + 2]
call fcn.1400152e0
jmp 0x140055008
call fcn.1400152e0
cmp eax, 1
jne 0x140055008
mov ecx, dword [rsp + 0x20]
cmp ecx, 0x64
jge 0x14005500c
add ecx, 0x1bb
jmp 0x14005500c
mov rdx, qword [r14 + 0x5b0]
add rdx, 0x97e
mov rcx, r14
call fcn.1400544d0
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.14011c340
add rsp, 0x370
pop r14
ret
Function at 0x14005f100
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r10d, r8d
mov r9, rdx
test rdx, rdx
jne 0x14005f116
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rbx
lea rbx, [0x14018bcc0]
not ecx
cmp r10d, 8
jb 0x14005f208
mov r11, r10
shr r11, 3
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r10d, 0xfffffff8
mov edx, dword [rbx + rax*4]
xor edx, ecx
movzx ecx, byte [r9 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 2]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 3]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 4]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 5]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 6]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 7]
add r9, 8
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ecx, dword [rbx + rax*4]
xor ecx, edx
sub r11, 1
jne 0x14005f140
test r10d, r10d
je 0x14005f230
nop dword [rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [rbx + r8*4]
xor ecx, eax
add r10d, 0xffffffff
jne 0x14005f210
mov rbx, qword [rsp]
not ecx
mov eax, ecx
add rsp, 8
ret

Function at 0x14005fb60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov r10, r8
mov rdi, r9
imul r10d, edx
mov rsi, rdx
cmp byte [r9], 0
mov r11, rcx
je 0x14005fbba
mov rdx, rcx
mov qword [rsp + 0x20], 0
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x48]
mov r8d, r10d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14005fba6
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x48]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov edx, dword [r9 + 0x2c]
mov ecx, dword [r9 + 0x28]
sub ecx, edx
mov qword [rsp + 0x40], rbx
lea eax, [rdx + r10]
cmp eax, dword [r9 + 0x28]
cmovbe ecx, r10d
add rdx, qword [r9 + 0x20]
mov ebx, ecx
mov r8d, ecx
mov rcx, r11
call fcn.140121290
add dword [rdi + 0x2c], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14005fc00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x30
cmp byte [rcx], 0
mov esi, 1
mov edi, esi
mov r12, rdx
mov rbx, rcx
je 0x14005fc50
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x70]
mov r8d, esi
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14005fc4a
mov byte [rbx + 0x10], sil
mov ebp, dword [rsp + 0x70]
jmp 0x14005fc81
mov r14d, dword [rcx + 0x2c]
mov ecx, dword [rcx + 0x28]
lea eax, [r14 + 1]
cmp eax, ecx
jbe 0x14005fc64
mov edi, ecx
sub edi, r14d
mov rdx, r14
mov r8d, edi
add rdx, qword [rbx + 0x20]
lea rcx, [rsp + 0x60]
mov ebp, edi
call fcn.140121290
lea eax, [r14 + rdi]
mov dword [rbx + 0x2c], eax
movzx eax, byte [rbx]
mov qword [rsp + 0x68], r15
cmp ebp, esi
jne 0x14005fc94
movzx edi, byte [rsp + 0x60]
jmp 0x14005fca6
test al, al
je 0x14005fca2
cmp byte [rbx + 0x10], 0
jne 0x14005fd43
mov edi, dword [rsp + 0x60]
mov r15d, edi
test al, al
je 0x14005fcdb
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x70]
mov r8d, esi
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14005fcd5
mov byte [rbx + 0x10], sil
mov ebp, dword [rsp + 0x70]
jmp 0x14005fd0c
mov r14d, dword [rbx + 0x2c]
mov ecx, dword [rbx + 0x28]
lea eax, [r14 + 1]
cmp eax, ecx
jbe 0x14005fcef
mov esi, ecx
sub esi, r14d
mov rdx, r14
mov r8d, esi
add rdx, qword [rbx + 0x20]
lea rcx, [rsp + 0x60]
mov ebp, esi
call fcn.140121290
lea eax, [r14 + rsi]
mov dword [rbx + 0x2c], eax
cmp ebp, 1
jne 0x14005fd38
movzx edi, byte [rsp + 0x60]
shl edi, 8
add edi, r15d
mov dword [r12], edi
xor eax, eax
mov r15, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp byte [rbx], 0
je 0x14005fd16
cmp byte [rbx + 0x10], 0
je 0x14005fd16
mov dword [r12], 0
mov eax, 0xffffffff
jmp 0x14005fd22
Function at 0x140060870
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x140060a7b
cmp dword [rcx + 0x1c], 0
je 0x140060a7b
cmp qword [rcx + 0x80], 0
je 0x14006089f
call fcn.140060e10
lea r9, [rsp + 0x50]
mov rcx, rdi
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
call fcn.140060680
test eax, eax
je 0x1400608c6
mov eax, 0xffffff99
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, 0xb0
mov qword [rsp + 0x48], rbx
call fcn.1401313c0
mov rbx, rax
test rax, rax
jne 0x1400608ec
lea eax, [rbx - 0x68]
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, 0x4000
mov qword [rsp + 0x20], rbp
call fcn.1401313c0
mov ecx, dword [rsp + 0x40]
xor ebp, ebp
mov dword [rbx + 0x68], ecx
mov ecx, dword [rsp + 0x50]
mov dword [rbx + 0x6c], ecx
mov qword [rbx], rax
mov dword [rbx + 0x70], ebp
test rax, rax
jne 0x140060932
mov rcx, rbx
call fcn.140125238
mov rbx, qword [rsp + 0x48]
lea eax, [rbp - 0x68]
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov dword [rbx + 0x64], ebp
mov eax, dword [rdi + 0x40]
mov ecx, dword [rdi + 0x38]
mov dword [rbx + 0x78], eax
mov dword [rbx + 0x74], ebp
mov eax, dword [rdi + 0x38]
mov dword [rbx + 0x90], eax
mov rax, qword [rdi]
mov qword [rbx + 0x88], rax
mov eax, dword [rdi + 0x10]
mov dword [rbx + 0x94], eax
mov dword [rbx + 0x24], ebp
test ecx, ecx
je 0x140060984
lea rcx, [rbx + 8]
mov qword [rbx + 0x38], rbp
mov qword [rbx + 0x40], rbp
mov qword [rbx + 0x48], rbp
call fcn.14005f4c0
test eax, eax
jne 0x140060984
mov dword [rbx + 0x64], 1
mov eax, dword [rdi + 0x44]
mov dword [rbx + 0x7c], eax
mov eax, dword [rdi + 0x48]
mov dword [rbx + 0x80], eax
movzx ecx, byte [rdi + 0x34]
and cl, 1
mov byte [rbx + 0x98], cl
mov eax, dword [rdi + 0x34]
shr eax, 3
test al, 1
je 0x1400609b0
movzx eax, byte [rdi + 0x3d]
jmp 0x1400609b4
movzx eax, byte [rdi + 0x43]
mov byte [rbx + 0xac], al
neg cl
mov dword [rbx + 0x9c], 0x12345678
sbb eax, eax
mov dword [rbx + 0xa0], 0x23456789
and eax, 0xc
mov dword [rbx + 0xa4], 0x34567890
mov dword [rbx + 0xa8], eax
test rsi, rsi
je 0x140060a4f
lea r8, [0x14018bcc0]
movzx eax, byte [rsi]
test al, al
je 0x140060a4f
mov edx, dword [rbx + 0x9c]
xor rax, rdx
movzx ecx, al
shr edx, 8
mov eax, dword [r8 + rcx*4]
mov ecx, dword [rbx + 0xa4]
xor eax, edx
mov dword [rbx + 0x9c], eax
movzx eax, al
add eax, dword [rbx + 0xa0]
imul edx, eax, 0x8088405
movzx eax, cl
shr ecx, 8
inc edx
mov dword [rbx + 0xa0], edx
shr rdx, 0x18
xor rax, rdx
mov eax, dword [r8 + rax*4]
xor eax, ecx
mov dword [rbx + 0xa4], eax
add rsi, 1
jne 0x1400609f1
mov ecx, dword [rdi + 0x7c]
mov eax, dword [rsp + 0x58]
mov dword [rbx + 0x10], ebp
add eax, 0x1e
mov rbp, qword [rsp + 0x20]
add ecx, eax
mov dword [rbx + 0x60], ecx
xor eax, eax
mov qword [rdi + 0x80], rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rsi
ret
mov eax, 0xffffff9a
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140061720
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov ebp, edx
mov r14, rcx
mov ecx, 0x258
call fcn.14011c364
mov rsi, rax
mov qword [rsp + 0x58], rax
xor r15d, r15d
mov qword [rax], r15
mov rdi, 0xffffffffffffffff
mov dword [rax + 8], edi
mov dword [rax + 0x138], edi
mov qword [rax + 0x140], r15
mov qword [rax + 0x148], r15
lea rbx, [rax + 0x150]
mov rdx, rbx
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
nop dword [rax + rax]
lea rdi, [rdi + 1]
cmp byte [rbx + rdi], 0
jne 0x140061790
movzx eax, byte [rdi + rsi + 0x14f]
cmp al, 0x5c
je 0x1400617c3
cmp al, 0x2f
je 0x1400617c3
dec rbx
nop dword [rax]
lea rbx, [rbx + 1]
cmp byte [rbx], 0
jne 0x1400617b0
movzx eax, word [0x14019c38c]
mov word [rbx], ax
mov ecx, gethostbyname
call fcn.14011c364
mov word [rax], 0x100
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r14
mov dword [rax + 0x28], ebp
mov dword [rax + 0x2c], r15d
mov dword [rax + 0x14], r15d
mov rcx, rax
call fcn.1400601b0
mov qword [rsi], rax
test rax, rax
jne 0x140061840
mov dword [0x1401ba764], 0x200
mov rcx, qword [rsi + 0x140]
test rcx, rcx
je 0x140061810
call fcn.14011c3a0
mov qword [rsi + 0x140], r15
mov rcx, qword [rsi + 0x148]
test rcx, rcx
je 0x140061828
call fcn.14011c3a0
mov qword [rsi + 0x148], r15
mov edx, 0x258
mov rcx, rsi
call fcn.14011c3a0
xor eax, eax
jmp 0x14006185b
mov dword [0x1401ba764], r15d
mov ecx, reloc.WS2_32.dll_recv
call fcn.14011c364
mov dword [rax], 1
mov qword [rax + 8], rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140061fc0
Capabilities:
Create directory
Get common file path

Disassembly:
push rbx
sub rsp, 0x190
mov rax, qword [0x1401b7030]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
lea rdx, [rsp + 0x70]
xor ecx, ecx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140062026
mov edx, 0x5c
lea rcx, [rsp + 0x70]
call fcn.140120eb0
test rax, rax
je 0x140062173
lea r8, str.options.vnc
mov byte [rax], 0
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.1401252ac
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
lea rcx, [rsp + 0x70]
mov edx, 0xc0000000
mov qword [rsp + 0x1a8], rdi
mov dword [rsp + 0x20], 4
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400620aa
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
lea rcx, [rsp + 0x70]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rdi, 0xffffffffffffffff
je 0x1400620d0
lea r8, [rsp + 0x70]
mov edx, 0x104
mov rcx, rbx
call fcn.14012524c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14006216b
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x14006212f
lea r8, [0x14019c38c]
mov edx, 0x104
mov rcx, rbx
call fcn.1401252ac
lea r8, [0x14019e190]
mov edx, 0x104
mov rcx, rbx
call fcn.1401252ac
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140133774
cmp eax, 0xffffffff
jne 0x140062157
mov rcx, rbx
call fcn.140131810
jmp 0x140062157
lea rcx, str.TEMP
call fcn.140133bf0
mov edx, 0x104
mov rcx, rbx
mov r8, rax
test rax, rax
jne 0x140062152
lea r8, [0x14019945a]
call fcn.14012524c
lea r8, str.options.vnc
mov edx, 0x104
mov rcx, rbx
call fcn.1401252ac
mov rdi, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14011c340
add rsp, 0x190
pop rbx
ret
Function at 0x140067aa0
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1401b7030]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x50], 0x44434241
mov r15, r8
mov dword [rbp - 0x4c], 0x48474645
mov rbx, rdx
mov dword [rbp - 0x48], 0x4c4b4a49
mov rsi, rcx
mov dword [rbp - 0x44], 0x504f4e4d
mov dword [rbp - 0x40], 0x54535251
mov dword [rbp - 0x3c], 0x58575655
mov dword [rbp - 0x38], 0x62615a59
mov dword [rbp - 0x34], 0x66656463
mov dword [rbp - 0x30], 0x6a696867
mov dword [rbp - 0x2c], 0x6e6d6c6b
mov dword [rbp - 0x28], 0x7271706f
mov dword [rbp - 0x24], 0x76757473
mov dword [rbp - 0x20], 0x7a797877
mov dword [rbp - 0x1c], 0x33323130
mov dword [rbp - 0x18], 0x37363534
mov dword [rbp - 0x14], 0x2f2b3938
test rcx, rcx
je 0x140067c6b
test rdx, rdx
je 0x140067c6b
mov edi, dword [r8]
cmp edi, 3
jb 0x140067c6b
mov qword [rsp + 0x88], r14
xor r11d, r11d
lea r14d, [rdi - 2]
mov rax, rcx
test r14d, r14d
je 0x140067bef
nop
movzx ecx, byte [r11 + rbx]
lea r10d, [r11 + 2]
shr rcx, 2
movzx ecx, byte [rbp + rcx - 0x50]
mov byte [rax], cl
lea ecx, [r10 - 1]
movzx edx, byte [r11 + rbx]
add r11d, 3
mov r9d, ecx
and edx, 3
movzx ecx, byte [rcx + rbx]
shr rcx, 4
shl rdx, 4
or rdx, rcx
movzx ecx, byte [rbp + rdx - 0x50]
mov byte [rax + 1], cl
movzx edx, byte [r9 + rbx]
movzx ecx, byte [r10 + rbx]
and edx, 0xf
shr rcx, 6
shl rdx, 2
or rdx, rcx
movzx ecx, byte [rbp + rdx - 0x50]
mov byte [rax + 2], cl
lea rcx, [rax + 3]
movzx eax, byte [r10 + rbx]
and eax, 0x3f
movzx eax, byte [rbp + rax - 0x50]
mov byte [rcx], al
lea rax, [rcx + 1]
cmp r11d, r14d
jb 0x140067b70
cmp r11d, edi
jae 0x140067c59
movzx ecx, byte [r11 + rbx]
mov r8, rax
shr rcx, 2
movzx ecx, byte [rbp + rcx - 0x50]
mov byte [rax], cl
lea ecx, [rdi - 1]
movzx r9d, byte [r11 + rbx]
and r9d, 3
shl r9, 4
cmp r11d, ecx
jne 0x140067c24
movzx ecx, byte [rbp + r9 - 0x50]
mov byte [rax + 1], cl
mov cl, 0x3d
jmp 0x140067c49
lea ecx, [r11 + 1]
mov edx, ecx
movzx ecx, byte [rcx + rbx]
shr rcx, 4
or rcx, r9
movzx ecx, byte [rbp + rcx - 0x50]
mov byte [rax + 1], cl
movzx ecx, byte [rdx + rbx]
and ecx, 0xf
movzx ecx, byte [rbp + rcx*4 - 0x50]
add rax, 2
mov byte [r8 + 2], cl
mov byte [rax + 1], 0x3d
add rax, 2
mov r14, qword [rsp + 0x88]
sub eax, esi
mov dword [r15], eax
mov rax, rsi
jmp 0x140067c6d
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14011c340
add rsp, 0x50
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140075490
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rbx, rcx
cmp eax, 0xca
jne 0x1400754ed
mov rax, qword [rcx + 0x200]
lea rcx, [0x14007a830]
mov qword [rax], rcx
lea rcx, [0x14007a9a0]
mov qword [rax + 8], rcx
mov rcx, rbx
mov byte [rax + 0x10], 0
mov byte [rax + 0x6c], 0
call fcn.140079ef0
cmp byte [rbx + 0x58], 0
je 0x1400754e4
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
jmp 0x1400754f8
cmp eax, 0xcb
jne 0x14007557a
mov rax, qword [rbx + 0x220]
cmp byte [rax + 0x20], 0
je 0x140075561
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140075513
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x140075559
cmp eax, 2
je 0x140075561
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140075505
dec eax
test eax, 0xfffffffd
jne 0x140075505
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x140075505
mov ecx, dword [rbx + 0x184]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x140075505
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x1400755b0
cmp eax, 0xcc
je 0x14007559c
mov rax, qword [rcx]
mov dword [rax + 0x28], shutdown
mov rcx, qword [rcx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400755b0
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
xor ebp, ebp
mov rbx, rcx
cmp dword [rcx + 0x24], 0xcc
je 0x1400755de
mov rax, qword [rcx + 0x200]
call qword [rax]
mov dword [rbx + 0x98], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x200]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
cmp byte [rax + 0x10], bpl
je 0x140075685
mov ecx, dword [rbx + 0x98]
nop
cmp ecx, dword [rbx + 0x78]
jae 0x140075654
mov rax, qword [rbx + 0x10]
mov edi, ecx
test rax, rax
je 0x14007562c
mov dword [rax + 8], ecx
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov edi, dword [rbx + 0x98]
mov rax, qword [rbx + 0x208]
lea r8, [rbx + 0x98]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov ecx, dword [rbx + 0x98]
cmp ecx, edi
je 0x1400756ad
cmp ecx, dword [rbx + 0x78]
jb 0x140075605
mov rax, qword [rbx + 0x200]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rbx + 0x200]
mov rcx, rbx
call qword [rax]
mov dword [rbx + 0x98], ebp
mov ecx, ebp
mov rax, qword [rbx + 0x200]
cmp byte [rax + 0x10], cl
jne 0x140075600
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
xor al, al
jmp 0x140075698
Function at 0x1400755b0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rbx, rcx
cmp eax, 0xca
jne 0x1400754ed
mov rax, qword [rcx + 0x200]
lea rcx, [0x14007a830]
mov qword [rax], rcx
lea rcx, [0x14007a9a0]
mov qword [rax + 8], rcx
mov rcx, rbx
mov byte [rax + 0x10], 0
mov byte [rax + 0x6c], 0
call fcn.140079ef0
cmp byte [rbx + 0x58], 0
je 0x1400754e4
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
jmp 0x1400754f8
cmp eax, 0xcb
jne 0x14007557a
mov rax, qword [rbx + 0x220]
cmp byte [rax + 0x20], 0
je 0x140075561
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140075513
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x140075559
cmp eax, 2
je 0x140075561
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140075505
dec eax
test eax, 0xfffffffd
jne 0x140075505
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x140075505
mov ecx, dword [rbx + 0x184]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x140075505
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x1400755b0
cmp eax, 0xcc
je 0x14007559c
mov rax, qword [rcx]
mov dword [rax + 0x28], shutdown
mov rcx, qword [rcx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400755b0
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
xor ebp, ebp
mov rbx, rcx
cmp dword [rcx + 0x24], 0xcc
je 0x1400755de
mov rax, qword [rcx + 0x200]
call qword [rax]
mov dword [rbx + 0x98], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x200]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
cmp byte [rax + 0x10], bpl
je 0x140075685
mov ecx, dword [rbx + 0x98]
nop
cmp ecx, dword [rbx + 0x78]
jae 0x140075654
mov rax, qword [rbx + 0x10]
mov edi, ecx
test rax, rax
je 0x14007562c
mov dword [rax + 8], ecx
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov edi, dword [rbx + 0x98]
mov rax, qword [rbx + 0x208]
lea r8, [rbx + 0x98]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov ecx, dword [rbx + 0x98]
cmp ecx, edi
je 0x1400756ad
cmp ecx, dword [rbx + 0x78]
jb 0x140075605
mov rax, qword [rbx + 0x200]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rbx + 0x200]
mov rcx, rbx
call qword [rax]
mov dword [rbx + 0x98], ebp
mov ecx, ebp
mov rax, qword [rbx + 0x200]
cmp byte [rax + 0x10], cl
jne 0x140075600
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
xor al, al
jmp 0x140075698
Function at 0x14007b4e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
push r13
push r15
sub rsp, 0x30
mov r13d, dword [rcx + 0x64]
mov rdi, rcx
mov rbx, qword [rcx + 0x250]
cmp r13d, 1
mov r8d, 0x2fe
mov qword [rsp + 0x68], rbx
sete al
mov edx, 1
mov byte [rbx + 0x38], al
mov rax, qword [rcx + 8]
mov ecx, 0x100
mov r9d, dword [rdi + 0x7c]
cmovne r8d, ecx
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov ebp, dword [rbx + 0x28]
xor r15d, r15d
mov qword [rbx + 0x30], rax
cmp dword [rdi + 0x7c], r15d
jle 0x14007b661
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x28], r12
lea r12, [rbx + 0x3c]
mov qword [rsp + 0x20], r14
xor r14d, r14d
nop dword [rax]
mov esi, dword [r12]
mov eax, ebp
cdq
idiv esi
mov ebp, eax
cmp r13d, 1
jne 0x14007b57d
mov rax, qword [rbx + 0x30]
add qword [r14 + rax], 0xff
mov rax, qword [rbx + 0x30]
lea r11d, [rsi*2 - 2]
xor r8d, r8d
xor r10d, r10d
mov rdi, qword [r14 + rax]
lea eax, [rsi + 0xfe]
cdq
idiv r11d
xor ebx, ebx
mov r9d, eax
cmp r10d, r9d
jle 0x14007b5d7
imul eax, r8d, 0x1fe
lea ecx, [rsi + 0xfe]
add ecx, eax
nop word [rax + rax]
add ecx, 0x1fe
inc r8d
mov eax, ecx
cdq
idiv r11d
mov r9d, eax
cmp r10d, eax
jg 0x14007b5c0
movzx eax, r8b
inc r10d
movzx ecx, bpl
imul ecx, eax
mov byte [rbx + rdi], cl
inc rbx
cmp rbx, 0xff
jle 0x14007b5a2
cmp r13d, 1
jne 0x14007b633
mov ecx, r13d
lea rdx, [rdi - 1]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi]
mov byte [rdx], al
lea rdx, [rdx - 1]
movzx eax, byte [rdi + 0xff]
mov byte [rdi + rcx + 0xff], al
inc rcx
cmp rcx, 0xff
jle 0x14007b610
mov rax, qword [rsp + 0x60]
inc r15d
mov rbx, qword [rsp + 0x68]
add r12, 4
add r14, 8
cmp r15d, dword [rax + 0x7c]
jl 0x14007b560
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r13
pop rdi
pop rbp
pop rbx
ret