joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140081ad0
Capabilities:
Encode data using xor
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xc0
mov edi, 1
lea rcx, [rsp + 0xd0]
xor r8d, r8d
xor edx, edx
mov r9d, edi
mov dword [rsp + 0x20], 0xf0000040
call qword [sym.imp.ADVAPI32.DLL_CryptAcquireContextA]
xor ebx, ebx
test eax, eax
je 0x140081b35
mov rcx, qword [rsp + 0xd0]
lea r8, [rsp + 0x30]
lea edx, [rdi + 0x1f]
call qword [sym.imp.ADVAPI32.DLL_CryptGenRandom]
mov rcx, qword [rsp + 0xd0]
test eax, eax
cmovne edi, ebx
xor edx, edx
call qword [sym.imp.ADVAPI32.DLL_CryptReleaseContext]
test edi, edi
je 0x140081ba1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x30], eax
call fcn.14007fa60
mov rcx, rbx
movups xmm0, xmmword [0x1400ebe40]
mov dword [rsp + 0x34], eax
mov eax, dword [0x1400f39c8]
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], eax
movzx eax, byte [rsp + rcx + 0x30]
add rcx, 6
xor byte [rsp + rcx + 0x2b], al
movzx eax, byte [rsp + rcx + 0x2b]
xor byte [rsp + rcx + 0x2c], al
movzx eax, byte [rsp + rcx + 0x2c]
xor byte [rsp + rcx + 0x2d], al
movzx eax, byte [rsp + rcx + 0x2d]
xor byte [rsp + rcx + 0x2e], al
movzx eax, byte [rsp + rcx + 0x2e]
xor byte [rsp + rcx + 0x2f], al
movzx eax, byte [rsp + rcx + 0x2f]
xor byte [rsp + rcx + 0x30], al
cmp rcx, 0x1e
jl 0x140081b61
lea rcx, [rsp + 0x60]
call fcn.1400afb14
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
mov r8d, 0x20
call fcn.1400b03a4
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.1400afa38
lea rdx, [0x140000000]
nop word [rax + rax]
movzx ecx, byte [rsp + rbx + 0x50]
inc rbx
mov eax, ecx
and ecx, 0xf
shr rax, 4
movzx eax, byte [rax + rdx + 0xc4bb8]
mov byte [rdx + rbx*2 + 0xf3c06], al
movzx eax, byte [rcx + rdx + 0xc4bb8]
mov byte [rdx + rbx*2 + 0xf3c07], al
cmp rbx, 0x10
jl 0x140081be0
lea r8, [0x1400f3c98]
lea rdx, [rsp + 0x30]
lea rcx, [0x1400f3a20]
mov r9d, 0x20
call fcn.1400b1df0
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret
Function at 0x140082790
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, edx
mov rbp, rcx
test edx, edx
jle 0x1400827eb
nop
mov rcx, qword [0x1400f39e8]
mov r8d, edi
movsxd rdx, ebx
sub r8d, ebx
add rdx, rbp
xor r9d, r9d
call qword [sym.imp.WSOCK32.DLL_send]
mov esi, eax
cmp eax, 0xffffffff
jne 0x1400827e5
call qword [sym.imp.WSOCK32.DLL_WSAGetLastError]
add eax, 0xffffd8bb
test eax, 0xfffffffa
je 0x140082805
add ebx, esi
cmp ebx, edi
jl 0x1400827b0
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor eax, eax
jmp 0x1400827f0

Function at 0x1400839f0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1c8
cmp dword [0x1400f40c0], 0
jne 0x140083a95
mov rax, qword [sym.imp.msvcrt.dll_malloc]
mov dword [0x1400f40c0], 1
mov qword [sub.msvcrt.dll_malloc], rax
mov rax, qword [sym.imp.msvcrt.dll_free]
mov qword [sub.msvcrt.dll_free], rax
mov rax, qword [sym.imp.msvcrt.dll_realloc]
mov qword [0x1400ebf70], rax
lea rax, case.0x14008c3a7.0
mov qword [case.0x14008c3a7.0], rax
mov rax, qword [sym.imp.msvcrt.dll_calloc]
mov qword [case.0x14008c3a7.1], rax
call fcn.14008d9d0
test eax, eax
je 0x140083ac3
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WSOCK32.DLL_WSAStartup]
test eax, eax
jne 0x140083ac3
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x140083abd
shr ax, 8
cmp al, 2
jne 0x140083abd
call fcn.14008e090
test eax, eax
jne 0x140083ac3
mov dword [0x1400f40c4], 3
lea rcx, [rsp + 0x1d0]
call fcn.140085800
mov rcx, qword [rsp + 0x1d0]
xor edx, edx
test eax, eax
cmovne rcx, rdx
mov rax, rcx
add rsp, 0x1c8
ret
call qword [sym.imp.WSOCK32.DLL_WSACleanup]
xor eax, eax
add rsp, 0x1c8
ret

