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

Disassembly:
push 0x144
mov eax, 0x59a60a
call fcn.0055da28
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.00421c44
mov ebx, eax
add esp, 0x20
cmp ebx, 0xffffffff
jne 0x42c39d
mov edi, 0x5e268d
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.0040d019
lea ecx, [ebp - 0x68]
call fcn.00405438
mov eax, esi
jmp 0x42c728
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 [0x620434]
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.00431c97
pop ecx
push edi
mov esi, eax
push 4
mov dword [ebp - 0x88], esi
push esi
jmp 0x42c425
add edi, eax
cmp edi, 4
je 0x42c430
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 0x42c412
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x42c46f
push esi
call fcn.00431ca0
pop ecx
mov esi, 0x5e64d0
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.0040d019
jmp 0x42c71a
cmp edi, 4
jge 0x42c4c6
xor ebx, ebx
lea ecx, [ebp - 0xa4]
mov edx, edi
mov byte [ebp - 0x68], bl
call fcn.00404abc
push eax
mov edx, 0x5e64e0
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 0x42c45b
mov esi, dword [esi]
add esi, 4
mov dword [ebp - 0x8c], esi
jmp 0x42c4dd
add edi, eax
cmp edi, esi
je 0x42c5cb
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 0x42c4d3
cmp edi, esi
je 0x42c5cb
push dword [ebp - 0x88]
call fcn.00431ca0
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, 0x5e650c
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 0x42c4bf
push 8
call fcn.00431c97
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 0x42c5ee
mov eax, dword [esi + 4]
mov dword [0x611734], eax
push esi
call fcn.00431ca0
pop ecx
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x620434]
lea ecx, [ebp - 0xa4]
call fcn.00404abc
mov esi, eax
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 6
call fcn.0042ad04
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], 0x5e64bc
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.0041ea07
add esp, 0xc
lea ecx, [ebp - 0x150]
call fcn.00405438
push 0x6208c0
mov edx, ebx
lea ecx, [ebp - 0x150]
call fcn.0042bec7
pop ecx
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xf
call fcn.004086e4
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x150]
call fcn.00405438
push ebx
call fcn.00431ca0
pop ecx
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x68]
push eax
call fcn.0040d019
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.0055d9d7
ret