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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.0040e3c9
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0040e3c9
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4a5e7d
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.0040e3c9
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4a5e7d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0040e3c9
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.0040e3c9
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x4a5e7d
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, 8
call fcn.0040e3f3
cmp dword [ebp - 0x20], esp
je 0x406579
push 6
call fcn.0040e3e1
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, 0x411580
call fcn.0040e3cf
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4065f9
push 0
push 0
push 0
push VariantClear
push 0
push str.MSXML2.ServerXMLHTTP.6.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x411580
call fcn.0040e3cf
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4065f9
mov eax, 0x4a5e7d
jmp 0x4075dc
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40660e
mov eax, 0x4a5ca6
push eax
push 1
mov ebx, 0x40ec10
call fcn.0040e3cf
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 0x40663a
push ebx
call fcn.0040e3c3
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4a5ca6
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401445
add esp, 8
cmp eax, 0
jne 0x406679
mov eax, 0x4a5db2
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406673
push ebx
call fcn.0040e3c3
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x3c], 0xffffffff
je 0x40670a
cmp dword [ebp + 0x3c], 1
jge 0x406699
mov dword [ebp + 0x3c], 0x927c0
jmp 0x4066b6
fild dword [ebp + 0x3c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4a6950]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.004010cb
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 VariantClear
push 0
push 0x4a6958
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x4102b0
call fcn.0040e3cf
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 VariantClear
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x4102b0
call fcn.0040e3cf
add esp, 0x40
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, 0x4114d0
call fcn.0040e3cf
add esp, 0x34
push 0x4a5ca6
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401445
add esp, 8
cmp eax, 0
jne 0x4067e8
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.0040106f
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 0x4067e2
push ebx
call fcn.0040e3c3
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.00407709
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.00407d6b
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40682f
push ebx
call fcn.0040e3c3
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40683f
push ebx
call fcn.0040e3c3
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040827f
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40685e
push ebx
call fcn.0040e3c3
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406874
push ebx
call fcn.0040e3c3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x4a5ca6
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401445
add esp, 8
cmp eax, 0
je 0x4068d3
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, 0x4102b0
call fcn.0040e3cf
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4a6a2f
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406906
mov eax, 0x4a5ca6
push eax
push 4
mov ebx, 0x40ea80
call fcn.0040e3cf
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x406cfd
push 0
push 0
push 0
push VariantClear
push 0
push 0x4a6a2f
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40694d
mov eax, 0x4a5ca6
push eax
push 3
mov ebx, 0x40f1e0
call fcn.0040e3cf
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 0x406985
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406981
imul eax, dword [ebx]
jmp 0x406976
mov ecx, eax
test ecx, ecx
je 0x4069a4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40699d
push ebx
push eax
call fcn.0040e3c3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40698b
call fcn.0040e3c3
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.004014ea
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 0x406cf5
mov ebx, dword [ebp - 8]
call fcn.00401425
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4069ec
push 4
call fcn.0040e3e1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4069ff
push 1
call fcn.0040e3e1
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 0x4a6a32
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406a3a
mov eax, 0x4a5ca6
push eax
push 4
mov ebx, 0x40ea80
call fcn.0040e3cf
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x406ced
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x406a78
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406a74
imul eax, dword [ebx]
jmp 0x406a69
mov ecx, eax
test ecx, ecx
je 0x406a97
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406a90
push ebx
push eax
call fcn.0040e3c3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406a7e
call fcn.0040e3c3
add esp, 4
mov eax, 0x4a5e7d
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00401425
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406ac4
push 4
call fcn.0040e3e1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406ad7
push 1
call fcn.0040e3e1
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 0x4a6a32
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406b06
mov eax, 0x4a5ca6
push eax
push 3
mov ebx, 0x40f1e0
call fcn.0040e3cf
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 0x406b3e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406b3a
imul eax, dword [ebx]
jmp 0x406b2f
mov ecx, eax
test ecx, ecx
je 0x406b5d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406b56
push ebx
push eax
call fcn.0040e3c3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406b44
call fcn.0040e3c3
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.004014ea
cmp dword [ebp - 0xc], eax
jle 0x406b89
jmp 0x406c4d
mov ebx, dword [ebp - 0x10]
call fcn.00401425
mov eax, 1
cmp eax, ecx
jl 0x406ba7
push 1
call fcn.0040e3e1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401425
mov eax, 1
cmp eax, ecx
jl 0x406bcd
push 1
call fcn.0040e3e1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401425
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406bf2
push 4
call fcn.0040e3e1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406c05
push 1
call fcn.0040e3e1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4a6a32
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040106f
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 0x406c42
push ebx
call fcn.0040e3c3
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x406b70
mov ebx, dword [ebp - 0x10]
call fcn.00401425
mov eax, 0
cmp eax, ecx
jl 0x406c6b
push 1
call fcn.0040e3e1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401425
mov eax, 1
cmp eax, ecx
jl 0x406c91
push 1
call fcn.0040e3e1
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 0x406cae
mov eax, 0x4a5ca6
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406cc4
mov eax, 0x4a5ca6
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x4102b0
call fcn.0040e3cf
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x4069c1
add esp, 0xc
jmp 0x406f5e
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4a6a32
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406d30
mov eax, 0x4a5ca6
push eax
push 4
mov ebx, 0x40ea80
call fcn.0040e3cf
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x406f5e
push 0
push 0
push 0
push VariantClear
push 0
push 0x4a6a32
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406d77
mov eax, 0x4a5ca6
push eax
push 3
mov ebx, 0x40f1e0
call fcn.0040e3cf
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 0x406daf
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406dab
imul eax, dword [ebx]
jmp 0x406da0
mov ecx, eax
test ecx, ecx
je 0x406dce
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406dc7
push ebx
push eax
call fcn.0040e3c3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406db5
call fcn.0040e3c3
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.004014ea
cmp dword [ebp - 0xc], eax
jle 0x406dfa
jmp 0x406ebe
mov ebx, dword [ebp - 0x10]
call fcn.00401425
mov eax, 1
cmp eax, ecx
jl 0x406e18
push 1
call fcn.0040e3e1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401425
mov eax, 1
cmp eax, ecx
jl 0x406e3e
push 1
call fcn.0040e3e1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401425
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406e63
push 4
call fcn.0040e3e1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406e76
push 1
call fcn.0040e3e1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4a6a32
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040106f
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 0x406eb3
push ebx
call fcn.0040e3c3
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x406de1
mov ebx, dword [ebp - 0x10]
call fcn.00401425
mov eax, 0
cmp eax, ecx
jl 0x406edc
push 1
call fcn.0040e3e1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401425
mov eax, 1
cmp eax, ecx
jl 0x406f02
push 1
call fcn.0040e3e1
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 0x406f1f
mov eax, 0x4a5ca6
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406f35
mov eax, 0x4a5ca6
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x4102b0
call fcn.0040e3cf
add esp, 0x34
mov eax, 0x4a5e7d
xor ecx, ecx
test eax, eax
je 0x406f6c
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 0x406f7f
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x406f96
dec eax
test ecx, ecx
je 0x406f96
call fcn.004063ee
add esp, 0xc
test eax, eax
jne 0x406fd8
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, 0x4102b0
call fcn.0040e3cf
add esp, 0x28
jmp 0x407043
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 0x406ff3
mov eax, 0x4a5e7d
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x410dc0
call fcn.0040e3cf
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, 0x4102b0
call fcn.0040e3cf
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, 0x410280
call fcn.0040e3cf
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, 0x410380
call fcn.0040e3cf
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, 0x410340
call fcn.0040e3cf
add esp, 0x10
call fcn.0040e3c3
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4070d0
push ebx
call fcn.0040e3c3
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, 0x410250
call fcn.0040e3cf
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 0x40711b
push ebx
call fcn.0040e3c3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x44]
mov dword [ebx], eax
push 0
push 0
push 0
push VariantClear
push 0
push 0x4a6a2f
push VariantClear
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x407148
mov eax, 0x4a5ca6
push eax
push 3
mov ebx, 0x40f1e0
call fcn.0040e3cf
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 0x407180
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40717c
imul eax, dword [ebx]
jmp 0x407171
mov ecx, eax
test ecx, ecx
je 0x40719f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407198
push ebx
push eax
call fcn.0040e3c3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407186
call fcn.0040e3c3
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4a5ca6
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4071c3
push ebx
call fcn.0040e3c3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.004014ea
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 0x4074f5
mov ebx, dword [ebp - 0x1c]
call fcn.00401425
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407205
push 4
call fcn.0040e3e1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407218
push 1
call fcn.0040e3e1
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 0x407253
mov eax, 0x4a5ca6
push eax
push 4
mov ebx, 0x40ea80
call fcn.0040e3cf
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x407359
mov ebx, dword [ebp - 0x1c]
call fcn.00401425
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407290
push 4
call fcn.0040e3e1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4072a3
push 1
call fcn.0040e3e1
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.004014e2
push VariantClear
push 0
push str.Location:
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4072ee
mov eax, 0x4a5ca6
push eax
push 6
mov ebx, 0x40eff0
call fcn.0040e3cf
add esp, 0x4c
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x407317
mov eax, 0x4a5ca6
push eax
push 1
mov ebx, 0x40efb0
call fcn.0040e3cf
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40733d
push ebx
call fcn.0040e3c3
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407353
push ebx
call fcn.0040e3c3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401425
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407376
push 4
call fcn.0040e3e1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407389
push 1
call fcn.0040e3e1
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 0x4073c4
mov eax, 0x4a5ca6
push eax
push 4
mov ebx, 0x40ea80
call fcn.0040e3cf
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4074ed
mov ebx, dword [ebp - 0x1c]
call fcn.00401425
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407401
push 4
call fcn.0040e3e1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407414
push 1
call fcn.0040e3e1
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, 0x4a5dd6
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.0040901a
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40745b
push ebx
call fcn.0040e3c3
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40746b
push ebx
call fcn.0040e3c3
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40747e
mov eax, 0x4a5ca6
push eax
push 1
mov ebx, 0x40efb0
call fcn.0040e3cf
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4074a4
push ebx
call fcn.0040e3c3
add esp, 4
push 0x4a651d
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4074d1
push ebx
call fcn.0040e3c3
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4074e7
push ebx
call fcn.0040e3c3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4071da
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.0040827f
mov ebx, eax
test ebx, ebx
je 0x407512
push ebx
call fcn.0040e3c3
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.00407709
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.0040926b
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40754c
push ebx
call fcn.0040e3c3
add esp, 4
push 0x4a5ca6
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401445
add esp, 8
cmp eax, 0
jne 0x40759e
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
je 0x407585
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0040e3c9
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 0x407598
push ebx
call fcn.0040e3c3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 9
call fcn.0040e3f3
cmp dword [ebp - 0x20], esp
je 0x4075bd
push 6
call fcn.0040e3e1
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4075d7
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0040e3c9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4075dc
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x411570
call fcn.0040e3cf
add esp, 0x10
call fcn.0040e3c3
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40761e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40761a
imul eax, dword [ebx]
jmp 0x40760f
mov ecx, eax
test ecx, ecx
je 0x40763d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407636
push ebx
push eax
call fcn.0040e3c3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407624
call fcn.0040e3c3
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407663
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40765f
imul eax, dword [ebx]
jmp 0x407654
mov ecx, eax
test ecx, ecx
je 0x407682
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40767b
push ebx
push eax
call fcn.0040e3c3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407669
call fcn.0040e3c3
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x410340
call fcn.0040e3cf
add esp, 0x10
call fcn.0040e3c3
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4076bd
push ebx
call fcn.0040e3c3
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4076db
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4076d7
imul eax, dword [ebx]
jmp 0x4076cc
mov ecx, eax
test ecx, ecx
je 0x4076fa
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4076f3
push ebx
push eax
call fcn.0040e3c3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4076e1
call fcn.0040e3c3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x4c