Function at 0x140083e40
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1c0
mov eax, dword [0x1400f40c0]
mov ebx, ecx
mov edx, eax
inc eax
mov dword [0x1400f40c0], eax
test edx, edx
jne 0x140083f07
mov rax, qword [sym.imp.msvcrt.dll_malloc]
mov qword [sub.msvcrt.dll_malloc], rax
mov rax, qword [sym.imp.msvcrt.dll_free]
mov qword [sub.msvcrt.dll_free], rax
mov rax, qword [sym.imp.msvcrt.dll_realloc]
mov qword [0x1400ebf70], rax
lea rax, case.0x14008c3a7.0
mov qword [case.0x14008c3a7.0], rax
mov rax, qword [sym.imp.msvcrt.dll_calloc]
mov qword [case.0x14008c3a7.1], rax
test cl, 1
je 0x140083eb7
call fcn.14008d9d0
test eax, eax
je 0x140083f18
test bl, 2
je 0x140083eea
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WSOCK32.DLL_WSAStartup]
test eax, eax
jne 0x140083f18
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x140083f12
shr ax, 8
cmp al, 2
jne 0x140083f12
call fcn.14008e090
test eax, eax
jne 0x140083f18
mov eax, dword [0x1400f4124]
test bl, 4
mov ecx, 1
cmovne eax, ecx
mov dword [0x1400f40c4], ebx
mov dword [0x1400f4124], eax
xor eax, eax
add rsp, 0x1c0
pop rbx
ret
call qword [sym.imp.WSOCK32.DLL_WSACleanup]
mov eax, 2
add rsp, 0x1c0
pop rbx
ret
Function at 0x140088c70
Capabilities:
Write file on windows

Disassembly:
mov rdx, qword [r8 + 0x10]
mov r9, rcx
or rax, 0xffffffffffffffff
mov qword [r8 + 0x18], rdx
nop
inc rax
cmp byte [rdx + rax], 0
jne 0x140088c80
test rax, rax
je 0x140088c9a
cmp byte [rdx + rax - 1], 0x2e
jne 0x140088c9a
mov byte [rdx + rax - 1], 0
mov rcx, qword [r8 + 0x10]
movzx eax, byte [rcx]
test al, al
je 0x140088cc4
lea rcx, [rcx + 1]
and al, 0x80
jne 0x140088cb5
movzx eax, byte [rcx]
test al, al
jne 0x140088ca5
ret
lea rdx, str.IDN_support_not_present__cant_parse_Unicode_domains_n
mov rcx, r9
jmp fcn.14008e650
ret

Function at 0x14008e3c0
Capabilities:
Write file on windows

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, 0xd0
cmp byte [rcx + 0x430], 0
mov rbp, r9
mov r14, r8
mov esi, edx
mov rdi, rcx
je 0x14008e4ef
mov rax, qword [rsp + 0x100]
test rax, rax
je 0x14008e4ef
mov rdx, qword [rax + 0xc0]
test rdx, rdx
je 0x14008e4ef
mov ecx, esi
lea r9, str.Data
dec ecx
je 0x14008e444
dec ecx
je 0x14008e434
dec ecx
je 0x14008e44b
dec ecx
je 0x14008e43b
jmp 0x14008e4ef
lea r9, str.Header
lea rax, [0x1400c5ea8]
jmp 0x14008e452
lea r9, str.Header
lea rax, str.from
mov qword [rsp + 0x28], rdx
lea r8, str.__s__s__s_
lea rcx, [rsp + 0x30]
mov edx, 0xa0
mov qword [rsp + 0x20], rax
call fcn.1400a0310
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14008e480
mov r10, qword [rdi + 0x258]
test r10, r10
je 0x14008e4b7
mov rax, qword [rdi + 0x1a8]
lea r8, [rsp + 0x30]
mov r9, rbx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call r10
test eax, eax
je 0x14008e4ef
jmp 0x14008e4ff
mov r9, qword [rdi + 0x1a0]
mov edx, 2
lea rcx, [0x1400c5dd0]
lea r8d, [rdx - 1]
call qword [sym.imp.msvcrt.dll_fwrite]
mov r9, qword [rdi + 0x1a0]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.msvcrt.dll_fwrite]
mov r9, rbp
mov r8, r14
mov edx, esi
mov rcx, rdi
call fcn.14008edb0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14008e520
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rsi
push rdi
sub rsp, 0x38
mov rdi, rcx
mov r8, rdx
lea r9, [rsp + 0x60]
mov edx, 0x4000
add rcx, 0x7b0
call fcn.1400a0490
mov rcx, qword [rdi + 0x1b0]
test rcx, rcx
je 0x14008e585
cmp byte [rdi + 0x8800], 0
jne 0x14008e585
lea r9, [rdi + 0x7b0]
lea r8, [0x1400c1444]
mov edx, 0x100
call fcn.1400a0310
mov byte [rdi + 0x8800], 1
cmp byte [rdi + 0x448], 0
je 0x14008e63e
mov qword [rsp + 0x30], rbx
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx + 0x7b0], 0
jne 0x14008e5a0
cmp rbx, 0x3fff
jae 0x14008e5c9
mov byte [rbx + rdi + 0x7b0], 0xa
inc rbx
mov byte [rbx + rdi + 0x7b0], 0
mov r10, qword [rdi + 0x258]
test r10, r10
je 0x14008e5ff
mov rax, qword [rdi + 0x1a8]
lea r8, [rdi + 0x7b0]
mov r9, rbx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call r10
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
pop rdi
pop rsi
ret
mov r9, qword [rdi + 0x1a0]
mov edx, 2
lea rcx, [0x1400c5dd0]
lea r8d, [rdx - 1]
call qword [sym.imp.msvcrt.dll_fwrite]
mov r9, qword [rdi + 0x1a0]
lea rcx, [rdi + 0x7b0]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.msvcrt.dll_fwrite]
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x14008e650
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x14008e72d
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rdi
sub rsp, 0x850
cmp byte [rcx + 0x448], 0
mov rdi, rcx
je 0x14008e725
mov r8, rdx
lea r9, [rax + 0x18]
lea rcx, [rsp + 0x30]
mov edx, 0x801
mov qword [rax - 0x10], rbx
call fcn.1400a0490
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14008e6a3
mov r10, qword [rdi + 0x258]
test r10, r10
je 0x14008e6e5
mov rax, qword [rdi + 0x1a8]
lea r8, [rsp + 0x30]
mov r9, rbx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call r10
mov rbx, qword [rsp + 0x848]
add rsp, 0x850
pop rdi
ret
mov r9, qword [rdi + 0x1a0]
mov edx, 2
lea rcx, [0x1400c5dd0]
lea r8d, [rdx - 1]
call qword [sym.imp.msvcrt.dll_fwrite]
mov r9, qword [rdi + 0x1a0]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.msvcrt.dll_fwrite]
mov rbx, qword [rsp + 0x848]
add rsp, 0x850
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WSOCK32.DLL_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x14008e8bb
call qword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov ecx, 0x38
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 0x14008e980
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
movsxd rax, edx
mov r10, r9
mov r11, r8
mov rdi, rcx
mov rcx, qword [rcx + rax*8 + 0x1a8]
xor r9d, r9d
mov r8d, r10d
mov rdx, r11
call qword [sym.imp.WSOCK32.DLL_send]
mov r14, qword [rsp + 0x50]
movsxd rsi, eax
mov dword [r14], 0
cmp rsi, 0xffffffffffffffff
jne 0x14008ea2c
mov qword [rsp + 0x30], rbx
call qword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x14008e9fb
mov dword [r14], 0x51
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov edx, eax
mov rcx, rdi
call fcn.1400a5db0
mov rcx, qword [rdi]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.14008e520
mov rcx, qword [rdi]
mov rax, rsi
mov dword [rcx + 0x8804], ebx
mov dword [r14], 0x37
jmp 0x14008e9e5
mov rdi, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret

Function at 0x14008edb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r10, qword [rcx + 0x258]
mov rdi, r9
mov rsi, r8
mov rbx, rcx
test r10, r10
je 0x14008edf3
mov rax, qword [rcx + 0x1a8]
mov qword [rsp + 0x20], rax
call r10
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp edx, 2
ja 0x14008ee38
mov r9, qword [rbx + 0x1a0]
movsxd rax, edx
mov edx, 2
lea rcx, [rax + rax*2]
lea rax, [0x1400c5dd0]
lea r8d, [rdx - 1]
add rcx, rax
call qword [sym.imp.msvcrt.dll_fwrite]
mov r9, qword [rbx + 0x1a0]
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fwrite]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x798]
mov rsi, rdx
mov rdi, rcx
test rbx, rbx
je 0x140091e5d
mov rax, qword [rcx + 0x80]
test rax, rax
jne 0x140091e23
cmp qword [rcx + 0x78], rax
je 0x140091e5d
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x28], 0
test rax, rax
jne 0x140091e36
mov rax, qword [rcx + 0x78]
mov rcx, qword [rax + 0x60]
lea r8, [0x140092d70]
lea rdx, [rsp + 0x20]
call fcn.14009ac70
cmp byte [rsp + 0x28], 0
jne 0x140091e71
mov qword [rdi + 0x798], 0
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
test rsi, rsi
je 0x140091e79
mov qword [rsi], rbx
cmp byte [rbx + 0x1f0], 0
mov rdi, qword [rbx + 0x1a8]
je 0x140091e97
mov rcx, rbx
call fcn.14008d360
test eax, eax
jne 0x140091eb3
jmp 0x140091e5d
mov r9d, 2
lea rdx, [rsp + 0x40]
mov rcx, rdi
lea r8d, [r9 - 1]
call qword [sym.imp.WSOCK32.DLL_recv]
test eax, eax
je 0x140091e5d
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x140092420
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0xd0
mov dword [rax + 0x18], 0x4020
mov dword [rax + 0x10], 0
mov dword [rax + 0x20], 4
mov eax, dword [0x1400f40e8]
mov rbx, rcx
test eax, eax
jne 0x1400924b5
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x9c
call sub.msvcrt.dll_memset
mov r8b, 3
mov edx, 2
xor ecx, ecx
mov dword [rsp + 0x30], 0x9c
mov dword [rsp + 0x34], 6
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
test eax, eax
je 0x1400924a9
mov dword [0x1400f40e8], 2
add rsp, 0xd0
pop rbx
ret
mov dword [0x1400f40e8], 1
jmp 0x1400924ba
cmp eax, 2
je 0x14009251b
lea rax, [rsp + 0xf8]
lea r9, [rsp + 0xe8]
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WSOCK32.DLL_getsockopt]
test eax, eax
jne 0x1400924f7
mov eax, dword [rsp + 0xf0]
cmp dword [rsp + 0xe8], eax
jg 0x14009251b
lea r9, [rsp + 0xf0]
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
mov dword [rsp + 0x20], 4
call qword [sym.imp.WSOCK32.DLL_setsockopt]
add rsp, 0xd0
pop rbx
ret
Function at 0x1400926f0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x120
cmp dword [rcx + 0xa4], 2
mov rsi, qword [rcx]
mov rbx, rdx
mov rdi, rcx
je 0x1400928a2
cmp byte [rcx + 0x329], 0
jne 0x14009289a
lea r8, [rax + 8]
lea rdx, [rax - 0x88]
mov rcx, rbx
mov dword [rax + 8], pe_nt_image_headers64
call qword [sym.imp.WSOCK32.DLL_getpeername]
test eax, eax
je 0x140092771
call qword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov rcx, rdi
mov edx, eax
mov ebx, eax
call fcn.1400a5db0
lea rdx, str.getpeername___failed_with_errno__d:__s
mov r8d, ebx
mov r9, rax
mov rcx, rsi
call fcn.14008e520
jmp 0x1400928a2
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, pe_nt_image_headers64
mov dword [rsp + 0x130], pe_nt_image_headers64
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x130]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.WSOCK32.DLL_getsockname]
test eax, eax
je 0x1400927d4
call qword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov rcx, rdi
mov edx, eax
mov ebx, eax
call fcn.1400a5db0
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov r9, rax
mov rcx, rsi
call fcn.14008e520
jmp 0x1400928a2
lea rbx, [rdi + 0xf0]
lea r8, [rdi + 0x120]
lea rcx, [rsp + 0xa0]
mov rdx, rbx
call fcn.140092d90
test al, al
jne 0x140092822
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov edx, eax
mov ebx, eax
call fcn.1400a5db0
lea rdx, str.ssrem_inet_ntop___failed_with_errno__d:__s
mov r8d, ebx
mov r9, rax
mov rcx, rsi
call fcn.14008e520
jmp 0x1400928a2
movups xmm0, xmmword [rbx]
mov eax, dword [rbx + 0x28]
movups xmm1, xmmword [rbx + 0x10]
lea r8, [rdi + 0x154]
lea rdx, [rdi + 0x124]
lea rcx, [rsp + 0x20]
movups xmmword [rdi + 0x70], xmm0
movsd xmm0, qword [rbx + 0x20]
movups xmmword [rdi + 0x80], xmm1
movsd qword [rdi + 0x90], xmm0
mov dword [rdi + 0x98], eax
movzx eax, word [rbx + 0x2c]
mov word [rdi + 0x9c], ax
call fcn.140092d90
test al, al
jne 0x14009289a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov edx, eax
mov ebx, eax
call fcn.1400a5db0
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r8d, ebx
mov r9, rax
mov rcx, rsi
call fcn.14008e520
jmp 0x1400928a2
mov rcx, rdi
call fcn.140092360
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140093170
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
xor esi, esi
mov rdi, rdx
mov rbx, rcx
mov eax, esi
lea r9, [rsp + 0x70]
lea r8d, [rsi + 8]
cmp byte [rcx + 0x61c], al
mov edx, 0xffff
mov rcx, rdi
setne al
mov dword [rsp + 0x20], 4
mov dword [rsp + 0x70], eax
call qword [sym.imp.WSOCK32.DLL_setsockopt]
test eax, eax
jns 0x1400931de
lea rdx, str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
mov r8, rdi
mov rcx, rbx
call fcn.14008e650
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
mov ecx, dword [rbx + 0x620]
mov dword [rsp + 0x50], 1
call fcn.14009f460
imul ecx, eax, 0x3e8
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x54], ecx
mov ecx, dword [rbx + 0x624]
call fcn.14009f460
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x50]
mov r9d, 0xc
mov edx, 0x98000004
imul ecx, eax, 0x3e8
lea rax, [rsp + 0x80]
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x58], ecx
mov qword [rsp + 0x30], rax
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WS2_32.DLL_WSAIoctl]
test eax, eax
je 0x140093270
call qword [sym.imp.WSOCK32.DLL_WSAGetLastError]
lea rdx, str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
mov r8d, edi
mov r9d, eax
mov rcx, rbx
call fcn.14008e650
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret

Function at 0x140093290
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [rcx]
mov r10, rdx
mov edx, 6
movzx eax, byte [rbx + 0x45e]
mov rdi, rcx
lea r9, [rsp + 0x40]
lea r8d, [rdx - 5]
mov rcx, r10
mov dword [rsp + 0x20], 4
mov dword [rsp + 0x40], eax
call qword [sym.imp.WSOCK32.DLL_setsockopt]
test eax, eax
jns 0x1400932fe
call qword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov rcx, rdi
mov edx, eax
call fcn.1400a5db0
lea rdx, str.Could_not_set_TCP_NODELAY:__s_n
mov rcx, rbx
mov r8, rax
call fcn.14008e650
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rdx, str.TCP_NODELAY_set_n
mov rcx, rbx
call fcn.14008e650
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14009aeb0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movzx ebx, byte [rcx]
mov rsi, rdx
mov rdi, rcx
test bl, bl
je 0x14009af8d
mov qword [rsp + 0x30], rbp
lea rbp, [0x140000000]
nop dword [rax]
movzx edx, byte [rsi]
test dl, dl
je 0x14009af88
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x14009af02
cdqe
mov ecx, dword [rbp + rax*4 + 0x9afbc]
add rcx, rbp
jmp rcx
mov bl, 0x41
jmp case.default.0x14009af02
mov bl, 0x42
jmp case.default.0x14009af02
mov bl, 0x43
jmp case.default.0x14009af02
mov bl, 0x44
jmp case.default.0x14009af02
mov bl, 0x45
jmp case.default.0x14009af02
mov bl, 0x46
jmp case.default.0x14009af02
mov bl, 0x47
jmp case.default.0x14009af02
mov bl, 0x48
jmp case.default.0x14009af02
mov bl, 0x49
jmp case.default.0x14009af02
mov bl, 0x4a
jmp case.default.0x14009af02
mov bl, 0x4b
jmp case.default.0x14009af02
mov bl, 0x4c
jmp case.default.0x14009af02
mov bl, 0x4d
jmp case.default.0x14009af02
mov bl, 0x4e
jmp case.default.0x14009af02
mov bl, 0x4f
jmp case.default.0x14009af02
mov bl, 0x50
jmp case.default.0x14009af02
mov bl, 0x51
jmp case.default.0x14009af02
mov bl, 0x52
jmp case.default.0x14009af02
mov bl, 0x53
jmp case.default.0x14009af02
mov bl, 0x54
jmp case.default.0x14009af02
mov bl, 0x55
jmp case.default.0x14009af02
mov bl, 0x56
jmp case.default.0x14009af02
mov bl, 0x57
jmp case.default.0x14009af02
mov bl, 0x58
jmp case.default.0x14009af02
mov bl, 0x59
jmp case.default.0x14009af02
mov bl, 0x5a
movzx ecx, dl
call fcn.14009b1e0
cmp bl, al
jne 0x14009af88
movzx ebx, byte [rdi + 1]
inc rdi
inc rsi
test bl, bl
jne 0x14009aee0
mov rbp, qword [rsp + 0x30]
movzx ecx, byte [rdi]
call fcn.14009b1e0
movzx ecx, byte [rsi]
movzx ebx, al
call fcn.14009b1e0
mov rsi, qword [rsp + 0x40]
xor ecx, ecx
cmp bl, al
mov rbx, qword [rsp + 0x38]
sete cl
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x14009b030
Capabilities:
Parse pe header

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
movzx ebx, byte [rcx]
mov rsi, r8
mov r14, rdx
mov rdi, rcx
test bl, bl
je 0x14009b125
lea rbp, [0x140000000]
nop word [rax + rax]
movzx edx, byte [r14]
test dl, dl
je 0x14009b125
test rsi, rsi
je 0x14009b12a
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x14009b09c
cdqe
mov ecx, dword [rbp + rax*4 + 0x9b16c]
add rcx, rbp
jmp rcx
mov bl, 0x41
jmp case.default.0x14009b09c
mov bl, 0x42
jmp case.default.0x14009b09c
mov bl, 0x43
jmp case.default.0x14009b09c
mov bl, 0x44
jmp case.default.0x14009b09c
mov bl, 0x45
jmp case.default.0x14009b09c
mov bl, 0x46
jmp case.default.0x14009b09c
mov bl, 0x47
jmp case.default.0x14009b09c
mov bl, 0x48
jmp case.default.0x14009b09c
mov bl, 0x49
jmp case.default.0x14009b09c
mov bl, 0x4a
jmp case.default.0x14009b09c
mov bl, 0x4b
jmp case.default.0x14009b09c
mov bl, 0x4c
jmp case.default.0x14009b09c
mov bl, 0x4d
jmp case.default.0x14009b09c
mov bl, 0x4e
jmp case.default.0x14009b09c
mov bl, 0x4f
jmp case.default.0x14009b09c
mov bl, 0x50
jmp case.default.0x14009b09c
mov bl, 0x51
jmp case.default.0x14009b09c
mov bl, 0x52
jmp case.default.0x14009b09c
mov bl, 0x53
jmp case.default.0x14009b09c
mov bl, 0x54
jmp case.default.0x14009b09c
mov bl, 0x55
jmp case.default.0x14009b09c
mov bl, 0x56
jmp case.default.0x14009b09c
mov bl, 0x57
jmp case.default.0x14009b09c
mov bl, 0x58
jmp case.default.0x14009b09c
mov bl, 0x59
jmp case.default.0x14009b09c
mov bl, 0x5a
movzx ecx, dl
call fcn.14009b1e0
cmp bl, al
jne 0x14009b125
movzx ebx, byte [rdi + 1]
inc rdi
dec rsi
inc r14
test bl, bl
jne 0x14009b070
test rsi, rsi
jne 0x14009b131
mov eax, 1
jmp 0x14009b14e
movzx ecx, byte [rdi]
call fcn.14009b1e0
movzx ecx, byte [r14]
movzx ebx, al
call fcn.14009b1e0
xor ecx, ecx
cmp bl, al
sete cl
mov eax, ecx
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

Function at 0x14009b1e0
Capabilities:
Parse pe header

Disassembly:
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x14009b1ff
lea r8, [0x140000000]
cdqe
mov edx, dword [r8 + rax*4 + 0x9b254]
add rdx, r8
jmp rdx
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
movzx eax, cl
ret