Function at 0x457d00
Capabilities:
Get socket status
Receive data
Receive data on socket
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a70fe
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x120c
call fcn.00497f30
mov eax, dword [0x617960]
xor eax, esp
mov dword [esp + 0x1208], eax
push ebx
push esi
push edi
mov eax, dword [0x617960]
xor eax, esp
push eax
lea eax, [esp + 0x1220]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x38], edi
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
push 0xfff
mov byte [esp + 0x1c], al
lea eax, [esp + 0x219]
push 0
push eax
mov byte [esp + 0x220], 0
call fcn.00495000
mov eax, dword [edi + 0xc8]
add esp, 0xc
mov dword [esp + 0x110], eax
lea eax, [esp + 0xec]
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0xa
push eax
push 0
push 0
lea eax, [esp + 0x118]
mov dword [esp + 0x118], 1
push eax
push 0
call dword [sym.imp.WS2_32.dll_select]
mov ebx, dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x457dfa
push 0
push 0x1000
lea eax, [esp + 0x21c]
push eax
push dword [edi + 0xc8]
call ebx
push 0x1000
lea eax, [esp + 0x218]
push 0
push eax
call fcn.00495000
add esp, 0xc
push dword [esp + 0x18]
lea eax, [esp + 0xf8]
mov ecx, edi
push dword [ebp + 0x10]
push eax
call fcn.0045d810
mov dword [esp + 0x1228], 0
lea eax, [esp + 0xf4]
cmp dword [esp + 0x108], 0x10
push 0
push dword [esp + 0x108]
cmovae eax, dword [esp + 0xfc]
push eax
push dword [edi + 0xc8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x4580b1
push ecx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [esp + 0x90]
call fcn.004431c0
mov edi, eax
mov ebx, dword [esp + 0x3c]
lea ecx, [esp + 0xd8]
mov byte [esp + 0x122c], 1
movzx edx, word [ebx + 0x6c]
call fcn.004431c0
add esp, 4
mov esi, eax
lea ecx, [ebx + 0xc]
mov byte [esp + 0x1228], 2
push ecx
mov edx, str.sock_send_data_error._addr:
lea ecx, [esp + 0xa8]
call fcn.0043d4d0
add esp, 4
push str.__port:
mov edx, eax
mov byte [esp + 0x122c], 3
lea ecx, [esp + 0x78]
call fcn.0043ee70
add esp, 4
push esi
mov edx, eax
mov byte [esp + 0x122c], 4
lea ecx, [esp + 0x60]
call fcn.00448df0
add esp, 4
push str.__window_error_code:
mov edx, eax
mov byte [esp + 0x122c], 5
lea ecx, [esp + 0x48]
call fcn.0043ee70
add esp, 4
push edi
mov edx, eax
mov byte [esp + 0x122c], 6
lea ecx, [esp + 0x20]
call fcn.00448df0
mov esi, eax
lea edi, [ebx + 0xb0]
add esp, 4
cmp edi, esi
je 0x457f7a
cmp dword [edi + 0x14], 0x10
jb 0x457f29
push dword [edi]
call fcn.0047e2e9
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [esi + 0x14], 0x10
jae 0x457f53
mov eax, dword [esi + 0x10]
inc eax
je 0x457f5d
push eax
push esi
push edi
call fcn.00493570
add esp, 0xc
jmp 0x457f5d
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [esp + 0x30], 0x10
jb 0x457f8d
push dword [esp + 0x1c]
call fcn.0047e2e9
add esp, 4
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
jb 0x457fb5
push dword [esp + 0x44]
call fcn.0047e2e9
add esp, 4
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jb 0x457fdd
push dword [esp + 0x5c]
call fcn.0047e2e9
add esp, 4
cmp dword [esp + 0x88], 0x10
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
jb 0x458008
push dword [esp + 0x74]
call fcn.0047e2e9
add esp, 4
cmp dword [esp + 0xb8], 0x10
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
jb 0x45803c
push dword [esp + 0xa4]
call fcn.0047e2e9
add esp, 4
cmp dword [esp + 0xe8], 0x10
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
jb 0x458073
push dword [esp + 0xd4]
call fcn.0047e2e9
add esp, 4
cmp dword [esp + 0xa0], 0x10
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], 0
mov byte [esp + 0xd4], 0
jb 0x4580aa
push dword [esp + 0x8c]
call fcn.0047e2e9
add esp, 4
xor bl, bl
jmp 0x458565
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], 0
mov byte [esp + 0xbc], 0
push 0x1000
lea eax, [esp + 0x218]
mov byte [esp + 0x122c], 7
push 0
push eax
call fcn.00495000
add esp, 0xc
mov byte [esp + 0x13], 1
xor esi, esi
mov byte [esp + 0x12], 1
lea eax, [esp + 0x214]
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], esi
push esi
push 0xfff
push eax
push dword [edi + 0xc8]
call ebx
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x458343
lea ebx, [ebx]
cmp ebx, 0xffffffff
je 0x458343
cmp byte [esp + 0x214], 0
jne 0x458147
xor eax, eax
jmp 0x45815a
lea eax, [esp + 0x214]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458151
sub eax, edx
push eax
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0xc4]
call fcn.0043ed80
push 0x1000
lea eax, [esp + 0x218]
push 0
push eax
call fcn.00495000
add esp, 0xc
cmp byte [esp + 0x13], 0
je 0x458298
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xc4]
mov dword [esp + 0x38], 0xf
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.004373c0
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
cmp edx, 0x10
lea ebx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
cmovae esi, dword [esp + 0x1c]
add eax, ecx
cmp edx, 0x10
cmovae ebx, dword [esp + 0x1c]
cmp ebx, eax
je 0x458221
xor edi, edi
mov ecx, eax
sub ecx, ebx
cmp ebx, eax
cmova ecx, edi
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x45821d
sub ebx, esi
nop
movsx eax, byte [esi + ebx]
push eax
call fcn.0049c840
inc edi
mov byte [esi], al
add esp, 4
lea esi, [esi + 1]
cmp edi, dword [esp + 0x14]
jne 0x458200
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
cmp edx, 0x10
lea eax, [esp + 0x1c]
push str.transfer_encoding:_chunked
cmovae eax, dword [esp + 0x20]
push eax
call fcn.004cc780
add esp, 8
test eax, eax
setne bl
cmp dword [esp + 0x30], 0x10
jb 0x458253
push dword [esp + 0x1c]
call fcn.0047e2e9
add esp, 4
test bl, bl
jne 0x45828a
sub esp, 0x18
mov byte [esp + 0x2a], bl
mov ecx, esp
lea eax, [esp + 0xd4]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], bl
call fcn.004373c0
call fcn.0045f620
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x18]
xor al, al
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x13], al
cmp byte [esp + 0x12], 0
je 0x45830e
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xc4]
mov dword [esp + 0x38], 0xf
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.004373c0
cmp dword [esp + 0x30], 0x10
lea ecx, [esp + 0x1c]
mov eax, dword [esp + 0x2c]
cmovae ecx, dword [esp + 0x1c]
add eax, 0xfffffffb
push 5
add eax, ecx
push str.0_r_n_r_n
push eax
call fcn.004cdfa0
add esp, 0xc
test eax, eax
sete bl
cmp dword [esp + 0x30], 0x10
jb 0x458308
push dword [esp + 0x1c]
call fcn.0047e2e9
add esp, 4
test bl, bl
jne 0x458343
jmp 0x45831a
add esi, ebx
mov dword [esp + 0x3c], esi
cmp esi, dword [esp + 0x40]
jge 0x458343
push 0
push 0xfff
lea eax, [esp + 0x21c]
push eax
push dword [edi + 0xc8]
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
mov dword [esp + 0x18], eax
test ebx, ebx
jne 0x458130
cmp dword [esp + 0xd0], 0x10
lea eax, [esp + 0xbc]
push dword [esp + 0xcc]
cmovae eax, dword [esp + 0xc0]
push eax
call fcn.0045caf0
mov ecx, eax
mov dword [esp + 0x14], eax
sub ecx, 0x12d
je 0x458458
dec ecx
je 0x458458
sub esp, 0x18
lea eax, [esp + 0xd4]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004373c0
lea eax, [esp + 0xa4]
push eax
call fcn.0045c3a0
mov ebx, dword [esp + 0x34]
mov esi, eax
cmp ebx, esi
je 0x45841f
cmp dword [ebx + 0x14], 0x10
jb 0x4583ce
push dword [ebx]
call fcn.0047e2e9
add esp, 4
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp dword [esi + 0x14], 0x10
jae 0x4583f8
mov eax, dword [esi + 0x10]
inc eax
je 0x458402
push eax
push esi
push ebx
call fcn.00493570
add esp, 0xc
jmp 0x458402
mov eax, dword [esi]
mov dword [ebx], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [esp + 0xa0], 0x10
jb 0x458438
push dword [esp + 0x8c]
call fcn.0047e2e9
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, 0xc8
je 0x458451
cmp eax, 0xce
je 0x458451
xor bl, bl
jmp 0x45852e
mov bl, 1
jmp 0x45852e
push 2
push dword [edi + 0xc8]
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [edi + 0xc8]
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esp + 0xd0], 0x10
lea eax, [esp + 0xbc]
push dword [esp + 0xcc]
cmovae eax, dword [esp + 0xc0]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.0045cef0
push 0
push dword [esp + 0x38]
mov byte [esp + 0x1230], 8
lea eax, [edi + 0x54]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004373c0
sub esp, 0x18
mov byte [esp + 0x1260], 9
mov ecx, esp
lea eax, [esp + 0x10c]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004373c0
mov eax, dword [edi]
mov ecx, edi
mov byte [esp + 0x1260], 8
mov eax, dword [eax + 0xc]
call eax
cmp dword [esp + 0xe8], 0x10
mov bl, al
jb 0x45852e
push dword [esp + 0xd4]
call fcn.0047e2e9
add esp, 4
cmp dword [esp + 0xd0], 0x10
jb 0x458547
push dword [esp + 0xbc]
call fcn.0047e2e9
add esp, 4
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], 0
mov byte [esp + 0xbc], 0
cmp dword [esp + 0x108], 0x10
jb 0x45857e
push dword [esp + 0xf4]
call fcn.0047e2e9
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x1220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1208]
xor ecx, esp
call fcn.0049355b
mov esp, ebp
pop ebp
ret 0xc