joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e9c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44eb38
movzx edx, byte [rax]
nop
test edx, edx
jne 0x44e9fc
test r8b, r8b
jne 0x44e9fc
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x44ea0f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44eaf8
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x44eae6
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x44eadc
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x44ea63
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x44eaa6
mov eax, 1
cmp rax, rbx
ja 0x44ea95
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.00460b00
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x44ead4
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x44ea9d
mov r8d, eax
mov eax, r10d
jmp 0x44ea68
mov rcx, rbx
call fcn.00460a40
xor eax, eax
mov rcx, rax
call fcn.00460a40
mov eax, r8d
mov rcx, rbx
call fcn.00460b00
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44eb2e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x44eaf1
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44ea15
mov eax, edx
mov rcx, rbx
call fcn.00460a40
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00460a40
nop
int3
Function at 0x456220
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4562d9
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00456320]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045e2a0
xorps xmm15, xmm15
mov r14, qword [0x006183c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045e3e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00456220
Function at 0x460480
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4030cf
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00409760
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045e3e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4030a0
cmp byte [0x006181cf], 0
je 0x460495
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45d4e0
jmp 0x4030a0

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

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x006184c0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x006181cf], 0
je 0x4604d5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00618800]
aesenc xmm0, xmmword [0x00618810]
aesenc xmm0, xmmword [0x00618820]
movq rax, xmm0
ret
jmp 0x409960

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

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x006184c0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x006181cf], 0
je 0x460516
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00618800]
aesenc xmm0, xmmword [0x00618810]
aesenc xmm0, xmmword [0x00618820]
movq rax, xmm0
ret
jmp 0x4099c0

Function at 0x461f00
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x00618780]
mov qword [rsp + 8], rdx
lea r8d, [0x006181e4]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.004603c0
add rsp, 0x30
ret

Function at 0x462440
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x462470
mov rcx, 0x28
jmp 0x46247b
shl rcx, 3
add rcx, 0x1480
mov qword [0x006183c8], rcx
ret
Function at 0x478e40
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47908b
add rsp, 0xffffffffffffff80
mov qword [rsp + 0x78], rbp
lea rbp, [rsp + 0x78]
mov ebx, dword [rax + 0x2c]
nop dword [rax + rax]
test ebx, ebx
jne 0x478eec
mov qword [rsp + 0x88], rax
lea rbx, [0x004ef120]
mov rcx, rax
lea rax, [0x005c5460]
call fcn.004676a0
test cl, cl
jne 0x478ed1
mov rax, qword [rsp + 0x88]
call fcn.00478240
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x30]
lea rbx, [0x00523338]
call fcn.0044b240
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], rbx
nop dword [rax]
call fcn.00479760
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x478f0d
lea rdx, [0x004eee60]
cmp rax, rdx
jne 0x478efb
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
call fcn.0045c200
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rbx, rdx
lea rcx, [0x004db640]
call fcn.0040a500
inc rdx
cmp rbx, rdx
jle 0x478f58
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x478f0a
lea rax, [0x005c5460]
lea rbx, [0x004ef120]
lea rdi, [0x004eee60]
call fcn.00467860
lea rdx, [0x004eee60]
nop dword [rax]
cmp rax, rdx
jne 0x47907b
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
lea rcx, [0x004d6ac0]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rcx
lea rax, [0x004e2f80]
nop
call fcn.0040d1e0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x00618470], 0
jne 0x478fba
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
jmp 0x478fc9
mov rbx, rax
lea rax, [0x004e2f80]
call fcn.00412ba0
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x28]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
nop dword [rax]
call fcn.00477d00
call fcn.0045c2c0
mov rsi, qword [rsp + 0x60]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x479016
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
cmp rax, 1
jl 0x479008
mov dword [rsi + 0x10], edx
cmp dword [0x00618470], 0
jne 0x47902e
mov qword [rsi + 0x30], rcx
jmp 0x479037
lea rdi, [rsi + 0x30]
call fcn.004606a0
lea rax, [0x005c5460]
lea rbx, [0x004ef120]
lea rdi, [0x004eee60]
call fcn.00467860
lea rdx, [0x004eee60]
cmp rax, rdx
jne 0x47906c
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rbx, rdx
lea rcx, [0x004db640]
call fcn.0040a500
mov rbx, rdx
lea rcx, [0x004db640]
call fcn.0040a500
nop
mov qword [rsp + 8], rax
call fcn.0045e3e0
mov rax, qword [rsp + 8]
jmp fcn.00478e40
Function at 0x1400d0690
Capabilities:
Encode data using xor

