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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.00416d5c
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00416d5c
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x48c550
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.00416d5c
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x48c550
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00416d5c
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.00416d5c
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x48c550
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, 0x33
call fcn.00416d6e
cmp dword [ebp - 0x20], esp
je 0x407a45
push 6
call fcn.00416d68
add esp, 4
push 0
push 0
push 0
push getpeername
push 0
push 0x48ca38
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x419c50
call fcn.00416d74
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x407ac5
push 0
push 0
push 0
push getpeername
push 0
push str.MSXML2.ServerXMLHTTP.6.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x419c50
call fcn.00416d74
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x407ac5
mov eax, 0x48c550
jmp 0x408aa8
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x407ada
mov eax, 0x48c483
push eax
push 1
mov ebx, 0x4177d0
call fcn.00416d74
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 0x407b06
push ebx
call fcn.00416d62
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x48c483
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.0040102e
add esp, 8
cmp eax, 0
jne 0x407b45
mov eax, 0x48ca6c
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407b3f
push ebx
call fcn.00416d62
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x3c], 0xffffffff
je 0x407bd6
cmp dword [ebp + 0x3c], 1
jge 0x407b65
mov dword [ebp + 0x3c], 0x927c0
jmp 0x407b82
fild dword [ebp + 0x3c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x48c5ca]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401825
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, 0x418ce0
call fcn.00416d74
add esp, 0x4c
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, 0x418ce0
call fcn.00416d74
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, 0x419ba0
call fcn.00416d74
add esp, 0x34
push 0x48c483
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.0040102e
add esp, 8
cmp eax, 0
jne 0x407cb4
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.00401136
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 0x407cae
push ebx
call fcn.00416d62
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.00408bd5
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00409237
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x407cfb
push ebx
call fcn.00416d62
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x407d0b
push ebx
call fcn.00416d62
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040974b
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x407d2a
push ebx
call fcn.00416d62
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407d40
push ebx
call fcn.00416d62
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x48c483
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.0040102e
add esp, 8
cmp eax, 0
je 0x407d9f
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push getpeername
push 0
push 0x48cb36
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x418ce0
call fcn.00416d74
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x48cb4e
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407dd2
mov eax, 0x48c483
push eax
push 4
mov ebx, 0x417640
call fcn.00416d74
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x4081c9
push 0
push 0
push 0
push getpeername
push 0
push 0x48cb4e
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407e19
mov eax, 0x48c483
push eax
push 3
mov ebx, 0x417ec0
call fcn.00416d74
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 0x407e51
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407e4d
imul eax, dword [ebx]
jmp 0x407e42
mov ecx, eax
test ecx, ecx
je 0x407e70
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407e69
push ebx
push eax
call fcn.00416d62
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407e57
call fcn.00416d62
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.004017ec
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 0x4081c1
mov ebx, dword [ebp - 8]
call fcn.00401805
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407eb8
push 4
call fcn.00416d68
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407ecb
push 1
call fcn.00416d68
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 0x48cb51
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407f06
mov eax, 0x48c483
push eax
push 4
mov ebx, 0x417640
call fcn.00416d74
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4081b9
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407f44
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407f40
imul eax, dword [ebx]
jmp 0x407f35
mov ecx, eax
test ecx, ecx
je 0x407f63
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407f5c
push ebx
push eax
call fcn.00416d62
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407f4a
call fcn.00416d62
add esp, 4
mov eax, 0x48c550
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00401805
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407f90
push 4
call fcn.00416d68
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407fa3
push 1
call fcn.00416d68
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 0x48cb51
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407fd2
mov eax, 0x48c483
push eax
push 3
mov ebx, 0x417ec0
call fcn.00416d74
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 0x40800a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408006
imul eax, dword [ebx]
jmp 0x407ffb
mov ecx, eax
test ecx, ecx
je 0x408029
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408022
push ebx
push eax
call fcn.00416d62
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408010
call fcn.00416d62
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.004017ec
cmp dword [ebp - 0xc], eax
jle 0x408055
jmp 0x408119
mov ebx, dword [ebp - 0x10]
call fcn.00401805
mov eax, 1
cmp eax, ecx
jl 0x408073
push 1
call fcn.00416d68
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401805
mov eax, 1
cmp eax, ecx
jl 0x408099
push 1
call fcn.00416d68
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401805
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4080be
push 4
call fcn.00416d68
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4080d1
push 1
call fcn.00416d68
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x48cb51
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401136
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 0x40810e
push ebx
call fcn.00416d62
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40803c
mov ebx, dword [ebp - 0x10]
call fcn.00401805
mov eax, 0
cmp eax, ecx
jl 0x408137
push 1
call fcn.00416d68
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401805
mov eax, 1
cmp eax, ecx
jl 0x40815d
push 1
call fcn.00416d68
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 0x40817a
mov eax, 0x48c483
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x408190
mov eax, 0x48c483
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x418ce0
call fcn.00416d74
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x407e8d
add esp, 0xc
jmp 0x40842a
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x48cb51
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4081fc
mov eax, 0x48c483
push eax
push 4
mov ebx, 0x417640
call fcn.00416d74
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40842a
push 0
push 0
push 0
push getpeername
push 0
push 0x48cb51
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x408243
mov eax, 0x48c483
push eax
push 3
mov ebx, 0x417ec0
call fcn.00416d74
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 0x40827b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408277
imul eax, dword [ebx]
jmp 0x40826c
mov ecx, eax
test ecx, ecx
je 0x40829a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408293
push ebx
push eax
call fcn.00416d62
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408281
call fcn.00416d62
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.004017ec
cmp dword [ebp - 0xc], eax
jle 0x4082c6
jmp 0x40838a
mov ebx, dword [ebp - 0x10]
call fcn.00401805
mov eax, 1
cmp eax, ecx
jl 0x4082e4
push 1
call fcn.00416d68
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401805
mov eax, 1
cmp eax, ecx
jl 0x40830a
push 1
call fcn.00416d68
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401805
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40832f
push 4
call fcn.00416d68
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x408342
push 1
call fcn.00416d68
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x48cb51
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401136
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 0x40837f
push ebx
call fcn.00416d62
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4082ad
mov ebx, dword [ebp - 0x10]
call fcn.00401805
mov eax, 0
cmp eax, ecx
jl 0x4083a8
push 1
call fcn.00416d68
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401805
mov eax, 1
cmp eax, ecx
jl 0x4083ce
push 1
call fcn.00416d68
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 0x4083eb
mov eax, 0x48c483
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x408401
mov eax, 0x48c483
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x418ce0
call fcn.00416d74
add esp, 0x34
mov eax, 0x48c550
xor ecx, ecx
test eax, eax
je 0x408438
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x40844b
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x408462
dec eax
test ecx, ecx
je 0x408462
call fcn.004078ba
add esp, 0xc
test eax, eax
jne 0x4084a4
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, 0x418ce0
call fcn.00416d74
add esp, 0x28
jmp 0x40850f
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x4084bf
mov eax, 0x48c550
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x4196e0
call fcn.00416d74
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, 0x418ce0
call fcn.00416d74
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, 0x418cb0
call fcn.00416d74
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, 0x418d30
call fcn.00416d74
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, 0x418d10
call fcn.00416d74
add esp, 0x10
call fcn.00416d62
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40859c
push ebx
call fcn.00416d62
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, 0x418c80
call fcn.00416d74
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x44]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4085e7
push ebx
call fcn.00416d62
add esp, 4
pop eax
mov ebx, dword [ebp + 0x44]
mov dword [ebx], eax
push 0
push 0
push 0
push getpeername
push 0
push 0x48cb4e
push getpeername
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x408614
mov eax, 0x48c483
push eax
push 3
mov ebx, 0x417ec0
call fcn.00416d74
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 0x40864c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408648
imul eax, dword [ebx]
jmp 0x40863d
mov ecx, eax
test ecx, ecx
je 0x40866b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408664
push ebx
push eax
call fcn.00416d62
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408652
call fcn.00416d62
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x48c483
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40868f
push ebx
call fcn.00416d62
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.004017ec
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 0x4089c1
mov ebx, dword [ebp - 0x1c]
call fcn.00401805
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4086d1
push 4
call fcn.00416d68
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4086e4
push 1
call fcn.00416d68
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 0x40871f
mov eax, 0x48c483
push eax
push 4
mov ebx, 0x417640
call fcn.00416d74
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x408825
mov ebx, dword [ebp - 0x1c]
call fcn.00401805
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40875c
push 4
call fcn.00416d68
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40876f
push 1
call fcn.00416d68
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.004016d5
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4087ba
mov eax, 0x48c483
push eax
push 6
mov ebx, 0x417cd0
call fcn.00416d74
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4087e3
mov eax, 0x48c483
push eax
push 1
mov ebx, 0x417c90
call fcn.00416d74
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408809
push ebx
call fcn.00416d62
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40881f
push ebx
call fcn.00416d62
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401805
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x408842
push 4
call fcn.00416d68
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x408855
push 1
call fcn.00416d68
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 0x408890
mov eax, 0x48c483
push eax
push 4
mov ebx, 0x417640
call fcn.00416d74
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4089b9
mov ebx, dword [ebp - 0x1c]
call fcn.00401805
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4088cd
push 4
call fcn.00416d68
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4088e0
push 1
call fcn.00416d68
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, 0x48cb90
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x48cb92
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.0040a4e6
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x408927
push ebx
call fcn.00416d62
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408937
push ebx
call fcn.00416d62
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40894a
mov eax, 0x48c483
push eax
push 1
mov ebx, 0x417c90
call fcn.00416d74
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x408970
push ebx
call fcn.00416d62
add esp, 4
push 0x48cb9e
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401136
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40899d
push ebx
call fcn.00416d62
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4089b3
push ebx
call fcn.00416d62
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4086a6
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.0040974b
mov ebx, eax
test ebx, ebx
je 0x4089de
push ebx
call fcn.00416d62
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.00408bd5
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.0040a737
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408a18
push ebx
call fcn.00416d62
add esp, 4
push 0x48c483
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.0040102e
add esp, 8
cmp eax, 0
jne 0x408a6a
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
je 0x408a51
push eax
mov ebx, eax
call fcn.004010cb
inc eax
push eax
call fcn.00416d5c
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 0x408a64
push ebx
call fcn.00416d62
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 0x34
call fcn.00416d6e
cmp dword [ebp - 0x20], esp
je 0x408a89
push 6
call fcn.00416d68
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x408aa3
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00416d5c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x408aa8
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x419c40
call fcn.00416d74
add esp, 0x10
call fcn.00416d62
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408aea
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408ae6
imul eax, dword [ebx]
jmp 0x408adb
mov ecx, eax
test ecx, ecx
je 0x408b09
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408b02
push ebx
push eax
call fcn.00416d62
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408af0
call fcn.00416d62
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408b2f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408b2b
imul eax, dword [ebx]
jmp 0x408b20
mov ecx, eax
test ecx, ecx
je 0x408b4e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408b47
push ebx
push eax
call fcn.00416d62
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408b35
call fcn.00416d62
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x418d10
call fcn.00416d74
add esp, 0x10
call fcn.00416d62
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x408b89
push ebx
call fcn.00416d62
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408ba7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408ba3
imul eax, dword [ebx]
jmp 0x408b98
mov ecx, eax
test ecx, ecx
je 0x408bc6
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408bbf
push ebx
push eax
call fcn.00416d62
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408bad
call fcn.00416d62
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x4c