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

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140098fcc
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x140098f5a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x20
pop rdi
jmp 0x14009ae50
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x140098f9a
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.14016d66c
mov rcx, rbx
test rbx, rbx
jne 0x140098f80
mov rbx, qword [rsp + 0x38]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x30], rax
call fcn.140070820
add rsp, 0x20
pop rdi
ret
push rbp
push rsi
push r14
sub rsp, 0x40
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x14009af4e
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rsp + 0x60], rbx
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], rdi
mov rbx, r14
mov qword [rsp + 0x30], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
xor rcx, rax
mov qword [rsp + 0x28], r13
movzx eax, byte [r14 + 0x11]
mov r13, qword [r14 + 8]
imul rcx, r8
mov qword [rsp + 0x20], r15
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
mov qword [rsp + 0x78], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x68], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x70], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.14016d66c
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x70]
je 0x14009af5a
cmp rbx, rbp
jne 0x14009af00
cmp qword [rsp + 0x68], r14
jne 0x14009af2d
mov qword [r15], rbx
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x20]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov rax, rbp
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x68], r14
jne 0x14009af69
mov qword [r15], r12
mov rax, r12
jmp 0x14009af6c
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x14009af2d
nop word [rax + rax]
movzx r15d, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r15, rax
movzx eax, byte [rbx + 0x11]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x12]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x13]
imul r15, rdx
xor r15, rax
imul r15, rdx
and r15, qword [rsi + 0x30]
shl r15, 4
add r15, qword [rsp + 0x78]
mov r14, qword [r15 + 8]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.14016d66c
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x14009aff8
cmp rbx, rbp
jne 0x14009afd2
jmp 0x14009af2a
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x14009af80
jmp 0x14009af2d
Function at 0x1400a0a10
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400a0a41
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140275f38]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140275f48]
lea rdx, [rdi + rdi]
call fcn.14006e570
mov rax, qword [0x140275f38]
lea r9, [rdi - 1]
mov qword [0x140275f60], r9
mov qword [0x140275f68], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400a0bb4
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x140275f48]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400a0b00
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400a0b75
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400a0b3d
mov r10, qword [rdx]
cmp r10, rax
je 0x1400a0b37
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400a0b75
cmp r9, rdx
je 0x1400a0b51
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400a0b89
cmp r9, rdx
jne 0x1400a0b42
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1400a0baf
mov r9, qword [0x140275f60]
jmp 0x1400a0ab1
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400a0b75
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a10a0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x30
mov rbx, r8
mov r14, rdx
mov rsi, rcx
lea r15, [rcx + 8]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.14016d318
mov rdi, rax
mov qword [rsp + 0x28], rax
mov r9d, dword [rbx]
mov dword [rax + 0x10], r9d
mov r8d, r9d
shr r8d, 0x18
mov ecx, r9d
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr ecx, 8
movzx eax, cl
movzx ebx, r9b
movabs rcx, 0xcbf29ce484222325
xor rbx, rcx
movabs rcx, 0x100000001b3
imul rbx, rcx
xor rbx, rax
imul rbx, rcx
xor rbx, rdx
imul rbx, rcx
xor rbx, r8
imul rbx, rcx
mov rax, qword [rsi + 0x30]
and rax, rbx
add rax, rax
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rdx + rax*8 + 8]
mov r10, qword [r15]
cmp rcx, r10
jne 0x1400a115e
mov rcx, r10
mov r8, r10
jmp 0x1400a11b5
mov rax, qword [rdx + rax*8]
cmp r9d, dword [rcx + 0x10]
je 0x1400a1177
cmp rcx, rax
je 0x1400a11af
mov rcx, qword [rcx + 8]
cmp r9d, dword [rcx + 0x10]
jne 0x1400a1168
mov qword [r14], rcx
mov byte [r14 + 8], 0
test rdi, rdi
je 0x1400a1191
mov edx, 0x18
mov rcx, rdi
call fcn.14016d66c
mov rax, r14
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
mov r10, rcx
mov r8, rcx
mov rdx, qword [rsi + 0x10]
movabs rax, 0xaaaaaaaaaaaaaaa
cmp rdx, rax
jne 0x1400a11d6
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
add rdx, 1
xorps xmm0, xmm0
js 0x1400a11e6
cvtsi2ss xmm0, rdx
jmp 0x1400a11fb
mov rax, rdx
shr rax, 1
and edx, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rdx, rdx
js 0x1400a120e
cvtsi2ss xmm1, rdx
jmp 0x1400a1223
mov rax, rdx
shr rax, 1
and edx, 1
or rax, rdx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
jbe 0x1400a1287
mov rcx, rsi
call fcn.140073d30
mov rdx, qword [rsi + 0x30]
and rdx, rbx
add rdx, rdx
mov r8, qword [rsi + 0x18]
mov rax, qword [r8 + rdx*8 + 8]
mov rcx, qword [r15]
cmp rax, rcx
jne 0x1400a125a
mov qword [rsp + 0x28], 0
jmp 0x1400a127a
mov r8, qword [r8 + rdx*8]
mov edx, dword [rdi + 0x10]
cmp edx, dword [rax + 0x10]
je 0x1400a1277
mov rcx, rax
cmp rax, r8
je 0x1400a12ba
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x1400a1266
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
mov r8, rcx
mov r10, qword [rsp + 0x20]
mov rdx, qword [rcx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r10
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rcx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, rbx
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r15]
jne 0x1400a12ca
mov qword [rcx + rax*8], rdi
jmp 0x1400a12dc
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x1400a127f
cmp r9, r8
jne 0x1400a12d5
mov qword [rcx + rax*8], rdi
jmp 0x1400a12e1
cmp qword [rcx + rax*8 + 8], rdx
jne 0x1400a12e1
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x1400a1191
Function at 0x1400ad610
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400ad648
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14006e570
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400ad786
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400ad700
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400ad775
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400ad73d
mov r10, qword [rdx]
cmp r10, rax
je 0x1400ad737
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400ad775
cmp r9, rdx
je 0x1400ad751
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400ad79b
cmp r9, rdx
jne 0x1400ad742
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1400ad6b0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400ad775
Function at 0x1400ad7d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400ad808
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14006e570
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400ad98e
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
movzx r8d, byte [rax + 0x14]
xor r9, rbp
mov rcx, qword [rcx]
xor r8, rbp
imul r9, rdi
imul r8, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
xor r8, rdx
movzx edx, byte [rax + 0x16]
imul r8, rdi
imul r9, rdi
xor r8, rdx
movzx edx, byte [rax + 0x17]
imul r8, rdi
xor r8, rdx
imul r8, rdi
lea r11, [r8 + r8]
xor r11, r9
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rbx
jne 0x1400ad8f4
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400ad97d
mov rdx, qword [r11 + 8]
mov r9d, dword [rax + 0x10]
cmp r9d, dword [rdx + 0x10]
jne 0x1400ad93b
mov r8d, dword [rdx + 0x14]
cmp dword [rax + 0x14], r8d
jne 0x1400ad93b
mov r10, qword [rdx]
cmp r10, rax
je 0x1400ad935
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400ad97d
cmp r10, rdx
je 0x1400ad959
mov rdx, qword [rdx + 8]
cmp r9d, dword [rdx + 0x10]
jne 0x1400ad954
mov r8d, dword [rdx + 0x14]
cmp dword [rax + 0x14], r8d
je 0x1400ad9a3
cmp r10, rdx
jne 0x1400ad940
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1400ad870
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400ad97d
Function at 0x1400b0900
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x250
mov rbx, r9
mov rsi, r8
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
mov dword [rax + 0x10], 1
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x280], 0x200
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], bpl
mov dword [rsp + 0x40], 1
cmp qword [rsi + 0x18], 7
jbe 0x1400b0973
mov rsi, qword [rsi]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400b0a90
cmp qword [rbx + 0x18], 7
jbe 0x1400b09a8
mov rbx, qword [rbx]
lea rax, [rsp + 0x280]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x278]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b0a85
cmp dword [rsp + 0x278], 1
jne 0x1400b0a85
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
mov r9, rbx
nop dword [rax]
inc r9
cmp word [rax + r9*2], 0
jne 0x1400b0a00
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x50]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rsi, eax
mov rdx, rsi
xor r8d, r8d
mov rcx, rdi
call fcn.14006e4b0
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400b0a4e
mov rcx, qword [rdi]
lea rax, [rsp + 0x50]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400b0a53
mov r9, rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x50]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rbx, qword [rsp + 0x288]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400b0ab0
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x140
mov rbx, rcx
mov dword [rax + 0x10], 0x101
lea rcx, [rsp + 0x30]
xor edi, edi
lea rdx, [rax + 0x10]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
test eax, eax
je 0x1400b0b18
mov qword [rbx + 0x10], rdi
lea rax, [rsp + 0x30]
mov qword [rbx + 0x18], rdi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x1400b0b00
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14004dde0
jmp 0x1400b0b4a
mov qword [rbx + 0x10], 7
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov rax, qword [str.Unknown]
mov dword [rbx], eax
movzx eax, word [0x140198374]
mov word [rbx + 4], ax
movzx eax, byte [0x140198376]
mov byte [rbx + 6], al
mov byte [rbx + 7], dil
mov rax, rbx
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
Function at 0x1400be9f0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rsi
push rdi
push r12
push r15
mov rbp, rsp
sub rsp, 0x60
xor r12d, r12d
mov r15, r9
mov rsi, rdx
mov rdi, rcx
cmp rcx, 0xffffffffffffffff
je 0x1400bebc6
mov qword [rsp + 0x98], rbx
test r8b, r8b
je 0x1400bea5c
movzx eax, byte [rdx]
test al, 8
je 0x1400bea5c
or al, 8
mov dword [rbp + 0x30], r12d
mov byte [rdx], al
lea r9, [rbp + 0x30]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea rcx, [rbp - 0x18]
setne dl
call fcn.1400be880
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov rcx, r15
mov ebx, eax
setne dl
call fcn.1400be880
test ebx, ebx
je 0x1400bebc2
mov qword [rsp + 0xa0], r13
movabs rcx, 0x4d54ee85da812030
mov qword [rsp + 0xa8], r14
lea r13, [0x140275e80]
mov r14, qword [0x140275e88]
add rcx, r14
mov dword [rbp - 0x2c], r12d
cmp rcx, 1
jbe 0x1400beacc
mov rax, qword [0x140275e80]
mov edx, 0x2733
mov rcx, r13
call qword [rax + 0x30]
mov r14, qword [0x140275e88]
jmp 0x1400beace
mov al, 1
movzx eax, al
lea rdx, [rbp - 0x18]
add rax, 2
mov dword [rbp - 0x30], 0x2733
mov qword [rbp - 0x20], rax
mov rcx, r15
movsd xmm1, qword [rbp - 0x20]
mov qword [rbp - 0x28], r13
movups xmm0, xmmword [rbp - 0x30]
movsd qword [rbp - 8], xmm1
movups xmmword [rbp - 0x18], xmm0
call fcn.1400bdb10
test al, al
jne 0x1400beb6b
movabs rax, 0x4d54ee85da812030
mov dword [rbp - 0x2c], r12d
add rax, r14
cmp rax, 1
jbe 0x1400beb31
mov rax, qword [0x140275e80]
mov edx, 0x4d5
mov rcx, r13
call qword [rax + 0x30]
jmp 0x1400beb33
mov al, 1
movzx eax, al
lea rdx, [rbp - 0x18]
add rax, 2
mov dword [rbp - 0x30], 0x4d5
mov qword [rbp - 0x20], rax
mov rcx, r15
movsd xmm1, qword [rbp - 0x20]
mov qword [rbp - 0x28], r13
movups xmm0, xmmword [rbp - 0x30]
movsd qword [rbp - 8], xmm1
movups xmmword [rbp - 0x18], xmm0
call fcn.1400bdb10
test al, al
je 0x1400beb9c
lea r8, [rbp + 0x30]
mov dword [rbp + 0x30], r12d
mov edx, 0x8004667e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [rsi], 0xfc
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov rcx, r15
mov ebx, eax
setne dl
call fcn.1400be880
mov r13, qword [rsp + 0xa0]
mov eax, ebx
mov r14, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, ebx
jmp 0x1400bebae
mov eax, r12d
add rsp, 0x60
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400bebe0
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, r9
cmp rcx, 0xffffffffffffffff
jne 0x1400bec6b
movabs rcx, 0x4d54ee85da812030
mov dword [rsp + 0x24], 0
add rcx, qword [0x140275e88]
lea rbx, [0x140275e80]
cmp rcx, 1
jbe 0x1400bec2d
mov rax, qword [0x140275e80]
mov edx, 0x2719
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x1400bec2f
mov al, 1
movzx eax, al
add rax, 2
mov dword [rsp + 0x20], 0x2719
mov qword [rsp + 0x30], rax
mov eax, 0xffffffff
movsd xmm1, qword [rsp + 0x30]
mov qword [rsp + 0x28], rbx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
movsd qword [rdi + 0x10], xmm1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
mov rcx, rdi
mov ebx, eax
setne dl
call fcn.1400be880
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400bec90
Capabilities:
Set socket configuration

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
cmp qword [rdx + 0x10], 1
mov rbx, rdx
mov rdi, rcx
je 0x1400becbc
mov edx, dword [rdx]
jmp 0x1400becef
mov rcx, qword [rdx + 8]
movabs rax, 0x4800144005b3
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul edx, ecx, 0x3e8
add edx, dword [rbx]
xor r14d, r14d
lea rsi, [0x140275e80]
movabs r15, 0x4d54ee85da812030
sub edx, 0x79
je 0x1400bedda
sub edx, 0x450
je 0x1400beda0
sub edx, 6
je 0x1400bed66
cmp edx, 1
jne 0x1400bee2b
mov rcx, qword [0x140275e88]
add rcx, r15
mov dword [rbp - 0x1c], r14d
cmp rcx, 1
jbe 0x1400bed58
mov rax, qword [0x140275e80]
mov edx, 0x2751
mov rcx, rsi
call qword [rax + 0x30]
mov dword [rbp - 0x20], 0x2751
jmp 0x1400bee0b
mov al, 1
mov dword [rbp - 0x20], 0x2751
jmp 0x1400bee0b
mov rcx, qword [0x140275e88]
add rcx, r15
mov dword [rbp - 0x1c], r14d
cmp rcx, 1
jbe 0x1400bed95
mov rax, qword [0x140275e80]
mov edx, 0x2743
mov rcx, rsi
call qword [rax + 0x30]
mov dword [rbp - 0x20], 0x2743
jmp 0x1400bee0b
mov al, 1
mov dword [rbp - 0x20], 0x2743
jmp 0x1400bee0b
mov rcx, qword [0x140275e88]
add rcx, r15
mov dword [rbp - 0x1c], r14d
cmp rcx, 1
jbe 0x1400bedcf
mov rax, qword [0x140275e80]
mov edx, 0x274d
mov rcx, rsi
call qword [rax + 0x30]
mov dword [rbp - 0x20], 0x274d
jmp 0x1400bee0b
mov al, 1
mov dword [rbp - 0x20], 0x274d
jmp 0x1400bee0b
mov rcx, qword [0x140275e88]
add rcx, r15
mov dword [rbp - 0x1c], r14d
cmp rcx, 1
jbe 0x1400bee02
mov rax, qword [0x140275e80]
mov edx, 0x274c
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x1400bee04
mov al, 1
mov dword [rbp - 0x20], 0x274c
movzx eax, al
mov qword [rbp - 0x18], rsi
add rax, 2
movups xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x10], rax
movsd xmm1, qword [rbp - 0x10]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
mov rax, qword [rbx + 0x10]
test al, 1
je 0x1400bee46
cmp rax, 1
jne 0x1400beec8
cmp dword [rbx], r14d
jne 0x1400beec8
cmp rdi, 0xffffffffffffffff
jne 0x1400bee9f
mov rcx, qword [0x140275e88]
add rcx, r15
mov dword [rbp - 0x1c], r14d
cmp rcx, 1
jbe 0x1400bee74
mov rax, qword [0x140275e80]
mov edx, 0x2719
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x1400bee76
mov al, 1
movzx eax, al
mov dword [rbp - 0x20], 0x2719
add rax, 2
mov qword [rbp - 0x18], rsi
movups xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x10], rax
movsd xmm1, qword [rbp - 0x10]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
jmp 0x1400beec8
xor r9d, r9d
mov dword [rsp + 0x20], r14d
mov edx, 0xffff
mov r8d, 0x7010
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
mov rcx, rbx
setne dl
call fcn.1400be880
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rbp
ret