Disassembly:
movzx eax, byte [rcx]
xor edx, edx
test al, al
je 0x1400d06ba
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
xor eax, 0x561e12b0
shr eax, 1
imul edx, eax, 0x21
movzx eax, byte [rcx]
test al, al
jne 0x1400d06a0
mov eax, edx
ret

Function at 0x1400d06c0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1400d21f8]
lea r9, [rsp + 0x40]
mov rcx, rbx
mov edx, 0x1000
mov r8d, 4
call qword [fcn.1400d2200]
mov r11, qword [0x1400d21e8]
mov r8, rbx
mov r9, qword [0x1400d21e0]
mov r10d, 0x1000
mov edi, 0x40
nop dword [rax + rax]
movzx edx, byte [r8]
lea r8, [r8 + 1]
xor dl, r9b
mov ecx, edi
and ecx, 0x3f
mov rax, r11
shr rax, cl
add dl, al
mov byte [r8 - 1], dl
sub r10, 1
jne 0x1400d0710
lea r9, [rsp + 0x40]
mov edx, 0x1000
lea r8d, [r10 + 1]
mov rcx, rbx
call qword [fcn.1400d2200]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400d0760
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
lea r9, [rsp + 0x40]
mov edx, 0x1000
mov r8d, 4
mov rbx, rcx
call qword [fcn.1400d2200]
mov r11, qword [0x1400d21e8]
mov r8, rbx
mov r9, qword [0x1400d21e0]
mov r10d, 0x1000
mov edi, 0x40
nop
movzx edx, byte [r8]
lea r8, [r8 + 1]
mov ecx, edi
mov rax, r11
and ecx, 0x3f
shr rax, cl
sub dl, al
xor dl, r9b
mov byte [r8 - 1], dl
sub r10, 1
jne 0x1400d07a0
lea r9, [rsp + 0x40]
mov edx, 0x1000
lea r8d, [r10 + 0x20]
mov rcx, rbx
call qword [fcn.1400d2200]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400d0860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rax, qword [0x1400d21d8]
mov r14, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov r11, qword [rdi]
cmp r11, rdi
je 0x1400d0906
nop dword [rax]
mov r10, qword [r11 + 0x20]
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [rax + r10 + 0x88]
test ecx, ecx
je 0x1400d08fe
mov esi, dword [r10 + rcx + 0x1c]
lea rax, [r10 + rcx]
mov r9d, dword [rax + 0x20]
add rsi, r10
mov ebp, dword [rax + 0x24]
add r9, r10
mov ebx, dword [rax + 0x18]
add rbp, r10
xor r8d, r8d
test ebx, ebx
je 0x1400d08fe
nop word [rax + rax]
mov ecx, dword [r9]
add rcx, r10
call fcn.1400d0690
cmp eax, 0xa2b3228a
je 0x1400d08f0
inc r8d
add r9, 4
cmp r8d, ebx
jb 0x1400d08d0
jmp 0x1400d08fe
movzx ecx, word [rbp + r8*2]
mov eax, dword [rsi + rcx*4]
add rax, r10
jne 0x1400d0908
mov r11, qword [r11]
cmp r11, rdi
jne 0x1400d0890
xor eax, eax
lea r9, [rsp + 0x48]
mov edx, 0x1000
mov r8d, 1
mov rcx, r14
call rax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400034c0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1401d00c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400035cd
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x20], rcx
mov ecx, 8
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x40], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rsp + 0x20]
xor esi, esi
mov edi, esi
movzx eax, word [rcx + 0x14]
lea rbx, [rcx + 0x18]
add rbx, rax
cmp si, word [rcx + 6]
jae 0x140003584
nop dword [rax]
nop dword [rax + rax]
lea r9, [rsp + 0x28]
mov edx, Ordinal_41
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, dword [rsp + 0x28]
lea r9, [rsp + 0x28]
mov edx, Ordinal_41
mov byte [rbx], al
mov rcx, rbx
mov byte [rbx + 1], sil
mov qword [rbx + 8], rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x20]
inc edi
add rbx, 0x28
movzx ecx, word [rax + 6]
cmp edi, ecx
jb 0x140003530
lea r9, [rsp + 0x2c]
mov edx, 8
mov r8d, 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [rsp + 0x2c]
lea r9, [rsp + 0x2c]
mov edx, 8
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14015ca80
add rsp, 0x48
ret
Function at 0x140006910
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rax - 0x18]
mov rdi, rcx
mov word [rax - 0x11], 0x20
mov rcx, rbx
mov dword [rax - 0x18], 0x6f727265
mov word [rax - 0x14], 0x2072
mov byte [rax - 0x12], 0x3a
mov byte [rax - 0xf], 0
call fcn.1400160e0
mov rdx, rdi
mov rcx, rbx
call fcn.1400160e0
lea rdx, [0x1400162b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400069f7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400069f7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400069f2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400069d0
cmp r8d, 0x2fa62ca8
je 0x1400069fc
test r9d, r9d
jne 0x1400069b0
mov rax, qword [rax]
jmp 0x140006980
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov ecx, 0xbb8
add rax, r10
call rax
mov rbx, qword [rsp + 0x40]
mov qword [0], 1
add rsp, 0x30
pop rdi
ret
Function at 0x140006a40
Capabilities:
Access peb ldr_data
Encode data using xor
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov eax, dword [0x14054dfe0]
mov dword [0x14054dfc8], eax
mov rax, qword [0x140517f18]
test rax, rax
jne 0x140006c54
mov rax, qword gs:[0x60]
xor r8d, r8d
mov qword [rsp + 0x48], rbx
mov ebx, 0xf4d8b55
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax]
mov rdi, rbp
nop dword [rax]
movups xmm0, xmmword [rdi + 0x58]
movd eax, xmm0
sub ax, 8
test r8d, r8d
je 0x140006aed
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r9, [rcx + rax*2]
cmp rcx, r9
je 0x140006ae4
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r9
jne 0x140006ad0
cmp edx, r8d
jne 0x140006c17
mov r10, qword [rdi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov r11d, ecx
shr r15, 0x20
add r11, r10
cmp r11, r10
je 0x140006c17
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x140006c17
mov r14d, dword [r11 + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov edx, 0x811c9dc5
lea rax, [r14 + r9*4]
mov ecx, dword [rax + r10]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140006b67
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140006b50
cmp edx, ebx
je 0x140006b75
test r9d, r9d
jne 0x140006b30
jmp 0x140006c17
mov ecx, dword [r11 + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
cmp rax, r11
jbe 0x140006c2f
lea rcx, [r15 + r11]
cmp rax, rcx
jae 0x140006c2f
movzx ecx, byte [rax]
mov r8d, 0x811c9dc5
mov dword [rsp + 0x40], r8d
mov edx, r8d
mov dword [rsp + 0x44], edx
cmp cl, 0x2e
je 0x140006bdd
nop
movsx ecx, cl
inc rax
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x140006bc0
mov dword [rsp + 0x40], r8d
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x140006c0a
nop dword [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x140006bf0
mov dword [rsp + 0x44], edx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rbp]
shr rbx, 0x20
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rbp
je 0x140006c2d
cmp qword [rax + 0x30], 0
jne 0x140006aa0
xor eax, eax
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov qword [0x140517f18], rax
call rax
mov ecx, dword [0x14054dfc8]
mov dword [0x14054dfe0], eax
test ecx, ecx
je 0x140006c9d
sub eax, ecx
cmp eax, 0x1770
jbe 0x140006c9d
lea rcx, [rsp + 0x40]
mov word [rsp + 0x43], 0x65
mov word [rsp + 0x40], 0x6954
mov byte [rsp + 0x42], WSAGetLastError
mov byte [rsp + 0x45], 0
call fcn.140006910
mov qword [0], 1
xor eax, eax
add rsp, 0x38
ret
Function at 0x14000a1e0
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14054df98]
test rax, rax
jne 0x14000a408
xor r9d, r9d
mov dword [rsp + 0x28], r9d
mov eax, 0xfaba0065
mov dword [rsp + 0x24], eax
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rcx + 0x10]
mov r11, qword [rdx]
mov qword [rsp + 0x48], r11
mov r15, r11
mov qword [rsp + 0x50], r11
mov rcx, r11
nop dword [rax + rax]
movups xmm0, xmmword [rcx + 0x58]
movups xmmword [rsp + 0x58], xmm0
movd ecx, xmm0
sub cx, 8
mov word [rsp + 0x58], cx
test r9d, r9d
je 0x14000a296
mov rdx, qword [rsp + 0x60]
movzx ecx, cx
shr rcx, 1
lea r10, [rdx + rcx*2]
mov r8d, 0x811c9dc5
mov qword [rsp + 0x38], rdx
cmp rdx, r10
je 0x14000a28d
movsx ecx, byte [rdx]
xor ecx, r8d
imul r8d, ecx, 0x1000193
add rdx, 2
jmp 0x14000a270
cmp r8d, r9d
jne 0x14000a3e1
mov rbx, qword [r11 + 0x30]
mov qword [rsp + 0x68], rbx
movsxd rcx, dword [rbx + 0x3c]
mov r14, qword [rcx + rbx + 0x88]
mov qword [rsp + 0xa8], r14
mov r10d, r14d
add r10, rbx
mov qword [rsp + 0x70], r10
shr r14, 0x20
mov dword [rsp + 0x78], r14d
cmp r10, rbx
je 0x14000a3e1
mov edi, dword [r10 + 0x18]
mov dword [rsp + 0x20], edi
nop dword [rax + rax]
mov ecx, edi
dec edi
mov dword [rsp + 0x20], edi
test ecx, ecx
je 0x14000a3e1
mov edx, dword [r10 + 0x20]
add rdx, rbx
mov r8d, dword [rdx + rdi*4]
add r8, rbx
mov qword [rsp + 0x40], r8
mov edx, 0x811c9dc5
nop dword [rax + rax]
movsx ecx, byte [r8]
inc r8
mov qword [rsp + 0x40], r8
test cl, cl
jne 0x14000a3d4
cmp edx, eax
jne 0x14000a3cf
mov ecx, dword [r10 + 0x1c]
add rcx, rbx
mov eax, dword [r10 + 0x24]
add rax, rbx
movzx eax, word [rax + rdi*2]
mov edx, dword [rcx + rax*4]
add rdx, rbx
cmp rdx, r10
jbe 0x14000a3fe
lea rax, [r10 + r14]
cmp rdx, rax
jae 0x14000a3fe
mov r9d, 0x811c9dc5
mov dword [rsp + 0xa0], r9d
mov eax, r9d
mov dword [rsp + 0xa4], eax
mov r8d, eax
mov qword [rsp + 0x30], rdx
movsx ecx, byte [rdx]
cmp cl, 0x2e
je 0x14000a39c
xor ecx, r8d
imul r9d, ecx, 0x1000193
mov dword [rsp + 0xa0], r9d
inc rdx
mov r8d, r9d
jmp 0x14000a375
inc rdx
mov qword [rsp + 0x30], rdx
movsx ecx, byte [rdx]
test cl, cl
je 0x14000a3bc
xor ecx, eax
imul eax, ecx, 0x1000193
mov dword [rsp + 0xa4], eax
jmp 0x14000a39c
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], r9d
mov r11, qword [r15]
mov qword [rsp + 0x48], r11
jmp 0x14000a3e1
jmp 0x14000a2e0
xor ecx, edx
imul edx, ecx, 0x1000193
jmp 0x14000a310
mov r11, qword [r11]
mov rcx, r11
mov qword [rsp + 0x48], r11
cmp r11, r15
je 0x14000a3fc
cmp qword [r11 + 0x30], 0
jne 0x14000a240
xor edx, edx
mov qword [0x14054df98], rdx
mov rax, rdx
mov ecx, 0x13333337
call rax
jmp 0x14000a413
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14000beb0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
movups xmm3, xmmword [0x140190aa0]
movzx eax, byte [0x140190ab0]
xor r9d, r9d
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, r9d
movups xmmword [rsp + 0x40], xmm3
mov byte [rsp + 0x50], al
jl 0x14000c0a8
movdqa xmm5, xmmword [0x1401b13d0]
movdqa xmm2, xmmword [0x1401b0d40]
movdqa xmm4, xmmword [0x1401b0e50]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
movd eax, xmm3
movdqa xmm3, xmmword [0x1401b0d70]
movaps xmmword [rsp + 0x70], xmm6
movdqa xmm6, xmmword [0x1401b0de0]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x1401b0f40]
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movd dword [rsp + 0x40], xmm2
movdqa xmm2, xmmword [0x1401b0d60]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmulld xmm0, xmm6
psubd xmm2, xmm0
pmuldq xmm1, xmm5
movd xmm0, dword [rsp + 0x44]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rsp + 0x44], xmm2
movdqa xmm2, xmmword [0x1401b0d90]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm6
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rsp + 0x48]
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
pmuldq xmm1, xmm5
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rsp + 0x48], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
mov ecx, reloc.WS2_32.dll_recv
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x70]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x4c]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movaps xmm7, xmmword [rsp + 0x60]
xorps xmm2, xmm0
movd dword [rsp + 0x4c], xmm2
mov eax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x11
jl 0x14000c0c0
mov qword [rsp + 0x30], r9
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], r9d
mov edx, 0xc0000000
mov r8d, 3
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
setne al
add rsp, 0x88
ret