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

Disassembly:
cmp byte [0x5c4c7c], 0
push esi
push edi
mov edi, dword [esp + 0x20]
je 0x4caf15
test edi, edi
je 0x4caf15
mov eax, dword [0x5c4c80]
test eax, eax
jne 0x4caf0f
mov esi, dword [esp + 0x1c]
push str.recv
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
call fcn.004caca0
add esp, 0x10
push str.recv
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
push 2
call fcn.0051fa2d
add esp, 4
push eax
call fcn.004d7140
push dword [0x5c4c78]
call fcn.005257d0
add esp, 0x18
call fcn.00519dd8
pop edi
pop esi
mov dword [eax], 0xc
or eax, 0xffffffff
ret
dec eax
mov dword [0x5c4c80], eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test edi, edi
je 0x4caf48
push esi
push dword [esp + 0x18]
push dword [esp + 0x24]
push edi
push str.RECV__s:_d_recv__lu____ld_n
call fcn.004caca0
add esp, 0x14
pop edi
mov eax, esi
pop esi
ret

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

Disassembly:
cmp byte [0x5c4c7c], 0
push esi
push edi
mov edi, dword [esp + 0x20]
je 0x4caff5
test edi, edi
je 0x4caff5
mov eax, dword [0x5c4c80]
test eax, eax
jne 0x4cafef
mov esi, dword [esp + 0x1c]
push str.send
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
call fcn.004caca0
add esp, 0x10
push str.send
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
push 2
call fcn.0051fa2d
add esp, 4
push eax
call fcn.004d7140
push dword [0x5c4c78]
call fcn.005257d0
add esp, 0x18
call fcn.00519dd8
pop edi
pop esi
mov dword [eax], 0xc
or eax, 0xffffffff
ret
dec eax
mov dword [0x5c4c80], eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
test edi, edi
je 0x4cb028
push esi
push dword [esp + 0x18]
push dword [esp + 0x24]
push edi
push str.SEND__s:_d_send__lu____ld_n
call fcn.004caca0
add esp, 0x14
pop edi
mov eax, esi
pop esi
ret

Function at 0x4de440
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push str.F:_vcpkg_vcpkg_buildtreescurl_srce5cd7b457b_ffb4748466.cleanlibgetenv.c
push 0x2d
lea esi, [ebp + 1]
push esi
push ebp
call fcn.004cadd0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4de49d
push esi
push edi
push dword [esp + 0x1c]
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x4de4bb
cmp esi, ebx
je 0x4de4bb
cmp esi, 0x8000
ja 0x4de4bb
cmp esi, ebx
jb 0x4de4b4
push str.F:_vcpkg_vcpkg_buildtreescurl_srce5cd7b457b_ffb4748466.cleanlibgetenv.c
push 0x2d
push esi
push edi
call fcn.004cadd0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4de460
push str.F:_vcpkg_vcpkg_buildtreescurl_srce5cd7b457b_ffb4748466.cleanlibgetenv.c
push 0x2f
push ebp
call fcn.004cac60
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push str.F:_vcpkg_vcpkg_buildtreescurl_srce5cd7b457b_ffb4748466.cleanlibgetenv.c
push 0x3a
push edi
call fcn.004cac60
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret