Function at 0x45c9f0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b640a
mov eax, dword fs:[0]
push eax
mov eax, 0x2110
call fcn.004a6330
mov eax, dword [0x629960]
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 esi, ecx
mov dword [ebp - 0x2110], esi
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x210c], edi
mov dword [ebp - 0x2060], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
je 0x45d8bb
push 1
sub esp, 8
lea ecx, [ebp + 8]
call fcn.0044f2a0
push eax
push 0
lea ecx, [ebp + 8]
call fcn.00437620
push 1
sub esp, 8
lea ecx, [ebp + 8]
call fcn.0044f330
lea ecx, [eax + 1]
cmp dword [ebp + 0x18], ecx
jae 0x45ca85
push str.invalid_string_position
call fcn.004c20d4
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov dword [ebp + 0x18], ecx
cmovae eax, dword [ebp + 8]
mov byte [eax + ecx], 0
cmp dword [ebp + 0x18], 0
je 0x45d8bb
sub esp, 0x18
lea eax, [ebp + 8]
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.004374f0
lea eax, [ebp - 0x2078]
push eax
call fcn.00460db0
mov ebx, eax
lea eax, [ebp + 8]
cmp eax, ebx
je 0x45cb05
cmp dword [ebp + 0x1c], 0x10
jb 0x45caea
push dword [ebp + 8]
call fcn.0048c32c
add esp, 4
push ebx
lea ecx, [ebp + 8]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
call fcn.00437970
cmp dword [ebp - 0x2064], 0x10
jb 0x45cb1c
push dword [ebp - 0x2078]
call fcn.0048c32c
add esp, 4
mov dword [ebp - 0x202c], 0xf
mov dword [ebp - 0x2030], 0
mov byte [ebp - 0x2040], 0
mov dword [ebp - 0x2044], 0xf
mov dword [ebp - 0x2048], 0
mov byte [ebp - 0x2058], 0
lea eax, [ebp - 0x205c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2058]
mov dword [ebp - 0x205c], 0
push eax
lea eax, [ebp - 0x2040]
push eax
sub esp, 0x18
lea eax, [ebp + 8]
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.004374f0
call fcn.0045f6b0
sub esp, 0x18
mov byte [esi + 0xd0], 0
mov ecx, esp
mov dword [ebp - 0x2114], esp
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x60e134
mov byte [ecx], 0
call fcn.00437370
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004374f0
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0045b000
test al, al
jne 0x45cc09
xor bl, bl
jmp 0x45d551
mov dword [ebp - 0x2014], 0xf
mov dword [ebp - 0x2018], 0
mov byte [ebp - 0x2028], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2090]
push 8
push str.HTTP_1.1
mov dword [ebp - 0x207c], 0xf
mov dword [ebp - 0x2080], 0
mov byte [ebp - 0x2090], 0
call fcn.00437370
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20c0]
push 3
push 0x60fcec
mov dword [ebp - 0x20ac], 0xf
mov dword [ebp - 0x20b0], 0
mov byte [ebp - 0x20c0], 0
call fcn.00437370
push 0x60f2c4
lea edx, [ebp - 0x20c0]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2078]
call fcn.004407a0
lea ecx, [ebp - 0x2058]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x20a8]
call fcn.0043eab0
push 0x60f2c4
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20f0]
call fcn.004407a0
lea ecx, [ebp - 0x2090]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x20d8]
call fcn.00445c00
push 0x60fcb8
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2108]
call fcn.004407a0
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x2028]
cmp eax, esi
je 0x45cd49
cmp dword [ebp - 0x2014], 0x10
jb 0x45cd22
push dword [ebp - 0x2028]
call fcn.0048c32c
add esp, 4
push esi
lea ecx, [ebp - 0x2028]
mov dword [ebp - 0x2014], 0xf
mov dword [ebp - 0x2018], 0
mov byte [ebp - 0x2028], 0
call fcn.00437970
cmp dword [ebp - 0x20f4], 0x10
jb 0x45cd60
push dword [ebp - 0x2108]
call fcn.0048c32c
add esp, 4
cmp dword [ebp - 0x20c4], 0x10
mov dword [ebp - 0x20f4], 0xf
mov dword [ebp - 0x20f8], 0
mov byte [ebp - 0x2108], 0
jb 0x45cd92
push dword [ebp - 0x20d8]
call fcn.0048c32c
add esp, 4
cmp dword [ebp - 0x20dc], 0x10
mov dword [ebp - 0x20c4], 0xf
mov dword [ebp - 0x20c8], 0
mov byte [ebp - 0x20d8], 0
jb 0x45cdc4
push dword [ebp - 0x20f0]
call fcn.0048c32c
add esp, 4
cmp dword [ebp - 0x2094], 0x10
mov dword [ebp - 0x20dc], 0xf
mov dword [ebp - 0x20e0], 0
mov byte [ebp - 0x20f0], 0
jb 0x45cdf6
push dword [ebp - 0x20a8]
call fcn.0048c32c
add esp, 4
cmp dword [ebp - 0x2064], 0x10
mov dword [ebp - 0x2094], 0xf
mov dword [ebp - 0x2098], 0
mov byte [ebp - 0x20a8], 0
jb 0x45ce28
push dword [ebp - 0x2078]
call fcn.0048c32c
add esp, 4
cmp dword [ebp - 0x20ac], 0x10
mov dword [ebp - 0x2064], 0xf
mov dword [ebp - 0x2068], 0
mov byte [ebp - 0x2078], 0
jb 0x45ce5a
push dword [ebp - 0x20c0]
call fcn.0048c32c
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x207c], 0x10
mov dword [ebp - 0x20ac], 0xf
mov dword [ebp - 0x20b0], 0
mov byte [ebp - 0x20c0], 0
jb 0x45ce90
push dword [ebp - 0x2090]
call fcn.0048c32c
add esp, 4
push 0xa
push str.Accept:_
lea ecx, [ebp - 0x2090]
mov dword [ebp - 0x207c], 0xf
mov dword [ebp - 0x2080], 0
mov byte [ebp - 0x2090], 0
call fcn.00437370
push 0x60fce8
lea edx, [ebp - 0x2090]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2078]
call fcn.004407a0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 0xc
call fcn.004405f0
cmp dword [ebp - 0x2064], 0x10
jb 0x45cf05
push dword [ebp - 0x2078]
call fcn.0048c32c
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x207c], 0x10
mov dword [ebp - 0x2064], 0xf
mov dword [ebp - 0x2068], 0
mov byte [ebp - 0x2078], 0
jb 0x45cf3b
push dword [ebp - 0x2090]
call fcn.0048c32c
add esp, 4
push 0x16
push str.Accept_Language:_zh_cn
lea ecx, [ebp - 0x2090]
mov dword [ebp - 0x207c], 0xf
mov dword [ebp - 0x2080], 0
mov byte [ebp - 0x2090], 0
call fcn.00437370
push 0x60fce8
lea edx, [ebp - 0x2090]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2078]
call fcn.004407a0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 0xe
call fcn.004405f0
cmp dword [ebp - 0x2064], 0x10
jb 0x45cfb0
push dword [ebp - 0x2078]
call fcn.0048c32c
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x207c], 0x10
mov dword [ebp - 0x2064], 0xf
mov dword [ebp - 0x2068], 0
mov byte [ebp - 0x2078], 0
jb 0x45cfe6
push dword [ebp - 0x2090]
call fcn.0048c32c
add esp, 4
push 0x22
push str.Accept_Encoding:_gzip_deflate_sdch
lea ecx, [ebp - 0x2090]
mov dword [ebp - 0x207c], 0xf
mov dword [ebp - 0x2080], 0
mov byte [ebp - 0x2090], 0
call fcn.00437370
push 0x60fce8
lea edx, [ebp - 0x2090]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2078]
call fcn.004407a0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 0x10
call fcn.004405f0
cmp dword [ebp - 0x2064], 0x10
jb 0x45d05b
push dword [ebp - 0x2078]
call fcn.0048c32c
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x207c], 0x10
mov dword [ebp - 0x2064], 0xf
mov dword [ebp - 0x2068], 0
mov byte [ebp - 0x2078], 0
jb 0x45d091
push dword [ebp - 0x2090]
call fcn.0048c32c
add esp, 4
push 0x6f
push str.User_Agent:_sess_Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1__.NET_CLR_1.1.4322__.NET_CLR_2.0.50727_
lea ecx, [ebp - 0x2090]
mov dword [ebp - 0x207c], 0xf
mov dword [ebp - 0x2080], 0
mov byte [ebp - 0x2090], 0
call fcn.00437370
push 0x60fce8
lea edx, [ebp - 0x2090]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2078]
call fcn.004407a0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 0x12
call fcn.004405f0
cmp dword [ebp - 0x2064], 0x10
jb 0x45d106
push dword [ebp - 0x2078]
call fcn.0048c32c
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x207c], 0x10
mov dword [ebp - 0x2064], 0xf
mov dword [ebp - 0x2068], 0
mov byte [ebp - 0x2078], 0
jb 0x45d13c
push dword [ebp - 0x2090]
call fcn.0048c32c
add esp, 4
push str.Connection:_Keep_Alive
lea ecx, [ebp - 0x20a8]
call fcn.004372e0
push 0x60fce8
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2078]
call fcn.004407a0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 0x14
call fcn.004405f0
cmp dword [ebp - 0x2064], 0x10
jb 0x45d190
push dword [ebp - 0x2078]
call fcn.0048c32c
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2094], 0x10
mov dword [ebp - 0x2064], 0xf
mov dword [ebp - 0x2068], 0
mov byte [ebp - 0x2078], 0
jb 0x45d1c6
push dword [ebp - 0x20a8]
call fcn.0048c32c
add esp, 4
mov esi, dword [ebp - 0x205c]
mov eax, 0x50
cmp ax, si
jne 0x45d1fa
lea eax, [ebp - 0x2040]
mov edx, str.Host:
push eax
lea ecx, [ebp - 0x20c0]
call fcn.0043e9c0
add esp, 4
mov ebx, 1
jmp 0x45d283
push ecx
movzx edx, si
lea ecx, [ebp - 0x2090]
call fcn.0044d4d0
mov esi, eax
lea eax, [ebp - 0x2040]
mov dword [ebp - 4], 0x16
push eax
mov edx, str.Host:
mov dword [ebp - 0x2060], 2
lea ecx, [ebp - 0x2108]
call fcn.0043e9c0
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x20d8]
push 0x60e2a4
mov edx, eax
mov dword [ebp - 0x2060], 6
call fcn.004407a0
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x20f0]
push esi
mov edx, eax
mov dword [ebp - 0x2060], 0xe
call fcn.00445c00
add esp, 0x10
mov esi, dword [ebp - 0x205c]
mov ebx, 0x1e
push eax
lea ecx, [ebp - 0x20a8]
mov dword [ebp - 0x2060], ebx
call fcn.00440840
push 0x60fda0
mov edx, eax
mov dword [ebp - 4], 0x1a
lea ecx, [ebp - 0x2078]
call fcn.004407a0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 0x1b
call fcn.004405f0
cmp dword [ebp - 0x2064], 0x10
jb 0x45d2dc
push dword [ebp - 0x2078]
call fcn.0048c32c
add esp, 4
cmp dword [ebp - 0x2094], 0x10
mov dword [ebp - 0x2064], 0xf
mov dword [ebp - 0x2068], 0
mov byte [ebp - 0x2078], 0
jb 0x45d30e
push dword [ebp - 0x20a8]
call fcn.0048c32c
add esp, 4
mov dword [ebp - 0x2094], 0xf
mov dword [ebp - 0x2098], 0
mov byte [ebp - 0x20a8], 0
test bl, 0x10
je 0x45d363
and ebx, 0xffffffef
cmp dword [ebp - 0x20dc], 0x10
jb 0x45d348
push dword [ebp - 0x20f0]
call fcn.0048c32c
add esp, 4
mov dword [ebp - 0x20dc], 0xf
mov dword [ebp - 0x20e0], 0
mov byte [ebp - 0x20f0], 0
test bl, 8
je 0x45d39d
and ebx, 0xfffffff7
cmp dword [ebp - 0x20c4], 0x10
jb 0x45d382
push dword [ebp - 0x20d8]
call fcn.0048c32c
add esp, 4
mov dword [ebp - 0x20c4], 0xf
mov dword [ebp - 0x20c8], 0
mov byte [ebp - 0x20d8], 0
test bl, 4
je 0x45d3b0
lea ecx, [ebp - 0x2108]
and ebx, 0xfffffffb
call fcn.00437bf0
test bl, 2
je 0x45d3c3
lea ecx, [ebp - 0x2090]
and ebx, 0xfffffffd
call fcn.00437bf0
mov dword [ebp - 4], 4
test bl, 1
je 0x45d3da
lea ecx, [ebp - 0x20c0]
call fcn.00437bf0
cmp dword [ebp - 0x2014], 0x10
lea eax, [ebp - 0x2028]
mov ebx, dword [ebp - 0x2110]
cmovae eax, dword [ebp - 0x2028]
push 0
push dword [ebp - 0x2018]
push eax
push dword [ebx + 0xc8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x45d5ba
push ecx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x20c0]
call fcn.0044d4d0
mov edi, eax
movzx edx, si
lea ecx, [ebp - 0x2090]
mov byte [ebp - 4], 0x1c
call fcn.0044d4d0
mov esi, eax
lea eax, [ebp - 0x2040]
mov byte [ebp - 4], 0x1d
push eax
mov edx, str.sock_send_data_error._addr:
lea ecx, [ebp - 0x2108]
call fcn.0043e9c0
push str._port:
mov edx, eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x20d8]
call fcn.004407a0
push esi
mov edx, eax
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x20f0]
call fcn.00445c00
push str._window_error_code:
mov edx, eax
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x20a8]
call fcn.004407a0
push edi
mov edx, eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2078]
call fcn.00445c00
add esp, 0x18
lea ecx, [ebx + 0xb0]
push eax
call fcn.004379d0
lea ecx, [ebp - 0x2078]
call fcn.00437bf0
lea ecx, [ebp - 0x20a8]
call fcn.00437bf0
lea ecx, [ebp - 0x20f0]
call fcn.00437bf0
lea ecx, [ebp - 0x20d8]
call fcn.00437bf0
lea ecx, [ebp - 0x2108]
call fcn.00437bf0
lea ecx, [ebp - 0x2090]
call fcn.00437bf0
lea ecx, [ebp - 0x20c0]
call fcn.00437bf0
push 2
push dword [ebx + 0xc8]
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [ebx + 0xc8]
call dword [sym.imp.WS2_32.dll_closesocket]
xor bl, bl
cmp dword [ebp - 0x2014], 0x10
jb 0x45d536
push dword [ebp - 0x2028]
call fcn.0048c32c
add esp, 4
mov dword [ebp - 0x2014], 0xf
mov dword [ebp - 0x2018], 0
mov byte [ebp - 0x2028], 0
cmp dword [ebp - 0x2044], 0x10
jb 0x45d568
push dword [ebp - 0x2058]
call fcn.0048c32c
add esp, 4
cmp dword [ebp - 0x202c], 0x10
mov dword [ebp - 0x2044], 0xf
mov dword [ebp - 0x2048], 0
mov byte [ebp - 0x2058], 0
jb 0x45d59a
push dword [ebp - 0x2040]
call fcn.0048c32c
add esp, 4
mov dword [ebp - 0x202c], 0xf
mov dword [ebp - 0x2030], 0
mov byte [ebp - 0x2040], 0
jmp 0x45d8bd
push 0xfff
lea eax, [ebp - 0x200f]
mov byte [ebp - 0x2010], 0
push 0
push eax
call fcn.004a3440
add esp, 0xc
mov dword [edi], 0
lea eax, [ebp - 0x2010]
mov dword [edi + 4], 0
push 0
push 0x1000
push eax
push dword [ebx + 0xc8]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
mov dword [ebp - 0x2060], esi
test esi, esi
je 0x45d773
cmp esi, 0xffffffff
je 0x45d773
push 0xfff
lea eax, [ebp - 0x100f]
mov byte [ebp - 0x1010], 0
xorps xmm0, xmm0
push 0
push eax
movlpd qword [ebp - 0x211c], xmm0
call fcn.004a3440
add esp, 0xc
lea eax, [ebp - 0x211c]
mov ecx, ebx
push eax
push edi
lea eax, [ebp - 0x2060]
push eax
lea eax, [ebp - 0x1010]
push eax
push esi
lea eax, [ebp - 0x2010]
push eax
call fcn.00462400
cmp dword [ebp - 0x2060], 0
jge 0x45d773
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x20c0]
call fcn.004372e0
mov edi, eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x205c]
push ecx
movzx edx, ax
lea ecx, [ebp - 0x2090]
call fcn.0044d4d0
mov esi, eax
lea eax, [ebp - 0x2040]
mov byte [ebp - 4], 0x23
push eax
mov edx, str.sock_recv_data_error._addr_:
lea ecx, [ebp - 0x2108]
call fcn.0043e9c0
push str.__port_:
mov edx, eax
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x20d8]
call fcn.004407a0
push esi
mov edx, eax
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x20f0]
call fcn.00445c00
push str.__server_result_:
mov edx, eax
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x20a8]
call fcn.004407a0
push edi
mov edx, eax
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x2078]
call fcn.00445c00
add esp, 0x18
lea ecx, [ebx + 0xb0]
push eax
call fcn.004379d0
lea ecx, [ebp - 0x2078]
call fcn.00437bf0
lea ecx, [ebp - 0x20a8]
call fcn.00437bf0
lea ecx, [ebp - 0x20f0]
call fcn.00437bf0
lea ecx, [ebp - 0x20d8]
call fcn.00437bf0
lea ecx, [ebp - 0x2108]
call fcn.00437bf0
lea ecx, [ebp - 0x2090]
call fcn.00437bf0
lea ecx, [ebp - 0x20c0]
call fcn.00437bf0
mov ecx, ebx
call fcn.0045c8c0
jmp 0x45d51d
cmp dword [edi + 4], 0
jg 0x45d885
jl 0x45d788
cmp dword [edi], 0
ja 0x45d885
push ecx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x20c0]
call fcn.0044d4d0
mov edi, eax
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2090]
mov eax, dword [ebp - 0x205c]
movzx edx, ax
call fcn.0044d4d0
mov esi, eax
lea eax, [ebp - 0x2040]
mov byte [ebp - 4], 0x29
push eax
mov edx, str.sock_recv_data_error._addr:
lea ecx, [ebp - 0x2108]
call fcn.0043e9c0
push str._port:
mov edx, eax
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x20d8]
call fcn.004407a0
push esi
mov edx, eax
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x20f0]
call fcn.00445c00
push str._window_error_code:
mov edx, eax
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x20a8]
call fcn.004407a0
push edi
mov edx, eax
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x2078]
call fcn.00445c00
add esp, 0x18
lea ecx, [ebx + 0xb0]
push eax
call fcn.004379d0
lea ecx, [ebp - 0x2078]
call fcn.00437bf0
lea ecx, [ebp - 0x20a8]
call fcn.00437bf0
lea ecx, [ebp - 0x20f0]
call fcn.00437bf0
lea ecx, [ebp - 0x20d8]
call fcn.00437bf0
lea ecx, [ebp - 0x2108]
call fcn.00437bf0
lea ecx, [ebp - 0x2090]
call fcn.00437bf0
lea ecx, [ebp - 0x20c0]
call fcn.00437bf0
mov edi, dword [ebp - 0x210c]
push 2
push dword [ebx + 0xc8]
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [ebx + 0xc8]
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [edi + 4], 0
jl 0x45d51d
jg 0x45d8b4
cmp dword [edi], 0
jbe 0x45d51d
mov bl, 1
jmp 0x45d51f
xor bl, bl
cmp dword [ebp + 0x1c], 0x10
jb 0x45d8ce
push dword [ebp + 8]
call fcn.0048c32c
add esp, 4
mov al, bl
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.004a16e5
mov esp, ebp
pop ebp
ret 0x1c