joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140060be0
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 4
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x38], eax
mov rdi, qword [rsp + 0x70]
xor eax, eax
mov rcx, qword [rsp + 0x78]
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0xf0000040
mov r9d, dword [rsp + 0x80]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x140060c5a
jmp 0x140060d32
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140060c85
jmp 0x140060d0a
xor r9d, r9d
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x140060ca3
jmp 0x140060d0a
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x30]
mov edx, 4
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x140060ccb
jmp 0x140060d0a
mov eax, dword [rsp + 0x30]
cmp qword [rsp + 0x78], rax
jae 0x140060cd8
jmp 0x140060d0a
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x38]
mov r8, qword [rsp + 0x70]
mov edx, 2
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x140060d00
jmp 0x140060d0a
xor eax, eax
test eax, eax
jne 0x140060c5a
cmp qword [rsp + 0x40], 0
je 0x140060d1d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp qword [rsp + 0x48], 0
je 0x140060d32
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add rsp, 0x50
pop rdi
ret

Function at 0x140060de0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x28], 0x8000
mov eax, dword [rsp + 0x20]
mov edx, eax
mov rcx, qword [rsp + 0x30]
call qword [fcn.1400873f8]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140060e2f
mov rcx, qword [rsp + 0x30]
call qword [fcn.1400873dc]
xor eax, eax
jmp 0x140060e9a
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140060e75
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
je 0x140060e75
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x20], eax
jbe 0x140060e84
mov rcx, qword [rsp + 0x30]
call qword [fcn.1400873dc]
xor eax, eax
jmp 0x140060e9a
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jae 0x140060e95
mov rax, qword [rsp + 0x30]
jmp 0x140060e9a
jmp 0x140060e02
add rsp, 0x48
ret
Function at 0x14006a2a0
Capabilities:
Set socket configuration

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp dword [rsp + 0x48], 0
je 0x14006a2be
mov dword [rsp + 0x20], 1
jmp 0x14006a2c6
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
add rsp, 0x38
ret

Function at 0x14006d3b0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
mov rax, qword [0x1400e2cd8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x30], 0x3e8
lea rcx, [rsp + 0x60]
call fcn.140046780
lea rcx, [rsp + 0x80]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0xc0]
call fcn.1400999b8
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0xc8]
call fcn.1400999b8
mov qword [rsp + 0x28], rax
mov r8d, 1
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x14006d481
cmp qword [rsp + 0x20], 0
je 0x14006d455
mov rcx, qword [rsp + 0x20]
call fcn.1400873dc
mov qword [rsp + 0x20], 0
xor eax, eax
test eax, eax
jne 0x14006d43a
cmp qword [rsp + 0x28], 0
je 0x14006d476
mov rcx, qword [rsp + 0x28]
call fcn.1400873dc
mov qword [rsp + 0x28], 0
xor eax, eax
test eax, eax
jne 0x14006d45b
jmp 0x14006d538
lea rax, [rsp + 0x40]
lea rcx, [rsp + 0x80]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x70]
call fcn.140046780
lea rcx, [rsp + 0x50]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140046860
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jl 0x14006d4df
movsxd rax, dword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
jle 0x14006d528
cmp qword [rsp + 0x20], 0
je 0x14006d4fa
mov rcx, qword [rsp + 0x20]
call fcn.1400873dc
mov qword [rsp + 0x20], 0
xor eax, eax
test eax, eax
jne 0x14006d4df
cmp qword [rsp + 0x28], 0
je 0x14006d51b
mov rcx, qword [rsp + 0x28]
call fcn.1400873dc
mov qword [rsp + 0x28], 0
xor eax, eax
test eax, eax
jne 0x14006d500
mov eax, 1
jmp 0x14006d53a
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14006d420
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14007dc00
add rsp, 0xa8
pop rdi
pop rsi
ret
Function at 0x14007bbc0
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14007bc15
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor eax, eax
add rsp, 0x38
ret

Function at 0x14007bc30
Capabilities:
Hash data via wincrypt

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor r9d, r9d
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
add rsp, 0x28
ret

Function at 0x1400970c4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140096ef0

Function at 0x14009f38c
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14009f369
call fcn.140083d9c
mov dword [rax], socket
call fcn.140083c4c
or eax, 0xffffffff
jmp 0x14009f386
sub dword [rcx + 0x10], 1
jns 0x14009f378
add rsp, 0x28
jmp fcn.14009edc0
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14009f348

