Function at 0x40f4ef
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.004481d2
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x4564e3
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 0x40f577
mov eax, str.POST
jmp 0x40f57c
mov eax, 0x45684d
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40f593
push ebx
call fcn.004481d8
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 0x40f5ca
mov eax, 0x4564d1
push eax
push 4
mov ebx, 0x148
call fcn.0044a140
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x40f6d7
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x45685d
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.00405a3f
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40f635
push ebx
call fcn.004481d8
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40f645
push ebx
call fcn.004481d8
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x40f658
mov eax, 0x4564d1
push eax
push 1
mov ebx, 0x174
call fcn.0044c680
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40f67e
push ebx
call fcn.004481d8
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40f692
push ebx
call fcn.004481d8
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x4564d1
push dword [ebp - 8]
call fcn.0040152b
add esp, 8
cmp eax, 0
jne 0x40f6d2
push dword [ebp + 0x2c]
call fcn.00405d00
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40f6ce
push ebx
call fcn.004481d8
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40f6f1
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 0x40f6ed
push ebx
call fcn.004481d8
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x50], 0
jne 0x40f79d
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044c710
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044c710
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 0x40f76f
push 6
call fcn.004481de
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40f782
push ebx
call fcn.004481d8
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f792
push ebx
call fcn.004481d8
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
jmp 0x40f83d
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
push str.http
mov ecx, 2
call fcn.004010ac
add esp, 8
mov dword [ebp - 0x30], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40f7ca
mov eax, 0x4564d1
push eax
push 1
mov ebx, 0x168
call fcn.0044a600
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40f7f0
push ebx
call fcn.004481d8
add esp, 4
mov dword [ebp - 0x38], esp
push 0
push 0x4564d1
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 0x40f824
push 6
call fcn.004481de
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f837
push ebx
call fcn.004481d8
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40f873
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 0x40f869
push 6
call fcn.004481de
add esp, 4
mov eax, 0x4564d1
jmp 0x4109e6
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.00405e46
mov dword [ebp - 0x38], eax
push dword [ebp + 8]
call fcn.004063ef
mov dword [ebp - 0x3c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044c710
add esp, 0x10
mov dword [ebp - 0x40], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044c710
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 0x40f920
push 6
call fcn.004481de
add esp, 4
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40f933
push ebx
call fcn.004481d8
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40f943
push ebx
call fcn.004481d8
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40f953
push ebx
call fcn.004481d8
add esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40f9b1
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 0x40f985
push 6
call fcn.004481de
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 0x40f9a7
push 6
call fcn.004481de
add esp, 4
mov eax, 0x4564d1
jmp 0x4109e6
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push SysReAllocString
push 2
mov ebx, 0xc8
call fcn.0044c730
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 0x40fa23
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0044c730
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x3c], 0
je 0x40fa58
push 0x80000301
push 0
push 0x200000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0044c730
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 0x40fa79
mov eax, 0x4564d1
push eax
push 2
mov ebx, 0x134
call fcn.0044a990
add esp, 0x1c
mov dword [ebp - 0x30], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40faa2
mov eax, 0x4564d1
push eax
push 1
mov ebx, 0x154
call fcn.0044aa60
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40fac8
push ebx
call fcn.004481d8
add esp, 4
push str.https
push dword [ebp - 0x34]
call fcn.0040152b
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 0x40faf6
push ebx
call fcn.004481d8
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x40fb30
push 0x80000301
push 0
push 0x800000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0044c730
add esp, 0x1c
mov dword [ebp - 0x14], eax
jmp 0x40fb5b
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0044c730
add esp, 0x1c
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.00406623
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044c710
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044c710
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 0x4568e6
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 0x40fbe3
push 6
call fcn.004481de
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40fbf6
push ebx
call fcn.004481d8
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40fc06
push ebx
call fcn.004481d8
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40fc16
push ebx
call fcn.004481d8
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40fc96
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 0x40fc48
push 6
call fcn.004481de
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 0x40fc6a
push 6
call fcn.004481de
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 0x40fc8c
push 6
call fcn.004481de
add esp, 4
mov eax, 0x4564d1
jmp 0x4109e6
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4568ef
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40fcc9
mov eax, 0x4564d1
push eax
push 4
mov ebx, 0x148
call fcn.0044a140
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x40fd7a
push 0x4564d1
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.0040152b
add esp, 8
cmp eax, 0
jne 0x40fd3f
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ecx, 2
call fcn.004010ac
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 0x40fd34
push ebx
call fcn.004481d8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
jmp 0x40fd7a
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.004010ac
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 0x40fd74
push ebx
call fcn.004481d8
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 0x40fdad
mov eax, 0x4564d1
push eax
push 4
mov ebx, 0x148
call fcn.0044a140
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x40fe03
push str._r_nAccept:__
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.004010ac
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 0x40fdfd
push ebx
call fcn.004481d8
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 0x40fe36
mov eax, 0x4564d1
push eax
push 4
mov ebx, 0x148
call fcn.0044a140
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x40fe8c
push str._r_nAccept_Language:_zh_cn
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.004010ac
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 0x40fe86
push ebx
call fcn.004481d8
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 0x40febf
mov eax, 0x4564d1
push eax
push 4
mov ebx, 0x148
call fcn.0044a140
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x40ff15
push str._r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.004010ac
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 0x40ff0f
push ebx
call fcn.004481d8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x4564d1
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.0040152b
add esp, 8
cmp eax, 0
je 0x40ff6b
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.004010ac
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 0x40ff65
push ebx
call fcn.004481d8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 0
jne 0x40ffd9
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40ff8a
mov eax, 0x4564d1
push eax
push 1
mov ebx, 0x130
call fcn.0044c460
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0
push 0x4564d1
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 0x40ffd4
push 6
call fcn.004481de
add esp, 4
jmp 0x4100f3
mov eax, 0x4564e3
xor ecx, ecx
test eax, eax
je 0x40ffe7
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 0x40fffa
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x410011
dec eax
test ecx, ecx
je 0x410011
call fcn.004044dc
add esp, 0xc
test eax, eax
jne 0x410063
push VariantClear
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x410031
mov eax, 0x4564d1
push eax
push 1
mov ebx, 0x198
call fcn.00449fe0
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 0x41005d
push ebx
call fcn.004481d8
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 0x410078
mov eax, 0x4564d1
push eax
push 1
mov ebx, 0x130
call fcn.0044c460
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 0x4100a3
mov eax, 0x4564e3
push eax
push 1
mov ebx, 0x194
call fcn.0044c750
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 0x4100cb
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 0x4100f3
push 6
call fcn.004481de
add esp, 4
mov dword [ebp - 0x1c], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.0044c760
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41012f
push ebx
call fcn.004481d8
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 0x410149
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 0x410169
push 6
call fcn.004481de
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x41017d
jmp 0x4101f3
push 0x80000301
push 0
push dword [ebp - 0x1c]
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41019a
mov eax, 0x4564e3
push eax
push 2
mov ebx, 0x1a0
call fcn.0044c790
add esp, 0x1c
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00404588
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4101d6
push ebx
call fcn.004481d8
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4101ea
push ebx
call fcn.004481d8
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
jmp 0x4100fa
push 0x80000301
push 0
push 0x1388
push 1
mov ebx, 0x184
call fcn.0044a220
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 0x41022a
push ebx
call fcn.004481d8
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 0x41026d
push 6
call fcn.004481de
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 0x41028f
push 6
call fcn.004481de
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 0x4102b1
push 6
call fcn.004481de
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 0x4102d3
push 6
call fcn.004481de
add esp, 4
push 0
push 0
push 0
push VariantClear
push 0
push 0x45685d
push VariantClear
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x4102fa
mov eax, 0x4564d1
push eax
push 3
mov ebx, 0x190
call fcn.0044c7c0
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 0x410332
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41032e
imul eax, dword [ebx]
jmp 0x410323
mov ecx, eax
test ecx, ecx
je 0x410351
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41034a
push ebx
push eax
call fcn.004481d8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x410338
call fcn.004481d8
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, 0x4564d1
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x410375
push ebx
call fcn.004481d8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.004028a0
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 0x41062c
mov ebx, dword [ebp - 0x28]
call fcn.00401021
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4103b7
push 4
call fcn.004481de
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4103ca
push 1
call fcn.004481de
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 0x410405
mov eax, 0x4564d1
push eax
push 4
mov ebx, 0x148
call fcn.0044a140
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x410484
mov ebx, dword [ebp - 0x28]
call fcn.00401021
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x410442
push 4
call fcn.004481de
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x410455
push 1
call fcn.004481de
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push dword [ebp - 0x30]
call fcn.00405d00
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 0x41047e
push ebx
call fcn.004481d8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.00401021
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4104a1
push 4
call fcn.004481de
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4104b4
push 1
call fcn.004481de
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 0x4104ef
mov eax, 0x4564d1
push eax
push 4
mov ebx, 0x148
call fcn.0044a140
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x410624
mov ebx, dword [ebp - 0x28]
call fcn.00401021
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x41052c
push 4
call fcn.004481de
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41053f
push 1
call fcn.004481de
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, 0x4569ae
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.00405a3f
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x410592
push ebx
call fcn.004481d8
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4105a2
push ebx
call fcn.004481d8
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x4105b5
mov eax, 0x4564d1
push eax
push 1
mov ebx, 0x174
call fcn.0044c680
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4105db
push ebx
call fcn.004481d8
add esp, 4
push 0x4569bc
push dword [ebp - 0x48]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004010ac
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x410608
push ebx
call fcn.004481d8
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41061e
push ebx
call fcn.004481d8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x41038c
add esp, 0xc
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x410644
mov eax, 0x4564d1
push eax
push 1
mov ebx, 0x130
call fcn.0044c460
add esp, 0x10
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fsub qword [0x4569bf]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00401b4e
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x410691
mov eax, 0x4564d1
push eax
push 2
mov ebx, 0x134
call fcn.0044a990
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 0x4106bd
push ebx
call fcn.004481d8
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 0x4106f7
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00406831
mov ebx, eax
test ebx, ebx
je 0x4106f7
push ebx
call fcn.004481d8
add esp, 4
push 0x4564d1
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.0040152b
add esp, 8
cmp eax, 0
jne 0x410749
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x410730
push eax
mov ebx, eax
call fcn.00401041
inc eax
push eax
call fcn.004481d2
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 0x410743
push ebx
call fcn.004481d8
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, 0x4569c7
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.00405a3f
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x410794
push ebx
call fcn.004481d8
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4107a4
push ebx
call fcn.004481d8
add esp, 4
push 0x4569d8
push dword [ebp - 0x40]
call fcn.0040152b
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 0x4107d2
push ebx
call fcn.004481d8
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x41088b
push dword [ebp + 8]
call fcn.00406623
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
mov ebx, dword [ebp + 0x34]
push dword [ebx]
mov ecx, 2
call fcn.004010ac
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41080f
push ebx
call fcn.004481d8
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x410823
push ebx
call fcn.004481d8
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov eax, 0x4564d1
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41083f
push ebx
call fcn.004481d8
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.0040f4ef
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
jmp 0x4109e6
push VariantClear
push 0
push str.utf_8
push 1
mov ebx, 0x198
call fcn.00449fe0
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 0x4108c5
mov eax, 0x4564e3
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4108d9
mov eax, 0x4564e3
push eax
push 3
mov ebx, 0x1ac
call fcn.0044d730
add esp, 0x28
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4108ff
push ebx
call fcn.004481d8
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x410923
cmp dword [ebp - 0x1c], 0x1f4
jge 0x410923
mov eax, 1
jmp 0x410925
xor eax, eax
test eax, eax
jne 0x410984
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 0x410960
mov eax, 0x4564d1
push eax
push 4
mov ebx, 0x148
call fcn.0044a140
add esp, 0x34
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
jne 0x410984
xor eax, eax
jmp 0x410989
mov eax, 1
test eax, eax
je 0x4109b5
lea eax, [ebp - 0x24]
push eax
call fcn.00410a83
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4109b1
push ebx
call fcn.004481d8
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4109c8
mov eax, 0x4564e3
push eax
push 1
mov ebx, 0x168
call fcn.0044a600
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
jmp 0x4109e6
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4109f7
push ebx
call fcn.004481d8
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x410a07
push ebx
call fcn.004481d8
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x410a17
push ebx
call fcn.004481d8
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x410a27
push ebx
call fcn.004481d8
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x410a45
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x410a41
imul eax, dword [ebx]
jmp 0x410a36
mov ecx, eax
test ecx, ecx
je 0x410a64
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x410a5d
push ebx
push eax
call fcn.004481d8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x410a4b
call fcn.004481d8
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x410a7c
push ebx
call fcn.004481d8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54