Function at 0x46f950
Capabilities:
Act as tcp client
Check for time delay via gettickcount
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Get socket status
Make an http request with a cookie
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568936
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x16964
call fcn.00528110
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 0x38], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x167e0], ecx
mov dword [ebp - 0x167dc], 0
call fcn.00460e70
test eax, eax
je 0x46f9ac
call fcn.00461150
test eax, eax
jne 0x46fac6
lea eax, [ebp - 0x166cc]
push eax
call fcn.0042d9b0
add esp, 4
mov dword [ebp - 0x167e4], eax
mov ecx, dword [ebp - 0x167e4]
mov dword [ebp - 0x167e8], ecx
mov dword [ebp - 4], 0
push 0x581348
mov edx, dword [ebp - 0x167e8]
push edx
lea eax, [ebp - 0x166d0]
push eax
call fcn.00411930
add esp, 0xc
mov dword [ebp - 0x167ec], eax
mov ecx, dword [ebp - 0x167ec]
call fcn.00415f60
push eax
push 0x581364
push 0x581368
push 0x581378
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x166d0]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x166cc]
call fcn.00415e20
lea ecx, [ebp - 0x166d4]
push ecx
call fcn.0042d9b0
add esp, 4
mov dword [ebp - 0x167f0], eax
mov edx, dword [ebp - 0x167f0]
mov dword [ebp - 0x167f4], edx
mov dword [ebp - 4], 1
push 0x581388
mov eax, dword [ebp - 0x167f4]
push eax
lea ecx, [ebp - 0x166d8]
push ecx
call fcn.00411930
add esp, 0xc
mov dword [ebp - 0x167f8], eax
mov ecx, dword [ebp - 0x167f8]
call fcn.00415f60
push eax
push 0x5813a4
push 0x5813a8
push 0x5813bc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x166d8]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x166d4]
call fcn.00415e20
call fcn.0043c150
xor eax, eax
jmp 0x472155
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
mov ecx, 0x5c8578
call fcn.0044e330
test eax, eax
jne 0x46fae7
xor eax, eax
jmp 0x472155
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0x1008
push 0xffff
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_getsockopt]
cmp dword [ebp - 0x1c], 2
jne 0x46fe83
lea ecx, [ebp - 0x2c]
call fcn.00415d60
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0xa]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0xf]
push edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xe]
push ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xd]
push eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0xc]
push edx
push 0x5813cc
lea eax, [ebp - 0x2c]
push eax
call fcn.004171c0
add esp, 0x1c
mov ecx, dword [ebp - 0x167e0]
add ecx, 0x234
call fcn.0041dca0
lea ecx, [ebp - 0x2c]
call fcn.00415f60
push eax
mov ecx, dword [ebp - 0x167e0]
add ecx, 0x218
call fcn.00473320
test eax, eax
jne 0x46fbee
mov ecx, dword [ebp - 0x167e0]
add ecx, 0x234
mov edx, dword [ebp - 0x167e0]
mov eax, dword [edx + 0x234]
mov edx, dword [eax + 0x14]
call edx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x5c8578
call fcn.00451040
mov dword [ebp - 0x166dc], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00415e20
mov eax, dword [ebp - 0x166dc]
jmp 0x472155
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00415f60
push eax
mov ecx, dword [ebp - 0x167e0]
add ecx, 0x218
call fcn.004732d0
mov ecx, dword [ebp - 0x167e0]
add ecx, 0x234
mov edx, dword [ebp - 0x167e0]
mov eax, dword [edx + 0x234]
mov edx, dword [eax + 0x14]
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 2
jne 0x46fe09
mov ecx, dword [ebp - 0x167e0]
cmp dword [ecx + 0x210], 0
je 0x46fe09
mov dword [ebp - 0x1044], 0
xor edx, edx
mov dword [ebp - 0x1040], edx
mov dword [ebp - 0x103c], edx
mov ecx, dword [ebp - 0x167e0]
add ecx, 0x234
call fcn.0041dca0
lea eax, [ebp - 0x1044]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00415f60
push eax
mov ecx, dword [ebp - 0x167e0]
add ecx, 0x218
call fcn.004732d0
mov ecx, dword [ebp - 0x167e0]
add ecx, 0x234
mov edx, dword [ebp - 0x167e0]
mov eax, dword [edx + 0x234]
mov edx, dword [eax + 0x14]
call edx
mov esi, dword [0x5da63c]
imul esi, esi, 0x3e8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x103c]
cmp eax, esi
jbe 0x46fcd9
jmp 0x46fe09
push 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.004c76c0
add esp, 8
test eax, eax
jne 0x46fcf3
jmp 0x46fc32
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x167e0]
add ecx, 0x234
call fcn.0041dca0
lea edx, [ebp - 0x1044]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00415f60
push eax
mov ecx, dword [ebp - 0x167e0]
add ecx, 0x218
call fcn.004732d0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x103c], eax
sub esp, 0xc
mov ecx, esp
mov edx, dword [ebp - 0x1044]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1040]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x103c]
mov dword [ecx + 8], edx
lea ecx, [ebp - 0x2c]
call fcn.00415f60
push eax
mov ecx, dword [ebp - 0x167e0]
add ecx, 0x218
call fcn.00473350
mov ecx, dword [ebp - 0x167e0]
add ecx, 0x234
mov eax, dword [ebp - 0x167e0]
mov edx, dword [eax + 0x234]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x30], 0x1000
push 0
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x1038]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x167e0]
call fcn.004c7cd0
test eax, eax
jne 0x46fdb9
jmp 0x46fe09
cmp dword [0x5fa5b0], 0
je 0x46fdd5
push 1
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x5fa5b0]
add esp, 0xc
push 0x10
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
push 0
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x1038]
push eax
mov ecx, dword [ebp - 0x1040]
imul ecx, ecx, 0x42c
mov edx, dword [ecx + 0x5ec670]
push edx
call dword [sym.imp.WS2_32.dll_sendto]
jmp 0x46fc32
mov ecx, dword [ebp - 0x167e0]
add ecx, 0x234
call fcn.0041dca0
lea ecx, [ebp - 0x2c]
call fcn.00415f60
push eax
mov ecx, dword [ebp - 0x167e0]
add ecx, 0x218
call fcn.00473380
mov ecx, dword [ebp - 0x167e0]
add ecx, 0x234
mov eax, dword [ebp - 0x167e0]
mov edx, dword [eax + 0x234]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x5c8578
call fcn.00451040
mov dword [ebp - 0x166e0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00415e20
mov eax, dword [ebp - 0x166e0]
jmp 0x472155
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], 3
mov dword [ebp - 0x1050], 0x10
lea edx, [ebp - 0x1050]
push edx
lea eax, [ebp - 0x1060]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x46fec1
xor eax, eax
jmp 0x472155
movzx eax, word [ebp - 0x105e]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
mov dword [ebp - 0x249c], ecx
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x1048], 0
jmp 0x46fefd
mov edx, dword [ebp - 0x1048]
add edx, 1
mov dword [ebp - 0x1048], edx
mov eax, dword [ebp - 0x1048]
cmp eax, dword [0x5f9708]
jge 0x46ff29
mov ecx, dword [ebp - 0x1048]
imul ecx, ecx, 0x42c
mov edx, dword [ebp - 0x249c]
cmp edx, dword [ecx + 0x5eca94]
jne 0x46ff27
jmp 0x46ff29
jmp 0x46feee
mov eax, dword [ebp - 0x1048]
cmp eax, dword [0x5f9708]
jne 0x46ff52
mov dword [ebp - 0x166e4], 0
push 0x5b15cc
lea ecx, [ebp - 0x166e4]
push ecx
call fcn.005286d1
mov edx, dword [ebp - 0x1048]
mov dword [ebp - 0x104c], edx
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x2098], eax
mov byte [ebp - 0x2498], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x2497]
push ecx
call fcn.005281f0
add esp, 0xc
mov edx, dword [ebp - 0x104c]
imul edx, edx, 0x42c
cmp dword [edx + 0x5ec674], 0
jne 0x46ffb0
push 0x5813ec
lea eax, [ebp - 0x2498]
push eax
call fcn.0052a310
add esp, 8
mov ecx, dword [ebp - 0x104c]
imul ecx, ecx, 0x42c
cmp dword [ecx + 0x5ec674], 1
jne 0x46ffd9
push 0x5813f0
lea edx, [ebp - 0x2498]
push edx
call fcn.0052a310
add esp, 8
mov eax, dword [ebp - 0x104c]
imul eax, eax, 0x42c
cmp dword [eax + 0x5ec674], 2
jne 0x470002
push 0x5813f4
lea ecx, [ebp - 0x2498]
push ecx
call fcn.0052a310
add esp, 8
mov byte [ebp - 0x2068], 0
push 0x1000
push 0
lea edx, [ebp - 0x2067]
push edx
call fcn.005281f0
add esp, 0xc
mov eax, dword [ebp - 0x104c]
imul eax, eax, 0x42c
add eax, 0x5ec678
push eax
lea ecx, [ebp - 0x166e8]
push ecx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x167fc], eax
mov edx, dword [ebp - 0x104c]
imul edx, edx, 0x42c
mov eax, dword [edx + 0x5ec884]
push eax
mov ecx, dword [ebp - 0x167fc]
mov edx, dword [ecx]
push edx
push 0x5813fc
lea eax, [ebp - 0x2068]
push eax
call fcn.0052a9d1
add esp, 0x10
lea ecx, [ebp - 0x166e8]
call fcn.00412130
push ecx
mov ecx, esp
mov dword [ebp - 0x166ec], esp
push 0x58140c
call fcn.00415da0
mov dword [ebp - 0x16800], eax
mov ecx, dword [ebp - 0x16800]
mov dword [ebp - 0x16804], ecx
mov byte [ebp - 4], 4
push ecx
mov edx, esp
mov dword [ebp - 0x166f0], esp
lea eax, [ebp - 0x2498]
push eax
push edx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x16808], eax
mov ecx, dword [ebp - 0x16808]
mov dword [ebp - 0x1680c], ecx
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x166f4], esp
push 0x581410
call fcn.00415da0
mov dword [ebp - 0x16810], eax
mov edx, dword [ebp - 0x16810]
mov dword [ebp - 0x16814], edx
mov byte [ebp - 4], 6
push 0
push 0
push 0xc8
push ecx
mov eax, esp
mov dword [ebp - 0x166f8], esp
lea ecx, [ebp - 0x2068]
push ecx
push eax
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x16818], eax
mov edx, dword [ebp + 8]
push edx
mov byte [ebp - 4], 3
mov ecx, 0x5c8578
call fcn.004514c0
push str.autoproxy
mov eax, dword [ebp - 0x104c]
imul eax, eax, 0x42c
add eax, 0x5ec678
push eax
call fcn.00527f0e
add esp, 8
test eax, eax
jne 0x4702d1
mov byte [ebp - 0x44c0], 0
push 0x1000
push 0
lea ecx, [ebp - 0x44bf]
push ecx
call fcn.005281f0
add esp, 0xc
mov dword [ebp - 0x24a0], 0x1000
push 0
lea edx, [ebp - 0x24a0]
push edx
lea eax, [ebp - 0x44c0]
push eax
mov ecx, dword [ebp - 0x2098]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x167e0]
call fcn.004c7cd0
push str.HTTP_1.0_200_OK_r_nServer:_Youngzsoft.com_r_nContent_Type:_application_octet_stream_r_nAccept_Ranges:_bytes_r_n_r_n
lea eax, [ebp - 0x44c0]
push eax
call fcn.0052a310
add esp, 8
push 0x5dc650
call fcn.00529140
add esp, 4
test eax, eax
jbe 0x470207
push 0x5dc650
mov ecx, dword [ebp - 0x2098]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x167e0]
call fcn.004c81b0
mov dword [ebp - 0x166fc], 0
push 0x5b15cc
lea eax, [ebp - 0x166fc]
push eax
call fcn.005286d1
mov byte [ebp - 0x34a8], 0
push 0x1000
push 0
lea ecx, [ebp - 0x34a7]
push ecx
call fcn.005281f0
add esp, 0xc
mov dword [ebp - 0x44c4], 0x10
lea edx, [ebp - 0x44c4]
push edx
lea eax, [ebp - 0x34b8]
push eax
mov ecx, dword [ebp - 0x2098]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, dword [0x5ca8ac]
push eax
movzx ecx, byte [ebp - 0x34b1]
push ecx
movzx edx, byte [ebp - 0x34b2]
push edx
movzx eax, byte [ebp - 0x34b3]
push eax
movzx ecx, byte [ebp - 0x34b4]
push ecx
push str.function_FindProxyForURL_url__host__r_n_r_nreturn__PROXY__d._d._d._d:_d__
lea edx, [ebp - 0x34a8]
push edx
call fcn.0052a9d1
add esp, 0x1c
lea eax, [ebp - 0x34a8]
push eax
lea ecx, [ebp - 0x44c0]
push ecx
call fcn.0052a320
add esp, 8
lea edx, [ebp - 0x44c0]
push edx
mov eax, dword [ebp - 0x2098]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x167e0]
call fcn.004c81b0
mov dword [ebp - 0x16700], 0
push 0x5b15cc
lea edx, [ebp - 0x16700]
push edx
call fcn.005286d1
push 0x58142c
call fcn.00529140
add esp, 4
push eax
push 0x5814f0
mov eax, dword [ebp - 0x104c]
imul eax, eax, 0x42c
add eax, 0x5ec678
push eax
call fcn.0052f26c
add esp, 0xc
test eax, eax
jne 0x470447
mov byte [ebp - 0x54d0], 0
push 0x1000
push 0
lea ecx, [ebp - 0x54cf]
push ecx
call fcn.005281f0
add esp, 0xc
push str.proxy:__
call fcn.00528324
add esp, 4
mov edx, dword [ebp - 0x104c]
imul edx, edx, 0x42c
lea eax, [edx + eax*2 + 0x5ec678]
push eax
lea ecx, [ebp - 0x16704]
push ecx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x1681c], eax
mov ecx, dword [ebp - 0x1681c]
call fcn.00412150
push eax
lea edx, [ebp - 0x54d0]
push edx
call fcn.0052a310
add esp, 8
lea ecx, [ebp - 0x16704]
call fcn.00412130
push 0x581518
lea eax, [ebp - 0x54d0]
push eax
call fcn.00420b60
add esp, 8
mov dword [ebp - 0x16820], eax
mov ecx, dword [ebp - 0x16820]
mov dword [ebp - 0x44c8], ecx
mov edx, dword [ebp - 0x44c8]
mov byte [edx], 0
mov eax, dword [ebp - 0x104c]
imul eax, eax, 0x42c
add eax, 0x5ec678
push eax
lea ecx, [ebp - 0x16708]
push ecx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x16824], eax
push 0x2f
mov ecx, dword [ebp - 0x16824]
call fcn.00412150
push eax
call fcn.0052f410
add esp, 8
mov dword [ebp - 0x54d4], eax
lea ecx, [ebp - 0x16708]
call fcn.00412130
mov edx, dword [ebp - 0x104c]
imul edx, edx, 0x42c
mov eax, dword [edx + 0x5ec884]
push eax
mov ecx, dword [ebp - 0x54d4]
push ecx
lea edx, [ebp - 0x54d0]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x167e0]
call fcn.0046f3b0
mov dword [ebp - 0x1670c], 0
push 0x5b15cc
lea ecx, [ebp - 0x1670c]
push ecx
call fcn.005286d1
mov edx, dword [ebp - 0x104c]
imul edx, edx, 0x42c
cmp dword [edx + 0x5ec674], 0
jne 0x470471
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x104c]
imul eax, eax, 0x42c
cmp dword [eax + 0x5ec674], 1
jne 0x47049b
push 1
push 0
push 0
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x104c]
imul ecx, ecx, 0x42c
cmp dword [ecx + 0x5ec674], 2
jne 0x4704c5
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x2094]
call fcn.00460d70
mov dword [ebp - 0x16828], eax
mov byte [ebp - 4], 7
lea edx, [ebp - 0x2094]
push edx
push 4
mov ecx, 0x5ca8a8
call fcn.0048bcd0
mov dword [ebp - 0x206c], 0
cmp dword [0x5ec65c], 0
je 0x470531
mov dword [ebp - 0x54e8], 0x10
lea eax, [ebp - 0x54e8]
push eax
lea ecx, [ebp - 0x54e4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [ebp - 0x54e0]
mov dword [ebp - 0x206c], ecx
mov edx, dword [ebp - 0x104c]
imul edx, edx, 0x42c
cmp dword [edx + 0x5ec674], 2
jne 0x471fab
lea ecx, [ebp - 0x6630]
call fcn.004ef757
mov dword [ebp - 0x1682c], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
cmp dword [eax], 2
jne 0x4705cd
push 0x1000
lea ecx, [ebp - 0x6618]
push ecx
mov edx, dword [ebp - 0x2098]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x167e0]
call fcn.004c7870
mov dword [ebp - 0x16830], eax
cmp dword [ebp - 0x16830], 0
jne 0x4705b1
mov dword [ebp - 0x16710], 0
push 0x5b15cc
lea ecx, [ebp - 0x16710]
push ecx
call fcn.005286d1
push 0x58151c
lea edx, [ebp - 0x6618]
push edx
call fcn.005578fc
add esp, 8
test eax, eax
je 0x4705cb
jmp 0x4705cd
jmp 0x47055f
lea eax, [ebp - 0x6618]
push eax
lea ecx, [ebp - 0x16714]
push ecx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x16834], eax
mov edx, dword [ebp - 0x16834]
mov dword [ebp - 0x16838], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x16838]
push eax
lea ecx, [ebp - 0x6630]
call fcn.004244f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x16714]
call fcn.00415e20
mov dword [ebp - 0x5604], 0
lea ecx, [ebp - 0x55f4]
call fcn.00415d60
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5608]
call fcn.00415d60
mov byte [ebp - 4], 0xb
cmp dword [0x5ec660], 0
je 0x4706ba
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push str.X_Forwarded_For:__s_r_n
lea eax, [ebp - 0x6618]
push eax
call fcn.0052a9d1
add esp, 0xc
lea ecx, [ebp - 0x6618]
push ecx
lea edx, [ebp - 0x16718]
push edx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x1683c], eax
mov eax, dword [ebp - 0x1683c]
mov dword [ebp - 0x16840], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x16840]
push ecx
lea ecx, [ebp - 0x6630]
call fcn.004244f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x16718]
call fcn.00415e20
mov dword [ebp - 0x5618], 0
mov dword [ebp - 0x5614], 0
lea ecx, [ebp - 0x661c]
call fcn.00415d60
mov byte [ebp - 4], 0xd
mov edx, dword [ebp + 8]
cmp dword [edx], 2
jne 0x47102d
push 0x1000
lea eax, [ebp - 0x6618]
push eax
mov ecx, dword [ebp - 0x2098]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x167e0]
call fcn.004c7870
mov dword [ebp - 0x16844], eax
cmp dword [ebp - 0x16844], 0
jne 0x470733
mov dword [ebp - 0x1671c], 0
push 0x5b15cc
lea eax, [ebp - 0x1671c]
push eax
call fcn.005286d1
lea ecx, [ebp - 0x6618]
push ecx
lea edx, [ebp - 0x16724]
push edx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x16848], eax
mov eax, dword [ebp - 0x16848]
mov dword [ebp - 0x1684c], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x661c]
push ecx
push 0x581538
mov ecx, dword [ebp - 0x1684c]
call fcn.00415f60
push eax
call fcn.0046ab70
add esp, 0xc
mov dword [ebp - 0x16850], eax
mov edx, dword [ebp - 0x16850]
mov dword [ebp - 0x16720], edx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x16724]
call fcn.00415e20
cmp dword [ebp - 0x16720], 0
je 0x4707c9
lea ecx, [ebp - 0x661c]
call fcn.00415f60
push eax
call fcn.00527fe6
add esp, 4
mov dword [ebp - 0x5618], eax
mov dword [ebp - 0x5614], edx
lea ecx, [ebp - 0x6634]
call fcn.00415d60
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x6618]
push eax
lea ecx, [ebp - 0x1672c]
push ecx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x16854], eax
mov edx, dword [ebp - 0x16854]
mov dword [ebp - 0x16858], edx
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x6634]
push eax
push 0x581558
mov ecx, dword [ebp - 0x16858]
call fcn.00415f60
push eax
call fcn.0046ab70
add esp, 0xc
mov dword [ebp - 0x1685c], eax
mov ecx, dword [ebp - 0x1685c]
mov dword [ebp - 0x16728], ecx
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1672c]
call fcn.00415e20
cmp dword [ebp - 0x16728], 0
je 0x470ae2
mov dword [ebp - 0x663c], 0
mov dword [ebp - 0x663c], 0
jmp 0x470877
mov edx, dword [ebp - 0x663c]
add edx, 1
mov dword [ebp - 0x663c], edx
mov eax, dword [ebp - 0x663c]
cmp eax, dword [0x5f9708]
jge 0x470ab9
mov ecx, dword [ebp - 0x663c]
imul ecx, ecx, 0x42c
add ecx, 0x5ec888
push ecx
lea ecx, [ebp - 0x55f4]
call fcn.00415e60
mov edx, dword [ebp - 0x663c]
imul edx, edx, 0x42c
cmp dword [edx + 0x5eca94], 0x50
je 0x4708f6
mov eax, dword [ebp - 0x663c]
imul eax, eax, 0x42c
mov ecx, dword [eax + 0x5eca94]
push ecx
mov edx, dword [ebp - 0x663c]
imul edx, edx, 0x42c
add edx, 0x5ec888
push edx
push 0x581564
lea eax, [ebp - 0x55f4]
push eax
call fcn.004171c0
add esp, 0x10
mov ecx, dword [ebp - 0x663c]
imul ecx, ecx, 0x42c
cmp dword [ecx + 0x5ec674], 2
jne 0x470ab4
lea ecx, [ebp - 0x6634]
call fcn.00415f60
push eax
lea ecx, [ebp - 0x55f4]
call fcn.00415f60
push eax
call fcn.00527f0e
add esp, 8
test eax, eax
jne 0x470ab4
mov edx, dword [ebp - 0x104c]
imul edx, edx, 0x42c
mov eax, dword [ebp - 0x663c]
imul eax, eax, 0x42c
mov ecx, dword [eax + 0x5eca94]
cmp ecx, dword [edx + 0x5eca94]
jne 0x470ab4
mov edx, dword [ebp - 0x663c]
imul edx, edx, 0x42c
cmp dword [edx + 0x5eca98], 1
jne 0x470a2f
mov eax, dword [ebp - 0x663c]
imul eax, eax, 0x42c
add eax, 0x5ec678
push eax
lea ecx, [ebp - 0x5608]
call fcn.00415e60
mov ecx, dword [ebp - 0x663c]
imul ecx, ecx, 0x42c
cmp dword [ecx + 0x5ec884], 0x50
je 0x4709e6
mov edx, dword [ebp - 0x663c]
imul edx, edx, 0x42c
mov eax, dword [edx + 0x5ec884]
push eax
mov ecx, dword [ebp - 0x663c]
imul ecx, ecx, 0x42c
add ecx, 0x5ec678
push ecx
push 0x581570
lea edx, [ebp - 0x5608]
push edx
call fcn.004171c0
add esp, 0x10
lea ecx, [ebp - 0x5608]
call fcn.00415f60
push eax
lea eax, [ebp - 0x16730]
push eax
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x16860], eax
mov ecx, dword [ebp - 0x16860]
mov edx, dword [ecx]
push edx
push str.Host:__s_r_n
lea eax, [ebp - 0x6618]
push eax
call fcn.0052a9d1
add esp, 0xc
lea ecx, [ebp - 0x16730]
call fcn.00412130
mov ecx, dword [ebp - 0x206c]
push ecx
lea edx, [ebp - 0x2094]
push edx
mov eax, dword [ebp - 0x663c]
imul eax, eax, 0x42c
mov ecx, dword [eax + 0x5ec884]
push ecx
mov edx, dword [ebp - 0x663c]
imul edx, edx, 0x42c
add edx, 0x5ec678
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x167e0]
call fcn.004c8720
mov dword [ebp - 0x16864], eax
cmp dword [ebp - 0x16864], 0
jne 0x470ab2
push 2
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x16734], 0
push 0x5b15cc
lea eax, [ebp - 0x16734]
push eax
call fcn.005286d1
jmp 0x470ab9
jmp 0x470868
mov ecx, dword [ebp - 0x663c]
cmp ecx, dword [0x5f9708]
jne 0x470ae2
mov dword [ebp - 0x16738], 0
push 0x5b15cc
lea edx, [ebp - 0x16738]
push edx
call fcn.005286d1
lea ecx, [ebp - 0x6638]
call fcn.00415d60
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x6618]
push eax
lea ecx, [ebp - 0x16740]
push ecx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x16868], eax
mov edx, dword [ebp - 0x16868]
mov dword [ebp - 0x1686c], edx
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x6638]
push eax
push str.Referer
mov ecx, dword [ebp - 0x1686c]
call fcn.00415f60
push eax
call fcn.0046ab70
add esp, 0xc
mov dword [ebp - 0x16870], eax
mov ecx, dword [ebp - 0x16870]
mov dword [ebp - 0x1673c], ecx
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x16740]
call fcn.00415e20
cmp dword [ebp - 0x1673c], 0
je 0x470f50
mov dword [ebp - 0x6640], 0
mov dword [ebp - 0x6640], 0
jmp 0x470b90
mov edx, dword [ebp - 0x6640]
add edx, 1
mov dword [ebp - 0x6640], edx
mov eax, dword [ebp - 0x6640]
cmp eax, dword [0x5f9708]
jge 0x470f50
mov ecx, dword [ebp - 0x6640]
imul ecx, ecx, 0x42c
add ecx, 0x5ec888
push ecx
lea ecx, [ebp - 0x6644]
call fcn.00415da0
mov dword [ebp - 0x16874], eax
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x6640]
imul edx, edx, 0x42c
cmp dword [edx + 0x5eca94], 0x50
je 0x470c19
mov eax, dword [ebp - 0x6640]
imul eax, eax, 0x42c
mov ecx, dword [eax + 0x5eca94]
push ecx
mov edx, dword [ebp - 0x6640]
imul edx, edx, 0x42c
add edx, 0x5ec888
push edx
push 0x581598
lea eax, [ebp - 0x6644]
push eax
call fcn.004171c0
add esp, 0x10
mov ecx, dword [ebp - 0x6640]
imul ecx, ecx, 0x42c
cmp dword [ecx + 0x5ec674], 2
jne 0x470d0b
lea edx, [ebp - 0x6644]
push edx
push 0x5815a4
lea eax, [ebp - 0x16748]
push eax
call fcn.0043b3d0
add esp, 0xc
mov dword [ebp - 0x16878], eax
mov ecx, dword [ebp - 0x16878]
mov dword [ebp - 0x1687c], ecx
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x167dc]
or edx, 1
mov dword [ebp - 0x167dc], edx
lea eax, [ebp - 0x6644]
push eax
push 0x5815b4
lea ecx, [ebp - 0x1674c]
push ecx
call fcn.0043b3d0
add esp, 0xc
mov dword [ebp - 0x16880], eax
mov edx, dword [ebp - 0x167dc]
or edx, 2
mov dword [ebp - 0x167dc], edx
mov ecx, dword [ebp - 0x1687c]
call fcn.00415f60
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [ebp - 0x6638]
call fcn.00415f60
push eax
mov ecx, dword [ebp - 0x16880]
call fcn.00415f60
push eax
call fcn.0052f26c
add esp, 0xc
test eax, eax
jne 0x470d0b
mov eax, dword [ebp - 0x104c]
imul eax, eax, 0x42c
mov ecx, dword [ebp - 0x6640]
imul ecx, ecx, 0x42c
mov edx, dword [ecx + 0x5eca94]
cmp edx, dword [eax + 0x5eca94]
jne 0x470d0b
mov dword [ebp - 0x16884], 1
jmp 0x470d15
mov dword [ebp - 0x16884], 0
mov al, byte [ebp - 0x16884]
mov byte [ebp - 0x16741], al
mov ecx, dword [ebp - 0x167dc]
and ecx, 2
je 0x470d3e
and dword [ebp - 0x167dc], 0xfffffffd
lea ecx, [ebp - 0x1674c]
call fcn.00415e20
mov dword [ebp - 4], 0x13
mov edx, dword [ebp - 0x167dc]
and edx, 1
je 0x470d62
and dword [ebp - 0x167dc], 0xfffffffe
lea ecx, [ebp - 0x16748]
call fcn.00415e20
movzx eax, byte [ebp - 0x16741]
test eax, eax
je 0x470f3c
mov ecx, dword [ebp - 0x6640]
imul ecx, ecx, 0x42c
cmp dword [ecx + 0x5eca98], 1
jne 0x470f2b
mov edx, dword [ebp - 0x6640]
imul edx, edx, 0x42c
add edx, 0x5ec678
push edx
lea ecx, [ebp - 0x6648]
call fcn.00415da0
mov dword [ebp - 0x16888], eax
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x6640]
imul eax, eax, 0x42c
cmp dword [eax + 0x5ec884], 0x50
je 0x470e00
mov ecx, dword [ebp - 0x6640]
imul ecx, ecx, 0x42c
mov edx, dword [ecx + 0x5ec884]
push edx
mov eax, dword [ebp - 0x6640]
imul eax, eax, 0x42c
add eax, 0x5ec678
push eax
push str._s:_d
lea ecx, [ebp - 0x6648]
push ecx
call fcn.004171c0
add esp, 0x10
lea edx, [ebp - 0x6644]
push edx
push 0x5815d0
lea eax, [ebp - 0x16750]
push eax
call fcn.0043b3d0
add esp, 0xc
mov dword [ebp - 0x1688c], eax
mov ecx, dword [ebp - 0x1688c]
mov dword [ebp - 0x16890], ecx
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x16890]
call fcn.00415f60
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea edx, [ebp - 0x16754]
push edx
lea ecx, [ebp - 0x6638]
call fcn.004118f0
mov dword [ebp - 0x16894], eax
mov eax, dword [ebp - 0x16894]
mov dword [ebp - 0x16898], eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x16898]
call fcn.00415f60
push eax
lea ecx, [ebp - 0x16758]
push ecx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x1689c], eax
mov edx, dword [ebp - 0x1689c]
mov dword [ebp - 0x168a0], edx
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x6648]
call fcn.00415f60
push eax
lea eax, [ebp - 0x1675c]
push eax
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x168a4], eax
mov ecx, dword [ebp - 0x168a0]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x168a4]
mov ecx, dword [eax]
push ecx
push str.Referer:_http:___s_s_r_n
lea edx, [ebp - 0x6618]
push edx
call fcn.0052a9d1
add esp, 0x10
lea ecx, [ebp - 0x1675c]
call fcn.00412130
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x16758]
call fcn.00412130
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x16754]
call fcn.00415e20
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x16750]
call fcn.00415e20
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x6648]
call fcn.00415e20
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x6644]
call fcn.00415e20
jmp 0x470f50
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x6644]
call fcn.00415e20
jmp 0x470b81
lea eax, [ebp - 0x6618]
push eax
lea ecx, [ebp - 0x16760]
push ecx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x168a8], eax
mov edx, dword [ebp - 0x168a8]
mov dword [ebp - 0x168ac], edx
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x168ac]
push eax
lea ecx, [ebp - 0x6630]
call fcn.004244f0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x16760]
call fcn.00415e20
push 0x5815f8
lea ecx, [ebp - 0x6618]
push ecx
call fcn.005578fc
add esp, 8
test eax, eax
jne 0x470fd5
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x6638]
call fcn.00415e20
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x6634]
call fcn.00415e20
jmp 0x47102d
lea ecx, [ebp - 0x6630]
call fcn.0046b6e0
mov dword [ebp - 0x168b0], eax
cmp dword [ebp - 0x168b0], 0x32
jle 0x47100a
mov dword [ebp - 0x16764], 0
push 0x5b15cc
lea edx, [ebp - 0x16764]
push edx
call fcn.005286d1
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x6638]
call fcn.00415e20
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x6634]
call fcn.00415e20
jmp 0x4706dd
mov dword [ebp - 0x55f8], 0
mov dword [ebp - 0x55f8], 0
jmp 0x471052
mov eax, dword [ebp - 0x55f8]
add eax, 1
mov dword [ebp - 0x55f8], eax
lea ecx, [ebp - 0x6630]
call fcn.0046b6e0
mov dword [ebp - 0x168b4], eax
mov ecx, dword [ebp - 0x55f8]
cmp ecx, dword [ebp - 0x168b4]
jge 0x4710e9
mov edx, dword [ebp - 0x55f8]
push edx
lea ecx, [ebp - 0x6630]
call fcn.00430f50
mov dword [ebp - 0x168b8], eax
mov ecx, dword [ebp - 0x168b8]
call fcn.00415f60
push eax
lea eax, [ebp - 0x16768]
push eax
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x168bc], eax
mov ecx, dword [ebp - 0x168bc]
mov dword [ebp - 0x168c0], ecx
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x168c0]
call fcn.00412150
push eax
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x167e0]
call fcn.004c81b0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x16768]
call fcn.00412130
jmp 0x471043
call fcn.00460e70
mov dword [ebp - 0x168c4], eax
cmp dword [ebp - 0x168c4], 0
je 0x471111
call fcn.00461150
mov dword [ebp - 0x168c8], eax
cmp dword [ebp - 0x168c8], 0
jne 0x471145
push str.HTTP_1.0_401_Unauthorized_r_nServer:_Proxy_r_nWWW_Authenticate:_Basic_realm___r_n_r_n
mov eax, dword [ebp - 0x2098]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x167e0]
call fcn.004c81b0
mov dword [ebp - 0x1676c], 0
push 0x5b15cc
lea edx, [ebp - 0x1676c]
push edx
call fcn.005286d1
mov eax, dword [ebp - 0x5618]
or eax, dword [ebp - 0x5614]
je 0x471230
mov ecx, dword [ebp + 8]
cmp dword [ecx], 2
jne 0x471230
mov dword [ebp - 0x664c], 0
cmp dword [ebp - 0x5614], 0
ja 0x471192
jb 0x471184
cmp dword [ebp - 0x5618], 0x1000
jae 0x471192
mov edx, dword [ebp - 0x5618]
mov dword [ebp - 0x664c], edx
jmp 0x47119c
mov dword [ebp - 0x664c], 0x1000
push 8
lea eax, [ebp - 0x664c]
push eax
lea ecx, [ebp - 0x6618]
push ecx
mov edx, dword [ebp - 0x2098]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x167e0]
call fcn.004c7cd0
mov dword [ebp - 0x168cc], eax
cmp dword [ebp - 0x168cc], 0
jne 0x4711ea
mov dword [ebp - 0x16770], 0
push 0x5b15cc
lea ecx, [ebp - 0x16770]
push ecx
call fcn.005286d1
mov edx, dword [ebp - 0x664c]
push edx
lea eax, [ebp - 0x6618]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x167e0]
call fcn.004c7f70
mov edx, dword [ebp - 0x664c]
xor eax, eax
mov ecx, dword [ebp - 0x5618]
sub ecx, edx
mov edx, dword [ebp - 0x5614]
sbb edx, eax
mov dword [ebp - 0x5618], ecx
mov dword [ebp - 0x5614], edx
jmp 0x471145
mov dword [ebp - 0x5600], 1
mov dword [ebp - 0x55fc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x560c], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 2
jne 0x471f4f
cmp dword [0x5fa5b4], 0
jle 0x47129c
mov esi, dword [0x5fa5b4]
imul esi, esi, 0x3e8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x560c]
cmp eax, esi
jle 0x47129c
mov dword [ebp - 0x16774], 0
push 0x5b15cc
lea ecx, [ebp - 0x16774]
push ecx
call fcn.005286d1
mov dword [ebp - 0x55f0], 0
mov dword [ebp - 0x6650], 0
jmp 0x4712c1
mov edx, dword [ebp - 0x6650]
add edx, 1
mov dword [ebp - 0x6650], edx
mov eax, dword [ebp - 0x6650]
cmp eax, dword [ebp - 0x55f0]
jae 0x4712e5
mov ecx, dword [ebp - 0x6650]
mov edx, dword [ebp + ecx*4 - 0x55ec]
cmp edx, dword [ebp - 0x14]
jne 0x4712e3
jmp 0x4712e5
jmp 0x4712b2
mov eax, dword [ebp - 0x6650]
cmp eax, dword [ebp - 0x55f0]
jne 0x47131b
cmp dword [ebp - 0x55f0], 0x40
jae 0x47131b
mov ecx, dword [ebp - 0x6650]
mov edx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x55ec], edx
mov eax, dword [ebp - 0x55f0]
add eax, 1
mov dword [ebp - 0x55f0], eax
xor ecx, ecx
jne 0x4712a6
mov dword [ebp - 0x6654], 0
jmp 0x47133a
mov edx, dword [ebp - 0x6654]
add edx, 1
mov dword [ebp - 0x6654], edx
mov eax, dword [ebp - 0x6654]
cmp eax, dword [ebp - 0x55f0]
jae 0x471363
mov ecx, dword [ebp - 0x6654]
mov edx, dword [ebp - 0x2098]
mov eax, dword [ebp + ecx*4 - 0x55ec]
cmp eax, dword [edx]
jne 0x471361
jmp 0x471363
jmp 0x47132b
mov ecx, dword [ebp - 0x6654]
cmp ecx, dword [ebp - 0x55f0]
jne 0x47139e
cmp dword [ebp - 0x55f0], 0x40
jae 0x47139e
mov edx, dword [ebp - 0x6654]
mov eax, dword [ebp - 0x2098]
mov ecx, dword [eax]
mov dword [ebp + edx*4 - 0x55ec], ecx
mov edx, dword [ebp - 0x55f0]
add edx, 1
mov dword [ebp - 0x55f0], edx
xor eax, eax
jne 0x47131f
lea ecx, [ebp - 0x5600]
push ecx
push 0
push 0
lea edx, [ebp - 0x55f0]
push edx
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jne 0x4713c9
jmp 0x471250
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x560c], eax
lea eax, [ebp - 0x55f0]
push eax
mov ecx, dword [ebp - 0x2098]
mov edx, dword [ecx]
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4714f8
push 0x1000
lea eax, [ebp - 0x6618]
push eax
mov ecx, dword [ebp - 0x2098]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x167e0]
call fcn.004c7870
mov dword [ebp - 0x168d0], eax
cmp dword [ebp - 0x168d0], 0
jne 0x47143c
mov dword [ebp - 0x16778], 0
push 0x5b15cc
lea eax, [ebp - 0x16778]
push eax
call fcn.005286d1
lea ecx, [ebp - 0x6618]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x167e0]
call fcn.004c81b0
push 0x581650
lea eax, [ebp - 0x6618]
push eax
call fcn.005578fc
add esp, 8
test eax, eax
je 0x4714f8
lea ecx, [ebp - 0x6630]
call fcn.0045f120
lea ecx, [ebp - 0x6618]
push ecx
lea edx, [ebp - 0x1677c]
push edx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x168d4], eax
mov eax, dword [ebp - 0x168d4]
mov dword [ebp - 0x168d8], eax
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x168d8]
push ecx
lea ecx, [ebp - 0x6630]
call fcn.004244f0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1677c]
call fcn.00415e20
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x661c]
call fcn.00415e20
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5608]
call fcn.00415e20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x55f4]
call fcn.00415e20
jmp 0x47061a
lea edx, [ebp - 0x55f0]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x471f4a
mov dword [ebp - 0x16664], 0x10000
mov byte [ebp - 0x16660], 0
push 0x10000
push 0
lea ecx, [ebp - 0x1665f]
push ecx
call fcn.005281f0
add esp, 0xc
cmp dword [ebp - 0x5604], 0
jne 0x471edf
lea ecx, [ebp - 0x5608]
call fcn.004119e0
movzx edx, al
test edx, edx
jne 0x471edf
push 0x10000
lea eax, [ebp - 0x16660]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x167e0]
call fcn.004c7870
mov dword [ebp - 0x168dc], eax
cmp dword [ebp - 0x168dc], 0
jne 0x47159f
mov dword [ebp - 0x16780], 0
push 0x5b15cc
lea edx, [ebp - 0x16780]
push edx
call fcn.005286d1
lea ecx, [ebp - 0x1666c]
call fcn.00415d60
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x16660]
push eax
lea ecx, [ebp - 0x16788]
push ecx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x168e0], eax
mov edx, dword [ebp - 0x168e0]
mov dword [ebp - 0x168e4], edx
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x1666c]
push eax
push str.Location
mov ecx, dword [ebp - 0x168e4]
call fcn.00415f60
push eax
call fcn.0046ab70
add esp, 0xc
mov dword [ebp - 0x168e8], eax
mov ecx, dword [ebp - 0x168e8]
mov dword [ebp - 0x16784], ecx
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x16788]
call fcn.00415e20
cmp dword [ebp - 0x16784], 0
je 0x47178c
lea edx, [ebp - 0x5608]
push edx
push 0x581670
lea eax, [ebp - 0x16790]
push eax
call fcn.0043b3d0
add esp, 0xc
mov dword [ebp - 0x168ec], eax
lea ecx, [ebp - 0x5608]
call fcn.00415f60
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push 0x581668
call fcn.00529140
add esp, 4
add eax, esi
push eax
mov ecx, dword [ebp - 0x168ec]
call fcn.00415f60
push eax
lea ecx, [ebp - 0x1666c]
call fcn.00415f60
push eax
call fcn.0052f26c
add esp, 0xc
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x16789], al
lea ecx, [ebp - 0x16790]
call fcn.00415e20
movzx ecx, byte [ebp - 0x16789]
test ecx, ecx
je 0x47178c
lea ecx, [ebp - 0x5608]
call fcn.00415f90
mov esi, eax
push str.http:__
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, esi
push eax
lea edx, [ebp - 0x16670]
push edx
lea ecx, [ebp - 0x1666c]
call fcn.004118f0
mov dword [ebp - 0x168f0], eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x16670]
call fcn.00415f60
push eax
lea eax, [ebp - 0x16794]
push eax
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x168f4], eax
mov ecx, dword [ebp - 0x168f4]
mov dword [ebp - 0x168f8], ecx
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x55f4]
call fcn.00415f60
push eax
lea edx, [ebp - 0x16798]
push edx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x168fc], eax
mov eax, dword [ebp - 0x168f8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x168fc]
mov eax, dword [edx]
push eax
push str.Location:_http:___s_s_r_n
lea ecx, [ebp - 0x16660]
push ecx
call fcn.0052a9d1
add esp, 0x10
lea ecx, [ebp - 0x16798]
call fcn.00412130
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x16794]
call fcn.00412130
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x16670]
call fcn.00415e20
lea ecx, [ebp - 0x16668]
call fcn.00415d60
mov byte [ebp - 4], 0x20
lea edx, [ebp - 0x16660]
push edx
lea eax, [ebp - 0x167a0]
push eax
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x16900], eax
mov ecx, dword [ebp - 0x16900]
mov dword [ebp - 0x16904], ecx
mov byte [ebp - 4], 0x21
lea edx, [ebp - 0x16668]
push edx
push str.Set_Cookie
mov ecx, dword [ebp - 0x16904]
call fcn.00415f60
push eax
call fcn.0046ab70
add esp, 0xc
mov dword [ebp - 0x16908], eax
mov eax, dword [ebp - 0x16908]
mov dword [ebp - 0x1679c], eax
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x167a0]
call fcn.00415e20
cmp dword [ebp - 0x1679c], 0
je 0x471e82
lea ecx, [ebp - 0x16668]
push ecx
lea ecx, [ebp - 0x16678]
call fcn.00415d80
mov dword [ebp - 0x1690c], eax
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x16678]
call fcn.0043b2a0
push 0
push 0x5816c0
lea ecx, [ebp - 0x16678]
call fcn.00411820
mov dword [ebp - 0x16674], eax
cmp dword [ebp - 0x16674], 0xffffffff
je 0x471e73
mov edx, dword [ebp - 0x16674]
push edx
lea eax, [ebp - 0x1667c]
push eax
lea ecx, [ebp - 0x16668]
call fcn.004118f0
mov dword [ebp - 0x16910], eax
mov byte [ebp - 4], 0x23
push 2
lea ecx, [ebp - 0x167a8]
push ecx
lea ecx, [ebp - 0x1667c]
call fcn.004118f0
mov dword [ebp - 0x16914], eax
push 0
push 0x5816d4
mov ecx, dword [ebp - 0x16914]
call fcn.00411820
xor edx, edx
test eax, eax
setge dl
mov byte [ebp - 0x167a1], dl
lea ecx, [ebp - 0x167a8]
call fcn.00415e20
movzx eax, byte [ebp - 0x167a1]
test eax, eax
je 0x47196f
push 2
lea ecx, [ebp - 0x167ac]
push ecx
lea ecx, [ebp - 0x1667c]
call fcn.004118f0
mov dword [ebp - 0x16918], eax
mov edx, dword [ebp - 0x16918]
mov dword [ebp - 0x1691c], edx
mov byte [ebp - 4], 0x24
push 0
push 0x5816dc
mov ecx, dword [ebp - 0x1691c]
call fcn.00411820
add eax, 2
push eax
lea eax, [ebp - 0x167b0]
push eax
lea ecx, [ebp - 0x1667c]
call fcn.0044b1b0
mov dword [ebp - 0x16920], eax
mov ecx, dword [ebp - 0x16920]
mov dword [ebp - 0x16924], ecx
mov byte [ebp - 4], 0x25
mov edx, dword [ebp - 0x16924]
push edx
lea ecx, [ebp - 0x1667c]
call fcn.00415e40
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x167b0]
call fcn.00415e20
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x167ac]
call fcn.00415e20
lea ecx, [ebp - 0x16684]
call fcn.00415d60
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x16688], 0
lea eax, [ebp - 0x16688]
push eax
push 0x5816e4
lea ecx, [ebp - 0x16680]
push ecx
lea ecx, [ebp - 0x5608]
call fcn.00411660
mov dword [ebp - 0x16928], eax
mov byte [ebp - 4], 0x27
mov dword [ebp - 0x16688], 0
lea edx, [ebp - 0x16688]
push edx
push 0x5816e8
lea eax, [ebp - 0x1668c]
push eax
lea ecx, [ebp - 0x55f4]
call fcn.00411660
mov dword [ebp - 0x1692c], eax
mov byte [ebp - 4], 0x28
push 0x5816ec
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea ecx, [ebp - 0x1667c]
call fcn.00415f90
cmp eax, esi
jle 0x471ac1
push str.__domain
call fcn.00529140
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x1667c]
call fcn.00415f90
sub eax, esi
push eax
lea ecx, [ebp - 0x167bc]
push ecx
lea ecx, [ebp - 0x1667c]
call fcn.00458720
mov dword [ebp - 0x16930], eax
mov edx, dword [ebp - 0x16930]
mov dword [ebp - 0x16934], edx
mov byte [ebp - 4], 0x29
mov eax, dword [ebp - 0x167dc]
or eax, 4
mov dword [ebp - 0x167dc], eax
push 0x581700
call fcn.00529140
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x1667c]
call fcn.00415f90
sub eax, esi
push eax
lea ecx, [ebp - 0x167b8]
push ecx
lea ecx, [ebp - 0x16680]
call fcn.00458720
mov dword [ebp - 0x16938], eax
mov edx, dword [ebp - 0x167dc]
or edx, 8
mov dword [ebp - 0x167dc], edx
mov ecx, dword [ebp - 0x16934]
call fcn.00415f60
push eax
mov ecx, dword [ebp - 0x16938]
call fcn.00411610
test eax, eax
jne 0x471ac1
mov dword [ebp - 0x1693c], 1
jmp 0x471acb
mov dword [ebp - 0x1693c], 0
mov al, byte [ebp - 0x1693c]
mov byte [ebp - 0x167b1], al
mov ecx, dword [ebp - 0x167dc]
and ecx, 8
je 0x471af4
and dword [ebp - 0x167dc], 0xfffffff7
lea ecx, [ebp - 0x167b8]
call fcn.00415e20
mov dword [ebp - 4], 0x28
mov edx, dword [ebp - 0x167dc]
and edx, 4
je 0x471b18
and dword [ebp - 0x167dc], 0xfffffffb
lea ecx, [ebp - 0x167bc]
call fcn.00415e20
movzx eax, byte [ebp - 0x167b1]
test eax, eax
je 0x471e37
mov dword [ebp - 0x166a8], 0
lea ecx, [ebp - 0x166a4]
call fcn.004ef757
mov dword [ebp - 0x16940], eax
mov byte [ebp - 4], 0x2a
cmp dword [ebp - 0x166a8], 0xffffffff
je 0x471bbd
lea ecx, [ebp - 0x166a8]
push ecx
push 0x581718
lea edx, [ebp - 0x166b0]
push edx
lea ecx, [ebp - 0x1668c]
call fcn.00411660
mov dword [ebp - 0x16944], eax
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x166b0]
call fcn.004119e0
movzx eax, al
test eax, eax
je 0x471b9a
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x166b0]
call fcn.00415e20
jmp 0x471bbd
lea ecx, [ebp - 0x166b0]
push ecx
lea ecx, [ebp - 0x166a4]
call fcn.004244f0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x166b0]
call fcn.00415e20
jmp 0x471b46
mov dword [ebp - 0x16690], 0
mov dword [ebp - 0x166b4], 0
jmp 0x471be2
mov edx, dword [ebp - 0x166b4]
add edx, 1
mov dword [ebp - 0x166b4], edx
lea ecx, [ebp - 0x1667c]
call fcn.00415f90
cmp dword [ebp - 0x166b4], eax
jge 0x471c2b
mov eax, dword [ebp - 0x166b4]
push eax
lea ecx, [ebp - 0x1667c]
call fcn.004325f0
mov word [ebp - 0x16946], ax
movzx ecx, word [ebp - 0x16946]
cmp ecx, 0x2e
jne 0x471c29
mov edx, dword [ebp - 0x16690]
add edx, 1
mov dword [ebp - 0x16690], edx
jmp 0x471bd3
push 0x58171c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [ebp - 0x1667c]
call fcn.004325f0
mov word [ebp - 0x16948], ax
movzx eax, word [ebp - 0x16948]
cmp eax, 0x2e
je 0x471c64
mov ecx, dword [ebp - 0x16690]
add ecx, 1
mov dword [ebp - 0x16690], ecx
lea ecx, [ebp - 0x166ac]
call fcn.00415d60
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x166a4]
call fcn.0046b6e0
mov dword [ebp - 0x1694c], eax
mov edx, dword [ebp - 0x1694c]
sub edx, dword [ebp - 0x16690]
mov dword [ebp - 0x166b8], edx
jmp 0x471ca7
mov eax, dword [ebp - 0x166b8]
add eax, 1
mov dword [ebp - 0x166b8], eax
lea ecx, [ebp - 0x166a4]
call fcn.0046b6e0
mov dword [ebp - 0x16950], eax
mov ecx, dword [ebp - 0x166b8]
cmp ecx, dword [ebp - 0x16950]
jge 0x471d02
push 0x581730
lea ecx, [ebp - 0x166ac]
call fcn.00424520
mov edx, dword [ebp - 0x166b8]
push edx
lea ecx, [ebp - 0x166a4]
call fcn.00430f50
mov dword [ebp - 0x16954], eax
mov eax, dword [ebp - 0x16954]
push eax
lea ecx, [ebp - 0x166ac]
call fcn.004115f0
jmp 0x471c98
push 0
lea ecx, [ebp - 0x1667c]
call fcn.004325f0
mov word [ebp - 0x16956], ax
movzx ecx, word [ebp - 0x16956]
cmp ecx, 0x2e
je 0x471d6d
push 1
lea edx, [ebp - 0x167c0]
push edx
lea ecx, [ebp - 0x166ac]
call fcn.004118f0
mov dword [ebp - 0x1695c], eax
mov eax, dword [ebp - 0x1695c]
mov dword [ebp - 0x16960], eax
mov byte [ebp - 4], 0x2d
mov ecx, dword [ebp - 0x16960]
push ecx
lea ecx, [ebp - 0x166ac]
call fcn.00415e40
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x167c0]
call fcn.00415e20
lea edx, [ebp - 0x166ac]
push edx
push 0x581734
lea eax, [ebp - 0x167c4]
push eax
call fcn.0043b3d0
add esp, 0xc
mov dword [ebp - 0x16964], eax
mov ecx, dword [ebp - 0x16964]
mov dword [ebp - 0x16968], ecx
mov byte [ebp - 4], 0x2e
mov ecx, dword [ebp - 0x16968]
call fcn.00415f60
push eax
lea ecx, [ebp - 0x1667c]
call fcn.00415f60
push eax
lea ecx, [ebp - 0x16668]
call fcn.00424600
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x167c4]
call fcn.00415e20
lea ecx, [ebp - 0x16668]
call fcn.00415f60
push eax
lea edx, [ebp - 0x167c8]
push edx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x1696c], eax
mov eax, dword [ebp - 0x1696c]
mov ecx, dword [eax]
push ecx
push str.Set_Cookie:__s_r_n
lea edx, [ebp - 0x16660]
push edx
call fcn.0052a9d1
add esp, 0xc
lea ecx, [ebp - 0x167c8]
call fcn.00412130
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x166ac]
call fcn.00415e20
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x166a4]
call fcn.004efa9a
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x1668c]
call fcn.00415e20
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x16680]
call fcn.00415e20
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x16684]
call fcn.00415e20
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x1667c]
call fcn.00415e20
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x16678]
call fcn.00415e20
lea eax, [ebp - 0x16660]
push eax
mov ecx, dword [ebp - 0x2098]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x167e0]
call fcn.004c81b0
push 0x58175c
lea eax, [ebp - 0x16660]
push eax
call fcn.005578fc
add esp, 8
test eax, eax
jne 0x471ebf
mov dword [ebp - 0x5604], 1
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x16668]
call fcn.00415e20
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1666c]
call fcn.00415e20
jmp 0x471f4a
push 0
lea ecx, [ebp - 0x16664]
push ecx
lea edx, [ebp - 0x16660]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x167e0]
call fcn.004c7cd0
mov dword [ebp - 0x16970], eax
cmp dword [ebp - 0x16970], 0
jne 0x471f28
mov dword [ebp - 0x167cc], 0
push 0x5b15cc
lea ecx, [ebp - 0x167cc]
push ecx
call fcn.005286d1
mov edx, dword [ebp - 0x16664]
push edx
lea eax, [ebp - 0x16660]
push eax
mov ecx, dword [ebp - 0x2098]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x167e0]
call fcn.004c7f70
jmp 0x471250
mov dword [ebp - 0x167d0], 0
push 0x5b15cc
lea eax, [ebp - 0x167d0]
push eax
call fcn.005286d1
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x661c]
call fcn.00415e20
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5608]
call fcn.00415e20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x55f4]
call fcn.00415e20
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6630]
call fcn.004efa9a
jmp 0x47202e
mov ecx, dword [ebp - 0x206c]
push ecx
lea edx, [ebp - 0x2094]
push edx
mov eax, dword [ebp - 0x104c]
imul eax, eax, 0x42c
mov ecx, dword [eax + 0x5ec884]
push ecx
mov edx, dword [ebp - 0x104c]
imul edx, edx, 0x42c
add edx, 0x5ec678
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x167e0]
call fcn.004c8720
mov dword [ebp - 0x16974], eax
cmp dword [ebp - 0x16974], 0
jne 0x47202e
push 2
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x167d4], 0
push 0x5b15cc
lea eax, [ebp - 0x167d4]
push eax
call fcn.005286d1
mov ecx, dword [ebp - 0x2098]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x167e0]
call fcn.004c81e0
push 2
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x14], 0xffffffff
mov ecx, dword [ebp - 0x104c]
imul ecx, ecx, 0x42c
cmp dword [ecx + 0x5ec674], 1
jne 0x4720e6
mov edx, dword [ebp - 0x104c]
imul edx, edx, 0x42c
mov eax, dword [ebp - 0x2098]
mov ecx, dword [eax]
mov dword [edx + 0x5ec670], ecx
xor edx, edx
mov word [ebp - 0x166c8], dx
xor eax, eax
mov dword [ebp - 0x166c6], eax
mov dword [ebp - 0x166c2], eax
mov dword [ebp - 0x166be], eax
mov word [ebp - 0x166ba], ax
push 0x10
lea ecx, [ebp - 0x166c8]
push ecx
mov edx, dword [ebp - 0x104c]
imul edx, edx, 0x42c
mov eax, dword [edx + 0x5ec670]
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xffffffff
mov dword [ebp - 0x167d8], 1
push 0x5b15cc
lea edx, [ebp - 0x167d8]
push edx
call fcn.005286d1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2094]
call fcn.00460d20
jmp 0x47213b
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x5c8578
call fcn.00451040
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret 4