Function at 0x1400a6700
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400a6720
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140083d2c
or eax, 0xffffffff
jmp 0x1400a6722
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400ac310
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
call fcn.140001638
xor r10d, r10d
test eax, eax
js 0x1400ac53f
mov ecx, dword [rbx + 0xf0]
lea eax, [rcx*4]
movsxd r9, eax
test eax, eax
jle 0x1400ac39c
lea rdx, [rbx + 8]
lea rdx, [rdx + r9*4]
lea r8, [rbx + 8]
mov ecx, dword [r8 - 8]
add r10, 4
mov eax, dword [rdx - 8]
sub r9, 4
mov dword [r8 - 8], eax
mov eax, dword [rdx - 4]
mov dword [rdx - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 4], eax
mov eax, dword [rdx]
mov dword [rdx - 4], ecx
mov ecx, dword [r8]
mov dword [r8], eax
lea r8, [r8 + 0x10]
mov eax, dword [rdx + 4]
mov dword [rdx], ecx
lea rdx, [rdx - 0x10]
mov ecx, dword [r8 - 0xc]
mov dword [r8 - 0xc], eax
mov dword [rdx + 0x14], ecx
cmp r10, r9
jl 0x1400ac34d
mov ecx, dword [rbx + 0xf0]
mov r11d, 1
cmp ecx, r11d
jle 0x1400ac53d
lea r10, [rbx + 2]
lea rdi, [0x140000000]
lea r10, [r10 + 0x10]
inc r11d
mov r8d, dword [r10 - 2]
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0xbe8c0]
movzx eax, byte [r10 - 1]
mov r9d, dword [rdi + rdx*4 + 0xbecc0]
movzx ecx, byte [rdi + rax*4 + 0xbe8c0]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0xbf4c0]
movzx ecx, byte [rdi + rax*4 + 0xbe8c0]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0xbf8c0]
movzx ecx, byte [rdi + rax*4 + 0xbe8c0]
xor r9d, dword [rdi + rcx*4 + 0xbf0c0]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov eax, r9d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0xbe8c0]
movzx eax, byte [r10 + 3]
mov r8d, dword [rdi + rdx*4 + 0xbecc0]
movzx ecx, byte [rdi + rax*4 + 0xbe8c0]
movzx eax, byte [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0xbf4c0]
movzx ecx, byte [rdi + rax*4 + 0xbe8c0]
movzx eax, r9b
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0xbf0c0]
movzx ecx, byte [rdi + rax*4 + 0xbe8c0]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0xbf8c0]
movzx edx, byte [rdi + rax*4 + 0xbe8c0]
movzx eax, byte [r10 + 7]
mov dword [r10 + 2], r8d
mov r8d, dword [rdi + rdx*4 + 0xbecc0]
movzx ecx, byte [rdi + rax*4 + 0xbe8c0]
movzx eax, byte [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0xbf4c0]
movzx ecx, byte [rdi + rax*4 + 0xbe8c0]
movzx eax, r9b
mov r9d, dword [r10 + 0xa]
xor r8d, dword [rdi + rcx*4 + 0xbf0c0]
movzx ecx, byte [rdi + rax*4 + 0xbe8c0]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0xbf8c0]
movzx edx, byte [rdi + rax*4 + 0xbe8c0]
movzx eax, byte [r10 + 0xb]
mov dword [r10 + 6], r8d
mov r8d, dword [rdi + rdx*4 + 0xbecc0]
movzx ecx, byte [rdi + rax*4 + 0xbe8c0]
movzx eax, byte [r10 + 0xc]
xor r8d, dword [rdi + rcx*4 + 0xbf4c0]
movzx ecx, byte [rdi + rax*4 + 0xbe8c0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0xbf0c0]
movzx ecx, byte [rdi + rax*4 + 0xbe8c0]
xor r8d, dword [rdi + rcx*4 + 0xbf8c0]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x1400ac3b6
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400ac54c
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rdi, rcx
xor edx, edx
lea r8d, [rdx + 0x5c]
add rcx, 4
call fcn.14007f9f0
mov dword [rdi + 4], 0x67452301
mov dword [rdi + 8], 0xefcdab89
mov dword [rdi + 0xc], 0x98badcfe
mov dword [rdi + 0x10], 0x10325476
xor esi, esi
mov qword [rdi + 0xa0], rsi
mov qword [rdi + 0xb0], rsi
lea r14d, [rsi + 0xf]
mov qword [rdi + 0xb8], r14
mov byte [rdi + 0xa0], sil
mov qword [rdi + 0xc0], rsi
mov qword [rdi + 0xd0], rsi
mov qword [rdi + 0xd8], r14
mov byte [rdi + 0xc0], sil
mov word [rdi], 0x101
mov word [rbp + 0x38], 0x33
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], r14
mov byte [rbp - 0x40], sil
lea rax, [rbp + 0x38]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], sil
jne 0x1400ac5ed
lea rcx, [rbp - 0x40]
cmp rbx, r14
ja 0x1400ac616
mov qword [rbp - 0x30], rbx
mov r8, rbx
lea rdx, [rbp + 0x38]
call fcn.14007f340
mov byte [rbp + rbx - 0x40], sil
jmp 0x1400ac626
lea r9, [rbp + 0x38]
mov r8b, sil
mov rdx, rbx
call fcn.140010f4c
nop
mov qword [rbp - 0x20], rsi
mov qword [rbp - 8], r14
mov qword [rbp - 0x10], rsi
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.140001e04
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400ac67b
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ac675
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ac689
call fcn.14007d370
nop
mov rax, rdi
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140083c6c
nop
int3

