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

Disassembly:
push 0x144
mov eax, 0x59a437
call fcn.0055d8e8
mov esi, ecx
mov dword [ebp - 0x84], esi
xor ebx, ebx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xa8], ebx
call fcn.00407888
sub esp, 0x18
mov dword [ebp - 4], ebx
mov ecx, esp
push 0x6118e0
call fcn.00403e6e
mov ecx, dword [0x611724]
push ebx
push 0xfa0
push 8
pop edx
call fcn.00421b10
mov ebx, eax
add esp, 0x20
cmp ebx, 0xffffffff
jne 0x42c268
mov edi, 0x5e264d
mov byte [ebp - 0x68], 0
push edi
call fcn.004035ea
pop ecx
push eax
push edi
lea ecx, [ebp - 0x64]
call fcn.004042b9
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call fcn.0040d01d
lea ecx, [ebp - 0x68]
call fcn.00405438
mov eax, esi
jmp 0x42c5f3
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 [0x6203b4]
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.00431b64
pop ecx
push edi
mov esi, eax
push 4
mov dword [ebp - 0x88], esi
push esi
jmp 0x42c2f0
add edi, eax
cmp edi, 4
je 0x42c2fb
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 0x42c2dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x42c33a
push esi
call fcn.00431b6d
pop ecx
mov esi, 0x5e64e0
mov byte [ebp - 0x68], 0
push esi
call fcn.004035ea
pop ecx
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.004042b9
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x68]
push eax
call fcn.0040d01d
jmp 0x42c5e5
cmp edi, 4
jge 0x42c391
xor ebx, ebx
lea ecx, [ebp - 0xa4]
mov edx, edi
mov byte [ebp - 0x68], bl
call fcn.00404abc
push eax
mov edx, 0x5e64f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.00404c2b
pop ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00407163
push ebx
push 1
lea ecx, [ebp - 0xf0]
call fcn.0040412f
push ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xa4]
push 1
call fcn.0040412f
jmp 0x42c326
mov esi, dword [esi]
add esi, 4
mov dword [ebp - 0x8c], esi
jmp 0x42c3a8
add edi, eax
cmp edi, esi
je 0x42c496
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 0x42c39e
cmp edi, esi
je 0x42c496
push dword [ebp - 0x88]
call fcn.00431b6d
pop ecx
mov edx, edi
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0xd8]
call fcn.00404abc
mov esi, eax
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 2
call fcn.00404abc
push eax
mov edx, 0x5e651c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x108]
call fcn.00404c2b
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf0]
mov edx, eax
mov dword [esp], str._receiveOverSize:
call fcn.00404c5b
pop ecx
push esi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
call fcn.00404c8d
pop ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00407163
xor ebx, ebx
lea ecx, [ebp - 0xa4]
push 0
inc ebx
push ebx
call fcn.0040412f
push 0
push ebx
lea ecx, [ebp - 0xf0]
call fcn.0040412f
push 0
push ebx
lea ecx, [ebp - 0x108]
call fcn.0040412f
push 0
push ebx
lea ecx, [ebp - 0xc0]
call fcn.0040412f
push 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
push ebx
jmp 0x42c38a
push 8
call fcn.00431b64
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 0x42c4b9
mov eax, dword [esi + 4]
mov dword [0x611734], eax
push esi
call fcn.00431b6d
pop ecx
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x6203b4]
lea ecx, [ebp - 0xa4]
call fcn.00404abc
mov esi, eax
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 6
call fcn.0042abcf
push str._awsipcloudx
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc0]
call fcn.00404c5b
pop ecx
push esi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd8]
call fcn.00404c8d
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x80]
mov edx, eax
mov dword [esp], 0x5e64cc
call fcn.00404c5b
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0xd8]
push 0
inc ebx
push ebx
call fcn.0040412f
push 0
push ebx
lea ecx, [ebp - 0xc0]
call fcn.0040412f
push 0
push ebx
lea ecx, [ebp - 0x108]
call fcn.0040412f
push 0
push ebx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xe
call fcn.0040412f
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.0041e8d3
add esp, 0xc
lea ecx, [ebp - 0x150]
call fcn.00405438
push 0x620840
mov edx, ebx
lea ecx, [ebp - 0x150]
call fcn.0042bd92
pop ecx
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xf
call fcn.004086ea
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x150]
call fcn.00405438
push ebx
call fcn.00431b6d
pop ecx
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x68]
push eax
call fcn.0040d01d
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.0040412f
lea ecx, [ebp - 0x68]
call fcn.00405438
mov eax, dword [ebp - 0x84]
call fcn.0055d897
ret