joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff7f795f640
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x7ff7f795f69d
lea rbx, [0x7ff7f7a1b2b0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x7ff7f795f684
cmp r10, 2
jb 0x7ff7f795f684
cmp byte [r9], r8b
jne 0x7ff7f795f684
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x7ff7f795f660
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x7ff7f795f6df
lea rbx, [0x7ff7f7a1b2b0]
cmp r8b, 0x23
jne 0x7ff7f795f6c3
cmp byte [r9], r8b
jne 0x7ff7f795f6c3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x7ff7f795f6b0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x7ff7f795f820
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x7ff7f795f83a
mov qword [r8], 0
lea rdx, [0x7ff7f7a1ae10]
call fcn.7ff7f795f6f0
mov rbx, rax
test rax, rax
jne 0x7ff7f795f85a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.ucrtbase.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x7ff7f795f931
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x7ff7f795f931
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x7ff7f795f931
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x7ff7f795f931
cmp rdi, 0xffffffffffffffff
je 0x7ff7f795f931
mov rax, qword [0x7ff7f7a44dd0]
test rax, rax
je 0x7ff7f795f8ce
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.ucrtbase.dll_malloc]
mov rsi, rax
test rax, rax
je 0x7ff7f795f931
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x7ff7f795f91e
call qword [sym.imp.ucrtbase.dll_fclose]
mov rax, qword [0x7ff7f7a44dd0]
test rax, rax
je 0x7ff7f795f913
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.ucrtbase.dll_free]
jmp 0x7ff7f795f93a
call qword [sym.imp.ucrtbase.dll_fclose]
test r14, r14
je 0x7ff7f795f92c
mov qword [r14], rdi
mov rax, rsi
jmp 0x7ff7f795f93c
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x7ff7f7963860
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x7ff7f7a1b2b0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f40], ebx
jne 0x7ff7f79638f6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.7ff7f7977f70
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x7ff7f7963900
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x7ff7f7a1b2b0]
vmovss xmm3, dword [rcx + 0x110]
vmovss xmm4, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
vmovss xmm0, dword [rdx]
vmovss xmm2, dword [rdx + 4]
vsubss xmm1, xmm0, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
vmovss dword [rsp], xmm1
movzx eax, byte [rsp]
xor rcx, rax
movzx eax, byte [rsp + 1]
vmovss xmm1, dword [rdx + 8]
vsubss xmm0, xmm2, xmm4
vmovss dword [rsp + 4], xmm0
xor r8d, dword [r9 + rcx*4]
vmovss xmm0, dword [rdx + 0xc]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
vsubss xmm2, xmm1, xmm3
vmovss dword [rsp + 8], xmm2
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
vsubss xmm1, xmm0, xmm4
vmovss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x7ff7f7970860
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x7ff7f7a3d168]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x7ff7f7a44dd0]
mov edi, ecx
cmp byte [rbx + 0x4a9d], 0
jne 0x7ff7f79708c1
cmp byte [rbx + 0x4a9e], 0
jne 0x7ff7f79708c1
movsx r9d, word [rbx + 0x5bc2]
lea r8, [0x7ff7f7a1aa48]
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.7ff7f795f4a0
test dil, 1
je 0x7ff7f79709ef
jmp 0x7ff7f7970949
vmovss xmm1, dword [rbx + 0x389c]
vmovss xmm0, dword [0x7ff7f7a20ee0]
vfmadd213ss xmm0, xmm1, dword [rbx + 0xe0c]
vmovss xmm2, dword [0x7ff7f7a20efc]
vfmadd213ss xmm2, xmm1, dword [rbx + 0xe08]
movsx r9d, word [rbx + 0x5bc2]
lea r8, [0x7ff7f7a1aa48]
xor eax, eax
mov dword [rbx + 0x47d4], 1
vmovss dword [rbx + 0x47e0], xmm2
vmovss dword [rbx + 0x47e4], xmm0
mov qword [rbx + 0x47e8], rax
lea rcx, [rsp + 0x20]
vmovss xmm0, dword [rbx + 0x3904]
vmulss xmm1, xmm0, dword [0x7ff7f7a20dc0]
or dword [rbx + 0x47d0], 0x41
lea edx, [rax + 0x10]
vmovss dword [rbx + 0x4830], xmm1
call fcn.7ff7f795f4a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x7ff7f79709a0
lea r11, [0x7ff7f7a1b2b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x7ff7f7970983
cmp byte [r8], r9b
jne 0x7ff7f7970983
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x7ff7f7970970
not ecx
call fcn.7ff7f7967700
test rax, rax
je 0x7ff7f79709ef
cmp byte [rax + 0xb6], 0
je 0x7ff7f79709ef
mov byte [rax + 0xbb], 1
lea r8, [0x7ff7f7a1aa48]
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc2]
movsx r9d, word [rbx + 0x5bc2]
call fcn.7ff7f795f4a0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.7ff7f7969ed0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.7ff7f7a057e0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x7ff7f7976880
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5ca8], 0
lea rbx, [rcx + 0x5cb0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x7ff7f7976927
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x7ff7f79768da
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.7ff7f7978c90
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.7ff7f79600c0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x7ff7f7a44dc8]
cmovne rcx, rax
call qword [sym.imp.ucrtbase.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x7ff7f797692f
mov rcx, rbx
call fcn.7ff7f79600c0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x7ff7f7976da0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x7ff7f7a44dd0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x7ff7f7976e03
mov qword [rsp], rbx
lea rbx, [0x7ff7f7a1b2b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x7ff7f7976de3
cmp byte [r8], r9b
jne 0x7ff7f7976de3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x7ff7f7976dd0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x7ff7f7976e37
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x7ff7f7976e3e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x7ff7f7976e24
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x7ff7f79a4230
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x7ff7f79a42bc
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x7ff7f79a4290
lea r11, [0x7ff7f7a1b2b0]
nop
cmp r9b, 0x23
jne 0x7ff7f79a4273
cmp byte [r8], r9b
jne 0x7ff7f79a4273
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x7ff7f79a4260
mov rcx, qword [0x7ff7f7a44dd0]
not eax
cmp dword [rcx + 0x3f58], eax
jne 0x7ff7f79a42a7
mov dword [rcx + 0x3f5c], eax
cmp dword [rcx + 0x3f88], eax
jne 0x7ff7f79a4319
mov byte [rcx + 0x3f8c], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x7ff7f7a44dd0]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x3ef8]
movsxd rax, dword [rbx + 0xf0]
mov r8, qword [rbx + 0xf8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.7ff7f795f640
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x3f40], eax
jne 0x7ff7f79a4312
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.7ff7f7977f70
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x7ff7f79b6db0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x7ff7f7a3d168]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x7ff7f79b6e83
cmp byte [rcx + 0x71], 0
je 0x7ff7f79b6e83
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x7ff7f79b6e7f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x7ff7f79b6e44
sub eax, 1
je 0x7ff7f79b6e48
cmp eax, 2
jne 0x7ff7f79b6e7f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff7f7a057e0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x7ff7f79b6e76
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp rdi, rax
jne 0x7ff7f79b6e7f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x7ff7f79b6e2c
xor al, al
jmp 0x7ff7f79b6e2c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff7f7a057e0
add rsp, 0x60
pop rbx
ret
Function at 0x7ff7f79c0e78
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov rdi, qword [rcx + 0x18]
mov rsi, qword [rcx + 0x10]
mov r14, qword [rcx + 8]
mov r15, qword [rcx]
mov r9d, dword [rdi]
mov r8d, dword [rsi]
mov rdx, qword [r14]
mov rcx, qword [r15]
call qword [sym.imp.ws2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x7ff7f79c0ec4
call qword [sym.imp.ucrtbase.dll__errno]
cmp dword [rax], 4
je 0x7ff7f79c0ea0
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret

Function at 0x7ff7f79c0ee4
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, qword [rcx + 8]
mov r14, qword [rcx]
mov ecx, dword [r14]
xor r9d, r9d
inc ecx
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.ws2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x7ff7f79c0f2f
call qword [sym.imp.ucrtbase.dll__errno]
cmp dword [rax], 4
je 0x7ff7f79c0f04
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x7ff7f79c0f48
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, qword [rcx + 8]
mov r14, qword [rcx]
mov ecx, dword [r14]
xor r9d, r9d
inc ecx
mov qword [rsp + 0x20], rdi
mov r8, rsi
xor edx, edx
call qword [sym.imp.ws2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x7ff7f79c0f92
call qword [sym.imp.ucrtbase.dll__errno]
cmp dword [rax], 4
je 0x7ff7f79c0f68
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x7ff7f79c0fac
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov rdi, qword [rcx + 0x18]
mov rsi, qword [rcx + 0x10]
mov r14, qword [rcx + 8]
mov r15, qword [rcx]
mov r9d, dword [rdi]
mov r8d, dword [rsi]
mov rdx, qword [r14]
mov rcx, qword [r15]
call qword [sym.imp.ws2_32.dll_send]
movsxd rbx, eax
test eax, eax
jns 0x7ff7f79c0ff8
call qword [sym.imp.ucrtbase.dll__errno]
cmp dword [rax], 4
je 0x7ff7f79c0fd4
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
Function at 0x7ff7f79c1018
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rdi, qword [rcx + 0x20]
mov rsi, qword [rcx + 0x18]
mov rbp, qword [rcx + 0x10]
mov r14, qword [rcx + 8]
mov r15, qword [rcx]
mov ecx, dword [r15]
mov r9, rsi
inc ecx
mov qword [rsp + 0x20], rdi
mov r8, rbp
mov rdx, r14
call qword [sym.imp.ws2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x7ff7f79c106e
call qword [sym.imp.ucrtbase.dll__errno]
cmp dword [rax], 4
je 0x7ff7f79c1043
mov rbp, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x7ff7f79cdb3c
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rsi, rdx
mov dword [rax + 8], 1
mov rbx, r8
mov rdi, rcx
mov rcx, rsi
lea r8, [rax + 8]
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
mov r8d, dword [rbx + 0x10]
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
jns 0x7ff7f79cdbcd
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x7ff7f79cdba6
mov rax, qword [rdi + 8]
mov dword [rax], 2
xor al, al
jmp 0x7ff7f79cdc91
mov r8, qword [rdi + 0x18]
mov rcx, rsi
mov rdx, qword [rdi + 0x10]
mov r8, qword [r8]
mov rdx, qword [rdx]
call fcn.7ff7f79e1820
mov ecx, eax
mov rax, qword [rdi + 8]
mov dword [rax], ecx
mov rax, qword [rdi + 8]
cmp dword [rax], 0
jne 0x7ff7f79cdb9f
and dword [rsp + 0x40], 0
lea r8, [rsp + 0x40]
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_ioctlsocket]
mov rax, qword [rdi + 0x28]
lea r9, [rsp + 0x40]
movabs r14, 0x20c49ba5e353f7cf
mov dword [rsp + 0x20], 4
mov ebx, 0xffff
mov r8d, 0x1006
mov rcx, qword [rax]
mov rax, r14
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rdi + 0x20]
imul ecx, dword [rax], 0x3e8
add edx, ecx
mov rcx, rsi
mov dword [rsp + 0x40], edx
mov edx, ebx
call qword [sym.imp.ws2_32.dll_setsockopt]
mov rax, qword [rdi + 0x38]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov rcx, qword [rax]
mov rax, r14
imul rcx
sar rdx, 7
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
mov rcx, qword [rdi + 0x30]
imul r8d, dword [rcx], 0x3e8
mov rcx, rsi
add edx, r8d
mov r8d, 0x1005
mov dword [rsp + 0x40], edx
mov edx, ebx
call qword [sym.imp.ws2_32.dll_setsockopt]
mov rcx, qword [rdi + 8]
mov al, 1
and dword [rcx], 0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x7ff7f79d16c0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x7ff7f79d184d
cmp ecx, 0x7c
je 0x7ff7f79d184d
cmp ecx, 0x29
jne 0x7ff7f79d173a
cmp dword [rdi + 0x1c], 0
jne 0x7ff7f79d184d
lea rbx, [rdi + 0x80]
test dword [rbx], 0x10000000
je 0x7ff7f79d1866
cmp ecx, 0x5d
jne 0x7ff7f79d1717
test dword [rbx], 0x10000000
je 0x7ff7f79d1874
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.7ff7f79d0cac
mov rcx, rdi
call fcn.7ff7f79d5660
mov rcx, rdi
call fcn.7ff7f79d56d4
mov ecx, dword [rdi + 0x7c]
mov al, 1
jmp 0x7ff7f79d16d2
lea rbx, [rdi + 0x80]
cmp ecx, 0x2e
jne 0x7ff7f79d1751
lea rcx, [rdi + 0x40]
call fcn.7ff7f79d0f34
jmp 0x7ff7f79d1723
cmp ecx, 0x5c
jne 0x7ff7f79d179f
mov rcx, rdi
call fcn.7ff7f79d5660
test byte [rbx], 0x80
je 0x7ff7f79d1795
mov al, byte [rdi + 0x78]
cmp al, 0x62
jne 0x7ff7f79d177d
lea rcx, [rdi + 0x40]
call fcn.7ff7f79d16b4
mov rcx, rdi
call fcn.7ff7f79d5660
jmp 0x7ff7f79d1733
cmp al, 0x42
jne 0x7ff7f79d1795
lea rcx, [rdi + 0x40]
call fcn.7ff7f79d16b4
lea rcx, [rdi + 0x40]
call fcn.7ff7f79d55fc
jmp 0x7ff7f79d1773
mov rcx, rdi
call fcn.7ff7f79d1890
jmp 0x7ff7f79d172b
cmp ecx, 0x5b
jne 0x7ff7f79d17ca
mov rcx, rdi
call fcn.7ff7f79d5660
mov rcx, rdi
call fcn.7ff7f79d21e4
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.7ff7f79d3ed8
jmp 0x7ff7f79d172b
cmp ecx, 0x28
jne 0x7ff7f79d17ff
mov rcx, rdi
call fcn.7ff7f79d5660
mov rcx, rdi
call fcn.7ff7f79d5d4c
mov edx, 0x29
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.7ff7f79d3ed8
test bl, bl
je 0x7ff7f79d1733
jmp 0x7ff7f79d172b
cmp ecx, 0x5e
jne 0x7ff7f79d1812
lea rcx, [rdi + 0x40]
call fcn.7ff7f79d0ca0
jmp 0x7ff7f79d1773
cmp ecx, 0x24
jne 0x7ff7f79d1825
lea rcx, [rdi + 0x40]
call fcn.7ff7f79d1034
jmp 0x7ff7f79d1773
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x7ff7f79d1882
cmp ecx, 0x3f
je 0x7ff7f79d1882
cmp ecx, 0x7b
je 0x7ff7f79d1882
cmp ecx, 0x7d
jne 0x7ff7f79d1706
test dword [rbx], 0x10000000
je 0x7ff7f79d1858
jmp 0x7ff7f79d1717
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 6
mov rcx, rdi
call fcn.7ff7f79d3ecc
int3
mov edx, 5
mov rcx, rdi
call fcn.7ff7f79d3ecc
int3
mov edx, 4
mov rcx, rdi
call fcn.7ff7f79d3ecc
int3
mov edx, 0xa
mov rcx, rdi
call fcn.7ff7f79d3ecc
int3
Function at 0x7ff7f79d7274
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
and dword [rax - 0x38], 0
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov dword [rax - 0x38], 1
mov rax, qword [rdx + 0x10]
cmp rax, 0xf
jbe 0x7ff7f79d72e0
mov r8b, byte [rsp + 0x60]
mov rdx, rax
call fcn.7ff7f79bd258
and qword [rbx + 0x10], 0
mov rax, qword [rdi + 0x10]
xor esi, esi
lea r14d, [rsi - 6]
cmp qword [rdi + 0x18], 0x10
jb 0x7ff7f79d72f8
mov rbp, qword [rdi]
mov rcx, rbp
mov rdi, rbp
jmp 0x7ff7f79d72fe
mov rbp, rdi
mov rcx, rdi
lea r12, [rcx + rax]
cmp rdi, r12
je 0x7ff7f79d7423
lea r8, [0x7ff7f7a139b0]
shl esi, 8
movzx eax, byte [rbp]
add esi, eax
add r14d, 8
js 0x7ff7f79d739b
movsxd r13, esi
movsxd rdi, r14d
lea ecx, [r14 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov r15d, edx
imul eax, edx, 0xfffffffa
add r14d, eax
mov rax, r13
mov rcx, rdi
sar rax, cl
and eax, 0x3f
mov r9b, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x7ff7f79d7378
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x7ff7f79d736d
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x7ff7f79d7391
mov r8b, byte [rsp + 0x60]
mov edx, 1
mov rcx, rbx
call fcn.7ff7f795b9a0
lea r8, [0x7ff7f7a139b0]
sub rdi, 6
sub r15, 1
jne 0x7ff7f79d733e
inc rbp
cmp rbp, r12
jne 0x7ff7f79d7312
cmp r14d, 0xfffffffa
jle 0x7ff7f79d7423
lea ecx, [r14 + 8]
shl esi, 8
movsxd rdx, esi
sar rdx, cl
and edx, 0x3f
mov r9b, byte [rdx + r8]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x7ff7f79d7411
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x7ff7f79d73e0
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x7ff7f79d7423
cmp rcx, qword [rbx + 0x18]
jae 0x7ff7f79d740e
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x7ff7f79d7406
mov rax, qword [rbx]
mov word [rcx + rax], 0x3d
jmp 0x7ff7f79d7423
mov r9b, 0x3d
mov r8b, byte [rsp + 0x60]
mov edx, 1
mov rcx, rbx
call fcn.7ff7f795b9a0
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x7ff7f79d73eb
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x7ff7f79dab8c
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x470
mov rax, qword [0x7ff7f7a3d168]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov r14d, 2
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov rbx, rcx
cmp word [rcx], r14w
je 0x7ff7f79dabcd
cmp word [rcx], 0x17
jne 0x7ff7f79dac71
movzx ecx, word [rcx + 2]
call qword [sym.imp.ws2_32.dll_htons]
movzx eax, ax
xor edx, edx
mov dword [rsi], eax
lea rcx, [rsp + 0x50]
mov esi, 0x401
mov r8d, esi
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], r14d
lea r8, [rsp + 0x50]
xor r14d, r14d
mov r9d, esi
mov dword [rsp + 0x28], r14d
mov edx, ebp
mov rcx, rbx
mov qword [rsp + 0x20], r14
call qword [sym.imp.ws2_32.dll_getnameinfo]
test eax, eax
jne 0x7ff7f79dac71
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r14b
jne 0x7ff7f79dac22
cmp rbx, qword [rdi + 0x18]
ja 0x7ff7f79dac58
cmp qword [rdi + 0x18], 0x10
mov rsi, rdi
jb 0x7ff7f79dac3e
mov rsi, qword [rdi]
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x50]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], r14b
jmp 0x7ff7f79dac6d
mov r8b, byte [rsp + 0x40]
lea r9, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.7ff7f79590d0
mov al, 1
jmp 0x7ff7f79dac73
xor al, al
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.7ff7f7a057e0
add rsp, 0x470
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret