joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140251888
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r15, r8
mov r14, rdx
mov rsi, rcx
movabs rax, 0x27d4eb2f165667c5
movabs r13, 0xc2b2ae3d27d4eb4f
movabs r12, 0x9e3779b185ebca87
cmp rdx, 0x20
jb 0x140251a67
lea rdi, [rdx - 0x1f]
movabs r12, 0x60ea27eeadc0b5d6
add rdi, rcx
add r12, r8
add r13, r8
movabs rbx, 0x61c8864e7a143579
add rbx, r8
mov r8d, 8
lea rcx, [rbp + 0x48]
mov rdx, rsi
call fcn.1402afaf0
mov rdx, qword [rbp + 0x48]
mov rcx, r12
call fcn.140207a44
mov r8d, 8
lea rdx, [rsi + 8]
lea rcx, [rbp + 0x58]
mov r12, rax
call fcn.1402afaf0
mov rdx, qword [rbp + 0x58]
mov rcx, r13
call fcn.140207a44
mov r8d, 8
lea rdx, [rsi + 0x10]
lea rcx, [rbp - 0x20]
mov r13, rax
call fcn.1402afaf0
mov rdx, qword [rbp - 0x20]
mov rcx, r15
call fcn.140207a44
mov r8d, 8
lea rdx, [rsi + 0x18]
lea rcx, [rbp - 0x18]
mov r15, rax
call fcn.1402afaf0
mov rdx, qword [rbp - 0x18]
mov rcx, rbx
call fcn.140207a44
add rsi, 0x20
mov rbx, rax
cmp rsi, rdi
jb 0x1402518f4
mov edx, 0x12
mov qword [rbp + 0x40], rax
mov rcx, rax
call fcn.1402b5450
mov edx, 0xc
mov rcx, r15
mov rdi, rax
call fcn.1402b5450
mov edx, 7
mov rcx, r13
add rdi, rax
call fcn.1402b5450
mov edx, 1
mov rcx, r12
add rdi, rax
call fcn.1402b5450
mov rdx, r12
xor ecx, ecx
add rdi, rax
call fcn.140207a44
mov rbx, rax
movabs r12, 0x9e3779b185ebca87
xor rbx, rdi
movabs rax, 0x7a1435883d4d519d
imul rbx, r12
mov rdx, r13
xor ecx, ecx
sub rbx, rax
call fcn.140207a44
mov rdi, rax
mov rdx, r15
xor rdi, rbx
movabs rax, 0x7a1435883d4d519d
imul rdi, r12
xor ecx, ecx
sub rdi, rax
call fcn.140207a44
mov rdx, qword [rbp + 0x40]
mov rbx, rax
xor rbx, rdi
movabs r15, 0x7a1435883d4d519d
imul rbx, r12
xor ecx, ecx
sub rbx, r15
call fcn.140207a44
xor rbx, rax
movabs rcx, 0x85ebca77c2b2ae63
imul rbx, r12
movabs r13, 0xc2b2ae3d27d4eb4f
add rbx, rcx
add rbx, r14
jmp 0x140251a78
lea rbx, [rdx + rax]
movabs r15, 0x7a1435883d4d519d
add rbx, r8
and r14d, 0x1f
cmp r14, 8
jb 0x140251ad1
mov edi, r14d
shr rdi, 3
imul rax, rdi, 0xfffffffffffffff8
add r14, rax
mov r8d, 8
lea rcx, [rbp - 0x10]
mov rdx, rsi
call fcn.1402afaf0
mov rdx, qword [rbp - 0x10]
xor ecx, ecx
call fcn.140207a44
xor rax, rbx
mov edx, 0x1b
mov rcx, rax
add rsi, 8
call fcn.1402b5450
mov rbx, rax
imul rbx, r12
sub rbx, r15
sub rdi, 1
jne 0x140251a90
mov edi, 4
movabs r15, 0x165667b19e3779f9
cmp r14, rdi
jb 0x140251b16
mov r8d, edi
lea rcx, [rbp + 0x40]
mov rdx, rsi
call fcn.1402afaf0
mov ecx, dword [rbp + 0x40]
lea edx, [rdi + 0x13]
imul rcx, r12
add rsi, rdi
xor rcx, rbx
call fcn.1402b5450
mov rbx, rax
imul rbx, r13
add rbx, r15
sub r14, rdi
test r14, r14
je 0x140251b49
movabs rdi, 0x27d4eb2f165667c5
movzx ecx, byte [rsi]
mov edx, 0xb
imul rcx, rdi
inc rsi
xor rcx, rbx
call fcn.1402b5450
mov rbx, rax
imul rbx, r12
sub r14, 1
jne 0x140251b25
mov rax, rbx
shr rax, 0x21
xor rax, rbx
mov rbx, qword [rsp + 0x90]
imul rax, r13
mov rcx, rax
shr rcx, 0x1d
xor rcx, rax
imul rcx, r15
mov rax, rcx
shr rax, 0x20
xor rax, rcx
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14025517c
Capabilities:
Encode data using xor

Disassembly:
cmp dword [rcx + 0x60], 0
mov r8, rcx
movzx edx, byte [rcx + 0x5c]
jle 0x1402551b7
mov ecx, dword [rcx + 0x288]
mov r9d, dword [r8 + 0x60]
mov eax, ecx
lea r11, [0x14042e010]
shr rax, 0x18
xor rax, rdx
shl ecx, 8
xor ecx, dword [r11 + rax*4]
mov dword [r8 + 0x288], ecx
sub r9, 1
jne 0x140255193
mov eax, dword [r8 + 0x5c]
mov byte [rax + r8 + 0x80], 1
mov ecx, dword [r8 + 0x60]
sub ecx, 1
je 0x14025525f
sub ecx, 1
je 0x140255243
cmp ecx, 1
je 0x140255218
movsxd rax, dword [r8 + 0x60]
mov r9d, 4
mov byte [rax + r8 + 0x7c], 1
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], dl
movsxd rcx, dword [r8 + 0x6c]
lea eax, [rcx + 1]
mov dword [r8 + 0x6c], eax
sub r9, 1
jne 0x1402551eb
mov dl, byte [r8 + 0x60]
sub dl, 4
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax + 1], dl
jmp 0x14025526a
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], dl
movsxd rcx, dword [r8 + 0x6c]
lea eax, [rcx + 1]
mov dword [r8 + 0x6c], eax
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax + 1], dl
movsxd rcx, dword [r8 + 0x6c]
lea eax, [rcx + 1]
mov dword [r8 + 0x6c], eax
jmp 0x14025520e
mov r9d, 2
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], dl
inc dword [r8 + 0x6c]
sub r9, 1
jne 0x140255249
ret
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], dl
inc dword [r8 + 0x6c]
ret
Function at 0x14027ea08
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14027eac9
call fcn.14026b1ec
test al, al
jne 0x14027eac9
mov rcx, rbx
xor edi, edi
call fcn.1402b31f0
mov r8, rax
lea edx, [rdi + 0x2e]
mov rcx, rbx
mov rsi, rax
call fcn.140298594
test rax, rax
je 0x14027ea75
sub rax, rbx
lea edx, [rdi + 0x2e]
mov r8, rax
mov rcx, rbx
call fcn.140298594
mov rdi, rax
test rax, rax
je 0x14027ea75
inc rdi
mov rcx, rbx
sub rcx, rdi
add rsi, rcx
test rdi, rdi
cmovne rbx, rdi
mov edi, 0x1505
add rsi, rbx
jmp 0x14027ea9b
mov cl, byte [rbx]
call fcn.1402819a0
imul rdi, rdi, 0x21
movsx rcx, al
xor rdi, rcx
inc rbx
cmp rbx, rsi
jb 0x14027ea86
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
jmp 0x14027eacb
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14027fcc4
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, rcx
xor ebx, ebx
lea rcx, [0x1403fb468]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
je 0x14027fdfa
lea rdx, str.LoadLibraryExA
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rdx, [0x1403fb488]
mov rcx, rbp
mov rsi, rax
call fcn.1402be510
test rax, rax
je 0x14027fd3a
mov rcx, rbp
test rsi, rsi
je 0x14027fd32
mov r8d, 8
jmp 0x14027fd5d
call qword [sym.imp.kernel32.dll_LoadLibraryA]
jmp 0x14027fd61
test rsi, rsi
je 0x14027fd69
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14027fd69
mov r8d, 0x800
mov rcx, rbp
xor edx, edx
call rsi
mov rbx, rax
jmp 0x14027fdf7
xor edx, edx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetSystemDirectoryA]
mov r14d, eax
test eax, eax
je 0x14027fdf7
mov rcx, rbp
call fcn.1402b31f0
lea ecx, [r14 + 1]
add rcx, rax
call qword [str.HI_]
mov rdi, rax
test rax, rax
je 0x14027fdee
mov edx, r14d
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x14027fdee
mov rcx, rdi
call fcn.1402b31f0
lea rdx, [0x1403fb4a0]
lea rcx, [rdi + rax]
call fcn.1402b68f0
mov rcx, rdi
call fcn.1402b31f0
mov rdx, rbp
lea rcx, [rdi + rax]
call fcn.1402b68f0
mov rcx, rdi
test rsi, rsi
je 0x14027fde5
xor edx, edx
lea r8d, [rdx + 8]
call rsi
jmp 0x14027fdeb
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov rbx, rax
mov rcx, rdi
call qword [str.4I_]
mov rax, rbx
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 0x14027fe18
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x14042f068]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x14027fe6d
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.ws2_32.dll_WSAStartup]
test eax, eax
je 0x14027fe54
mov eax, 2
jmp 0x14027fedd
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x14027fe65
shr ax, 8
cmp al, 2
je 0x14027fe6d
call qword [sym.imp.ws2_32.dll_WSACleanup]
jmp 0x14027fe4a
call fcn.140298bb4
test eax, eax
jne 0x14027fedd
lea rcx, str.iphlpapi.dll
call fcn.14027fcc4
mov qword [0x1404309c8], rax
test rax, rax
je 0x14027feaa
lea rdx, str.if_nametoindex
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14027feaa
mov qword [0x1404309c0], rax
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1402987c8
test al, al
lea rcx, [0x140431cb8]
setne byte [0x140431cb0]
call qword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1402af300
add rsp, 0x1e8
ret
Function at 0x14028530c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor ebp, ebp
mov r14, rcx
xor ecx, ecx
lea edi, [rbp + 1]
jmp 0x14028535e
mov r8d, edi
mov rdx, rbx
mov rcx, r14
mov rbp, rbx
mov esi, edi
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov edi, eax
test eax, eax
je 0x140285398
cmp edi, esi
je 0x140285398
cmp edi, 0x8000
ja 0x140285398
cmp edi, esi
jb 0x14028537a
mov rcx, rbx
mov rdx, rdi
call qword [fcn.1402b4994]
mov rbx, rax
test rax, rax
jne 0x140285331
mov rcx, rbp
call qword [str.4I_]
xor ebx, ebx
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
mov rcx, rbx
jmp 0x140285372
Function at 0x1402899f0
Capabilities:
Resolve dns

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, r9
xor edi, edi
and qword [r9], rdi
xor r13d, r13d
lea r9, [rax + 0x20]
call qword [sym.imp.ws2_32.dll_getaddrinfo]
mov ebp, eax
test eax, eax
jne 0x140289b63
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x140289b50
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140289a4d
call fcn.1402b31f0
lea r14, [rax + 1]
jmp 0x140289a50
xor r14d, r14d
cmp dword [rbx + 4], 2
jne 0x140289a5e
mov r15d, 0x10
jmp 0x140289a6e
cmp dword [rbx + 4], 0x17
jne 0x140289b06
mov r15d, 0x1c
cmp qword [rbx + 0x20], 0
je 0x140289b06
cmp qword [rbx + 0x10], 0
jbe 0x140289b06
cmp qword [rbx + 0x10], r15
jb 0x140289b06
lea rcx, [r14 + 0x30]
add rcx, r15
call qword [str.HI_]
mov rsi, rax
test rax, rax
je 0x140289b14
mov ecx, dword [rbx]
mov r8, r15
mov dword [rax], ecx
mov ecx, dword [rbx + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rbx + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rbx + 0xc]
and qword [rax + 0x18], 0
and qword [rax + 0x28], 0
mov dword [rax + 0xc], ecx
lea rcx, [rax + 0x30]
mov qword [rax + 0x20], rcx
mov dword [rax + 0x10], r15d
mov rdx, qword [rbx + 0x20]
call fcn.1402afaf0
test r14, r14
je 0x140289af3
mov rcx, qword [rsi + 0x20]
mov r8, r14
add rcx, r15
mov qword [rsi + 0x18], rcx
mov rdx, qword [rbx + 0x18]
call fcn.1402afaf0
test rdi, rdi
cmove rdi, rsi
test r13, r13
je 0x140289b03
mov qword [r13 + 0x28], rsi
mov r13, rsi
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x140289b19
jmp 0x140289a39
mov ebp, 8
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140289b29
call qword [sym.imp.ws2_32.dll_freeaddrinfo]
test ebp, ebp
je 0x140289b4b
test rdi, rdi
je 0x140289b47
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [str.4I_]
mov rdi, rbx
test rbx, rbx
jne 0x140289b32
xor edi, edi
jmp 0x140289b5d
test rdi, rdi
jne 0x140289b5d
mov ebp, 0x2af9
mov ecx, ebp
call qword [sym.imp.ws2_32.dll_WSASetLastError]
mov qword [r12], rdi
mov eax, ebp
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14028a148
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov r8, rdx
xor edx, edx
mov rdi, rcx
call fcn.1402b0760
mov r9d, 2
mov r8d, ebx
mov rdx, rdi
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
mov rbx, qword [rsp + 0x30]
neg eax
sbb eax, eax
and eax, 2
add rsp, 0x20
pop rdi
ret
Function at 0x1402919a4
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
and dword [rsp + 0x48], 0
mov rbx, rcx
mov eax, dword [0x1404309d8]
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x140291a00
lea r9d, [rax + 2]
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rax + 6]
xor edx, edx
call fcn.1402987c8
test al, al
je 0x1402919f5
mov dword [0x1404309d8], 2
jmp 0x140291a57
mov eax, 1
mov dword [0x1404309d8], eax
cmp eax, 2
je 0x140291a57
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 0x140291a36
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x140291a57
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 0x1402922a4
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rbx, qword [rcx + 0x10]
mov rdi, rdx
mov rbp, rcx
mov r8d, dword [rbx + 0x14]
lea rdx, [rbx + 0x18]
mov rcx, qword [rbx + 0x98]
lea rsi, [rbx + 0xe0]
call qword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1402922f9
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov rdx, rsi
mov rcx, rdi
mov r8d, eax
call fcn.1402927e0
jmp 0x14029236f
mov rdx, rdi
mov rcx, rbp
call fcn.140292584
cmp dword [rbx], 5
lea rax, str.QUIC
lea rcx, [rbx + 0x114]
mov rdx, rbp
lea r9, [0x1403fe810]
cmove r9, rax
lea r8, str._s_socket__qd_connected:___s:_d_______s:_d_
mov eax, dword [rbx + 0x110]
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 0x144]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], eax
mov rax, qword [rbx + 0x98]
mov qword [rsp + 0x28], rcx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14027c31c
mov rcx, qword [rbx + 0x98]
mov edx, 1
call fcn.14029b288
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

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

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x148
mov rax, qword [0x14042f068]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rax, qword [rcx]
mov rdi, rcx
mov rsi, r9
mov rbp, r8
mov rcx, qword [rax + 0x10]
and dword [r9], 0
xor r9d, r9d
mov rcx, qword [rcx + 0x98]
call qword [sym.imp.ws2_32.dll_recv]
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
jne 0x140292543
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x14029250a
mov dword [rsi], 0x51
jmp 0x14029253f
mov r8d, 0x100
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.140259f94
mov rcx, qword [rdi + 8]
lea rdx, str.Recv_failure:__s
mov r8, rax
call fcn.14027c1b0
mov rax, qword [rdi + 8]
mov dword [rax + 0xd14], ebx
mov dword [rsi], 0x38
or rbx, 0xffffffffffffffff
mov edx, dword [rsi]
lea r8, str.nw_in_read_len_zu______d__err_d
mov rcx, qword [rdi + 8]
mov r9, rbp
mov dword [rsp + 0x28], edx
mov rdx, qword [rdi]
mov dword [rsp + 0x20], ebx
call fcn.14027c31c
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1402af300
add rsp, 0x148
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140292584
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x1c0
mov rax, qword [0x14042f068]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rax, qword [rdx + 0x20]
mov rsi, rdx
mov rbx, qword [rcx + 0x10]
mov rcx, qword [rax + 0x2e8]
test dword [rcx + 0x84], 0x800
jne 0x140292685
mov r8d, 0x80
lea rcx, [rsp + 0x30]
xor edx, edx
mov dword [rsp + 0x20], r8d
call fcn.1402b0760
mov rcx, qword [rbx + 0x98]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
je 0x140292635
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.140259f94
mov r8d, ebx
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.14027c1b0
mov eax, 2
jmp 0x140292687
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x144]
lea r8, [rbx + 0x114]
lea rcx, [rsp + 0x30]
call fcn.14027a28c
test al, al
jne 0x140292685
call fcn.1402b5530
mov ebx, dword [rax]
call fcn.1402b5530
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.140259f94
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
jmp 0x140292623
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1402af300
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140292900
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14042f068]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor eax, eax
mov dword [rsp + 0x20], 4
cmp byte [rcx + 0xa5b], al
lea r9, [rsp + 0x50]
mov rdi, rdx
mov rbx, rcx
setne al
mov edx, 0xffff
mov r8d, 8
mov dword [rsp + 0x50], eax
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_setsockopt]
test eax, eax
jns 0x14029296a
mov r8, rdi
lea rdx, str.Failed_to_set_SO_KEEPALIVE_on_fd__d
mov rcx, rbx
call fcn.14027c27c
jmp 0x1402929fd
mov ecx, dword [rbx + 0x9c4]
mov dword [rsp + 0x58], 1
call fcn.14027d0bc
imul ecx, eax, 0x3e8
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x5c], ecx
mov ecx, dword [rbx + 0x9c8]
call fcn.14027d0bc
and qword [rsp + 0x40], 0
lea r8, [rsp + 0x58]
and qword [rsp + 0x38], 0
mov r9d, 0xc
imul ecx, eax, 0x3e8
mov edx, 0x98000004
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x60], ecx
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_WSAIoctl]
test eax, eax
je 0x1402929fd
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r8d, edi
lea rdx, str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d
mov r9d, eax
mov rcx, rbx
call fcn.14027c27c
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1402af300
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x140295a70
Capabilities:
Check http status code

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 r14, r8
lea rbx, [rdx + 0x150]
mov rsi, rdx
mov r15, rcx
mov r8d, 0x11
lea rdx, str.WWW_Authenticate:
mov rcx, r9
mov rdi, r9
call fcn.140281afc
test eax, eax
je 0x140295abe
mov ebp, dword [rbx]
cmp ebp, 0x191
je 0x140295ae1
mov r8d, 0x13
lea rdx, str.Proxy_authenticate:
mov rcx, rdi
call fcn.140281afc
test eax, eax
je 0x140295b3c
mov ebp, dword [rbx]
cmp ebp, 0x197
jne 0x140295b3c
mov rcx, rdi
call fcn.14026f8fc
mov rbx, rax
test rax, rax
jne 0x140295af9
lea eax, [rbx + 0x1b]
jmp 0x140295cf5
mov r9, rdi
lea r8, str.CONNECT:_fwd_auth_header__s
mov rdx, r15
mov rcx, rsi
call fcn.14027c31c
cmp ebp, 0x197
mov r8, rbx
mov rcx, rsi
sete dl
call fcn.140271828
mov rcx, rbx
mov edi, eax
call qword [str.4I_]
test edi, edi
je 0x140295cf3
mov eax, edi
jmp 0x140295cf5
mov r8d, 0xf
lea rdx, str.Content_Length:
mov rcx, rdi
call fcn.140281afc
test eax, eax
je 0x140295b9f
mov r8d, dword [rbx]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x140295b78
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, rsi
call fcn.14027c27c
jmp 0x140295cf3
lea rcx, str.Content_Length:
call fcn.1402b31f0
xor edx, edx
lea r9, [r14 + 0xc8]
lea rcx, [rdi + rax]
lea r8d, [rdx + 0xa]
call fcn.14028e9c8
jmp 0x140295cf3
mov ebp, 5
lea r9, str.close
lea rdx, str.Connection:
mov qword [rsp + 0x20], rbp
mov rcx, rdi
lea r8d, [rbp + 6]
call fcn.14026f84c
test al, al
jne 0x140295ceb
lea r15d, [rbp + 0xd]
mov rcx, rdi
mov r8d, r15d
lea rdx, str.Transfer_Encoding:
call fcn.140281afc
test eax, eax
je 0x140295c4e
mov r8d, dword [rbx]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x140295c00
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
jmp 0x140295b6b
lea r9, str.chunked
mov qword [rsp + 0x20], 7
mov r8, r15
lea rdx, str.Transfer_Encoding:
mov rcx, rdi
call fcn.14026f84c
test al, al
je 0x140295cf3
lea rdx, str.CONNECT_responded_chunked
mov rcx, rsi
call fcn.14027c27c
mov rcx, rsi
mov byte [r14 + 0xd4], 1
call fcn.14028939c
jmp 0x140295cf3
lea r9, str.close
mov qword [rsp + 0x20], rbp
mov r8d, 0x11
lea rdx, str.Proxy_Connection:
mov rcx, rdi
call fcn.14026f84c
test al, al
jne 0x140295ceb
mov r8d, 7
lea rdx, str.HTTP_1.
mov rcx, rdi
call fcn.1402b4ea0
test eax, eax
jne 0x140295cf3
mov al, byte [rdi + 7]
mov cl, 0x30
sub al, cl
cmp al, 1
ja 0x140295cf3
cmp byte [rdi + 8], 0x20
jne 0x140295cf3
mov al, byte [rdi + 9]
mov dl, 9
sub al, cl
cmp al, dl
ja 0x140295cf3
mov al, byte [rdi + 0xa]
sub al, cl
cmp al, dl
ja 0x140295cf3
mov al, byte [rdi + 0xb]
sub al, cl
cmp al, dl
ja 0x140295cf3
mov al, byte [rdi + 0xc]
sub al, cl
cmp al, dl
jbe 0x140295cf3
movsx eax, byte [rdi + 9]
lea ecx, [rax + rax*4]
movsx eax, byte [rdi + 0xa]
lea ecx, [rax + rcx*2]
movsx eax, byte [rdi + 0xb]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [rax + rcx*2]
mov dword [rbx], ecx
mov dword [rsi + 0x1304], ecx
jmp 0x140295cf3
mov byte [r14 + 0xd5], 1
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1402985b4
Capabilities:
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rax - 0x18], xmm6
lea rcx, [rax - 0x38]
mov rdi, rdx
call fcn.14026a098
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x140276512.1
mov rcx, rdi
mov rsi, rax
call case.0x140276512.1
mov rbx, rax
mov rdx, rax
mov edi, 1
jmp 0x140298635
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.14026a098
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.14026a110
cmp rax, 0x3e8
ja 0x140298676
mov ecx, edi
call qword [sym.imp.kernel32.dll_Sleep]
mov rdx, rbx
mov r8d, edi
mov rcx, rsi
call qword [sym.imp.kernel32.dll_MoveFileExA]
test eax, eax
je 0x1402985fa
test rsi, rsi
je 0x140298652
mov rcx, rsi
call fcn.1402b4934
test rbx, rbx
je 0x14029865f
mov rcx, rbx
call fcn.1402b4934
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 0x140298683
mov rcx, rsi
call fcn.1402b4934
test rbx, rbx
je 0x140298690
mov rcx, rbx
call fcn.1402b4934
mov eax, edi
jmp 0x140298661