Function at 0x42be1a
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push 0x144
mov eax, 0x59a01e
call fcn.0055d546
mov esi, ecx
mov dword [ebp - 0x84], esi
xor ebx, ebx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xa8], ebx
call fcn.00407859
sub esp, 0x18
mov dword [ebp - 4], ebx
mov ecx, esp
push 0x6108e0
call fcn.00403e41
mov ecx, dword [0x610724]
push ebx
push 0xfa0
push 8
pop edx
call fcn.00421b0f
mov ebx, eax
add esp, 0x20
cmp ebx, 0xffffffff
jne 0x42bea5
mov edi, 0x5e1685
mov byte [ebp - 0x68], 0
push edi
call fcn.004035bd
pop ecx
push eax
push edi
lea ecx, [ebp - 0x64]
call fcn.0040428c
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call fcn.0040cfee
lea ecx, [ebp - 0x68]
call fcn.0040540b
mov eax, esi
jmp 0x42c230
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp - 0x14]
push 4
push eax
push 0x1005
mov edi, 0xffff
mov dword [ebp - 0x14], 0x7d0
push edi
push ebx
call esi
push 4
lea eax, [ebp - 0x14]
push eax
push 0x1006
push edi
push ebx
call esi
mov eax, dword [0x61f3b4]
push 0
mov dword [ebp - 0x1a], eax
lea eax, [ebp - 0x20]
push 0xa
push eax
push ebx
mov word [ebp - 0x1c], 0x207
mov dword [ebp - 0x20], 6
call dword [sym.imp.WS2_32.dll_send]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x8000
xor edi, edi
call fcn.0043179f
pop ecx
push edi
mov esi, eax
push 4
mov dword [ebp - 0x88], esi
push esi
jmp 0x42bf2d
add edi, eax
cmp edi, 4
je 0x42bf38
push 0
push 4
pop eax
sub eax, edi
push eax
lea eax, [esi + edi]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x42bf1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x42bf77
push esi
call fcn.004317a8
pop ecx
mov esi, 0x5e55c8
mov byte [ebp - 0x68], 0
push esi
call fcn.004035bd
pop ecx
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.0040428c
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x68]
push eax
call fcn.0040cfee
jmp 0x42c222
cmp edi, 4
jge 0x42bfce
xor ebx, ebx
lea ecx, [ebp - 0xa4]
mov edx, edi
mov byte [ebp - 0x68], bl
call fcn.00404a8f
push eax
mov edx, 0x5e55d8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.00404bfe
pop ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00407134
push ebx
push 1
lea ecx, [ebp - 0xf0]
call fcn.00404102
push ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xa4]
push 1
call fcn.00404102
jmp 0x42bf63
mov esi, dword [esi]
add esi, 4
mov dword [ebp - 0x8c], esi
jmp 0x42bfe5
add edi, eax
cmp edi, esi
je 0x42c0d3
push 0
mov eax, esi
sub eax, edi
push eax
mov eax, dword [ebp - 0x88]
add eax, edi
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x42bfdb
cmp edi, esi
je 0x42c0d3
push dword [ebp - 0x88]
call fcn.004317a8
pop ecx
mov edx, edi
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0xd8]
call fcn.00404a8f
mov esi, eax
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 2
call fcn.00404a8f
push eax
mov edx, 0x5e5604
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x108]
call fcn.00404bfe
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf0]
mov edx, eax
mov dword [esp], str._receiveOverSize:
call fcn.00404c2e
pop ecx
push esi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
call fcn.00404c60
pop ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00407134
xor ebx, ebx
lea ecx, [ebp - 0xa4]
push 0
inc ebx
push ebx
call fcn.00404102
push 0
push ebx
lea ecx, [ebp - 0xf0]
call fcn.00404102
push 0
push ebx
lea ecx, [ebp - 0x108]
call fcn.00404102
push 0
push ebx
lea ecx, [ebp - 0xc0]
call fcn.00404102
push 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
push ebx
jmp 0x42bfc7
push 8
call fcn.0043179f
pop ecx
push 0
push 8
mov esi, eax
push esi
push ebx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 8
jl 0x42c0f6
mov eax, dword [esi + 4]
mov dword [0x610734], eax
push esi
call fcn.004317a8
pop ecx
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x61f3b4]
lea ecx, [ebp - 0xa4]
call fcn.00404a8f
mov esi, eax
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 6
call fcn.0042a80c
push str._awsipcloudx
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc0]
call fcn.00404c2e
pop ecx
push esi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd8]
call fcn.00404c60
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x80]
mov edx, eax
mov dword [esp], 0x5e55b4
call fcn.00404c2e
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0xd8]
push 0
inc ebx
push ebx
call fcn.00404102
push 0
push ebx
lea ecx, [ebp - 0xc0]
call fcn.00404102
push 0
push ebx
lea ecx, [ebp - 0x108]
call fcn.00404102
push 0
push ebx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xe
call fcn.00404102
cmp dword [ebp - 0x6c], 0x10
lea edx, [ebp - 0x80]
mov ebx, dword [ebp - 0x88]
cmovae edx, dword [ebp - 0x80]
push ecx
push edi
push ebx
lea ecx, [ebp - 0x150]
call fcn.0041e811
add esp, 0xc
lea ecx, [ebp - 0x150]
call fcn.0040540b
push 0x61f814
mov edx, ebx
lea ecx, [ebp - 0x150]
call fcn.0042b9cf
pop ecx
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xf
call fcn.004086bb
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x150]
call fcn.0040540b
push ebx
call fcn.004317a8
pop ecx
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x68]
push eax
call fcn.0040cfee
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.00404102
lea ecx, [ebp - 0x68]
call fcn.0040540b
mov eax, dword [ebp - 0x84]
call fcn.0055d4f5
ret