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

Disassembly:
push 0x144
mov eax, 0x59a21c
call fcn.0055d756
mov esi, ecx
mov dword [ebp - 0x84], esi
xor ebx, ebx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xa8], ebx
call fcn.00407826
sub esp, 0x18
mov dword [ebp - 4], ebx
mov ecx, esp
push 0x6108b0
call fcn.00403e0e
mov ecx, dword [0x610724]
push ebx
push 0xfa0
push 8
pop edx
call fcn.0042192f
mov ebx, eax
add esp, 0x20
cmp ebx, 0xffffffff
jne 0x42c08c
mov edi, 0x5e1685
mov byte [ebp - 0x68], 0
push edi
call fcn.0040358a
pop ecx
push eax
push edi
lea ecx, [ebp - 0x64]
call fcn.00404259
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call fcn.0040cf8f
lea ecx, [ebp - 0x68]
call fcn.004053d8
mov eax, esi
jmp 0x42c417
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 [0x61f36c]
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.0043198c
pop ecx
push edi
mov esi, eax
push 4
mov dword [ebp - 0x88], esi
push esi
jmp 0x42c114
add edi, eax
cmp edi, 4
je 0x42c11f
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 0x42c101
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x42c15e
push esi
call fcn.00431987
pop ecx
mov esi, 0x5e5590
mov byte [ebp - 0x68], 0
push esi
call fcn.0040358a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.00404259
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x68]
push eax
call fcn.0040cf8f
jmp 0x42c409
cmp edi, 4
jge 0x42c1b5
xor ebx, ebx
lea ecx, [ebp - 0xa4]
mov edx, edi
mov byte [ebp - 0x68], bl
call fcn.00404a5c
push eax
mov edx, 0x5e55a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.00404bcb
pop ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00407101
push ebx
push 1
lea ecx, [ebp - 0xf0]
call fcn.004040cf
push ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xa4]
push 1
call fcn.004040cf
jmp 0x42c14a
mov esi, dword [esi]
add esi, 4
mov dword [ebp - 0x8c], esi
jmp 0x42c1cc
add edi, eax
cmp edi, esi
je 0x42c2ba
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 0x42c1c2
cmp edi, esi
je 0x42c2ba
push dword [ebp - 0x88]
call fcn.00431987
pop ecx
mov edx, edi
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0xd8]
call fcn.00404a5c
mov esi, eax
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 2
call fcn.00404a5c
push eax
mov edx, 0x5e55cc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x108]
call fcn.00404bcb
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf0]
mov edx, eax
mov dword [esp], str._receiveOverSize:
call fcn.00404bfb
pop ecx
push esi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
call fcn.00404c2d
pop ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00407101
xor ebx, ebx
lea ecx, [ebp - 0xa4]
push 0
inc ebx
push ebx
call fcn.004040cf
push 0
push ebx
lea ecx, [ebp - 0xf0]
call fcn.004040cf
push 0
push ebx
lea ecx, [ebp - 0x108]
call fcn.004040cf
push 0
push ebx
lea ecx, [ebp - 0xc0]
call fcn.004040cf
push 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
push ebx
jmp 0x42c1ae
push 8
call fcn.0043198c
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 0x42c2dd
mov eax, dword [esi + 4]
mov dword [0x610734], eax
push esi
call fcn.00431987
pop ecx
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x61f36c]
lea ecx, [ebp - 0xa4]
call fcn.00404a5c
mov esi, eax
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 6
call fcn.0042a9f3
push str._awsipcloudx
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc0]
call fcn.00404bfb
pop ecx
push esi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd8]
call fcn.00404c2d
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x80]
mov edx, eax
mov dword [esp], 0x5e557c
call fcn.00404bfb
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0xd8]
push 0
inc ebx
push ebx
call fcn.004040cf
push 0
push ebx
lea ecx, [ebp - 0xc0]
call fcn.004040cf
push 0
push ebx
lea ecx, [ebp - 0x108]
call fcn.004040cf
push 0
push ebx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xe
call fcn.004040cf
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.0041e631
add esp, 0xc
lea ecx, [ebp - 0x150]
call fcn.004053d8
push 0x61f7f0
mov edx, ebx
lea ecx, [ebp - 0x150]
call fcn.0042bbb6
pop ecx
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xf
call fcn.0040865c
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x150]
call fcn.004053d8
push ebx
call fcn.00431987
pop ecx
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x68]
push eax
call fcn.0040cf8f
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.004040cf
lea ecx, [ebp - 0x68]
call fcn.004053d8
mov eax, dword [ebp - 0x84]
call fcn.0055d705
ret