Function at 0x40a5a6
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.0043b23a
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x444271
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 0x40a62e
mov eax, 0x444316
jmp 0x40a633
mov eax, 0x44431b
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40a64a
push ebx
call fcn.0043b240
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 0x40a681
mov eax, 0x444226
push eax
push 4
mov ebx, 0x148
call fcn.0043d080
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x40a78e
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x44432b
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.00404773
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40a6ec
push ebx
call fcn.0043b240
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40a6fc
push ebx
call fcn.0043b240
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x40a70f
mov eax, 0x444226
push eax
push 1
mov ebx, 0x174
call fcn.0043db60
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40a735
push ebx
call fcn.0043b240
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a749
push ebx
call fcn.0043b240
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x444226
push dword [ebp - 8]
call fcn.004016bb
add esp, 8
cmp eax, 0
jne 0x40a789
push dword [ebp + 0x2c]
call fcn.00404a34
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a785
push ebx
call fcn.0043b240
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40a7a8
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 0x40a7a4
push ebx
call fcn.0043b240
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x50], 0
jne 0x40a854
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0043dbf0
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0043dbf0
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 0x40a826
push 6
call fcn.0043b246
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40a839
push ebx
call fcn.0043b240
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a849
push ebx
call fcn.0043b240
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
jmp 0x40a8f4
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
push str.http
mov ecx, 2
call fcn.0040115e
add esp, 8
mov dword [ebp - 0x30], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40a881
mov eax, 0x444226
push eax
push 1
mov ebx, 0x168
call fcn.0043d320
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40a8a7
push ebx
call fcn.0043b240
add esp, 4
mov dword [ebp - 0x38], esp
push 0
push 0x444226
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 0x40a8db
push 6
call fcn.0043b246
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a8ee
push ebx
call fcn.0043b240
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40a92a
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 0x40a920
push 6
call fcn.0043b246
add esp, 4
mov eax, 0x444226
jmp 0x40ba9d
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.00404b7a
mov dword [ebp - 0x38], eax
push dword [ebp + 8]
call fcn.00405123
mov dword [ebp - 0x3c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0043dbf0
add esp, 0x10
mov dword [ebp - 0x40], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0043dbf0
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 0x40a9d7
push 6
call fcn.0043b246
add esp, 4
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40a9ea
push ebx
call fcn.0043b240
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40a9fa
push ebx
call fcn.0043b240
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40aa0a
push ebx
call fcn.0043b240
add esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40aa68
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 0x40aa3c
push 6
call fcn.0043b246
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 0x40aa5e
push 6
call fcn.0043b246
add esp, 4
mov eax, 0x444226
jmp 0x40ba9d
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push SysReAllocString
push 2
mov ebx, 0xc8
call fcn.0043dc10
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 0x40aada
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0043dc10
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x3c], 0
je 0x40ab0f
push 0x80000301
push 0
push 0x200000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0043dc10
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 0x40ab30
mov eax, 0x444226
push eax
push 2
mov ebx, 0x134
call fcn.0043d250
add esp, 0x1c
mov dword [ebp - 0x30], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40ab59
mov eax, 0x444226
push eax
push 1
mov ebx, 0x154
call fcn.0043d5f0
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ab7f
push ebx
call fcn.0043b240
add esp, 4
push str.https
push dword [ebp - 0x34]
call fcn.004016bb
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 0x40abad
push ebx
call fcn.0043b240
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x40abe7
push 0x80000301
push 0
push 0x800000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0043dc10
add esp, 0x1c
mov dword [ebp - 0x14], eax
jmp 0x40ac12
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0043dc10
add esp, 0x1c
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.00405357
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0043dbf0
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0043dbf0
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 0x4443b4
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 0x40ac9a
push 6
call fcn.0043b246
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40acad
push ebx
call fcn.0043b240
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40acbd
push ebx
call fcn.0043b240
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40accd
push ebx
call fcn.0043b240
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40ad4d
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 0x40acff
push 6
call fcn.0043b246
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 0x40ad21
push 6
call fcn.0043b246
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 0x40ad43
push 6
call fcn.0043b246
add esp, 4
mov eax, 0x444226
jmp 0x40ba9d
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4443bd
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40ad80
mov eax, 0x444226
push eax
push 4
mov ebx, 0x148
call fcn.0043d080
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x40ae31
push 0x444226
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.004016bb
add esp, 8
cmp eax, 0
jne 0x40adf6
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ecx, 2
call fcn.0040115e
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 0x40adeb
push ebx
call fcn.0043b240
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
jmp 0x40ae31
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.0040115e
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 0x40ae2b
push ebx
call fcn.0043b240
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 0x40ae64
mov eax, 0x444226
push eax
push 4
mov ebx, 0x148
call fcn.0043d080
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x40aeba
push str._r_nAccept:__
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040115e
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 0x40aeb4
push ebx
call fcn.0043b240
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 0x40aeed
mov eax, 0x444226
push eax
push 4
mov ebx, 0x148
call fcn.0043d080
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x40af43
push str._r_nAccept_Language:_zh_cn
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040115e
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 0x40af3d
push ebx
call fcn.0043b240
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 0x40af76
mov eax, 0x444226
push eax
push 4
mov ebx, 0x148
call fcn.0043d080
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x40afcc
push str._r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040115e
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 0x40afc6
push ebx
call fcn.0043b240
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x444226
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.004016bb
add esp, 8
cmp eax, 0
je 0x40b022
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.0040115e
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 0x40b01c
push ebx
call fcn.0043b240
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 0
jne 0x40b090
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40b041
mov eax, 0x444226
push eax
push 1
mov ebx, 0x130
call fcn.0043db40
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0
push 0x444226
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 0x40b08b
push 6
call fcn.0043b246
add esp, 4
jmp 0x40b1aa
mov eax, 0x444271
xor ecx, ecx
test eax, eax
je 0x40b09e
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 0x40b0b1
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40b0c8
dec eax
test ecx, ecx
je 0x40b0c8
call fcn.00403210
add esp, 0xc
test eax, eax
jne 0x40b11a
push VariantClear
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x40b0e8
mov eax, 0x444226
push eax
push 1
mov ebx, 0x198
call fcn.0043ceb0
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 0x40b114
push ebx
call fcn.0043b240
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 0x40b12f
mov eax, 0x444226
push eax
push 1
mov ebx, 0x130
call fcn.0043db40
add esp, 0x10
mov dword [ebp - 0x30], eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x40b15a
mov eax, 0x444271
push eax
push 1
mov ebx, 0x194
call fcn.0043dc30
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 0x40b182
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 0x40b1aa
push 6
call fcn.0043b246
add esp, 4
mov dword [ebp - 0x1c], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.0043dc40
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b1e6
push ebx
call fcn.0043b240
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 0x40b200
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 0x40b220
push 6
call fcn.0043b246
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x40b234
jmp 0x40b2aa
push 0x80000301
push 0
push dword [ebp - 0x1c]
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40b251
mov eax, 0x444271
push eax
push 2
mov ebx, 0x1a0
call fcn.0043dc70
add esp, 0x1c
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.004032bc
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40b28d
push ebx
call fcn.0043b240
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b2a1
push ebx
call fcn.0043b240
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
jmp 0x40b1b1
push 0x80000301
push 0
push 0x1388
push 1
mov ebx, 0x184
call fcn.0043d160
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 0x40b2e1
push ebx
call fcn.0043b240
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 0x40b324
push 6
call fcn.0043b246
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 0x40b346
push 6
call fcn.0043b246
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 0x40b368
push 6
call fcn.0043b246
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 0x40b38a
push 6
call fcn.0043b246
add esp, 4
push 0
push 0
push 0
push VariantClear
push 0
push 0x44432b
push VariantClear
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x40b3b1
mov eax, 0x444226
push eax
push 3
mov ebx, 0x190
call fcn.0043dca0
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 0x40b3e9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b3e5
imul eax, dword [ebx]
jmp 0x40b3da
mov ecx, eax
test ecx, ecx
je 0x40b408
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b401
push ebx
push eax
call fcn.0043b240
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b3ef
call fcn.0043b240
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, 0x444226
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b42c
push ebx
call fcn.0043b240
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.00402aa7
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 0x40b6e3
mov ebx, dword [ebp - 0x28]
call fcn.00402a87
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40b46e
push 4
call fcn.0043b246
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b481
push 1
call fcn.0043b246
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 0x40b4bc
mov eax, 0x444226
push eax
push 4
mov ebx, 0x148
call fcn.0043d080
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x40b53b
mov ebx, dword [ebp - 0x28]
call fcn.00402a87
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40b4f9
push 4
call fcn.0043b246
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b50c
push 1
call fcn.0043b246
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push dword [ebp - 0x30]
call fcn.00404a34
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 0x40b535
push ebx
call fcn.0043b240
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.00402a87
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40b558
push 4
call fcn.0043b246
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b56b
push 1
call fcn.0043b246
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 0x40b5a6
mov eax, 0x444226
push eax
push 4
mov ebx, 0x148
call fcn.0043d080
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x40b6db
mov ebx, dword [ebp - 0x28]
call fcn.00402a87
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40b5e3
push 4
call fcn.0043b246
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b5f6
push 1
call fcn.0043b246
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, 0x44447c
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.00404773
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40b649
push ebx
call fcn.0043b240
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40b659
push ebx
call fcn.0043b240
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x40b66c
mov eax, 0x444226
push eax
push 1
mov ebx, 0x174
call fcn.0043db60
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40b692
push ebx
call fcn.0043b240
add esp, 4
push 0x44448a
push dword [ebp - 0x48]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040115e
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40b6bf
push ebx
call fcn.0043b240
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b6d5
push ebx
call fcn.0043b240
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x40b443
add esp, 0xc
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x40b6fb
mov eax, 0x444226
push eax
push 1
mov ebx, 0x130
call fcn.0043db40
add esp, 0x10
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fsub qword [0x44448d]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00402427
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x40b748
mov eax, 0x444226
push eax
push 2
mov ebx, 0x134
call fcn.0043d250
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 0x40b774
push ebx
call fcn.0043b240
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 0x40b7ae
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00405565
mov ebx, eax
test ebx, ebx
je 0x40b7ae
push ebx
call fcn.0043b240
add esp, 4
push 0x444226
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.004016bb
add esp, 8
cmp eax, 0
jne 0x40b800
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x40b7e7
push eax
mov ebx, eax
call fcn.004010f3
inc eax
push eax
call fcn.0043b23a
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 0x40b7fa
push ebx
call fcn.0043b240
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, 0x444495
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.00404773
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40b84b
push ebx
call fcn.0043b240
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40b85b
push ebx
call fcn.0043b240
add esp, 4
push 0x4444a6
push dword [ebp - 0x40]
call fcn.004016bb
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 0x40b889
push ebx
call fcn.0043b240
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x40b942
push dword [ebp + 8]
call fcn.00405357
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
mov ebx, dword [ebp + 0x34]
push dword [ebx]
mov ecx, 2
call fcn.0040115e
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40b8c6
push ebx
call fcn.0043b240
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40b8da
push ebx
call fcn.0043b240
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov eax, 0x444226
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b8f6
push ebx
call fcn.0043b240
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.0040a5a6
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
jmp 0x40ba9d
push VariantClear
push 0
push str.utf_8
push 1
mov ebx, 0x198
call fcn.0043ceb0
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0
push 0
push 0
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40b97c
mov eax, 0x444271
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40b990
mov eax, 0x444271
push eax
push 3
mov ebx, 0x1ac
call fcn.0043e970
add esp, 0x28
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40b9b6
push ebx
call fcn.0043b240
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x40b9da
cmp dword [ebp - 0x1c], 0x1f4
jge 0x40b9da
mov eax, 1
jmp 0x40b9dc
xor eax, eax
test eax, eax
jne 0x40ba3b
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str.utf_8
push VariantClear
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x40ba17
mov eax, 0x444226
push eax
push 4
mov ebx, 0x148
call fcn.0043d080
add esp, 0x34
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
jne 0x40ba3b
xor eax, eax
jmp 0x40ba40
mov eax, 1
test eax, eax
je 0x40ba6c
lea eax, [ebp - 0x24]
push eax
call fcn.0040bb3a
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40ba68
push ebx
call fcn.0043b240
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40ba7f
mov eax, 0x444271
push eax
push 1
mov ebx, 0x168
call fcn.0043d320
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
jmp 0x40ba9d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40baae
push ebx
call fcn.0043b240
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40babe
push ebx
call fcn.0043b240
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40bace
push ebx
call fcn.0043b240
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40bade
push ebx
call fcn.0043b240
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40bafc
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40baf8
imul eax, dword [ebx]
jmp 0x40baed
mov ecx, eax
test ecx, ecx
je 0x40bb1b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40bb14
push ebx
push eax
call fcn.0043b240
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40bb02
call fcn.0043b240
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40bb33
push ebx
call fcn.0043b240
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54