joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013eb60
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, r8
mov r14, rdx
mov r15, rcx
movzx eax, byte [r8]
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
movzx edx, byte [r8 + 1]
xor rdx, rcx
imul rdx, rax
movzx ecx, byte [r8 + 2]
xor rcx, rdx
imul rcx, rax
movzx r13d, byte [r8 + 3]
xor r13, rcx
imul r13, rax
mov rcx, qword [r15 + 0x30]
and rcx, r13
mov rdx, qword [r15 + 0x18]
mov rax, rcx
shl rax, 4
mov rdi, qword [rdx + rax + 8]
cmp rdi, qword [r15 + 8]
je 0x14013ec15
mov eax, dword [rbx]
cmp eax, dword [rdi + 0x10]
je 0x14013ec0e
add rcx, rcx
mov rsi, qword [rdx + rcx*8]
nop word cs:[rax + rax]
cmp rdi, rsi
je 0x14013ec18
mov rdi, qword [rdi + 8]
cmp eax, dword [rdi + 0x10]
jne 0x14013ec00
xor eax, eax
jmp 0x14013edb1
mov rsi, rdi
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [r15 + 0x10], rax
je 0x14013edcc
mov ecx, Ordinal_27
call fcn.140140ff0
mov rdi, rax
mov r12d, dword [rbx]
mov dword [rax + 0x10], r12d
mov dword [rax + 0x14], 0
mov rax, qword [r15 + 0x10]
inc rax
js 0x14013ec57
cvtsi2ss xmm0, rax
jmp 0x14013ec6c
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
movss xmm1, dword [r15]
mov rbx, qword [r15 + 0x38]
test rbx, rbx
js 0x14013ec81
cvtsi2ss xmm2, rbx
jmp 0x14013ec98
mov rax, rbx
shr rax, 1
mov ecx, ebx
and ecx, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm3, xmm0
divss xmm3, xmm2
ucomiss xmm3, xmm1
jbe 0x14013ed5d
divss xmm0, xmm1
call fcn.140236bc0
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x14025ad70]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rdx, 9
mov eax, 8
cmovae rax, rdx
cmp rbx, rax
mov qword [rbp - 8], rdi
jae 0x14013ed03
lea rcx, [rbx*8]
cmp rcx, rax
cmovb rcx, rax
cmp rbx, 0x200
cmovae rcx, rax
mov rbx, rcx
mov rcx, r15
mov rdx, rbx
call fcn.140044e40
mov rax, qword [r15 + 0x30]
and rax, r13
mov rcx, qword [r15 + 0x18]
mov rdx, rax
shl rdx, 4
mov rsi, qword [rcx + rdx + 8]
cmp rsi, qword [r15 + 8]
je 0x14013ed54
cmp r12d, dword [rsi + 0x10]
mov rdi, qword [rbp - 8]
je 0x14013ed4f
add rax, rax
mov rax, qword [rcx + rax*8]
nop dword [rax]
cmp rsi, rax
je 0x14013ed5a
mov rsi, qword [rsi + 8]
cmp r12d, dword [rsi + 0x10]
jne 0x14013ed40
mov rsi, qword [rsi]
jmp 0x14013ed5d
mov rdi, qword [rbp - 8]
jmp 0x14013ed5d
mov rsi, rax
mov rcx, qword [rsi + 8]
inc qword [r15 + 0x10]
mov qword [rdi], rsi
mov qword [rdi + 8], rcx
mov qword [rcx], rdi
mov qword [rsi + 8], rdi
mov rax, qword [r15 + 0x18]
and r13, qword [r15 + 0x30]
shl r13, 4
lea rdx, [rax + r13]
lea rbx, [rax + r13]
add rbx, 8
mov rax, qword [rax + r13]
cmp rax, qword [r15 + 8]
je 0x14013eda6
cmp rax, rsi
je 0x14013edac
mov al, 1
mov rdx, rbx
cmp qword [rbx], rcx
jne 0x14013edb1
jmp 0x14013edac
mov qword [rdx], rdi
mov rdx, rbx
mov qword [rdx], rdi
mov al, 1
mov qword [r14], rdi
mov byte [r14 + 8], al
mov rax, r14
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1401438a8
int3
Function at 0x14013f110
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
movabs rax, 0x800000000000001
cmp rdx, rax
jae 0x14013f2ee
mov r14, rcx
dec rdx
or rdx, 1
bsr rcx, rdx
xor ecx, 0x3f
neg cl
mov esi, 1
shl rsi, cl
lea rax, [r14 + 0x18]
mov r15, qword [r14 + 8]
mov edx, 2
shl rdx, cl
mov rcx, rax
mov r8, r15
call fcn.1400298f0
lea rax, [rsi - 1]
mov qword [r14 + 0x30], rax
mov qword [r14 + 0x38], rsi
mov rax, qword [r14 + 8]
mov r11, qword [rax]
cmp r11, r15
je 0x14013f2e2
movabs r8, 0xcbf29ce484222325
movabs r10, 0x100000001b3
jmp 0x14013f1b1
mov qword [rsi + r9*8], rdx
mov qword [rsi + rbx*8], rdx
cmp r11, r15
je 0x14013f2e2
mov rdx, r11
movzx eax, byte [r11 + 0x10]
xor rax, r8
imul rax, r10
movzx ecx, byte [r11 + 0x11]
xor rcx, rax
imul rcx, r10
movzx eax, byte [r11 + 0x12]
xor rax, rcx
imul rax, r10
movzx ecx, byte [r11 + 0x13]
xor rcx, rax
imul rcx, r10
movzx eax, byte [r11 + 0x14]
xor rax, rcx
imul rax, r10
movzx ecx, byte [r11 + 0x15]
xor rcx, rax
imul rcx, r10
movzx eax, byte [r11 + 0x16]
xor rax, rcx
imul rax, r10
movzx ecx, byte [r11 + 0x17]
xor rcx, rax
imul rcx, r10
and rcx, qword [r14 + 0x30]
mov r11, qword [r11]
mov rsi, qword [r14 + 0x18]
lea r9, [rcx + rcx]
lea rbx, [rcx + rcx]
inc rbx
shl rcx, 4
mov rdi, qword [rsi + rcx]
cmp rdi, r15
je 0x14013f1a0
mov rcx, qword [rsi + rbx*8]
mov rax, qword [rdx + 0x10]
cmp rax, qword [rcx + 0x10]
jne 0x14013f280
mov rax, qword [rcx]
cmp rax, rdx
je 0x14013f1a4
mov r9, qword [rdx + 8]
mov qword [r9], r11
mov rdi, qword [r11 + 8]
mov qword [rdi], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdx
mov qword [rax + 8], rdi
mov qword [r11 + 8], r9
mov qword [rdx + 8], rcx
jmp 0x14013f1a4
cmp rdi, rcx
je 0x14013f2b8
mov rcx, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
jne 0x14013f280
mov rax, qword [rcx]
mov rcx, qword [rdx + 8]
mov qword [rcx], r11
mov rbx, qword [r11 + 8]
mov qword [rbx], rax
mov rdi, qword [rax + 8]
mov qword [rdi], rdx
mov qword [rax + 8], rbx
mov qword [r11 + 8], rcx
mov qword [rdx + 8], rdi
jmp 0x14013f1a8
mov rax, qword [rdx + 8]
mov qword [rax], r11
mov rcx, qword [r11 + 8]
mov qword [rcx], rdi
mov rbx, qword [rdi + 8]
mov qword [rbx], rdx
mov qword [rdi + 8], rcx
mov qword [r11 + 8], rax
mov qword [rdx + 8], rbx
mov qword [rsi + r9*8], rdx
jmp 0x14013f1a8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1401438a8
int3
Function at 0x14013f300
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, r8
mov r14, rdx
mov r15, rcx
movzx eax, byte [r8]
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
movzx edx, byte [r8 + 1]
xor rdx, rcx
imul rdx, rax
movzx ecx, byte [r8 + 2]
xor rcx, rdx
imul rcx, rax
movzx r13d, byte [r8 + 3]
xor r13, rcx
imul r13, rax
mov rcx, qword [r15 + 0x30]
and rcx, r13
mov rdx, qword [r15 + 0x18]
mov rax, rcx
shl rax, 4
mov rdi, qword [rdx + rax + 8]
cmp rdi, qword [r15 + 8]
je 0x14013f3b5
mov eax, dword [rbx]
cmp eax, dword [rdi + 0x10]
je 0x14013f3ae
add rcx, rcx
mov rsi, qword [rdx + rcx*8]
nop word cs:[rax + rax]
cmp rdi, rsi
je 0x14013f3b8
mov rdi, qword [rdi + 8]
cmp eax, dword [rdi + 0x10]
jne 0x14013f3a0
xor eax, eax
jmp 0x14013f551
mov rsi, rdi
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [r15 + 0x10], rax
je 0x14013f56c
mov ecx, Ordinal_27
call fcn.140140ff0
mov rdi, rax
mov r12d, dword [rbx]
mov dword [rax + 0x10], r12d
mov word [rax + 0x14], 0
mov rax, qword [r15 + 0x10]
inc rax
js 0x14013f3f6
cvtsi2ss xmm0, rax
jmp 0x14013f40b
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
movss xmm1, dword [r15]
mov rbx, qword [r15 + 0x38]
test rbx, rbx
js 0x14013f420
cvtsi2ss xmm2, rbx
jmp 0x14013f437
mov rax, rbx
shr rax, 1
mov ecx, ebx
and ecx, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm3, xmm0
divss xmm3, xmm2
ucomiss xmm3, xmm1
jbe 0x14013f4fd
divss xmm0, xmm1
call fcn.140236bc0
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x14025ad70]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rdx, 9
mov eax, 8
cmovae rax, rdx
cmp rbx, rax
mov qword [rbp - 8], rdi
jae 0x14013f4a2
lea rcx, [rbx*8]
cmp rcx, rax
cmovb rcx, rax
cmp rbx, 0x200
cmovae rcx, rax
mov rbx, rcx
mov rcx, r15
mov rdx, rbx
call fcn.140044e40
mov rax, qword [r15 + 0x30]
and rax, r13
mov rcx, qword [r15 + 0x18]
mov rdx, rax
shl rdx, 4
mov rsi, qword [rcx + rdx + 8]
cmp rsi, qword [r15 + 8]
je 0x14013f4f4
cmp r12d, dword [rsi + 0x10]
mov rdi, qword [rbp - 8]
je 0x14013f4ef
add rax, rax
mov rax, qword [rcx + rax*8]
nop dword [rax + rax]
cmp rsi, rax
je 0x14013f4fa
mov rsi, qword [rsi + 8]
cmp r12d, dword [rsi + 0x10]
jne 0x14013f4e0
mov rsi, qword [rsi]
jmp 0x14013f4fd
mov rdi, qword [rbp - 8]
jmp 0x14013f4fd
mov rsi, rax
mov rcx, qword [rsi + 8]
inc qword [r15 + 0x10]
mov qword [rdi], rsi
mov qword [rdi + 8], rcx
mov qword [rcx], rdi
mov qword [rsi + 8], rdi
mov rax, qword [r15 + 0x18]
and r13, qword [r15 + 0x30]
shl r13, 4
lea rdx, [rax + r13]
lea rbx, [rax + r13]
add rbx, 8
mov rax, qword [rax + r13]
cmp rax, qword [r15 + 8]
je 0x14013f546
cmp rax, rsi
je 0x14013f54c
mov al, 1
mov rdx, rbx
cmp qword [rbx], rcx
jne 0x14013f551
jmp 0x14013f54c
mov qword [rdx], rdi
mov rdx, rbx
mov qword [rdx], rdi
mov al, 1
mov qword [r14], rdi
mov byte [r14 + 8], al
mov rax, r14
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1401438a8
int3
Function at 0x14013f5c0
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r12, rdx
cmp rdx, r8
je 0x14013f6b7
mov rsi, r8
mov rdi, rcx
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov rdx, qword [rcx + 0x18]
mov rax, qword [r12 + 8]
mov qword [rsp + 0x30], rax
movzx eax, byte [r12 + 0x10]
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs rbp, 0x100000001b3
imul rax, rbp
movzx ecx, byte [r12 + 0x11]
xor rcx, rax
imul rcx, rbp
movzx eax, byte [r12 + 0x12]
xor rax, rcx
imul rax, rbp
movzx ecx, byte [r12 + 0x13]
xor rcx, rax
imul rcx, rbp
and rcx, qword [rdi + 0x30]
lea rax, [rcx + rcx]
lea rbp, [rcx + rcx]
inc rbp
mov qword [rsp + 0x40], rbp
shl rcx, 4
lea r15, [rdx + rcx]
mov rcx, qword [rdx + rcx]
mov qword [rsp + 0x38], rcx
cmp rcx, r12
setne r13b
mov qword [rsp + 0x20], rdx
mov rbp, qword [rdx + rax*8 + 8]
mov r14, r12
nop word [rax + rax]
mov rbx, r14
mov r14, qword [r14]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.140141034
dec qword [rdi + 0x10]
cmp rbx, rbp
je 0x14013f6bf
cmp r14, rsi
setne al
or al, r13b
cmp al, 1
jne 0x14013f78f
cmp r14, rsi
jne 0x14013f680
jmp 0x14013f792
mov rsi, r12
jmp 0x14013f79e
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], r12
jne 0x14013f6d3
mov rax, qword [rsp + 0x28]
mov qword [r15], rax
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rdx*8], rax
cmp r14, rsi
je 0x14013f792
movzx eax, byte [r14 + 0x10]
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs rdx, 0x100000001b3
imul rax, rdx
movzx ecx, byte [r14 + 0x11]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r14 + 0x12]
xor rax, rcx
imul rax, rdx
movzx r15d, byte [r14 + 0x13]
xor r15, rax
imul r15, rdx
and r15, qword [rdi + 0x30]
lea rax, [r15 + r15]
lea r12, [r15 + r15]
inc r12
shl r15, 4
mov rcx, qword [rsp + 0x20]
add r15, rcx
mov rbp, qword [rcx + rax*8 + 8]
nop
mov rbx, r14
mov r14, qword [r14]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.140141034
dec qword [rdi + 0x10]
cmp rbx, rbp
je 0x14013f773
cmp r14, rsi
jne 0x14013f750
jmp 0x14013f78f
mov rax, qword [rsp + 0x28]
mov qword [r15], rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + r12*8], rax
cmp r14, rsi
jne 0x14013f6ea
jmp 0x14013f792
mov qword [r15], rsi
mov rax, qword [rsp + 0x30]
mov qword [rax], rsi
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14013ff70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
mov r14, qword [rsp + 0x68]
mov r10, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
mov qword [r10], r8
mov qword [r14], rax
mov rsi, qword [r10]
cmp rsi, r9
je 0x14014012e
mov r11, qword [rsp + 0x60]
cmp rax, r11
je 0x14014012e
nop word cs:[rax + rax]
movzx edi, byte [rsi]
test dil, dil
js 0x14013ffd0
inc rsi
mov qword [r10], rsi
jmp 0x140140100
cmp dil, 0xbf
jbe 0x140140144
cmp dil, 0xdf
ja 0x14013ffec
and edi, 0x1f
mov ebx, 1
mov ebp, edi
jmp 0x140140030
cmp dil, 0xef
ja 0x14013fffe
and edi, 0xf
mov ebx, 2
mov ebp, edi
jmp 0x140140030
cmp dil, 0xf7
ja 0x140140010
and edi, 7
mov ebx, 3
mov ebp, edi
jmp 0x140140030
mov ebp, edi
and ebp, 3
xor ebx, ebx
cmp dil, 0xfc
setb bl
xor ebx, 5
nop word cs:[rax + rax]
mov rax, r9
sub rax, rsi
lea edi, [rbx + 1]
cmp rax, rdi
jl 0x14014012e
lea rax, [rsi + 1]
mov qword [r10], rax
movzx edi, byte [rsi + 1]
mov eax, 2
cmp dil, 0xbf
jg 0x140140136
shl ebp, 6
and edi, 0x3f
or edi, ebp
lea rbp, [rsi + 2]
mov qword [r10], rbp
cmp ebx, 2
jb 0x140140100
movzx ebp, byte [rbp]
cmp bpl, 0xbf
jg 0x140140136
mov ecx, edi
shl ecx, 6
and ebp, 0x3f
mov edi, ebp
or edi, ecx
lea rbp, [rsi + 3]
mov qword [r10], rbp
cmp ebx, 3
jb 0x140140100
movzx ebp, byte [rbp]
cmp bpl, 0xbf
jg 0x140140136
mov ecx, edi
shl ecx, 6
and ebp, 0x3f
mov edi, ebp
or edi, ecx
lea rbp, [rsi + 4]
mov qword [r10], rbp
cmp ebx, 4
jb 0x140140100
movzx ebp, byte [rbp]
cmp bpl, 0xbf
jg 0x140140136
mov ecx, edi
shl ecx, 6
and ebp, 0x3f
mov edi, ebp
or edi, ecx
lea rbp, [rsi + 5]
mov qword [r10], rbp
cmp ebx, 5
jb 0x140140100
movzx ebx, byte [rbp]
cmp bl, 0xbf
jg 0x140140136
shl edi, 6
and ebx, 0x3f
or edi, ebx
add rsi, 6
jmp 0x14013ffbb
cmp byte [rdx], 0
jne 0x140140108
mov byte [rdx], 1
cmp edi, 0x10ffff
ja 0x14014013d
mov rax, qword [r14]
lea rcx, [rax + 2]
mov qword [r14], rcx
mov word [rax], di
mov rsi, qword [r10]
cmp rsi, r9
je 0x14014012e
cmp qword [r14], r11
jne 0x14013ffb0
xor eax, eax
cmp rsi, r8
sete al
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov eax, 2
jmp 0x140140136
inc rsi
mov qword [r10], rsi
mov eax, 2
jmp 0x140140136
Function at 0x140140290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
mov rbx, r8
cmp r8, r9
je 0x1401403fb
mov r10, qword [rsp + 0x40]
mov rbx, r8
test r10, r10
je 0x1401403fb
dec r10
mov rbx, r8
nop word cs:[rax + rax]
movzx ecx, byte [rbx]
movzx eax, cl
test al, al
js 0x1401402e0
lea r11, [rbx + 1]
jmp 0x1401403d0
cmp cl, 0xc0
jb 0x1401403fb
cmp cl, 0xdf
ja 0x1401402f8
and eax, 0x1f
mov esi, 1
jmp 0x140140330
cmp cl, 0xef
ja 0x140140307
and eax, 0xf
mov esi, 2
jmp 0x140140330
cmp cl, 0xf7
ja 0x140140316
and eax, 7
mov esi, 3
jmp 0x140140330
and eax, 3
xor esi, esi
cmp cl, 0xfc
setb sil
xor esi, 5
nop word cs:[rax + rax]
mov edi, eax
mov rax, r9
sub rax, rbx
lea ecx, [rsi + 1]
cmp rax, rcx
jl 0x1401403fb
movzx eax, byte [rbx + 1]
cmp al, 0xbf
jg 0x1401403fb
lea ecx, [rsi - 1]
lea r11, [rbx + rcx]
add r11, 2
shl edi, 6
and eax, 0x3f
or eax, edi
cmp esi, 2
jb 0x1401403d0
movzx ecx, byte [rbx + 2]
cmp cl, 0xbf
jg 0x1401403fb
mov edi, eax
shl edi, 6
and ecx, 0x3f
mov eax, ecx
or eax, edi
cmp esi, 3
jb 0x1401403d0
movzx ecx, byte [rbx + 3]
cmp cl, 0xbf
jg 0x1401403fb
mov edi, eax
shl edi, 6
and ecx, 0x3f
mov eax, ecx
or eax, edi
cmp esi, 4
jb 0x1401403d0
movzx ecx, byte [rbx + 4]
cmp cl, 0xbf
jg 0x1401403fb
mov edi, eax
shl edi, 6
and ecx, 0x3f
mov eax, ecx
or eax, edi
cmp esi, 5
jb 0x1401403d0
movzx ecx, byte [rbx + 5]
cmp cl, 0xbf
jg 0x1401403fb
shl eax, 6
and ecx, 0x3f
or eax, ecx
nop dword [rax + rax]
cmp byte [rdx], 0
jne 0x1401403d8
mov byte [rdx], 1
cmp eax, 0x10ffff
ja 0x1401403fb
cmp r11, rbx
je 0x1401403fb
add r10, 0xffffffffffffffff
jae 0x1401403f8
mov rbx, r11
cmp r11, r9
jne 0x1401402c0
jmp 0x1401403fb
mov rbx, r11
sub rbx, r8
cmp rbx, 0x7fffffff
mov eax, 0x7fffffff
cmovl rax, rbx
pop rbx
pop rdi
pop rsi
ret

