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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.0040c2d5
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0040c2d5
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x47f11a
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.0040c2d5
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x47f11a
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0040c2d5
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.0040c2d5
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x47f11a
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, 0
call fcn.0040c2e7
cmp dword [ebp - 0x20], esp
je 0x40361b
push 6
call fcn.0040c2e1
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, 0x40eba0
call fcn.0040c2ed
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4036d6
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, 0x40eba0
call fcn.0040c2ed
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4036d6
push 0
push 0
push 0
push VariantClear
push 0
push str.MSXML2.ServerXMLHTTP.5.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40eba0
call fcn.0040c2ed
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4036d6
mov eax, 0x47f11a
jmp 0x4046bb
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4036eb
mov eax, 0x47b65e
push eax
push 1
mov ebx, 0x40ca80
call fcn.0040c2ed
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 0x403717
push ebx
call fcn.0040c2db
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x47b65e
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00403393
add esp, 8
cmp eax, 0
jne 0x403756
mov eax, 0x47f16f
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403750
push ebx
call fcn.0040c2db
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x4037e7
cmp dword [ebp + 0x44], 1
jge 0x403776
mov dword [ebp + 0x44], 0x3a98
jmp 0x403793
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x47f173]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00403430
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 0x47f17b
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x40daa0
call fcn.0040c2ed
add esp, 0x4c
push 0x47b65e
push dword [0x4be2b8]
call fcn.00403393
add esp, 8
cmp eax, 0
je 0x4038ab
push 0xa0000004
push 0
push 0x4be2b8
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, 0x40daa0
call fcn.0040c2ed
add esp, 0x34
push 0x47b65e
push dword [0x4be2bc]
call fcn.00403393
add esp, 8
cmp eax, 0
je 0x4038ab
push 0xa0000301
push 0
push 0x4be2c4
push 0xa0000004
push 0
push 0x4be2c0
push 0xa0000004
push 0
push 0x4be2bc
push VariantClear
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x40daa0
call fcn.0040c2ed
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, 0x40daa0
call fcn.0040c2ed
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x40393d
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, 0x40eaf0
call fcn.0040c2ed
add esp, 0x34
push 0x47b65e
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00403393
add esp, 8
cmp eax, 0
jne 0x403993
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 0x40398d
push ebx
call fcn.0040c2db
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x47b65e
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00403393
add esp, 8
cmp eax, 0
je 0x4039ec
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, 0x40daa0
call fcn.0040c2ed
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x47f276
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403a1f
mov eax, 0x47b65e
push eax
push 4
mov ebx, 0x40c8f0
call fcn.0040c2ed
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x403e16
push 0
push 0
push 0
push VariantClear
push 0
push 0x47f276
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403a66
mov eax, 0x47b65e
push eax
push 3
mov ebx, 0x40d1e0
call fcn.0040c2ed
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 0x403a9e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403a9a
imul eax, dword [ebx]
jmp 0x403a8f
mov ecx, eax
test ecx, ecx
je 0x403abd
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403ab6
push ebx
push eax
call fcn.0040c2db
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403aa4
call fcn.0040c2db
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00403457
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 0x403e0e
mov ebx, dword [ebp - 8]
call fcn.00403470
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403b05
push 4
call fcn.0040c2e1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403b18
push 1
call fcn.0040c2e1
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 0x47f279
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x403b53
mov eax, 0x47b65e
push eax
push 4
mov ebx, 0x40c8f0
call fcn.0040c2ed
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x403e06
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403b91
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403b8d
imul eax, dword [ebx]
jmp 0x403b82
mov ecx, eax
test ecx, ecx
je 0x403bb0
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403ba9
push ebx
push eax
call fcn.0040c2db
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403b97
call fcn.0040c2db
add esp, 4
mov eax, 0x47f11a
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00403470
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403bdd
push 4
call fcn.0040c2e1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403bf0
push 1
call fcn.0040c2e1
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 0x47f279
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x403c1f
mov eax, 0x47b65e
push eax
push 3
mov ebx, 0x40d1e0
call fcn.0040c2ed
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 0x403c57
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403c53
imul eax, dword [ebx]
jmp 0x403c48
mov ecx, eax
test ecx, ecx
je 0x403c76
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403c6f
push ebx
push eax
call fcn.0040c2db
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403c5d
call fcn.0040c2db
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.00403457
cmp dword [ebp - 0xc], eax
jle 0x403ca2
jmp 0x403d66
mov ebx, dword [ebp - 0x10]
call fcn.00403470
mov eax, 1
cmp eax, ecx
jl 0x403cc0
push 1
call fcn.0040c2e1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00403470
mov eax, 1
cmp eax, ecx
jl 0x403ce6
push 1
call fcn.0040c2e1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00403470
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403d0b
push 4
call fcn.0040c2e1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403d1e
push 1
call fcn.0040c2e1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x47f279
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 0x403d5b
push ebx
call fcn.0040c2db
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x403c89
mov ebx, dword [ebp - 0x10]
call fcn.00403470
mov eax, 0
cmp eax, ecx
jl 0x403d84
push 1
call fcn.0040c2e1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00403470
mov eax, 1
cmp eax, ecx
jl 0x403daa
push 1
call fcn.0040c2e1
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 0x403dc7
mov eax, 0x47b65e
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x403ddd
mov eax, 0x47b65e
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40daa0
call fcn.0040c2ed
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x403ada
add esp, 0xc
jmp 0x404077
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x47f279
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403e49
mov eax, 0x47b65e
push eax
push 4
mov ebx, 0x40c8f0
call fcn.0040c2ed
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x404077
push 0
push 0
push 0
push VariantClear
push 0
push 0x47f279
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403e90
mov eax, 0x47b65e
push eax
push 3
mov ebx, 0x40d1e0
call fcn.0040c2ed
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 0x403ec8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403ec4
imul eax, dword [ebx]
jmp 0x403eb9
mov ecx, eax
test ecx, ecx
je 0x403ee7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403ee0
push ebx
push eax
call fcn.0040c2db
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403ece
call fcn.0040c2db
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.00403457
cmp dword [ebp - 0xc], eax
jle 0x403f13
jmp 0x403fd7
mov ebx, dword [ebp - 0x10]
call fcn.00403470
mov eax, 1
cmp eax, ecx
jl 0x403f31
push 1
call fcn.0040c2e1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00403470
mov eax, 1
cmp eax, ecx
jl 0x403f57
push 1
call fcn.0040c2e1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00403470
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403f7c
push 4
call fcn.0040c2e1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403f8f
push 1
call fcn.0040c2e1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x47f279
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 0x403fcc
push ebx
call fcn.0040c2db
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x403efa
mov ebx, dword [ebp - 0x10]
call fcn.00403470
mov eax, 0
cmp eax, ecx
jl 0x403ff5
push 1
call fcn.0040c2e1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00403470
mov eax, 1
cmp eax, ecx
jl 0x40401b
push 1
call fcn.0040c2e1
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 0x404038
mov eax, 0x47b65e
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40404e
mov eax, 0x47b65e
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40daa0
call fcn.0040c2ed
add esp, 0x34
mov eax, 0x47f11a
xor ecx, ecx
test eax, eax
je 0x404085
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 0x404098
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4040af
dec eax
test ecx, ecx
je 0x4040af
call fcn.00403490
add esp, 0xc
test eax, eax
jne 0x4040f1
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, 0x40daa0
call fcn.0040c2ed
add esp, 0x28
jmp 0x40415c
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 0x40410c
mov eax, 0x47f11a
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x40e590
call fcn.0040c2ed
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, 0x40daa0
call fcn.0040c2ed
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, 0x40da70
call fcn.0040c2ed
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, 0x40dbe0
call fcn.0040c2ed
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, 0x40db30
call fcn.0040c2ed
add esp, 0x10
call fcn.0040c2db
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4041e9
push ebx
call fcn.0040c2db
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, 0x40da40
call fcn.0040c2ed
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 0x404234
push ebx
call fcn.0040c2db
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 0x47f276
push VariantClear
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x404261
mov eax, 0x47b65e
push eax
push 3
mov ebx, 0x40d1e0
call fcn.0040c2ed
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 0x404299
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404295
imul eax, dword [ebx]
jmp 0x40428a
mov ecx, eax
test ecx, ecx
je 0x4042b8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4042b1
push ebx
push eax
call fcn.0040c2db
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40429f
call fcn.0040c2db
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x47b65e
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4042dc
push ebx
call fcn.0040c2db
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00403457
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 0x40460e
mov ebx, dword [ebp - 0x1c]
call fcn.00403470
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40431e
push 4
call fcn.0040c2e1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x404331
push 1
call fcn.0040c2e1
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 0x40436c
mov eax, 0x47b65e
push eax
push 4
mov ebx, 0x40c8f0
call fcn.0040c2ed
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x404472
mov ebx, dword [ebp - 0x1c]
call fcn.00403470
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4043a9
push 4
call fcn.0040c2e1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4043bc
push 1
call fcn.0040c2e1
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.004011ec
push VariantClear
push 0
push str.Location:
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x404407
mov eax, 0x47b65e
push eax
push 6
mov ebx, 0x40cff0
call fcn.0040c2ed
add esp, 0x4c
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x404430
mov eax, 0x47b65e
push eax
push 1
mov ebx, 0x40cf20
call fcn.0040c2ed
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x404456
push ebx
call fcn.0040c2db
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40446c
push ebx
call fcn.0040c2db
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00403470
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40448f
push 4
call fcn.0040c2e1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4044a2
push 1
call fcn.0040c2e1
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 0x4044dd
mov eax, 0x47b65e
push eax
push 4
mov ebx, 0x40c8f0
call fcn.0040c2ed
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x404606
mov ebx, dword [ebp - 0x1c]
call fcn.00403470
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40451a
push 4
call fcn.0040c2e1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40452d
push 1
call fcn.0040c2e1
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, 0x47f2b8
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.004047e8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404574
push ebx
call fcn.0040c2db
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x404584
push ebx
call fcn.0040c2db
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x404597
mov eax, 0x47b65e
push eax
push 1
mov ebx, 0x40cf20
call fcn.0040c2ed
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4045bd
push ebx
call fcn.0040c2db
add esp, 4
push 0x47f2c6
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 0x4045ea
push ebx
call fcn.0040c2db
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404600
push ebx
call fcn.0040c2db
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4042f3
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00404a39
mov ebx, eax
test ebx, ebx
je 0x40462b
push ebx
call fcn.0040c2db
add esp, 4
push 0x47b65e
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00403393
add esp, 8
cmp eax, 0
jne 0x40467d
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x404664
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0040c2d5
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 0x404677
push ebx
call fcn.0040c2db
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 1
call fcn.0040c2e7
cmp dword [ebp - 0x20], esp
je 0x40469c
push 6
call fcn.0040c2e1
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4046b6
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0040c2d5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4046bb
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x40eb90
call fcn.0040c2ed
add esp, 0x10
call fcn.0040c2db
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4046fd
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4046f9
imul eax, dword [ebx]
jmp 0x4046ee
mov ecx, eax
test ecx, ecx
je 0x40471c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404715
push ebx
push eax
call fcn.0040c2db
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404703
call fcn.0040c2db
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404742
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40473e
imul eax, dword [ebx]
jmp 0x404733
mov ecx, eax
test ecx, ecx
je 0x404761
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40475a
push ebx
push eax
call fcn.0040c2db
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404748
call fcn.0040c2db
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x40db30
call fcn.0040c2ed
add esp, 0x10
call fcn.0040c2db
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40479c
push ebx
call fcn.0040c2db
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4047ba
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4047b6
imul eax, dword [ebx]
jmp 0x4047ab
mov ecx, eax
test ecx, ecx
je 0x4047d9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4047d2
push ebx
push eax
call fcn.0040c2db
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4047c0
call fcn.0040c2db
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54