Function at 0x4656b8
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.0046dabe
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0046dabe
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4f55d2
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
push 8
call fcn.0046dabe
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4f55d2
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0046dabe
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
mov dword [ebp - 0x18], 0
push 8
call fcn.0046dabe
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x4f55d2
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x20], esp
push 0
mov eax, 0x56
call fcn.0046dadc
cmp dword [ebp - 0x20], esp
je 0x465797
push 6
call fcn.0046dad6
add esp, 4
push 0
push 0
push 0
push getpeername
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x472950
call fcn.0046daca
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4657dc
mov eax, 0x4f55d2
jmp 0x4667a5
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4657f1
mov eax, 0x4f5146
push eax
push 1
mov ebx, 0x46e850
call fcn.0046daca
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x46581d
push ebx
call fcn.0046dac4
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4f5146
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x46585c
mov eax, 0x4f57eb
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x465856
push ebx
call fcn.0046dac4
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x3c], 0xffffffff
je 0x4658ed
cmp dword [ebp + 0x3c], 1
jge 0x46587c
mov dword [ebp + 0x3c], 0x3a98
jmp 0x465899
fild dword [ebp + 0x3c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4f6592]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0040159c
mov dword [ebp + 0x3c], eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push getpeername
push 0
push str.SetTimeouts
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x471990
call fcn.0046daca
add esp, 0x4c
push 0x4f5146
mov ebx, dword [ebp + 0x44]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x4659b9
push 0xa0000004
push 0
push dword [ebp + 0x44]
push 0x80000301
push 0
push 2
push getpeername
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x471990
call fcn.0046daca
add esp, 0x34
push 0x4f5146
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x4659b9
cmp dword [ebp + 0x60], 0
jne 0x465972
mov dword [ebp + 0x5c], 1
push 0xa0000301
push 0
lea eax, [ebp + 0x5c]
push eax
push 0xa0000004
push 0
push dword [ebp + 0x54]
push 0xa0000004
push 0
push dword [ebp + 0x4c]
push getpeername
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x471990
call fcn.0046daca
add esp, 0x40
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push 0xa0000004
push 0
push dword [ebp + 0xc]
push getpeername
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x471990
call fcn.0046daca
add esp, 0x40
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push getpeername
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x472870
call fcn.0046daca
add esp, 0x34
push 0x4f5146
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x465a97
push str._r_nAccept:___r_nAccept_Language:_zh_cn_r_nUser_Agent:_Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__Trident_5.0__r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ecx, 3
call fcn.00401a42
add esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x465a91
push ebx
call fcn.0046dac4
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x4f5146
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x465af0
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push getpeername
push 0
push str.Cookie
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x471990
call fcn.0046daca
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4f5762
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x465b23
mov eax, 0x4f5146
push eax
push 4
mov ebx, 0x46e6b0
call fcn.0046daca
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x465f1a
push 0
push 0
push 0
push getpeername
push 0
push 0x4f5762
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x465b6a
mov eax, 0x4f5146
push eax
push 3
mov ebx, 0x46f050
call fcn.0046daca
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x465ba2
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x465b9e
imul eax, dword [ebx]
jmp 0x465b93
mov ecx, eax
test ecx, ecx
je 0x465bc1
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x465bba
push ebx
push eax
call fcn.0046dac4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x465ba8
call fcn.0046dac4
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.004022da
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x465f12
mov ebx, dword [ebp - 8]
call fcn.00401a22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x465c09
push 4
call fcn.0046dad6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x465c1c
push 1
call fcn.0046dad6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4f5721
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x465c57
mov eax, 0x4f5146
push eax
push 4
mov ebx, 0x46e6b0
call fcn.0046daca
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x465f0a
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x465c95
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x465c91
imul eax, dword [ebx]
jmp 0x465c86
mov ecx, eax
test ecx, ecx
je 0x465cb4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x465cad
push ebx
push eax
call fcn.0046dac4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x465c9b
call fcn.0046dac4
add esp, 4
mov eax, 0x4f55d2
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00401a22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x465ce1
push 4
call fcn.0046dad6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x465cf4
push 1
call fcn.0046dad6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0
push 0
push 0
push getpeername
push 0
push 0x4f5721
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x465d23
mov eax, 0x4f5146
push eax
push 3
mov ebx, 0x46f050
call fcn.0046daca
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x465d5b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x465d57
imul eax, dword [ebx]
jmp 0x465d4c
mov ecx, eax
test ecx, ecx
je 0x465d7a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x465d73
push ebx
push eax
call fcn.0046dac4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x465d61
call fcn.0046dac4
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 2
inc dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
call fcn.004022da
cmp dword [ebp - 0xc], eax
jle 0x465da6
jmp 0x465e6a
mov ebx, dword [ebp - 0x10]
call fcn.00401a22
mov eax, 1
cmp eax, ecx
jl 0x465dc4
push 1
call fcn.0046dad6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401a22
mov eax, 1
cmp eax, ecx
jl 0x465dea
push 1
call fcn.0046dad6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401a22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x465e0f
push 4
call fcn.0046dad6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x465e22
push 1
call fcn.0046dad6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4f5721
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401a42
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x465e5f
push ebx
call fcn.0046dac4
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x465d8d
mov ebx, dword [ebp - 0x10]
call fcn.00401a22
mov eax, 0
cmp eax, ecx
jl 0x465e88
push 1
call fcn.0046dad6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401a22
mov eax, 1
cmp eax, ecx
jl 0x465eae
push 1
call fcn.0046dad6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x465ecb
mov eax, 0x4f5146
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x465ee1
mov eax, 0x4f5146
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x471990
call fcn.0046daca
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x465bde
add esp, 0xc
jmp 0x46617b
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4f5721
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x465f4d
mov eax, 0x4f5146
push eax
push 4
mov ebx, 0x46e6b0
call fcn.0046daca
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x46617b
push 0
push 0
push 0
push getpeername
push 0
push 0x4f5721
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x465f94
mov eax, 0x4f5146
push eax
push 3
mov ebx, 0x46f050
call fcn.0046daca
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x465fcc
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x465fc8
imul eax, dword [ebx]
jmp 0x465fbd
mov ecx, eax
test ecx, ecx
je 0x465feb
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x465fe4
push ebx
push eax
call fcn.0046dac4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x465fd2
call fcn.0046dac4
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 2
inc dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
call fcn.004022da
cmp dword [ebp - 0xc], eax
jle 0x466017
jmp 0x4660db
mov ebx, dword [ebp - 0x10]
call fcn.00401a22
mov eax, 1
cmp eax, ecx
jl 0x466035
push 1
call fcn.0046dad6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401a22
mov eax, 1
cmp eax, ecx
jl 0x46605b
push 1
call fcn.0046dad6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401a22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x466080
push 4
call fcn.0046dad6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x466093
push 1
call fcn.0046dad6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4f5721
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401a42
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4660d0
push ebx
call fcn.0046dac4
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x465ffe
mov ebx, dword [ebp - 0x10]
call fcn.00401a22
mov eax, 0
cmp eax, ecx
jl 0x4660f9
push 1
call fcn.0046dad6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401a22
mov eax, 1
cmp eax, ecx
jl 0x46611f
push 1
call fcn.0046dad6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x46613c
mov eax, 0x4f5146
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x466152
mov eax, 0x4f5146
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x471990
call fcn.0046daca
add esp, 0x34
mov eax, 0x4f55d2
xor ecx, ecx
test eax, eax
je 0x466189
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x6c]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x46619c
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4661b3
dec eax
test ecx, ecx
je 0x4661b3
call fcn.0045b1f7
add esp, 0xc
test eax, eax
jne 0x4661f5
push 0xa0000004
push 0
push dword [ebp + 0x14]
push getpeername
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x471990
call fcn.0046daca
add esp, 0x28
jmp 0x466260
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x6c]
mov eax, dword [ebx]
test eax, eax
jne 0x466210
mov eax, 0x4f55d2
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x472390
call fcn.0046daca
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x14]
push eax
push getpeername
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x471990
call fcn.0046daca
add esp, 0x28
push 0
push 0
push 0
push getpeername
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x471960
call fcn.0046daca
add esp, 0x28
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x20]
push 2
mov ebx, 0x4719e0
call fcn.0046daca
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x4719c0
call fcn.0046daca
add esp, 0x10
call fcn.0046dac4
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4662ed
push ebx
call fcn.0046dac4
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push getpeername
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x471900
call fcn.0046daca
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x64]
mov ebx, dword [ebx]
test ebx, ebx
je 0x466338
push ebx
call fcn.0046dac4
add esp, 4
pop eax
mov ebx, dword [ebp + 0x64]
mov dword [ebx], eax
push 0
push 0
push 0
push getpeername
push 0
push 0x4f5762
push getpeername
push 0
mov ebx, dword [ebp + 0x64]
mov eax, dword [ebx]
test eax, eax
jne 0x466365
mov eax, 0x4f5146
push eax
push 3
mov ebx, 0x46f050
call fcn.0046daca
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x46639d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x466399
imul eax, dword [ebx]
jmp 0x46638e
mov ecx, eax
test ecx, ecx
je 0x4663bc
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4663b5
push ebx
push eax
call fcn.0046dac4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4663a3
call fcn.0046dac4
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4f5146
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4663e0
push ebx
call fcn.0046dac4
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.004022da
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x466712
mov ebx, dword [ebp - 0x1c]
call fcn.00401a22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x466422
push 4
call fcn.0046dad6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x466435
push 1
call fcn.0046dad6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x466470
mov eax, 0x4f5146
push eax
push 4
mov ebx, 0x46e6b0
call fcn.0046daca
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x466576
mov ebx, dword [ebp - 0x1c]
call fcn.00401a22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4664ad
push 4
call fcn.0046dad6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4664c0
push 1
call fcn.0046dad6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0x80000301
push 0
push 1
mov ebx, 6
call fcn.00402bc3
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x46650b
mov eax, 0x4f5146
push eax
push 6
mov ebx, 0x46ee60
call fcn.0046daca
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x466534
mov eax, 0x4f5146
push eax
push 1
mov ebx, 0x46ed70
call fcn.0046daca
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x46655a
push ebx
call fcn.0046dac4
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x466570
push ebx
call fcn.0046dac4
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401a22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x466593
push 4
call fcn.0046dad6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4665a6
push 1
call fcn.0046dad6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push str.Set_Cookie
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4665e1
mov eax, 0x4f5146
push eax
push 4
mov ebx, 0x46e6b0
call fcn.0046daca
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x46670a
mov ebx, dword [ebp - 0x1c]
call fcn.00401a22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x46661e
push 4
call fcn.0046dad6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x466631
push 1
call fcn.0046dad6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x4f6ed5
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.0045dee7
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x466678
push ebx
call fcn.0046dac4
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x466688
push ebx
call fcn.0046dac4
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x46669b
mov eax, 0x4f5146
push eax
push 1
mov ebx, 0x46ed70
call fcn.0046daca
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4666c1
push ebx
call fcn.0046dac4
add esp, 4
push 0x4f7862
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401a42
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4666ee
push ebx
call fcn.0046dac4
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x466704
push ebx
call fcn.0046dac4
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4663f7
add esp, 0xc
push 0x4f5146
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x466767
mov ebx, dword [ebp + 0x64]
mov eax, dword [ebx]
test eax, eax
je 0x46674e
push eax
mov ebx, eax
call fcn.00401531
inc eax
push eax
call fcn.0046dabe
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x466761
push ebx
call fcn.0046dac4
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 0x57
call fcn.0046dadc
cmp dword [ebp - 0x20], esp
je 0x466786
push 6
call fcn.0046dad6
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4667a0
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0046dabe
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4667a5
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x472940
call fcn.0046daca
add esp, 0x10
call fcn.0046dac4
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4667e7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4667e3
imul eax, dword [ebx]
jmp 0x4667d8
mov ecx, eax
test ecx, ecx
je 0x466806
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4667ff
push ebx
push eax
call fcn.0046dac4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4667ed
call fcn.0046dac4
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x46682c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x466828
imul eax, dword [ebx]
jmp 0x46681d
mov ecx, eax
test ecx, ecx
je 0x46684b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x466844
push ebx
push eax
call fcn.0046dac4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x466832
call fcn.0046dac4
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x4719c0
call fcn.0046daca
add esp, 0x10
call fcn.0046dac4
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x466886
push ebx
call fcn.0046dac4
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4668a4
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4668a0
imul eax, dword [ebx]
jmp 0x466895
mov ecx, eax
test ecx, ecx
je 0x4668c3
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4668bc
push ebx
push eax
call fcn.0046dac4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4668aa
call fcn.0046dac4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x6c