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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.0040d812
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0040d812
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4a699d
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.0040d812
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4a699d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0040d812
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.0040d812
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x4a699d
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, 0x26
call fcn.0040d80c
cmp dword [ebp - 0x20], esp
je 0x4066c5
push 6
call fcn.0040d806
add esp, 4
push 0
push 0
push 0
push VariantClear
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4104d0
call fcn.0040d81e
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40670a
mov eax, 0x4a699d
jmp 0x4077c7
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40671f
mov eax, 0x4a68ec
push eax
push 1
mov ebx, 0x40e1b0
call fcn.0040d81e
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 0x40674b
push ebx
call fcn.0040d818
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4a68ec
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00402d2d
add esp, 8
cmp eax, 0
jne 0x40678a
mov eax, 0x4a6a99
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406784
push ebx
call fcn.0040d818
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x40681b
cmp dword [ebp + 0x44], 1
jge 0x4067aa
mov dword [ebp + 0x44], 0x3a98
jmp 0x4067c7
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4a6c48]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401024
mov dword [ebp + 0x44], eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push VariantClear
push 0
push 0x4a6c50
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x40f550
call fcn.0040d81e
add esp, 0x4c
push 0x4a68ec
push dword [0x4e1988]
call fcn.00402d2d
add esp, 8
cmp eax, 0
je 0x4068df
push 0xa0000004
push 0
push 0x4e1988
push 0x80000301
push 0
push 2
push VariantClear
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40f550
call fcn.0040d81e
add esp, 0x34
push 0x4a68ec
push dword [0x4e198c]
call fcn.00402d2d
add esp, 8
cmp eax, 0
je 0x4068df
push 0xa0000301
push 0
push 0x4e1994
push 0xa0000004
push 0
push 0x4e1990
push 0xa0000004
push 0
push 0x4e198c
push VariantClear
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x40f550
call fcn.0040d81e
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 VariantClear
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x40f550
call fcn.0040d81e
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x406971
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push VariantClear
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x410420
call fcn.0040d81e
add esp, 0x34
push 0x4a68ec
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00402d2d
add esp, 8
cmp eax, 0
jne 0x4069c7
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.00402846
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 0x4069c1
push ebx
call fcn.0040d818
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.004078f4
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.00407f56
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x406a0e
push ebx
call fcn.0040d818
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x406a1e
push ebx
call fcn.0040d818
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040846a
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x406a3d
push ebx
call fcn.0040d818
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406a53
push ebx
call fcn.0040d818
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x4a68ec
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00402d2d
add esp, 8
cmp eax, 0
je 0x406ab2
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push VariantClear
push 0
push str.Cookie
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40f550
call fcn.0040d81e
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4a699a
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406ae5
mov eax, 0x4a68ec
push eax
push 4
mov ebx, 0x40e020
call fcn.0040d81e
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x406edc
push 0
push 0
push 0
push VariantClear
push 0
push 0x4a699a
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406b2c
mov eax, 0x4a68ec
push eax
push 3
mov ebx, 0x40e880
call fcn.0040d81e
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 0x406b64
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406b60
imul eax, dword [ebx]
jmp 0x406b55
mov ecx, eax
test ecx, ecx
je 0x406b83
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406b7c
push ebx
push eax
call fcn.0040d818
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406b6a
call fcn.0040d818
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00401053
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 0x406ed4
mov ebx, dword [ebp - 8]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406bcb
push 4
call fcn.0040d806
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406bde
push 1
call fcn.0040d806
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 VariantClear
push 0
push 0x4a6d35
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406c19
mov eax, 0x4a68ec
push eax
push 4
mov ebx, 0x40e020
call fcn.0040d81e
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x406ecc
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x406c57
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406c53
imul eax, dword [ebx]
jmp 0x406c48
mov ecx, eax
test ecx, ecx
je 0x406c76
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406c6f
push ebx
push eax
call fcn.0040d818
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406c5d
call fcn.0040d818
add esp, 4
mov eax, 0x4a699d
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406ca3
push 4
call fcn.0040d806
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406cb6
push 1
call fcn.0040d806
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0
push 0
push 0
push VariantClear
push 0
push 0x4a6d35
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406ce5
mov eax, 0x4a68ec
push eax
push 3
mov ebx, 0x40e880
call fcn.0040d81e
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 0x406d1d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406d19
imul eax, dword [ebx]
jmp 0x406d0e
mov ecx, eax
test ecx, ecx
je 0x406d3c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406d35
push ebx
push eax
call fcn.0040d818
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406d23
call fcn.0040d818
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.00401053
cmp dword [ebp - 0xc], eax
jle 0x406d68
jmp 0x406e2c
mov ebx, dword [ebp - 0x10]
call fcn.00401004
mov eax, 1
cmp eax, ecx
jl 0x406d86
push 1
call fcn.0040d806
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401004
mov eax, 1
cmp eax, ecx
jl 0x406dac
push 1
call fcn.0040d806
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406dd1
push 4
call fcn.0040d806
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406de4
push 1
call fcn.0040d806
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4a6d35
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00402846
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 0x406e21
push ebx
call fcn.0040d818
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x406d4f
mov ebx, dword [ebp - 0x10]
call fcn.00401004
mov eax, 0
cmp eax, ecx
jl 0x406e4a
push 1
call fcn.0040d806
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401004
mov eax, 1
cmp eax, ecx
jl 0x406e70
push 1
call fcn.0040d806
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x406e8d
mov eax, 0x4a68ec
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406ea3
mov eax, 0x4a68ec
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40f550
call fcn.0040d81e
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x406ba0
add esp, 0xc
jmp 0x40713d
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4a6d35
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406f0f
mov eax, 0x4a68ec
push eax
push 4
mov ebx, 0x40e020
call fcn.0040d81e
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40713d
push 0
push 0
push 0
push VariantClear
push 0
push 0x4a6d35
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406f56
mov eax, 0x4a68ec
push eax
push 3
mov ebx, 0x40e880
call fcn.0040d81e
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 0x406f8e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406f8a
imul eax, dword [ebx]
jmp 0x406f7f
mov ecx, eax
test ecx, ecx
je 0x406fad
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406fa6
push ebx
push eax
call fcn.0040d818
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406f94
call fcn.0040d818
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.00401053
cmp dword [ebp - 0xc], eax
jle 0x406fd9
jmp 0x40709d
mov ebx, dword [ebp - 0x10]
call fcn.00401004
mov eax, 1
cmp eax, ecx
jl 0x406ff7
push 1
call fcn.0040d806
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401004
mov eax, 1
cmp eax, ecx
jl 0x40701d
push 1
call fcn.0040d806
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407042
push 4
call fcn.0040d806
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407055
push 1
call fcn.0040d806
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4a6d35
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00402846
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 0x407092
push ebx
call fcn.0040d818
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x406fc0
mov ebx, dword [ebp - 0x10]
call fcn.00401004
mov eax, 0
cmp eax, ecx
jl 0x4070bb
push 1
call fcn.0040d806
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401004
mov eax, 1
cmp eax, ecx
jl 0x4070e1
push 1
call fcn.0040d806
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4070fe
mov eax, 0x4a68ec
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407114
mov eax, 0x4a68ec
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40f550
call fcn.0040d81e
add esp, 0x34
mov eax, 0x4a699d
xor ecx, ecx
test eax, eax
je 0x40714b
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x40715e
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x407175
dec eax
test ecx, ecx
je 0x407175
call fcn.004023c2
add esp, 0xc
test eax, eax
jne 0x4071b7
push 0xa0000004
push 0
push dword [ebp + 0x14]
push VariantClear
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40f550
call fcn.0040d81e
add esp, 0x28
jmp 0x407222
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x4071d2
mov eax, 0x4a699d
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x40ff50
call fcn.0040d81e
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x14]
push eax
push VariantClear
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40f550
call fcn.0040d81e
add esp, 0x28
push 0
push 0
push 0
push VariantClear
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40f520
call fcn.0040d81e
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, 0x40f5a0
call fcn.0040d81e
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, 0x40f580
call fcn.0040d81e
add esp, 0x10
call fcn.0040d818
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4072af
push ebx
call fcn.0040d818
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push VariantClear
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40f4f0
call fcn.0040d81e
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4072fa
push ebx
call fcn.0040d818
add esp, 4
pop eax
mov ebx, dword [ebp + 0x4c]
mov dword [ebx], eax
push 0
push 0
push 0
push VariantClear
push 0
push 0x4a699a
push VariantClear
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x407327
mov eax, 0x4a68ec
push eax
push 3
mov ebx, 0x40e880
call fcn.0040d81e
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 0x40735f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40735b
imul eax, dword [ebx]
jmp 0x407350
mov ecx, eax
test ecx, ecx
je 0x40737e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407377
push ebx
push eax
call fcn.0040d818
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407365
call fcn.0040d818
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4a68ec
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4073a2
push ebx
call fcn.0040d818
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401053
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 0x4076e0
mov ebx, dword [ebp - 0x1c]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4073e4
push 4
call fcn.0040d806
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4073f7
push 1
call fcn.0040d806
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 VariantClear
push 0
push str.Location:
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407432
mov eax, 0x4a68ec
push eax
push 4
mov ebx, 0x40e020
call fcn.0040d81e
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x407538
mov ebx, dword [ebp - 0x1c]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40746f
push 4
call fcn.0040d806
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407482
push 1
call fcn.0040d806
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.0040104b
push VariantClear
push 0
push str.Location:
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4074cd
mov eax, 0x4a68ec
push eax
push 6
mov ebx, 0x40e690
call fcn.0040d81e
add esp, 0x4c
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4074f6
mov eax, 0x4a68ec
push eax
push 1
mov ebx, 0x40e650
call fcn.0040d81e
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40751c
push ebx
call fcn.0040d818
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407532
push ebx
call fcn.0040d818
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407555
push 4
call fcn.0040d806
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407568
push 1
call fcn.0040d806
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 VariantClear
push 0
push str.Set_Cookie
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4075a3
mov eax, 0x4a68ec
push eax
push 4
mov ebx, 0x40e020
call fcn.0040d81e
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4076d8
mov ebx, dword [ebp - 0x1c]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4075e0
push 4
call fcn.0040d806
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4075f3
push 1
call fcn.0040d806
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 dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x4a6d62
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
call fcn.00409205
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x407646
push ebx
call fcn.0040d818
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x407656
push ebx
call fcn.0040d818
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x407669
mov eax, 0x4a68ec
push eax
push 1
mov ebx, 0x40e650
call fcn.0040d81e
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40768f
push ebx
call fcn.0040d818
add esp, 4
push 0x4a6d70
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00402846
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4076bc
push ebx
call fcn.0040d818
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4076d2
push ebx
call fcn.0040d818
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4073b9
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.0040846a
mov ebx, eax
test ebx, ebx
je 0x4076fd
push ebx
call fcn.0040d818
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.004078f4
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.004095f3
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x407737
push ebx
call fcn.0040d818
add esp, 4
push 0x4a68ec
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00402d2d
add esp, 8
cmp eax, 0
jne 0x407789
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x407770
push eax
mov ebx, eax
call fcn.004027db
inc eax
push eax
call fcn.0040d812
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 0x407783
push ebx
call fcn.0040d818
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 0x27
call fcn.0040d80c
cmp dword [ebp - 0x20], esp
je 0x4077a8
push 6
call fcn.0040d806
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4077c2
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0040d812
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4077c7
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4104c0
call fcn.0040d81e
add esp, 0x10
call fcn.0040d818
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407809
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407805
imul eax, dword [ebx]
jmp 0x4077fa
mov ecx, eax
test ecx, ecx
je 0x407828
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407821
push ebx
push eax
call fcn.0040d818
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40780f
call fcn.0040d818
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40784e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40784a
imul eax, dword [ebx]
jmp 0x40783f
mov ecx, eax
test ecx, ecx
je 0x40786d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407866
push ebx
push eax
call fcn.0040d818
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407854
call fcn.0040d818
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x40f580
call fcn.0040d81e
add esp, 0x10
call fcn.0040d818
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4078a8
push ebx
call fcn.0040d818
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4078c6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4078c2
imul eax, dword [ebx]
jmp 0x4078b7
mov ecx, eax
test ecx, ecx
je 0x4078e5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4078de
push ebx
push eax
call fcn.0040d818
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4078cc
call fcn.0040d818
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54