joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18005c6f8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x18005c722
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x18005c792
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x18005c78c
test rax, rax
jle 0x18005c76c
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call fcn.18009cd34
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x18005c78c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18005c78c
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x180064764
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
call fcn.180064170
xor esi, esi
mov rbx, rax
test rax, rax
je 0x180064962
xor r8d, r8d
lea rcx, [rbp - 0x40]
mov rdx, rax
call fcn.180054538
mov ecx, dword [rbp - 0x38]
lea rdx, [rbp - 0x50]
movsd xmm0, qword [rbp - 0x40]
mov dword [rbp - 0x48], ecx
lea rcx, [rbp + 0x20]
movsd qword [rbp - 0x50], xmm0
call fcn.1800561b0
mov rax, qword [0x1802c4280]
mov edi, esi
mov rcx, qword [rax]
test rcx, rcx
je 0x1800647d9
mov rdi, qword [rcx + 8]
cmp byte [0x1802c4575], sil
movss xmm7, dword [0x1802c42e0]
movss xmm6, dword [0x1802c42e4]
mulss xmm7, dword [0x1800a39ec]
mulss xmm6, dword [0x1800a39ec]
je 0x180064826
xor edx, edx
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [0x1802c47e0], rsi
mov byte [0x1802c4575], sil
movsd xmm0, qword [rbx + 0x90]
movsd xmm8, qword [0x1800aae70]
movsd qword [rbp - 0x40], xmm0
movsd xmm0, qword [rdi + 0x90]
movsd qword [rbp - 0x50], xmm0
movss xmm0, dword [rbp + 0x24]
cvtps2pd xmm1, xmm6
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movaps xmm1, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movss xmm0, dword [rbp + 0x20]
cvtps2pd xmm1, xmm7
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movaps xmm1, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x1802c04a0]
xorps xmm2, xmm2
cvtps2pd xmm1, xmm1
cvtss2sd xmm2, xmm0
addsd xmm1, qword [0x1800aae68]
comisd xmm1, xmm2
jb 0x180064962
movss xmm0, dword [rbp - 0x4c]
movaps xmm1, xmm8
movss xmm2, dword [rbp - 0x50]
subss xmm0, dword [rbp - 0x3c]
subss xmm2, dword [rbp - 0x40]
cvtps2pd xmm7, xmm0
cvtps2pd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movaps xmm1, xmm8
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
movaps xmm1, xmm8
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movss xmm1, dword [0x1802c04a4]
mulsd xmm0, qword [0x18010cac0]
cvtps2pd xmm1, xmm1
comisd xmm1, xmm0
jb 0x180064962
mov ecx, dword [0x1802c50cc]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x180064962
movsxd rax, dword [0x1802c4fd8]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x28]
mov qword [rbp + 0x20], rax
call fcn.18005ef90
mov rcx, rax
call fcn.180051b70
xor edx, edx
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov byte [0x1802c4575], 1
movaps xmm6, xmmword [rsp + 0x70]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm7, xmmword [rsp + 0x60]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret
Function at 0x180072e60
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
cmp byte [0x1802c513d], bpl
je 0x180073043
mov rax, qword [0x1802c4338]
test rax, rax
jne 0x180072f2b
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r11, qword [rax]
mov rdx, r11
mov r8, qword [rdx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x180072f10
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x180072f10
mov esi, dword [r9 + 0x20]
dec r10d
mov ebx, 0x811c9dc5
lea rax, [rsi + r10*4]
mov ecx, dword [rax + r8]
add rcx, r8
mov al, byte [rcx]
inc rcx
test al, al
je 0x180072f0b
movsx eax, al
xor eax, ebx
imul ebx, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x180072eeb
cmp ebx, 0x95466b05
je 0x180073025
test r10d, r10d
jne 0x180072ecf
mov rax, qword [rdx]
mov rdx, rax
cmp rax, r11
je 0x180072f21
cmp qword [rax + 0x30], rbp
jne 0x180072eaa
mov rax, rbp
mov qword [0x1802c4338], rax
mov ecx, dword [0x1802c5544]
call rax
test ax, ax
je 0x180073043
mov rax, qword [0x1802c4280]
mov rcx, qword [rax]
test rcx, rcx
je 0x180073043
mov r9, qword [rcx + 8]
test r9, r9
je 0x180073043
mov rax, qword [0x1802c4288]
mov rcx, qword [rax]
test rcx, rcx
je 0x180073043
mov r8, qword [rcx + 0x18]
test r8, r8
je 0x180073043
movss xmm3, dword [0x1800a3a14]
mov r10d, ebp
mov r11, rbp
movsxd rax, r10d
cmp rax, qword [r8 + 0x108]
jae 0x180073043
mov rcx, qword [r8 + 0x100]
test rcx, rcx
je 0x180073019
mov rcx, qword [r11 + rcx]
test rcx, rcx
je 0x180073019
cmp rcx, r9
je 0x180073019
mov eax, dword [0x1802c42a4]
mov edx, dword [rax + rcx]
test edx, edx
je 0x180073019
and edx, 0x1fc000
cmp edx, 0x8000
je 0x180073019
movsd xmm0, qword [r9 + 0x90]
movss xmm1, dword [r9 + 0x98]
movsd qword [rsp + 0x20], xmm0
movss xmm2, dword [rsp + 0x24]
movss xmm0, dword [rsp + 0x20]
addss xmm2, xmm3
movss dword [rcx + 0x90], xmm0
movss dword [rcx + 0x94], xmm2
movss dword [rcx + 0x98], xmm1
mov dword [rcx + 0x280], 0x3dcccccd
inc r10d
add r11, 0x10
jmp 0x180072f8a
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x180072f24
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180079768
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x1802c0758]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdx, qword [0x1802c4240]
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
and qword [rbp + 0x3f], 0
and qword [rbp + 0x47], 0
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1800797a4
lea rcx, [rbp + 0x2f]
call fcn.180034f40
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x3f]
sub rax, rcx
cmp rax, 0xc
jb 0x18007995c
lea rax, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0x10
cmovae rax, qword [rbp + 0x2f]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], select
lea r9, str.C:_szophook_
lea r8, [rbp + 0x2f]
mov dl, byte [rbp - 0x19]
lea rcx, [rbp - 0x11]
call fcn.1800625e0
nop
mov r8d, 5
lea rdx, str..json
lea rcx, [rbp - 0x11]
call fcn.180046130
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f], xmm1
and qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov edi, 0x1000
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x18007988f
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, rdi
jb 0x18007988a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18007988a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180097778
movdqa xmm0, xmmword [0x1800aae90]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], 0
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
call fcn.180078d44
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x1800798f4
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, rdi
jb 0x1800798ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800798ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180097778
movdqa xmm0, xmmword [0x1800aae90]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], 0
mov rdx, qword [rbp + 0x47]
cmp rdx, 0x10
jb 0x18007993f
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, rdi
jb 0x18007993a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18007993a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180097778
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.180097d30
mov rdi, qword [rsp + 0xc0]
add rsp, 0xb0
pop rbp
ret
call fcn.180043ad8
nop
int3
Function at 0x18007bc00
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x1802c0758]
xor rax, rsp
mov qword [rsp + 0xc0], rax
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
lea rcx, [0x18007bb60]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x18007bc77
mov qword [rsp + 0x20], 0xc8
lea rdx, [rsp + 0x30]
lea rcx, [0x18007bb60]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.18005ef90
mov rcx, rax
call fcn.180051b70
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18007bc44
mov r8d, 0x80
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180097d30
add rsp, 0xd8
ret

Function at 0x18007bcb8
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
and qword [rsp + 0x28], 0
lea r8, [0x18007bcf0]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
test rax, rax
je 0x18007bce9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x38
ret
Function at 0x1800894c0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x18008958c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18008958c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1800895a5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18008957c
cmp byte [rax], 0x5c
jne 0x180089576
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180089576
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180089562
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x180089573
test r8b, 0x10
jne 0x180089576
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x180089576
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18008cef0
test edi, edi
jne 0x1800894e0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.18008b350
int3
Function at 0x18008d9b0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bpl
mov dword [rsp + 0x20], 1
lea rsi, [rdx + 0x10]
mov rdx, qword [rsi]
call fcn.180095220
lea r15d, [rbp - 6]
cmp qword [rdi + 0x18], 0x10
jb 0x18008da14
mov r14, qword [rdi]
mov rcx, r14
mov rdi, r14
jmp 0x18008da1a
mov r14, rdi
mov rcx, rdi
mov r13, qword [rsi]
add r13, rcx
cmp rdi, r13
je 0x18008db1f
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
shl ebp, 8
movzx eax, byte [r14]
add ebp, eax
add r15d, 8
js 0x18008dabd
movsxd r12, ebp
movsxd rdi, r15d
lea ecx, [r15 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov esi, edx
imul eax, edx, 0xfffffffa
add r15d, eax
nop
mov rax, r12
mov rcx, rdi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rax, rdx
jae 0x18008da9d
lea rcx, [rax + 1]
mov qword [rbx + 0x10], rcx
mov rcx, rbx
cmp rdx, 0x10
jb 0x18008da92
mov rcx, qword [rbx]
mov byte [rcx + rax], r9b
mov byte [rcx + rax + 1], 0
jmp 0x18008dab3
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.18004bd18
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
sub rdi, 6
sub rsi, 1
jne 0x18008da60
inc r14
cmp r14, r13
jne 0x18008da30
cmp r15d, 0xfffffffa
jle 0x18008db1f
lea ecx, [r15 + 8]
shl ebp, 8
movsxd rax, ebp
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x18008db10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x18008db05
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18008db1f
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.18004bd18
mov rcx, qword [rbx + 0x10]
test cl, 3
je 0x18008db70
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x18008db55
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x18008db4d
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x18008db67
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.18004bd18
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x18008db30
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180090d00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x180090d34
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180090d20
ret
Function at 0x180091ac0
Capabilities:
Encode data using xor
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1802c0758]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x50], rcx
xor edi, edi
cmp byte [0x18010d2cb], dil
mov rbx, rcx
mov eax, dword [0x18010d2c8]
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x44], eax
je 0x180091be4
cmp dword [0x1802c0770], 2
jl 0x180091ba0
movdqa xmm3, xmmword [0x18010d9f0]
mov ecx, 5
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x18010da40]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x18010da40]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
movd xmm0, ecx
psrad xmm2, xmm0
mov ecx, 0x1f
movdqa xmm1, xmm2
movd xmm0, ecx
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x18010da10]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010da20]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x44], xmm2
jmp 0x180091be4
lea r9, [rsp + 0x44]
mov r8d, edi
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x180091bb0
mov dword [rsp + 0x38], edi
lea r9, [rsp + 0x50]
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x28], rdi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x180091c60
mov ecx, dword [rsp + 0x50]
lea r10, [rsp + 0x6d]
nop dword [rax]
dec r10
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r10], cl
mov ecx, edx
test edx, edx
jne 0x180091c20
lea r9, [rsp + 0x40]
mov rdx, r10
lea r8, [rsp + 0x6d]
mov rcx, rbx
call fcn.18007bd10
jmp 0x180091c80
xorps xmm0, xmm0
lea rdx, [0x1800a2ab4]
movups xmmword [rbx], xmm0
xor r8d, r8d
mov qword [rbx + 0x10], rdi
mov rcx, rbx
mov qword [rbx + 0x18], rdi
call fcn.180034f40
mov rax, rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.180097d30
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x180091cb0
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x468
mov rax, qword [0x1802c0758]
xor rax, rsp
mov qword [rsp + 0x450], rax
movzx eax, word [rcx]
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov rbx, rcx
cmp ax, 2
je 0x180091ce8
cmp ax, 0x17
jne 0x180091d5d
movzx ecx, word [rcx + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
xor edx, edx
lea rcx, [rsp + 0x40]
mov dword [rsi], eax
mov r8d, 0x401
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x40]
mov r9d, 0x401
mov qword [rsp + 0x20], rax
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x180091d5d
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180091d42
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.18008d850
mov al, 1
jmp 0x180091d5f
xor al, al
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.180097d30
add rsp, 0x468
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x180091d80
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1802c0758]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rcx, qword [rcx + 8]
mov rdi, r8
mov rbx, rdx
mov dword [rsp + 0x20], 0x80
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x180091dd9
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.180091cb0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180097d30
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret
Function at 0x180092980
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1802c0758]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdx, qword [rcx + 0x28]
mov rsi, rcx
mov rax, qword [rcx + 0x20]
mov rdi, qword [rcx + 8]
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x40], 1
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x1800929fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1800929d0
test ebx, ebx
jle 0x180092a13
mov rcx, qword [rsi + 8]
call fcn.1800928e0
test al, al
je 0x180092a13
mov al, 1
jmp 0x180092a15
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180097d30
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov r14, rcx
nop word [rax + rax]
mov r9d, edi
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x180094664
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x180094640
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1800955f0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1802c0758]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x180095660
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x180095630
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180097d30
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret