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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab4ae
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x620330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x88], ebx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xbc], 0
call fcn.0040b040
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x621904
mov byte [ecx], 0
call fcn.00404720
mov ecx, dword [0x62172c]
mov edx, 8
push 0
push 0xfa0
call fcn.0042a8e0
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
jne 0x43d96d
push 0
push 0x5f426d
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x68], 0
call fcn.00404b60
lea eax, [ebp - 0x68]
mov ecx, ebx
push eax
call fcn.0040eae0
cmp dword [ebp - 0x38], 0x10
jb 0x43d943
push dword [ebp - 0x4c]
call fcn.00446271
add esp, 4
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
jb 0x43d966
push dword [ebp - 0x64]
call fcn.00446271
add esp, 4
mov eax, ebx
jmp 0x43dd86
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp - 0x14]
push 4
push eax
push 0x1005
push 0xffff
push edi
mov dword [ebp - 0x14], 0x7d0
call esi
push 4
lea eax, [ebp - 0x14]
push eax
push 0x1006
push 0xffff
push edi
call esi
mov eax, dword [0x6302a4]
push 0
mov dword [ebp - 0x1a], eax
lea eax, [ebp - 0x20]
push 0xa
push eax
push edi
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 esi, esi
call fcn.00446268
add esp, 4
mov ebx, eax
mov dword [ebp - 0x84], ebx
push esi
push 4
push ebx
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x43da10
add esi, eax
cmp esi, 4
je 0x43da10
push 0
mov eax, 4
sub eax, esi
push eax
lea eax, [ebx + esi]
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x43d9f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x43da4a
push ebx
call fcn.00446271
add esp, 4
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0x64]
push 0xe
push 0x5f7fe4
call fcn.00404b60
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x68]
push eax
call fcn.0040eae0
jmp 0x43dd78
cmp esi, 4
jge 0x43db12
mov edx, esi
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0xb8]
call fcn.00405740
push eax
mov edx, 0x5f7ff4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.004059d0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x64]
cmp eax, esi
je 0x43dab1
cmp dword [ebp - 0x50], 0x10
jb 0x43da96
push dword [ebp - 0x64]
call fcn.00446271
add esp, 4
push esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
call fcn.00404510
cmp dword [ebp - 0x8c], 0x10
jb 0x43dac8
push dword [ebp - 0xa0]
call fcn.00446271
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0xa4], 0x10
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
jb 0x43dafe
push dword [ebp - 0xb8]
call fcn.00446271
add esp, 4
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x68]
push eax
call fcn.0040eae0
jmp 0x43dd78
mov ebx, dword [ebx]
add ebx, 4
push 0
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp - 0x84]
add eax, esi
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x43db57
add esi, eax
cmp esi, ebx
je 0x43dc2f
push 0
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp - 0x84]
add eax, esi
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x43db32
cmp esi, ebx
je 0x43dc2f
push dword [ebp - 0x84]
call fcn.00446271
add esp, 4
mov byte [ebp - 0x68], 0
mov edx, esi
lea ecx, [ebp - 0x104]
call fcn.00405740
mov esi, eax
mov edx, ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xec]
call fcn.00405740
push eax
mov edx, 0x5f8020
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd4]
call fcn.004059d0
add esp, 4
push str._receiveOverSize:
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.00405a60
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb8]
call fcn.00405b00
add esp, 4
lea ecx, [ebp - 0x64]
push eax
call fcn.004097a0
lea ecx, [ebp - 0xb8]
call fcn.004044c0
lea ecx, [ebp - 0xa0]
call fcn.004044c0
lea ecx, [ebp - 0xd4]
call fcn.004044c0
lea ecx, [ebp - 0xec]
call fcn.004044c0
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0
call fcn.004044c0
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x68]
push eax
call fcn.0040eae0
jmp 0x43dd78
push 8
call fcn.00446268
add esp, 4
mov ebx, eax
push 0
push 8
push ebx
push edi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 8
jl 0x43dc54
mov eax, dword [ebx + 4]
mov dword [0x62173c], eax
push ebx
call fcn.00446271
add esp, 4
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x6302a4]
lea ecx, [ebp - 0xb8]
call fcn.00405740
mov edi, eax
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 6
call fcn.0043ab00
push str._awsipcloudx
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xec]
call fcn.00405a60
add esp, 4
push edi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x104]
call fcn.00405b00
add esp, 4
push 0x5f7fd0
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x80]
call fcn.00405a60
add esp, 4
lea ecx, [ebp - 0x104]
call fcn.004044c0
lea ecx, [ebp - 0xec]
call fcn.004044c0
lea ecx, [ebp - 0xd4]
call fcn.004044c0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xe
call fcn.004044c0
cmp dword [ebp - 0x6c], 0x10
lea edx, [ebp - 0x80]
mov ebx, dword [ebp - 0x84]
cmovae edx, dword [ebp - 0x80]
push ecx
push esi
push ebx
lea ecx, [ebp - 0x150]
call fcn.00425a80
add esp, 0xc
lea ecx, [ebp - 0x150]
call fcn.00406690
push 0x630634
mov edx, ebx
lea ecx, [ebp - 0x150]
call fcn.0043cdf0
add esp, 4
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xf
call fcn.0040f7b0
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0xe
call fcn.00406690
push ebx
call fcn.00446271
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x68]
add esp, 4
push eax
call fcn.0040eae0
lea ecx, [ebp - 0x80]
call fcn.004044c0
lea ecx, [ebp - 0x68]
call fcn.00406690
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056bc07
mov esp, ebp
pop ebp
ret