Function at 0x140146bb0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140146c34
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140146c34
dec r8
sub rdx, 1
jne 0x140146c1a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1401544b8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140154502
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140154502
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140154502
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140154502
cmp dword [rcx + 0x84], 0xe
jbe 0x140154502
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140154504
xor al, al
add rsp, 0x28
ret

Function at 0x14015d708
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14016dfb8
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14016dfea
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14016dfcd
mov rax, r8
ret

Function at 0x140179e80
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
je 0x140179f6a
call fcn.140179e10
test al, al
jne 0x140179f6a
mov qword [rsp + 0x30], rbx
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
xor r14d, r14d
mov esi, r14d
inc rbx
cmp byte [rdi + rbx], sil
jne 0x140179ec0
mov r8, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rdi
call fcn.1401f0050
test rax, rax
je 0x140179f05
sub rax, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rdi
call fcn.1401f0050
mov rsi, rax
test rax, rax
je 0x140179f05
inc rsi
mov rcx, rdi
sub rcx, rsi
add rbx, rcx
test rsi, rsi
mov ebp, 0x1505
cmovne rdi, rsi
mov rsi, rdi
lea rax, [rbx + rdi]
cmp rdi, rax
cmova rbx, r14
mov r14, qword [rsp + 0x48]
test rbx, rbx
je 0x140179f51
nop dword [rax]
movzx ecx, byte [rsi]
call fcn.140187c40
movsx rcx, al
inc rsi
imul rbp, rbp, 0x21
mov rax, rsi
xor rbp, rcx
sub rax, rdi
cmp rax, rbx
jb 0x140179f30
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
movzx eax, bpl
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140184c40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x140184c7b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, gethostname
mov edx, 0x51
cmp eax, 0x2733
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x140184de0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
mov rax, qword [0x1403295b8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r14, qword [rsp + 0x120]
mov rsi, rcx
movsxd rcx, edx
xor r13d, r13d
mov rax, rcx
mov r12, r9
shl rax, 5
mov r15, r8
lea rbx, [rsi + 0x298]
mov rbp, qword [rsi + rcx*8 + 0x250]
add rbx, rax
mov rax, qword [rsi + 0x3f8]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x7c], 3
je 0x140184ee7
lea rax, [0x140184c90]
cmp qword [rsi + rcx*8 + 0x278], rax
jne 0x140184ee7
cmp qword [rbx], r13
je 0x140184e6e
test rdi, rdi
je 0x140184ee7
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, rbp
call fcn.140183fa0
cmp eax, 0xffffffff
je 0x140184ee7
test al, 1
je 0x140184ee7
mov rax, qword [rbx]
test rax, rax
jne 0x140184ec0
mov rax, qword [rsi]
mov ecx, dword [rax + 0xb70]
add ecx, ecx
movsxd rcx, ecx
mov qword [rbx + 8], rcx
call qword [fcn.14023a058]
mov rdi, qword [rbx + 8]
mov qword [rbx], rax
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
test rax, rax
je 0x140184ee3
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rax
mov r8d, edi
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x140184ee7
add qword [rbx + 0x10], rcx
jmp 0x140184ee7
mov qword [rbx + 8], r13
xor r9d, r9d
mov r8d, r12d
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
movsxd rdi, eax
mov dword [r14], r13d
cmp rdi, 0xffffffffffffffff
jne 0x140184f54
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x140184f20
mov dword [r14], 0x51
mov rax, r13
jmp 0x140184f57
mov r8d, 0x80
lea rdx, [rsp + 0x20]
mov ecx, ebx
call fcn.140209ad0
mov rcx, qword [rsi]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.140184a60
mov rcx, qword [rsi]
mov dword [rcx + 0x1100], ebx
mov dword [r14], gethostname
mov rax, rdi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140141380
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140185c20
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x28
test byte [rcx + 0x2e8], 1
je 0x140185c3d
call fcn.14017de20
test eax, eax
jne 0x140185c63
xor al, al
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x250]
cmp rcx, 0xffffffffffffffff
je 0x140185c36
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x140185c36
mov al, 1
add rsp, 0x28
ret
Function at 0x140187070
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.140232ec0
cdqe
add rsp, 0x28
ret

Function at 0x140187770
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x1402e41a0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x14018779a
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, str.LoadLibraryExA
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1402dc810]
mov rcx, rbx
mov r14, rax
call fcn.14023e650
test rax, rax
je 0x1401877fd
mov rcx, rbx
test r14, r14
je 0x1401877e7
xor edx, edx
lea r8d, [rdx + 8]
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
test r14, r14
je 0x140187835
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140187835
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r15d, eax
test eax, eax
je 0x1401878f8
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x140187860
lea ecx, [rax + 1]
add rcx, rdx
call qword [fcn.14023a058]
mov rdi, rax
test rax, rax
je 0x1401878ea
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1401878ea
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x140187890
mov ecx, 0x5c
mov word [rax + rdi], cx
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x1401878a4
mov rcx, rdi
sub rcx, rbx
add rcx, rsi
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1401878c0
mov rcx, rdi
test r14, r14
je 0x1401878e1
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x1401878e7
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [fcn.140238394]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret