joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff9b9d08f10
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 0x7ff9b9d08f52
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ecx, 0x38
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
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 0x7ff9b9d090f0
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 r14
push r15
sub rsp, 0x130
mov rax, qword [0x7ff9b9dc6200]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rsi, qword [rsp + 0x190]
mov rbp, rcx
mov rcx, qword [rcx + 0x18]
mov r15, r8
movsxd r8, edx
mov r12, r9
mov rax, r8
shl rax, 5
lea rbx, [rcx + 0x238]
mov r14, qword [rcx + r8*8 + 0x1f0]
add rbx, rax
mov rax, qword [rcx + 0x410]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x84], 3
je 0x7ff9b9d091fc
lea rax, [0x7ff9b9d08fa0]
cmp qword [rcx + r8*8 + 0x218], rax
jne 0x7ff9b9d091fc
cmp qword [rbx], 0
je 0x7ff9b9d09181
test rdi, rdi
je 0x7ff9b9d091fc
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, r14
call fcn.7ff9b9d314a0
cmp eax, 0xffffffff
je 0x7ff9b9d091fc
test al, 1
je 0x7ff9b9d091fc
mov rcx, qword [rbx]
test rcx, rcx
jne 0x7ff9b9d091db
mov eax, dword [rbp + 0x6f4]
add eax, eax
movsxd rcx, eax
mov qword [rbx + 8], rcx
call qword [fcn.7ff9b9d530e4]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
je 0x7ff9b9d09236
mov rdi, qword [rbx + 8]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rcx
mov r8d, edi
mov rcx, r14
call qword [sym.imp.ws2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x7ff9b9d091fc
add qword [rbx + 0x10], rcx
xor r9d, r9d
mov r8d, r12d
mov rdx, r15
mov rcx, r14
call qword [sym.imp.ws2_32.dll_send]
movsxd rbx, eax
mov dword [rsi], 0
cmp rbx, 0xffffffffffffffff
jne 0x7ff9b9d09275
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2733
jne 0x7ff9b9d09245
xor ebx, ebx
mov dword [rsi], 0x51
jmp 0x7ff9b9d09275
mov dword [rsi], 0x1b
mov rax, 0xffffffffffffffff
jmp 0x7ff9b9d09278
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov ecx, edi
call fcn.7ff9b9d113b0
mov r8, rax
lea rdx, [0x7ff9b9d8a1e8]
mov rcx, rbp
call fcn.7ff9b9d08c80
mov dword [rbp + 0xda4], edi
mov dword [rsi], 0x37
mov rax, rbx
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.7ff9b9d49770
add rsp, 0x130
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x288], 0
je 0x7ff9b9d0978d
call fcn.7ff9b9cf6300
test eax, eax
je 0x7ff9b9d097b9
mov al, 1
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x1f0]
cmp rcx, 0xffffffffffffffff
je 0x7ff9b9d097b9
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.ws2_32.dll_recv]
test eax, eax
setne al
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret
Function at 0x7ff9b9d09a00
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x1c0
mov rax, qword [0x7ff9b9dc6200]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
mov rax, rdx
mov rbx, r8
mov rsi, rcx
lea r8, [rsp + 0x20]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rdi, r9
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
je 0x7ff9b9d09ab3
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.7ff9b9d113b0
mov r9, rax
lea rdx, [0x7ff9b9d8a398]
mov r8d, ebx
mov rcx, rsi
call fcn.7ff9b9d08c80
jmp 0x7ff9b9d09b7b
movzx ecx, word [rsp + 0x30]
mov edx, ecx
sub edx, 1
je 0x7ff9b9d09b50
sub edx, 1
je 0x7ff9b9d09afa
cmp edx, 0x15
jne 0x7ff9b9d09b01
lea rdx, [rsp + 0x38]
mov r8, rbx
mov r9d, 0x2e
call fcn.7ff9b9d355d0
test rax, rax
je 0x7ff9b9d09b01
movzx ecx, word [rsp + 0x32]
call qword [sym.imp.ws2_32.dll_htons_1]
movzx eax, ax
mov dword [rdi], eax
jmp 0x7ff9b9d09b7b
lea rdx, [rsp + 0x34]
jmp 0x7ff9b9d09ad2
mov byte [rbx], 0
mov dword [rdi], 0
call fcn.7ff9b9d5d8b4
mov dword [rax], 0x273f
call fcn.7ff9b9d5d8b4
mov ebx, dword [rax]
call fcn.7ff9b9d5d8b4
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.7ff9b9d113b0
mov r8d, dword [rdi]
lea rdx, [0x7ff9b9d8a478]
mov r9, rax
mov rcx, rsi
call fcn.7ff9b9d08c80
jmp 0x7ff9b9d09b7b
cmp dword [rsp + 0x20], 2
jle 0x7ff9b9d09b72
lea r9, [rsp + 0x32]
mov edx, 0x2e
lea r8, [0x7ff9b9d89f60]
mov rcx, rbx
call fcn.7ff9b9cf7370
jmp 0x7ff9b9d09b75
mov byte [rbx], 0
mov dword [rdi], 0
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.7ff9b9d49770
add rsp, 0x1c0
pop rdi
pop rsi
pop rbx
ret

Function at 0x7ff9b9d0a480
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x7ff9b9e864c0]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x7ff9b9d0a4e4
lea r9d, [rax + 2]
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rax + 6]
xor edx, edx
call fcn.7ff9b9d35b40
test al, al
je 0x7ff9b9d0a4d8
mov dword [0x7ff9b9e864c0], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x7ff9b9e864c0], 1
jmp 0x7ff9b9d0a4e9
cmp eax, 2
je 0x7ff9b9d0a53b
lea rax, [rsp + 0x58]
mov edx, 0xffff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_getsockopt]
test eax, eax
jne 0x7ff9b9d0a51a
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x7ff9b9d0a53b
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_setsockopt]
add rsp, 0x30
pop rbx
ret
Function at 0x7ff9b9d0bbc0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x7ff9b9d8a670]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x7ff9b9d0bbea
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, [0x7ff9b9d8a680]
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rdx, [0x7ff9b9d8a690]
mov rcx, rbx
mov r14, rax
call fcn.7ff9b9d5efd0
test rax, rax
je 0x7ff9b9d0bc4d
mov rcx, rbx
test r14, r14
je 0x7ff9b9d0bc37
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 0x7ff9b9d0bc85
lea rdx, [0x7ff9b9d8a698]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x7ff9b9d0bc85
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 0x7ff9b9d0bd48
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x7ff9b9d0bcb0
lea ecx, [rax + 1]
add rcx, rdx
call qword [fcn.7ff9b9d530e4]
mov rdi, rax
test rax, rax
je 0x7ff9b9d0bd3a
mov edx, r15d
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x7ff9b9d0bd3a
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x7ff9b9d0bce0
mov ecx, 0x5c
mov word [rax + rdi], cx
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x7ff9b9d0bcf4
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 0x7ff9b9d0bd10
mov rcx, rdi
test r14, r14
je 0x7ff9b9d0bd31
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x7ff9b9d0bd37
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [fcn.7ff9b9d530d0]
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
Function at 0x7ff9b9d0f780
Capabilities:
Query environment variable

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 r14, rcx
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [fcn.7ff9b9d5e028]
mov rdi, rax
test rax, rax
je 0x7ff9b9d0f7fd
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x7ff9b9d0f828
cmp ebx, esi
je 0x7ff9b9d0f828
cmp ebx, 0x8000
ja 0x7ff9b9d0f828
cmp ebx, esi
jb 0x7ff9b9d0f823
mov edx, ebx
mov rcx, rdi
call qword [fcn.7ff9b9d5e028]
mov rdi, rax
test rax, rax
jne 0x7ff9b9d0f7c0
mov rcx, rbp
call qword [fcn.7ff9b9d530d0]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
jmp 0x7ff9b9d0f808
mov rcx, rdi
jmp 0x7ff9b9d0f800

Function at 0x7ff9b9d12ee0
Capabilities:
Convert ip address from string

Disassembly:
cmp qword [rsp + 0x28], 0
mov qword [r9], 0
jge 0x7ff9b9d12ef5
mov eax, 0xfffffffe
ret
mov qword [rsp + 0x28], r9
mov r9b, 1
jmp fcn.7ff9b9d12a50

Function at 0x7ff9b9d13a60
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rdi, rdx
call fcn.7ff9b9d2dae0
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x7ff9b9cfaf19.0
mov rcx, rdi
mov rsi, rax
call case.0x7ff9b9cfaf19.0
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.kernel32.dll_MoveFileExA]
test eax, eax
jne 0x7ff9b9d13b10
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.7ff9b9d2dae0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.7ff9b9d2db70
cmp rax, 0x3e8
ja 0x7ff9b9d13b41
mov ecx, 1
call qword [sym.imp.kernel32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.kernel32.dll_MoveFileExA]
test eax, eax
je 0x7ff9b9d13ac0
test rsi, rsi
je 0x7ff9b9d13b1d
mov rcx, rsi
call fcn.7ff9b9d530d0
test rbx, rbx
je 0x7ff9b9d13b2a
mov rcx, rbx
call fcn.7ff9b9d530d0
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rsi, rsi
je 0x7ff9b9d13b4e
mov rcx, rsi
call fcn.7ff9b9d530d0
test rbx, rbx
je 0x7ff9b9d13b5b
mov rcx, rbx
call fcn.7ff9b9d530d0
mov eax, 1
jmp 0x7ff9b9d13b2c
Function at 0x7ff9b9d14f30
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov byte [rsp + 0x38], 0xff
mov rcx, qword [rcx + 0x18]
mov edi, r8d
mov esi, edx
mov byte [rsp + 0x3a], dil
xor r9d, r9d
mov byte [rsp + 0x39], sil
lea rdx, [rsp + 0x38]
mov rcx, qword [rcx + 0x1f0]
lea r8d, [r9 + 3]
call qword [sym.imp.ws2_32.dll_send]
test eax, eax
jns 0x7ff9b9d14f8f
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea rdx, [0x7ff9b9d8e5f0]
mov rcx, rbx
mov r8d, eax
call fcn.7ff9b9d08c80
mov r9d, edi
lea rdx, [0x7ff9b9d8e60c]
mov r8d, esi
mov rcx, rbx
call fcn.7ff9b9d14ad0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
cmp edx, 0x1f
jne 0x7ff9b9d152dd
push rsi
push rdi
push r15
sub rsp, 0x20
mov rsi, qword [rcx + 0x1b0]
mov rdi, rcx
mov r15, qword [rcx + 0x18]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbp
lea rbx, [rsi + 0x1eb8]
mov qword [rsp + 0x58], r14
lea r14, [rsi + 0x1cb8]
mov qword [rbx], r14
mov rax, r14
cmp r14, rbx
jae 0x7ff9b9d15182
lea rax, [r14 + 1]
mov byte [r14], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x7ff9b9d1519b
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x7ff9b9d1519b
mov byte [rax], 0x1f
inc qword [rbx]
movzx ecx, word [rsi + 0x1ca8]
call qword [sym.imp.ws2_32.dll_htons]
movzx ecx, word [rsi + 0x1caa]
movzx ebp, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.ws2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x7ff9b9d151d1
mov byte [r9], bpl
inc qword [rbx]
mov r9, qword [rbx]
mov rbp, qword [rsp + 0x50]
cmp r9, rbx
jae 0x7ff9b9d15227
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x7ff9b9d15227
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x7ff9b9d15227
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x7ff9b9d15227
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x7ff9b9d15227
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rsi + 0x1ec0], r9
lea r8, [rsi + 0x1cba]
sub r9, r14
mov qword [rbx], r14
sub r9, 2
mov edx, 0x3e
mov rcx, rdi
call fcn.7ff9b9d14c00
mov rcx, qword [r15 + 0x1f0]
xor r9d, r9d
mov rdx, r14
lea r8d, [r9 + 3]
call qword [sym.imp.ws2_32.dll_send]
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x7ff9b9d15289
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea rdx, [0x7ff9b9d8e5f0]
mov rcx, rdi
mov r8d, eax
call fcn.7ff9b9d08c80
lea rdx, [rsi + 0x1cbb]
mov r8d, 4
mov rcx, rdi
call fcn.7ff9b9d14fc0
mov rcx, qword [r15 + 0x1f0]
lea rdx, [rsi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.ws2_32.dll_send]
test eax, eax
jns 0x7ff9b9d152d5
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea rdx, [0x7ff9b9d8e5f0]
mov rcx, rdi
mov r8d, eax
call fcn.7ff9b9d08c80
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x7ff9b9d16990
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x7ff9b9dc6200]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rcx + 0x18]
mov rsi, rcx
xor r9d, r9d
mov rdi, qword [rax + 0x6f8]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x80
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8d, dword [rdi + 0x144]
mov rdx, qword [rdi + 0x150]
add r8d, 4
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.ws2_32.dll_recvfrom]
cmp dword [rdi + 0x138], 0
mov dword [rdi + 0x13c], eax
jne 0x7ff9b9d16a27
movsxd r8, dword [rsp + 0x30]
lea rcx, [rdi + 0xb8]
lea rdx, [rsp + 0x40]
call fcn.7ff9b9d7f070
mov eax, dword [rsp + 0x30]
mov dword [rdi + 0x138], eax
mov r8d, dword [rdi + 0x13c]
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbp
cmp r8d, 4
jge 0x7ff9b9d16a8d
lea rdx, [0x7ff9b9d8ed18]
mov rcx, rsi
call fcn.7ff9b9d08c80
mov dword [rdi + 0xc], 7
xor eax, eax
mov rbp, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.7ff9b9d49770
mov rsi, qword [rsp + 0xf8]
add rsp, 0xd0
pop rdi
ret
mov rdx, qword [rdi + 0x150]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rdi + 0xc], ecx
dec ecx
cmp ecx, 5
ja case.0x7ff9b9d16ac3.1
movsxd rax, ecx
lea r9, [0x7ff9b9c00000]
mov ecx, dword [r9 + rax*4 + 0x116bdc]
add rcx, r9
jmp rcx
cmp r8d, 4
jle case.0x7ff9b9d16ac3.4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rdi + 0x14c]
inc eax
movzx eax, ax
cmp eax, ecx
jne case.0x7ff9b9d16ac3.4
lea eax, [r8 - 4]
mov rcx, rsi
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.7ff9b9d08ba0
mov ebx, eax
test eax, eax
je 0x7ff9b9d16b22
mov edx, 5
mov rcx, rdi
call fcn.7ff9b9d175f0
mov eax, ebx
jmp 0x7ff9b9d16a5c
mov eax, dword [rdi + 0x13c]
mov rcx, rsi
sub eax, 4
cdqe
add qword [rsi + 0xf8], rax
mov rdx, qword [rsi + 0xf8]
call fcn.7ff9b9d0fa70
jmp case.0x7ff9b9d16ac3.4
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbx, eax
lea rbp, [rdx + 4]
movzx eax, byte [rdx + 3]
mov rdx, rbx
shl ecx, 8
or ecx, eax
mov dword [rdi + 8], ecx
mov rcx, rbp
call fcn.7ff9b9d17660
cmp rax, rbx
jae case.0x7ff9b9d16ac3.4
mov r8, rbp
lea rdx, [0x7ff9b9d8ed38]
mov rcx, rsi
call fcn.7ff9b9d08df0
jmp case.0x7ff9b9d16ac3.4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rdi
call fcn.7ff9b9d166e0
test eax, eax
je case.0x7ff9b9d16ac3.4
jmp 0x7ff9b9d16a5c
lea r8, [0x7ff9b9d8ed48]
mov rcx, rsi
lea rdx, [0x7ff9b9d89f60]
call fcn.7ff9b9d08c80
mov rcx, rsi
call fcn.7ff9b9d0fdb0
test eax, eax
je 0x7ff9b9d16a5a
mov edx, 5
mov rcx, rdi
call fcn.7ff9b9d175f0
mov eax, 0x2a
jmp 0x7ff9b9d16a5c
Function at 0x7ff9b9d1e030
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x7ff9b9dc6200]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, qword [rcx + 0x18]
lea r8, [rsp + 0x20]
mov rdi, rcx
lea rdx, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov rbp, qword [rsi + 0x1f8]
mov rcx, rbp
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
jne 0x7ff9b9d1e0ab
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.ws2_32.dll_accept]
mov rbx, rax
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call fcn.7ff9b9d09660
mov rcx, rdi
cmp rbx, 0xffffffffffffffff
jne 0x7ff9b9d1e0d3
lea rdx, [0x7ff9b9d8fbf0]
call fcn.7ff9b9d08c80
lea eax, [rbx + 0x1f]
jmp 0x7ff9b9d1e14f
lea rdx, [0x7ff9b9d8fc18]
call fcn.7ff9b9d08df0
mov edx, 1
mov byte [rsi + 0x3d1], 0
mov rcx, rbx
mov qword [rsi + 0x1f8], rbx
call fcn.7ff9b9d355a0
mov byte [rsi + 0x3e4], 1
cmp qword [rdi + 0x280], 0
je 0x7ff9b9d1e14d
mov dl, 1
mov rcx, rdi
call fcn.7ff9b9d03520
mov rcx, qword [rdi + 0x288]
mov r8d, 1
mov rdx, rbx
call qword [rdi + 0x280]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.7ff9b9d03520
test ebx, ebx
je 0x7ff9b9d1e14d
mov rdx, rsi
mov rcx, rdi
call fcn.7ff9b9d1e650
mov eax, 0x2a
jmp 0x7ff9b9d1e14f
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.7ff9b9d49770
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b0]
mov rbx, rcx
mov rdx, qword [rcx + 0x18]
cmp dword [rax + 0x10], 0
je 0x7ff9b9d1fc66
mov dword [rdx + 0x7c8], 0xd
mov r8d, 0xd
mov dl, 1
add rsp, 0x20
pop rbx
jmp fcn.7ff9b9d1fd50
cmp byte [rcx + 0xad4], 0
je 0x7ff9b9d1fc7b
xor edx, edx
add rsp, 0x20
pop rbx
jmp fcn.7ff9b9d207c0
cmp byte [rcx + 0xad7], 0
je 0x7ff9b9d1fcfc
mov r9, qword [rdx + 0x788]
test r9, r9
jne 0x7ff9b9d1fcbe
mov r9, qword [rcx + 0x790]
test r9, r9
jne 0x7ff9b9d1fcb5
cmp byte [rbx + 0x12f0], 0
lea rcx, [0x7ff9b9d8ff90]
lea r9, [0x7ff9b9d8f05c]
cmovne r9, rcx
lea r8, [0x7ff9b9d8ff98]
jmp 0x7ff9b9d1fcd5
cmp byte [rcx + 0xae4], 0
lea r8, [0x7ff9b9d8ffa0]
jne 0x7ff9b9d1fcd5
lea r8, [0x7ff9b9d8ffb0]
add rdx, 0x6f8
mov rcx, rbx
call fcn.7ff9b9d3d470
test eax, eax
jne 0x7ff9b9d1fd06
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x7c8], 0x1d
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.7ff9b9d20710
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b0]
add rdx, 0x6f8
mov rbx, rcx
cmp dword [rax + 0x10], 0
je 0x7ff9b9d2006e
cmp qword [rdx + 0x90], 0
je 0x7ff9b9d2006e
xor r9d, r9d
lea r8, [0x7ff9b9d8ffc0]
call fcn.7ff9b9d3d470
test eax, eax
jne 0x7ff9b9d20078
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x7c8], 0x1a
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.7ff9b9d1fc30
add rsp, 0x20
pop rbx
ret
Function at 0x7ff9b9d20340
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbp, qword [rcx + 0x18]
lea eax, [rdx - 0xc8]
xor edi, edi
mov esi, r8d
mov rbx, rcx
cmp eax, 0x64
jb 0x7ff9b9d2037f
lea rdx, [0x7ff9b9d90360]
call fcn.7ff9b9d08c80
lea eax, [rdi + 0x11]
jmp 0x7ff9b9d204e5
cmp edx, 0xc8
je 0x7ff9b9d20396
mov r8d, edx
lea rdx, [0x7ff9b9d90380]
call fcn.7ff9b9d08df0
cmp esi, 0x13
jne 0x7ff9b9d203ab
mov rdx, rbp
mov rcx, rbx
call fcn.7ff9b9d20240
jmp 0x7ff9b9d204e1
cmp esi, 0x14
jne 0x7ff9b9d204c3
cmp dword [rbx + 0x720], 2
mov rbp, qword [rbx + 0x18]
jne 0x7ff9b9d20428
mov rax, qword [rbx + 0x1b0]
mov rcx, qword [rax]
test rcx, rcx
je 0x7ff9b9d20428
xor r9d, r9d
mov qword [rsp + 0x40], rdi
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], 3
xor edx, edx
call fcn.7ff9b9cf2a50
test eax, eax
jne 0x7ff9b9d204e1
mov rcx, qword [rsp + 0x40]
lea edx, [rsi + 0x1b]
call fcn.7ff9b9d4bf80
test rax, rax
je 0x7ff9b9d2041d
mov rdi, qword [rsp + 0x40]
mov ecx, 1
sub rax, rdi
cmovne rcx, rax
mov byte [rcx + rdi], 0
jmp 0x7ff9b9d20428
mov rcx, qword [rsp + 0x40]
call qword [fcn.7ff9b9d530d0]
mov rdx, qword [rbx + 0x790]
test rdx, rdx
jne 0x7ff9b9d2044d
cmp byte [rbx + 0x12f0], 0
lea rax, [0x7ff9b9d8ff90]
lea rdx, [0x7ff9b9d8f05c]
cmovne rdx, rax
lea r8, [0x7ff9b9daf850]
test rdi, rdi
mov r9, r8
lea rax, [0x7ff9b9db0690]
cmovne r9, rdi
lea rcx, [0x7ff9b9d89724]
cmovne r8, rax
call fcn.7ff9b9cf7290
mov rcx, rdi
mov rsi, rax
call qword [fcn.7ff9b9d530d0]
test rsi, rsi
jne 0x7ff9b9d2048b
lea edi, [rsi + 0x1b]
jmp 0x7ff9b9d204e3
lea rdx, [rbp + 0x6f8]
mov r9, rsi
lea r8, [0x7ff9b9d89f60]
mov rcx, rbx
call fcn.7ff9b9d3d470
mov rcx, rsi
mov edi, eax
call qword [fcn.7ff9b9d530d0]
test edi, edi
jne 0x7ff9b9d204e3
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x7c8], 0x1f
jmp 0x7ff9b9d204e3
cmp esi, 0x15
jne 0x7ff9b9d204ce
lea r8d, [rsi - 8]
jmp 0x7ff9b9d204d7
cmp esi, 0x16
jne 0x7ff9b9d204e3
lea r8d, [rsi - 8]
mov dl, 1
mov rcx, rbx
call fcn.7ff9b9d1fd50
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret