Function at 0x459180
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 0x5a75da
mov eax, dword fs:[0]
push eax
mov eax, 0x2110
call fcn.00497f30
mov eax, dword [0x617960]
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 0x45a04b
push 1
sub esp, 8
lea ecx, [ebp + 8]
call fcn.00445310
push eax
push 0
lea ecx, [ebp + 8]
call fcn.00437310
push 1
sub esp, 8
lea ecx, [ebp + 8]
call fcn.004453a0
lea ecx, [eax + 1]
cmp dword [ebp + 0x18], ecx
jae 0x459215
push str.invalid_string_position
call fcn.004b3f06
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 0x45a04b
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.004373c0
lea eax, [ebp - 0x2078]
push eax
call fcn.0045d540
mov ebx, eax
lea eax, [ebp + 8]
cmp eax, ebx
je 0x459295
cmp dword [ebp + 0x1c], 0x10
jb 0x45927a
push dword [ebp + 8]
call fcn.0047e2e9
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.004371a0
cmp dword [ebp - 0x2064], 0x10
jb 0x4592ac
push dword [ebp - 0x2078]
call fcn.0047e2e9
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.004373c0
call fcn.0045be40
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 0x5fed9c
mov byte [ecx], 0
call fcn.00437730
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.004373c0
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00457790
test al, al
jne 0x459399
xor bl, bl
jmp 0x459ce1
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.00437730
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20c0]
push 3
push 0x6003cc
mov dword [ebp - 0x20ac], 0xf
mov dword [ebp - 0x20b0], 0
mov byte [ebp - 0x20c0], 0
call fcn.00437730
push 0x5fee50
lea edx, [ebp - 0x20c0]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2078]
call fcn.0043ee70
lea ecx, [ebp - 0x2058]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x20a8]
call fcn.0043d5c0
push 0x5fee50
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20f0]
call fcn.0043ee70
lea ecx, [ebp - 0x2090]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x20d8]
call fcn.00448df0
push 0x6003b8
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2108]
call fcn.0043ee70
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x2028]
cmp eax, esi
je 0x4594d9
cmp dword [ebp - 0x2014], 0x10
jb 0x4594b2
push dword [ebp - 0x2028]
call fcn.0047e2e9
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.004371a0
cmp dword [ebp - 0x20f4], 0x10
jb 0x4594f0
push dword [ebp - 0x2108]
call fcn.0047e2e9
add esp, 4
cmp dword [ebp - 0x20c4], 0x10
mov dword [ebp - 0x20f4], 0xf
mov dword [ebp - 0x20f8], 0
mov byte [ebp - 0x2108], 0
jb 0x459522
push dword [ebp - 0x20d8]
call fcn.0047e2e9
add esp, 4
cmp dword [ebp - 0x20dc], 0x10
mov dword [ebp - 0x20c4], 0xf
mov dword [ebp - 0x20c8], 0
mov byte [ebp - 0x20d8], 0
jb 0x459554
push dword [ebp - 0x20f0]
call fcn.0047e2e9
add esp, 4
cmp dword [ebp - 0x2094], 0x10
mov dword [ebp - 0x20dc], 0xf
mov dword [ebp - 0x20e0], 0
mov byte [ebp - 0x20f0], 0
jb 0x459586
push dword [ebp - 0x20a8]
call fcn.0047e2e9
add esp, 4
cmp dword [ebp - 0x2064], 0x10
mov dword [ebp - 0x2094], 0xf
mov dword [ebp - 0x2098], 0
mov byte [ebp - 0x20a8], 0
jb 0x4595b8
push dword [ebp - 0x2078]
call fcn.0047e2e9
add esp, 4
cmp dword [ebp - 0x20ac], 0x10
mov dword [ebp - 0x2064], 0xf
mov dword [ebp - 0x2068], 0
mov byte [ebp - 0x2078], 0
jb 0x4595ea
push dword [ebp - 0x20c0]
call fcn.0047e2e9
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 0x459620
push dword [ebp - 0x2090]
call fcn.0047e2e9
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.00437730
push 0x6003d0
lea edx, [ebp - 0x2090]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2078]
call fcn.0043ee70
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 0xc
call fcn.0043ecc0
cmp dword [ebp - 0x2064], 0x10
jb 0x459695
push dword [ebp - 0x2078]
call fcn.0047e2e9
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 0x4596cb
push dword [ebp - 0x2090]
call fcn.0047e2e9
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.00437730
push 0x6003d0
lea edx, [ebp - 0x2090]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2078]
call fcn.0043ee70
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 0xe
call fcn.0043ecc0
cmp dword [ebp - 0x2064], 0x10
jb 0x459740
push dword [ebp - 0x2078]
call fcn.0047e2e9
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 0x459776
push dword [ebp - 0x2090]
call fcn.0047e2e9
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.00437730
push 0x6003d0
lea edx, [ebp - 0x2090]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2078]
call fcn.0043ee70
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 0x10
call fcn.0043ecc0
cmp dword [ebp - 0x2064], 0x10
jb 0x4597eb
push dword [ebp - 0x2078]
call fcn.0047e2e9
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 0x459821
push dword [ebp - 0x2090]
call fcn.0047e2e9
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.00437730
push 0x6003d0
lea edx, [ebp - 0x2090]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2078]
call fcn.0043ee70
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 0x12
call fcn.0043ecc0
cmp dword [ebp - 0x2064], 0x10
jb 0x459896
push dword [ebp - 0x2078]
call fcn.0047e2e9
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 0x4598cc
push dword [ebp - 0x2090]
call fcn.0047e2e9
add esp, 4
push str.Connection:_Keep_Alive
lea ecx, [ebp - 0x20a8]
call fcn.00437830
push 0x6003d0
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2078]
call fcn.0043ee70
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 0x14
call fcn.0043ecc0
cmp dword [ebp - 0x2064], 0x10
jb 0x459920
push dword [ebp - 0x2078]
call fcn.0047e2e9
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 0x459956
push dword [ebp - 0x20a8]
call fcn.0047e2e9
add esp, 4
mov esi, dword [ebp - 0x205c]
mov eax, 0x50
cmp ax, si
jne 0x45998a
lea eax, [ebp - 0x2040]
mov edx, str.Host:
push eax
lea ecx, [ebp - 0x20c0]
call fcn.0043d4d0
add esp, 4
mov ebx, 1
jmp 0x459a13
push ecx
movzx edx, si
lea ecx, [ebp - 0x2090]
call fcn.004431c0
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.0043d4d0
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x20d8]
push str.:._:
mov edx, eax
mov dword [ebp - 0x2060], 6
call fcn.0043ee70
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x20f0]
push esi
mov edx, eax
mov dword [ebp - 0x2060], 0xe
call fcn.00448df0
add esp, 0x10
mov esi, dword [ebp - 0x205c]
mov ebx, 0x1e
push eax
lea ecx, [ebp - 0x20a8]
mov dword [ebp - 0x2060], ebx
call fcn.0043ef10
push 0x600494
mov edx, eax
mov dword [ebp - 4], 0x1a
lea ecx, [ebp - 0x2078]
call fcn.0043ee70
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 0x1b
call fcn.0043ecc0
cmp dword [ebp - 0x2064], 0x10
jb 0x459a6c
push dword [ebp - 0x2078]
call fcn.0047e2e9
add esp, 4
cmp dword [ebp - 0x2094], 0x10
mov dword [ebp - 0x2064], 0xf
mov dword [ebp - 0x2068], 0
mov byte [ebp - 0x2078], 0
jb 0x459a9e
push dword [ebp - 0x20a8]
call fcn.0047e2e9
add esp, 4
mov dword [ebp - 0x2094], 0xf
mov dword [ebp - 0x2098], 0
mov byte [ebp - 0x20a8], 0
test bl, 0x10
je 0x459af3
and ebx, 0xffffffef
cmp dword [ebp - 0x20dc], 0x10
jb 0x459ad8
push dword [ebp - 0x20f0]
call fcn.0047e2e9
add esp, 4
mov dword [ebp - 0x20dc], 0xf
mov dword [ebp - 0x20e0], 0
mov byte [ebp - 0x20f0], 0
test bl, 8
je 0x459b2d
and ebx, 0xfffffff7
cmp dword [ebp - 0x20c4], 0x10
jb 0x459b12
push dword [ebp - 0x20d8]
call fcn.0047e2e9
add esp, 4
mov dword [ebp - 0x20c4], 0xf
mov dword [ebp - 0x20c8], 0
mov byte [ebp - 0x20d8], 0
test bl, 4
je 0x459b40
lea ecx, [ebp - 0x2108]
and ebx, 0xfffffffb
call fcn.00437890
test bl, 2
je 0x459b53
lea ecx, [ebp - 0x2090]
and ebx, 0xfffffffd
call fcn.00437890
mov dword [ebp - 4], 4
test bl, 1
je 0x459b6a
lea ecx, [ebp - 0x20c0]
call fcn.00437890
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 0x459d4a
push ecx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x20c0]
call fcn.004431c0
mov edi, eax
movzx edx, si
lea ecx, [ebp - 0x2090]
mov byte [ebp - 4], 0x1c
call fcn.004431c0
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.0043d4d0
push str._port:
mov edx, eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x20d8]
call fcn.0043ee70
push esi
mov edx, eax
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x20f0]
call fcn.00448df0
push str._window_error_code:
mov edx, eax
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x20a8]
call fcn.0043ee70
push edi
mov edx, eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2078]
call fcn.00448df0
add esp, 0x18
lea ecx, [ebx + 0xb0]
push eax
call fcn.00437200
lea ecx, [ebp - 0x2078]
call fcn.00437890
lea ecx, [ebp - 0x20a8]
call fcn.00437890
lea ecx, [ebp - 0x20f0]
call fcn.00437890
lea ecx, [ebp - 0x20d8]
call fcn.00437890
lea ecx, [ebp - 0x2108]
call fcn.00437890
lea ecx, [ebp - 0x2090]
call fcn.00437890
lea ecx, [ebp - 0x20c0]
call fcn.00437890
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 0x459cc6
push dword [ebp - 0x2028]
call fcn.0047e2e9
add esp, 4
mov dword [ebp - 0x2014], 0xf
mov dword [ebp - 0x2018], 0
mov byte [ebp - 0x2028], 0
cmp dword [ebp - 0x2044], 0x10
jb 0x459cf8
push dword [ebp - 0x2058]
call fcn.0047e2e9
add esp, 4
cmp dword [ebp - 0x202c], 0x10
mov dword [ebp - 0x2044], 0xf
mov dword [ebp - 0x2048], 0
mov byte [ebp - 0x2058], 0
jb 0x459d2a
push dword [ebp - 0x2040]
call fcn.0047e2e9
add esp, 4
mov dword [ebp - 0x202c], 0xf
mov dword [ebp - 0x2030], 0
mov byte [ebp - 0x2040], 0
jmp 0x45a04d
push 0xfff
lea eax, [ebp - 0x200f]
mov byte [ebp - 0x2010], 0
push 0
push eax
call fcn.00495000
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 0x459f03
cmp esi, 0xffffffff
je 0x459f03
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.00495000
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.0045eb90
cmp dword [ebp - 0x2060], 0
jge 0x459f03
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x20c0]
call fcn.00437830
mov edi, eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x205c]
push ecx
movzx edx, ax
lea ecx, [ebp - 0x2090]
call fcn.004431c0
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.0043d4d0
push str.__port_:
mov edx, eax
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x20d8]
call fcn.0043ee70
push esi
mov edx, eax
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x20f0]
call fcn.00448df0
push str.__server_result_:
mov edx, eax
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x20a8]
call fcn.0043ee70
push edi
mov edx, eax
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x2078]
call fcn.00448df0
add esp, 0x18
lea ecx, [ebx + 0xb0]
push eax
call fcn.00437200
lea ecx, [ebp - 0x2078]
call fcn.00437890
lea ecx, [ebp - 0x20a8]
call fcn.00437890
lea ecx, [ebp - 0x20f0]
call fcn.00437890
lea ecx, [ebp - 0x20d8]
call fcn.00437890
lea ecx, [ebp - 0x2108]
call fcn.00437890
lea ecx, [ebp - 0x2090]
call fcn.00437890
lea ecx, [ebp - 0x20c0]
call fcn.00437890
mov ecx, ebx
call fcn.00459050
jmp 0x459cad
cmp dword [edi + 4], 0
jg 0x45a015
jl 0x459f18
cmp dword [edi], 0
ja 0x45a015
push ecx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x20c0]
call fcn.004431c0
mov edi, eax
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2090]
mov eax, dword [ebp - 0x205c]
movzx edx, ax
call fcn.004431c0
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.0043d4d0
push str._port:
mov edx, eax
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x20d8]
call fcn.0043ee70
push esi
mov edx, eax
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x20f0]
call fcn.00448df0
push str._window_error_code:
mov edx, eax
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x20a8]
call fcn.0043ee70
push edi
mov edx, eax
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x2078]
call fcn.00448df0
add esp, 0x18
lea ecx, [ebx + 0xb0]
push eax
call fcn.00437200
lea ecx, [ebp - 0x2078]
call fcn.00437890
lea ecx, [ebp - 0x20a8]
call fcn.00437890
lea ecx, [ebp - 0x20f0]
call fcn.00437890
lea ecx, [ebp - 0x20d8]
call fcn.00437890
lea ecx, [ebp - 0x2108]
call fcn.00437890
lea ecx, [ebp - 0x2090]
call fcn.00437890
lea ecx, [ebp - 0x20c0]
call fcn.00437890
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 0x459cad
jg 0x45a044
cmp dword [edi], 0
jbe 0x459cad
mov bl, 1
jmp 0x459caf
xor bl, bl
cmp dword [ebp + 0x1c], 0x10
jb 0x45a05e
push dword [ebp + 8]
call fcn.0047e2e9
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.0049355b
mov esp, ebp
pop ebp
ret 0x1c