Function at 0x40465f
Capabilities:
Connect to http server
Create http request
Make an http request with a cookie
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push 8
call fcn.004587ba
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x4664e3
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x2c], 0
cmp dword [ebp + 0xc], 1
mov eax, 0
sete al
test eax, eax
je 0x4046e7
mov eax, str.POST
jmp 0x4046ec
mov eax, 0x46684d
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404703
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str.User_Agent:
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40473a
mov eax, 0x4664d1
push eax
push 4
mov ebx, 0x148
call fcn.0045a720
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x404847
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x46685d
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, str.User_Agent:
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x2c]
call fcn.00405abf
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4047a5
push ebx
call fcn.004587c0
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4047b5
push ebx
call fcn.004587c0
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4047c8
mov eax, 0x4664d1
push eax
push 1
mov ebx, 0x174
call fcn.0045cd50
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4047ee
push ebx
call fcn.004587c0
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404802
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x4664d1
push dword [ebp - 8]
call fcn.004015ab
add esp, 8
cmp eax, 0
jne 0x404842
push dword [ebp + 0x2c]
call fcn.00405d80
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40483e
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x404861
mov eax, str.Mozilla_4.0__compatible__MSIE_9.0__Windows_NT_6.1__125LA__.NET_CLR_2.0.50727__.NET_CLR_3.0.04506.648__.NET_CLR_3.5.21022_
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40485d
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x50], 0
jne 0x40490d
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045cde0
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045cde0
add esp, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push 1
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x4048df
push 6
call fcn.004587c6
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4048f2
push ebx
call fcn.004587c0
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x404902
push ebx
call fcn.004587c0
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
jmp 0x4049ad
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
push str.http
mov ecx, 2
call fcn.0040112c
add esp, 8
mov dword [ebp - 0x30], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40493a
mov eax, 0x4664d1
push eax
push 1
mov ebx, 0x168
call fcn.0045abe0
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x404960
push ebx
call fcn.004587c0
add esp, 4
mov dword [ebp - 0x38], esp
push 0
push 0x4664d1
push dword [ebp - 0x34]
push 3
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x404994
push 6
call fcn.004587c6
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4049a7
push ebx
call fcn.004587c0
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4049e3
mov dword [ebp - 0x30], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4049d9
push 6
call fcn.004587c6
add esp, 4
mov eax, 0x4664e3
jmp 0x405a1a
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push dword [ebp + 8]
call fcn.00405ec6
mov dword [ebp - 0x38], eax
push dword [ebp + 8]
call fcn.0040646f
mov dword [ebp - 0x3c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045cde0
add esp, 0x10
mov dword [ebp - 0x40], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045cde0
add esp, 0x10
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], esp
push 0
push 0
push 3
push dword [ebp - 0x44]
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetConnectA]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x404a90
push 6
call fcn.004587c6
add esp, 4
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x404aa3
push ebx
call fcn.004587c0
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x404ab3
push ebx
call fcn.004587c0
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x404ac3
push ebx
call fcn.004587c0
add esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x404b21
mov dword [ebp - 0x30], esp
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x404af5
push 6
call fcn.004587c6
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x404b17
push 6
call fcn.004587c6
add esp, 4
mov eax, 0x4664e3
jmp 0x405a1a
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push SysReAllocString
push 2
mov ebx, 0xc8
call fcn.0045ce00
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x20], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x404b93
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0045ce00
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x3c], 0
je 0x404bc8
push 0x80000301
push 0
push 0x200000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0045ce00
add esp, 0x1c
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 5
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x404be9
mov eax, 0x4664d1
push eax
push 2
mov ebx, 0x134
call fcn.0045af70
add esp, 0x1c
mov dword [ebp - 0x30], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x404c12
mov eax, 0x4664d1
push eax
push 1
mov ebx, 0x154
call fcn.0045b040
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x404c38
push ebx
call fcn.004587c0
add esp, 4
push str.https
push dword [ebp - 0x34]
call fcn.004015ab
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x404c66
push ebx
call fcn.004587c0
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x404ca0
push 0x80000301
push 0
push 0x800000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0045ce00
add esp, 0x1c
mov dword [ebp - 0x14], eax
jmp 0x404ccb
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0045ce00
add esp, 0x1c
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.004066a3
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045cde0
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045cde0
add esp, 0x10
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push 0x4668e6
push dword [ebp - 0x30]
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x404d53
push 6
call fcn.004587c6
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x404d66
push ebx
call fcn.004587c0
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x404d76
push ebx
call fcn.004587c0
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x404d86
push ebx
call fcn.004587c0
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x404e06
mov dword [ebp - 0x30], esp
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x404db8
push 6
call fcn.004587c6
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x404dda
push 6
call fcn.004587c6
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x404dfc
push 6
call fcn.004587c6
add esp, 4
mov eax, 0x4664e3
jmp 0x405a1a
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4668ef
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404e39
mov eax, 0x4664d1
push eax
push 4
mov ebx, 0x148
call fcn.0045a720
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x404eea
push 0x4664d1
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.004015ab
add esp, 8
cmp eax, 0
jne 0x404eaf
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ecx, 2
call fcn.0040112c
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404ea4
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
jmp 0x404eea
mov ebx, dword [ebp + 8]
push dword [ebx]
push str._r_nReferer:
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 3
call fcn.0040112c
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404ee4
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.Accept:
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404f1d
mov eax, 0x4664d1
push eax
push 4
mov ebx, 0x148
call fcn.0045a720
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x404f73
push str._r_nAccept:__
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040112c
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404f6d
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.Accept_Language:
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404fa6
mov eax, 0x4664d1
push eax
push 4
mov ebx, 0x148
call fcn.0045a720
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x404ffc
push str._r_nAccept_Language:_zh_cn
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040112c
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404ff6
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.Content_Type:
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40502f
mov eax, 0x4664d1
push eax
push 4
mov ebx, 0x148
call fcn.0045a720
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x405085
push str._r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040112c
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40507f
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x4664d1
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.004015ab
add esp, 8
cmp eax, 0
je 0x4050db
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push str._r_nCookie:
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 3
call fcn.0040112c
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4050d5
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 0
jne 0x405149
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4050fa
mov eax, 0x4664d1
push eax
push 1
mov ebx, 0x130
call fcn.0045cb30
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0
push 0x4664d1
push dword [ebp - 0x30]
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x405144
push 6
call fcn.004587c6
add esp, 4
jmp 0x405263
mov eax, 0x4664e3
xor ecx, ecx
test eax, eax
je 0x405157
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x40516a
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x405181
dec eax
test ecx, ecx
je 0x405181
call fcn.0040455c
add esp, 0xc
test eax, eax
jne 0x4051d3
push VariantClear
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x4051a1
mov eax, 0x4664d1
push eax
push 1
mov ebx, 0x198
call fcn.0045a5c0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x44]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4051cd
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x44]
mov dword [ebx], eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4051e8
mov eax, 0x4664d1
push eax
push 1
mov ebx, 0x130
call fcn.0045cb30
add esp, 0x10
mov dword [ebp - 0x30], eax
push VariantCopy
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x405213
mov eax, 0x4664e3
push eax
push 1
mov ebx, 0x194
call fcn.0045ce20
add esp, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
je 0x40523b
add eax, 8
push eax
push dword [ebp - 0x30]
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x405263
push 6
call fcn.004587c6
add esp, 4
mov dword [ebp - 0x1c], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.0045ce30
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40529f
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], esp
lea eax, [ebp - 0x1c]
push eax
push 0x400
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4052b9
add eax, 8
push eax
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetReadFile]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4052d9
push 6
call fcn.004587c6
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x4052ed
jmp 0x405363
push 0x80000301
push 0
push dword [ebp - 0x1c]
push VariantCopy
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40530a
mov eax, 0x4664e3
push eax
push 2
mov ebx, 0x1a0
call fcn.0045ce60
add esp, 0x1c
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00404608
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x405346
push ebx
call fcn.004587c0
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40535a
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
jmp 0x40526a
push 0x80000301
push 0
push 0x1388
push 1
mov ebx, 0x184
call fcn.0045a800
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40539a
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
mov dword [ebp - 0x30], esp
push 0
mov eax, 0x1388
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov ebx, dword [ebp + 0x54]
push dword [ebx]
push 0x16
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4053dd
push 6
call fcn.004587c6
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4053ff
push 6
call fcn.004587c6
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x405421
push 6
call fcn.004587c6
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x405443
push 6
call fcn.004587c6
add esp, 4
push 0
push 0
push 0
push VariantClear
push 0
push 0x46685d
push VariantClear
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x40546a
mov eax, 0x4664d1
push eax
push 3
mov ebx, 0x190
call fcn.0045ce90
add esp, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4054a2
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40549e
imul eax, dword [ebx]
jmp 0x405493
mov ecx, eax
test ecx, ecx
je 0x4054c1
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4054ba
push ebx
push eax
call fcn.004587c0
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4054a8
call fcn.004587c0
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, 0x4664d1
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4054e5
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.00402920
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40579c
mov ebx, dword [ebp - 0x28]
call fcn.004010a1
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x405527
push 4
call fcn.004587c6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40553a
push 1
call fcn.004587c6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], 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 - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x405575
mov eax, 0x4664d1
push eax
push 4
mov ebx, 0x148
call fcn.0045a720
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x4055f4
mov ebx, dword [ebp - 0x28]
call fcn.004010a1
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4055b2
push 4
call fcn.004587c6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4055c5
push 1
call fcn.004587c6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push dword [ebp - 0x30]
call fcn.00405d80
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4055ee
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.004010a1
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x405611
push 4
call fcn.004587c6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405624
push 1
call fcn.004587c6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], 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 - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x40565f
mov eax, 0x4664d1
push eax
push 4
mov ebx, 0x148
call fcn.0045a720
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x405794
mov ebx, dword [ebp - 0x28]
call fcn.004010a1
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40569c
push 4
call fcn.004587c6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4056af
push 1
call fcn.004587c6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov eax, 0x4669ae
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x30]
call fcn.00405abf
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405702
push ebx
call fcn.004587c0
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x405712
push ebx
call fcn.004587c0
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x405725
mov eax, 0x4664d1
push eax
push 1
mov ebx, 0x174
call fcn.0045cd50
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40574b
push ebx
call fcn.004587c0
add esp, 4
push 0x4669bc
push dword [ebp - 0x48]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040112c
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x405778
push ebx
call fcn.004587c0
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40578e
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4054fc
add esp, 0xc
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4057b4
mov eax, 0x4664d1
push eax
push 1
mov ebx, 0x130
call fcn.0045cb30
add esp, 0x10
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fsub qword [0x4669bf]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00401bce
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x405801
mov eax, 0x4664d1
push eax
push 2
mov ebx, 0x134
call fcn.0045af70
add esp, 0x1c
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40582d
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
cmp dword [ebp + 0x20], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x405867
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.004068b1
mov ebx, eax
test ebx, ebx
je 0x405867
push ebx
call fcn.004587c0
add esp, 4
push 0x4664d1
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.004015ab
add esp, 8
cmp eax, 0
jne 0x4058b9
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x4058a0
push eax
mov ebx, eax
call fcn.004010c1
inc eax
push eax
call fcn.004587ba
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 0x4058b3
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x4669c7
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, str.HTTP_1.1
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x54]
call fcn.00405abf
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x405904
push ebx
call fcn.004587c0
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x405914
push ebx
call fcn.004587c0
add esp, 4
push 0x4669d8
push dword [ebp - 0x40]
call fcn.004015ab
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405942
push ebx
call fcn.004587c0
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x4059fb
push dword [ebp + 8]
call fcn.004066a3
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
mov ebx, dword [ebp + 0x34]
push dword [ebx]
mov ecx, 2
call fcn.0040112c
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40597f
push ebx
call fcn.004587c0
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x405993
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov eax, 0x4664d1
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4059af
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
push 1
push dword [ebp + 0x54]
push 1
push dword [ebp + 0x4c]
push 1
push dword [ebp + 0x44]
push 1
push dword [ebp + 0x3c]
push 1
push dword [ebp + 0x34]
push 1
push dword [ebp + 0x2c]
push 1
push dword [ebp + 0x24]
push 1
push dword [ebp + 0x1c]
push 1
push dword [ebp + 0x14]
push 1
push dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040465f
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
jmp 0x405a1a
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x405a15
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004587ba
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x405a1a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x405a2b
push ebx
call fcn.004587c0
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x405a3b
push ebx
call fcn.004587c0
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x405a4b
push ebx
call fcn.004587c0
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405a5b
push ebx
call fcn.004587c0
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x405a79
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405a75
imul eax, dword [ebx]
jmp 0x405a6a
mov ecx, eax
test ecx, ecx
je 0x405a98
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405a91
push ebx
push eax
call fcn.004587c0
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405a7f
call fcn.004587c0
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x405ab0
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54