Function at 0x1400ace64
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x48
and qword [rsp + 0x50], 0
call fcn.14000e6ac
mov rcx, rax
lea r8, [rsp + 0x50]
mov edx, 0x20
call fcn.1400bb644
test eax, eax
je 0x1400acee7
lea r8, [rsp + 0x58]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call fcn.1400bb4f4
test eax, eax
je 0x1400acedd
mov rax, qword [rsp + 0x58]
lea r8, [rsp + 0x30]
and qword [rsp + 0x28], 0
mov r9d, reloc.WS2_32.dll_recv
and qword [rsp + 0x20], 0
xor edx, edx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x34], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call fcn.1400bae2c
mov rcx, qword [rsp + 0x50]
call fcn.1400bafc0
add rsp, 0x48
ret
Function at 0x1400b8894
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov al, byte [rcx]
mov r8, rcx
or edx, 0xffffffff
jmp 0x1400b88ca
movzx eax, al
mov r9d, 7
xor edx, eax
mov ecx, edx
mov eax, edx
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov edx, ecx
xor edx, eax
sub r9d, 1
jns 0x1400b88a9
inc r8
mov al, byte [r8]
test al, al
jne 0x1400b889e
not edx
mov eax, edx
ret

Function at 0x1400b95a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x10], rdx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rbx, rdx
and dword [rbp - 0x30], 0
lea rdx, [rbp - 0x28]
call fcn.14000b050
and qword [rbx], 0
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov dword [rbp - 0x30], 1
mov ecx, 0x30
call fcn.14007d334
mov qword [rbx + 0x10], 0x20
mov qword [rbx + 0x18], 0x2f
mov cl, byte [rbx]
mov byte [rax], cl
mov qword [rbx], rax
and qword [rbx + 0x10], 0
xor esi, esi
mov word [rbp - 0x15], 0x3433
mov word [rbp - 0x18], 0x3130
mov word [rbp - 0xa], 0x6665
mov word [rbp - 0x13], 0x3635
mov word [rbp - 0xd], 0x6362
mov word [rbp - 0x10], 0x3938
mov byte [rbp - 0xb], 0x64
mov byte [rbp - 0x16], 0x32
mov byte [rbp - 8], 0
mov byte [rbp - 0x11], 0x37
mov byte [rbp - 0xe], 0x61
movzx edi, byte [rbp + rsi - 0x28]
mov eax, edi
shr rax, 4
mov r9b, byte [rbp + rax - 0x18]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1400b9680
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400b9675
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400b968f
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400151b4
and edi, 0xf
mov r9b, byte [rbp + rdi - 0x18]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1400b96c1
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400b96b6
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400b96d0
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400151b4
inc rsi
cmp rsi, 0x10
jl 0x1400b960e
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x1400ba068
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
xor ebx, ebx
mov r14, r9
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
cmp byte [rcx + 8], bl
je 0x1400ba25b
test r9, r9
je 0x1400ba238
movsxd rcx, dword [rcx + 0x3d0]
xor edx, edx
mov rax, r9
div rcx
test rdx, rdx
jne 0x1400ba238
cmp dword [rsp + 0x80], 1
jne 0x1400ba16a
mov r12d, ebx
test rax, rax
je 0x1400ba14b
lea r15, [rdi + 0x3f8]
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.1400ba2c4
mov rcx, rsi
cmp byte [rdi + 8], bl
je 0x1400ba27e
mov eax, dword [rdi + 0x3d0]
mov r8d, ebx
test eax, eax
jle 0x1400ba11d
mov rdx, r15
sub rdx, rsi
mov al, byte [rdx + rcx]
inc r8d
xor byte [rcx], al
inc rcx
mov eax, dword [rdi + 0x3d0]
cmp r8d, eax
jl 0x1400ba107
movsxd r8, eax
mov rdx, rbp
mov rcx, r15
call fcn.14007f340
movsxd rcx, dword [rdi + 0x3d0]
xor edx, edx
mov rax, r14
inc r12d
div rcx
add rbp, rcx
add rsi, rcx
movsxd rcx, r12d
cmp rcx, rax
jb 0x1400ba0da
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
cmp dword [rsp + 0x80], 2
jne 0x1400ba1fd
mov r12d, ebx
test rax, rax
je 0x1400ba14b
lea r15, [rdi + 0x3f8]
mov r8, rsi
mov rdx, r15
mov rcx, rdi
call fcn.14000b640
mov rcx, rsi
cmp byte [rdi + 8], bl
je 0x1400ba2a1
mov eax, dword [rdi + 0x3d0]
mov r8d, ebx
test eax, eax
jle 0x1400ba1ca
mov rdx, rbp
sub rdx, rsi
mov al, byte [rdx + rcx]
inc r8d
xor byte [rcx], al
inc rcx
mov eax, dword [rdi + 0x3d0]
cmp r8d, eax
jl 0x1400ba1b4
movsxd r8, eax
mov rdx, rbp
mov rcx, r15
call fcn.14007f340
movsxd rcx, dword [rdi + 0x3d0]
xor edx, edx
mov rax, r14
inc r12d
div rcx
add rbp, rcx
add rsi, rcx
movsxd rcx, r12d
cmp rcx, rax
jb 0x1400ba187
jmp 0x1400ba14b
test rax, rax
je 0x1400ba14b
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.1400ba2c4
movsxd rcx, dword [rdi + 0x3d0]
xor edx, edx
mov rax, r14
inc ebx
div rcx
add rbp, rcx
add rsi, rcx
movsxd rcx, ebx
cmp rcx, rax
jb 0x1400ba206
jmp 0x1400ba14b
mov rdx, qword [0x1400e3dc8]
lea rcx, [rsp + 0x20]
call fcn.140015f04
lea rdx, [0x1400db170]
lea rcx, [rsp + 0x20]
call fcn.14007e4f0
int3
mov rdx, qword [0x1400e3d38]
lea rcx, [rsp + 0x20]
call fcn.140015f04
lea rdx, [0x1400db170]
lea rcx, [rsp + 0x20]
call fcn.14007e4f0
int3
mov rdx, qword [0x1400e3d38]
lea rcx, [rsp + 0x20]
call fcn.140015f04
lea rdx, [0x1400db170]
lea rcx, [rsp + 0x20]
call fcn.14007e4f0
int3
mov rdx, qword [0x1400e3d38]
lea rcx, [rsp + 0x20]
call fcn.140015f04
lea rdx, [0x1400db170]
lea rcx, [rsp + 0x20]
call fcn.14007e4f0
int3
Function at 0x1400badb8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
lea rcx, [rbp - 0x10]
mov word [rbp - 0xf], 0x6568
mov byte [rbp - 0x10], 0x53
mov word [rbp - 6], WSASetLastError
mov word [rbp - 0xc], 0x336c
mov word [rbp - 9], 0x642e
mov byte [rbp - 7], WSAGetLastError
mov byte [rbp - 0xd], WSAGetLastError
mov byte [rbp - 0xa], 0x32
call fcn.1400bb43c
add rsp, 0x30
pop rbp
ret

