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

Disassembly:
push 0x144
mov eax, 0x588d80
call fcn.0054eeb6
mov esi, ecx
mov dword [ebp - 0x84], esi
xor ebx, ebx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xa8], ebx
call fcn.00407602
sub esp, 0x18
mov dword [ebp - 4], ebx
mov ecx, esp
push 0x5fc8dc
call fcn.00403d4e
mov ecx, dword [0x5fc6d8]
push ebx
push 0xfa0
push 8
pop edx
call fcn.004171d4
mov ebx, eax
add esp, 0x20
cmp ebx, 0xffffffff
jne 0x41e7e9
mov edi, 0x5d057d
mov byte [ebp - 0x68], 0
push edi
call fcn.004034ca
pop ecx
push eax
push edi
lea ecx, [ebp - 0x64]
call fcn.00404199
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call fcn.0040bd09
lea ecx, [ebp - 0x68]
call fcn.004052db
mov eax, esi
jmp 0x41eb74
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 [0x60b1bc]
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.0042328e
pop ecx
push edi
mov esi, eax
push 4
mov dword [ebp - 0x88], esi
push esi
jmp 0x41e871
add edi, eax
cmp edi, 4
je 0x41e87c
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 0x41e85e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x41e8bb
push esi
call fcn.00423289
pop ecx
mov esi, 0x5d3e08
mov byte [ebp - 0x68], 0
push esi
call fcn.004034ca
pop ecx
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.00404199
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x68]
push eax
call fcn.0040bd09
jmp 0x41eb66
cmp edi, 4
jge 0x41e912
xor ebx, ebx
lea ecx, [ebp - 0xa4]
mov edx, edi
mov byte [ebp - 0x68], bl
call fcn.0040495e
push eax
mov edx, 0x5d3e18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.00404acd
pop ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00407035
push ebx
push 1
lea ecx, [ebp - 0xf0]
call fcn.0040400f
push ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xa4]
push 1
call fcn.0040400f
jmp 0x41e8a7
mov esi, dword [esi]
add esi, 4
mov dword [ebp - 0x8c], esi
jmp 0x41e929
add edi, eax
cmp edi, esi
je 0x41ea17
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 0x41e91f
cmp edi, esi
je 0x41ea17
push dword [ebp - 0x88]
call fcn.00423289
pop ecx
mov edx, edi
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0xd8]
call fcn.0040495e
mov esi, eax
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 2
call fcn.0040495e
push eax
mov edx, 0x5d3e44
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x108]
call fcn.00404acd
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf0]
mov edx, eax
mov dword [esp], str._receiveOverSize:
call fcn.00404afd
pop ecx
push esi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
call fcn.00404b2f
pop ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00407035
xor ebx, ebx
lea ecx, [ebp - 0xa4]
push 0
inc ebx
push ebx
call fcn.0040400f
push 0
push ebx
lea ecx, [ebp - 0xf0]
call fcn.0040400f
push 0
push ebx
lea ecx, [ebp - 0x108]
call fcn.0040400f
push 0
push ebx
lea ecx, [ebp - 0xc0]
call fcn.0040400f
push 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
push ebx
jmp 0x41e90b
push 8
call fcn.0042328e
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 0x41ea3a
mov eax, dword [esi + 4]
mov dword [0x5fc71c], eax
push esi
call fcn.00423289
pop ecx
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x60b1bc]
lea ecx, [ebp - 0xa4]
call fcn.0040495e
mov esi, eax
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 6
call fcn.0041d47d
push str._awsipcloudx
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc0]
call fcn.00404afd
pop ecx
push esi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd8]
call fcn.00404b2f
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x80]
mov edx, eax
mov dword [esp], 0x5d3df4
call fcn.00404afd
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0xd8]
push 0
inc ebx
push ebx
call fcn.0040400f
push 0
push ebx
lea ecx, [ebp - 0xc0]
call fcn.0040400f
push 0
push ebx
lea ecx, [ebp - 0x108]
call fcn.0040400f
push 0
push ebx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xe
call fcn.0040400f
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.004153c4
add esp, 0xc
lea ecx, [ebp - 0x150]
call fcn.004052db
push 0x60b524
mov edx, ebx
lea ecx, [ebp - 0x150]
call fcn.0041e313
pop ecx
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xf
call fcn.004082bc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x150]
call fcn.004052db
push ebx
call fcn.00423289
pop ecx
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x68]
push eax
call fcn.0040bd09
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.0040400f
lea ecx, [ebp - 0x68]
call fcn.004052db
mov eax, dword [ebp - 0x84]
call fcn.0054ee65
ret