Function at 0x1400bae2c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov esi, r9d
mov r14, r8
mov r15d, edx
mov r12, rcx
xor ebx, ebx
call fcn.1400bac9c
mov rdi, rax
test rax, rax
je 0x1400baed8
lea rdx, [rbp - 0x20]
mov word [rbp - 0x11], 0x6c69
mov rcx, rax
mov dword [rbp - 0xe], 0x736567
mov dword [rbp - 0x1f], 0x73756a64
mov dword [rbp - 0x16], 0x6972506e
mov dword [rbp - 0x1a], 0x656b6f54
mov byte [rbp - 0x12], 0x76
mov byte [rbp - 0xf], 0x65
mov byte [rbp - 0x1b], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 0x20], 0x41
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x1400baed0
mov rax, qword [rbp + 0x48]
mov r9d, esi
mov qword [rsp + 0x28], rax
mov r8, r14
mov rax, qword [rbp + 0x40]
mov edx, r15d
mov rcx, r12
mov qword [rsp + 0x20], rax
call r10
mov ebx, eax
mov rcx, rdi
call fcn.14000e5c4
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400baef8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov edi, r9d
mov esi, r8d
mov r14, rdx
mov r15, rcx
call fcn.1400bac9c
mov rbx, rax
test rax, rax
je 0x1400bafa6
lea rdx, [rbp - 0x20]
mov word [rbp - 9], 0x614e
mov rcx, rax
mov word [rbp - 6], 0x4165
mov dword [rbp - 0x14], 0x63634174
mov word [rbp - 0xe], 0x5773
mov byte [rbp - 4], 0
mov dword [rbp - 0x20], 0x6c697542
mov dword [rbp - 0x1a], 0x696c7078
mov byte [rbp - 7], WSASetLastError
mov word [rbp - 0xb], 0x6874
mov byte [rbp - 0xc], 0x69
mov word [rbp - 0x10], 0x7365
mov word [rbp - 0x16], 0x6963
mov word [rbp - 0x1c], 0x4564
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400baf9e
mov ecx, dword [rbp + 0x40]
mov r9d, edi
mov dword [rsp + 0x20], ecx
mov r8d, esi
mov rcx, r15
mov rdx, r14
call rax
mov rcx, rbx
call fcn.14000e5c4
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400bb024
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rsi, rdx
mov r14, rcx
xor ebx, ebx
call fcn.1400bac9c
mov rdi, rax
test rax, rax
je 0x1400bb0b8
lea rdx, [rbp - 0x20]
mov word [rbp - 0x1a], 0x5374
mov rcx, rax
mov dword [rbp - 0x14], 0x69727453
mov word [rbp - 0xb], 0x41
mov word [rbp - 0x1f], 0x6e6f
mov dword [rbp - 0x10], 0x6953676e
mov byte [rbp - 0xc], 0x64
mov word [rbp - 0x17], 0x5464
mov word [rbp - 0x1c], 0x7265
mov byte [rbp - 0x15], reloc.WS2_32.dll_WSAGetLastError
mov byte [rbp - 0x20], 0x43
mov byte [rbp - 0x1d], 0x76
mov byte [rbp - 0x18], 0x69
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400bb0b0
mov rdx, rsi
mov rcx, r14
call rax
mov ebx, eax
mov rcx, rdi
call fcn.14000e5c4
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret

Function at 0x1400bb180
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
xor ebx, ebx
mov dword [rbp - 0xb], 0x72685465
mov byte [rbp - 4], bl
mov rdi, r9
mov rsi, r8
mov word [rbp - 0xd], 0x7461
mov r14, rdx
mov word [rbp - 6], 0x6461
mov r15, rcx
mov word [rbp - 0x10], 0x7243
mov byte [rbp - 7], 0x65
mov byte [rbp - 0xe], 0x65
call fcn.1400bad14
mov rcx, rax
lea rdx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x1400bb209
mov rax, qword [rbp + 0x48]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov r8, rsi
mov eax, dword [rbp + 0x40]
mov rdx, r14
mov rcx, r15
mov dword [rsp + 0x20], eax
call r10
mov rbx, rax
mov rsi, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret

Function at 0x1400bb228
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x40
mov edi, r8d
mov dword [rbp - 0x18], 0x6c694665
mov rsi, rdx
mov word [rbp - 0x14], 0x4e65
mov r14, rcx
mov dword [rbp - 0x20], 0x4d746547
xor ebx, ebx
mov dword [rbp - 0x1c], 0x6c75646f
mov dword [rbp - 0x11], 0x41656d
mov byte [rbp - 0x12], 0x61
call fcn.1400bad14
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400bb298
mov r8d, edi
mov rdx, rsi
mov rcx, r14
call rax
mov ebx, eax
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret