Function at 0x412313
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, 0x48
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.004593c8
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x492a3e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
cmp dword [ebp + 0xc], 1
mov eax, 0
sete al
test eax, eax
je 0x412394
mov eax, str.POST
jmp 0x412399
mov eax, 0x4d3d6b
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4123b0
push ebx
call fcn.004593ce
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 0x4123e7
mov eax, 0x4a84a6
push eax
push 4
mov ebx, 0x148
call fcn.0045aa40
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x4124f4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, 0x4d3d7b
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, str.User_Agent:
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0x2c]
call fcn.00408ff9
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x412452
push ebx
call fcn.004593ce
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x412462
push ebx
call fcn.004593ce
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x412475
mov eax, 0x4a84a6
push eax
push 1
mov ebx, 0x174
call fcn.00459f60
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41249b
push ebx
call fcn.004593ce
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4124af
push ebx
call fcn.004593ce
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x4a84a6
push dword [ebp - 8]
call fcn.00402098
add esp, 8
cmp eax, 0
jne 0x4124ef
push dword [ebp + 0x2c]
call fcn.004092ba
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4124eb
push ebx
call fcn.004593ce
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x41250e
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 0x41250a
push ebx
call fcn.004593ce
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x50], 0
jne 0x4125ba
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045adf0
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045adf0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push 1
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41258c
push 6
call fcn.004593d4
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41259f
push ebx
call fcn.004593ce
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4125af
push ebx
call fcn.004593ce
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
jmp 0x41265a
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
push str.http
mov ecx, 2
call fcn.00403088
add esp, 8
mov dword [ebp - 0x2c], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4125e7
mov eax, 0x4a84a6
push eax
push 1
mov ebx, 0x168
call fcn.0045a650
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41260d
push ebx
call fcn.004593ce
add esp, 4
mov dword [ebp - 0x34], esp
push 0
push 0x4a84a6
push dword [ebp - 0x30]
push 3
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x412641
push 6
call fcn.004593d4
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412654
push ebx
call fcn.004593ce
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x412690
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x412686
push 6
call fcn.004593d4
add esp, 4
mov eax, 0x4a84a6
jmp 0x413707
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push dword [ebp + 8]
call fcn.00409400
mov dword [ebp - 0x34], eax
push dword [ebp + 8]
call fcn.004099a9
mov dword [ebp - 0x38], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045adf0
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045adf0
add esp, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
push 0
push 0
push 3
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetConnectA]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x41273d
push 6
call fcn.004593d4
add esp, 4
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x412750
push ebx
call fcn.004593ce
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x412760
push ebx
call fcn.004593ce
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x412770
push ebx
call fcn.004593ce
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4127ce
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4127a2
push 6
call fcn.004593d4
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4127c4
push 6
call fcn.004593d4
add esp, 4
mov eax, 0x4a84a6
jmp 0x413707
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push SysReAllocString
push 2
mov ebx, 0xc8
call fcn.0045ae10
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 0x412840
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0045ae10
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x3c], 0
je 0x412875
push 0x80000301
push 0
push 0x200000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0045ae10
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 0x412896
mov eax, 0x4a84a6
push eax
push 2
mov ebx, 0x134
call fcn.0045a4b0
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4128bf
mov eax, 0x4a84a6
push eax
push 1
mov ebx, 0x154
call fcn.0045a920
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4128e5
push ebx
call fcn.004593ce
add esp, 4
push str.https
push dword [ebp - 0x30]
call fcn.00402098
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412913
push ebx
call fcn.004593ce
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41294d
push 0x80000301
push 0
push 0x800000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0045ae10
add esp, 0x1c
mov dword [ebp - 0x14], eax
jmp 0x412978
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0045ae10
add esp, 0x1c
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.00409bdd
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045adf0
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045adf0
add esp, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push str.HTTP_1.1
push dword [ebp - 0x2c]
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x412a00
push 6
call fcn.004593d4
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x412a13
push ebx
call fcn.004593ce
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412a23
push ebx
call fcn.004593ce
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x412a33
push ebx
call fcn.004593ce
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x412ab3
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x412a65
push 6
call fcn.004593d4
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x412a87
push 6
call fcn.004593d4
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x412aa9
push 6
call fcn.004593d4
add esp, 4
mov eax, 0x4a84a6
jmp 0x413707
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4d3e0d
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x412ae6
mov eax, 0x4a84a6
push eax
push 4
mov ebx, 0x148
call fcn.0045aa40
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x412b97
push 0x4a84a6
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00402098
add esp, 8
cmp eax, 0
jne 0x412b5c
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ecx, 2
call fcn.00403088
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x412b51
push ebx
call fcn.004593ce
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
jmp 0x412b97
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.00403088
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x412b91
push ebx
call fcn.004593ce
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 0x412bca
mov eax, 0x4a84a6
push eax
push 4
mov ebx, 0x148
call fcn.0045aa40
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x412c20
push str._r_nAccept:__
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00403088
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x412c1a
push ebx
call fcn.004593ce
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 0x412c53
mov eax, 0x4a84a6
push eax
push 4
mov ebx, 0x148
call fcn.0045aa40
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x412ca9
push str._r_nAccept_Language:_zh_cn
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00403088
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x412ca3
push ebx
call fcn.004593ce
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 0x412cdc
mov eax, 0x4a84a6
push eax
push 4
mov ebx, 0x148
call fcn.0045aa40
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x412d32
push str._r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00403088
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x412d2c
push ebx
call fcn.004593ce
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x4a84a6
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00402098
add esp, 8
cmp eax, 0
je 0x412d88
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.00403088
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x412d82
push ebx
call fcn.004593ce
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 0
jne 0x412df6
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x412da7
mov eax, 0x4a84a6
push eax
push 1
mov ebx, 0x130
call fcn.0045a020
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 0
push 0x4a84a6
push dword [ebp - 0x2c]
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 - 0x30], esp
je 0x412df1
push 6
call fcn.004593d4
add esp, 4
jmp 0x412f10
mov eax, 0x492a3e
xor ecx, ecx
test eax, eax
je 0x412e04
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 0x412e17
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x412e2e
dec eax
test ecx, ecx
je 0x412e2e
call fcn.00407c35
add esp, 0xc
test eax, eax
jne 0x412e80
push VariantClear
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x412e4e
mov eax, 0x4a84a6
push eax
push 1
mov ebx, 0x198
call fcn.0045a2e0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x44]
mov ebx, dword [ebx]
test ebx, ebx
je 0x412e7a
push ebx
call fcn.004593ce
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 0x412e95
mov eax, 0x4a84a6
push eax
push 1
mov ebx, 0x130
call fcn.0045a020
add esp, 0x10
mov dword [ebp - 0x2c], eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x412ec0
mov eax, 0x492a3e
push eax
push 1
mov ebx, 0x194
call fcn.0045a0c0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push dword [ebp - 0x30]
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
je 0x412ee8
add eax, 8
push eax
push dword [ebp - 0x2c]
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 0x412f10
push 6
call fcn.004593d4
add esp, 4
mov dword [ebp - 0x1c], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.00459ff0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412f4c
push ebx
call fcn.004593ce
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x1c]
push eax
push 0x400
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x412f66
add eax, 8
push eax
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetReadFile]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x412f86
push 6
call fcn.004593d4
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x412f9a
jmp 0x413010
push 0x80000301
push 0
push dword [ebp - 0x1c]
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x412fb7
mov eax, 0x492a3e
push eax
push 2
mov ebx, 0x1a0
call fcn.0045ae30
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.0040414b
add esp, 8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x412ff3
push ebx
call fcn.004593ce
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x413007
push ebx
call fcn.004593ce
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
jmp 0x412f17
push 0x80000301
push 0
push 0x1388
push 1
mov ebx, 0x184
call fcn.00459f20
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x413047
push ebx
call fcn.004593ce
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
mov dword [ebp - 0x2c], esp
push 0
mov eax, 0x1388
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
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 - 0x2c], esp
je 0x41308a
push 6
call fcn.004593d4
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4130ac
push 6
call fcn.004593d4
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4130ce
push 6
call fcn.004593d4
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4130f0
push 6
call fcn.004593d4
add esp, 4
push 0
push 0
push 0
push VariantClear
push 0
push 0x4d3d7b
push VariantClear
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x413117
mov eax, 0x4a84a6
push eax
push 3
mov ebx, 0x190
call fcn.0045ae60
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41314f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41314b
imul eax, dword [ebx]
jmp 0x413140
mov ecx, eax
test ecx, ecx
je 0x41316e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x413167
push ebx
push eax
call fcn.004593ce
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x413155
call fcn.004593ce
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, 0x4a84a6
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x413192
push ebx
call fcn.004593ce
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.00407ce1
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 0x413449
mov ebx, dword [ebp - 0x28]
call fcn.0040101b
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4131d4
push 4
call fcn.004593d4
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4131e7
push 1
call fcn.004593d4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], 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 - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x413222
mov eax, 0x4a84a6
push eax
push 4
mov ebx, 0x148
call fcn.0045aa40
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x4132a1
mov ebx, dword [ebp - 0x28]
call fcn.0040101b
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x41325f
push 4
call fcn.004593d4
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x413272
push 1
call fcn.004593d4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push dword [ebp - 0x2c]
call fcn.004092ba
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41329b
push ebx
call fcn.004593ce
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.0040101b
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4132be
push 4
call fcn.004593d4
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4132d1
push 1
call fcn.004593d4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], 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 - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x41330c
mov eax, 0x4a84a6
push eax
push 4
mov ebx, 0x148
call fcn.0045aa40
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x413441
mov ebx, dword [ebp - 0x28]
call fcn.0040101b
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x413349
push 4
call fcn.004593d4
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41335c
push 1
call fcn.004593d4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x4d3ecc
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x2c]
call fcn.00408ff9
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4133af
push ebx
call fcn.004593ce
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4133bf
push ebx
call fcn.004593ce
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4133d2
mov eax, 0x4a84a6
push eax
push 1
mov ebx, 0x174
call fcn.00459f60
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4133f8
push ebx
call fcn.004593ce
add esp, 4
push 0x4d3eda
push dword [ebp - 0x44]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00403088
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x413425
push ebx
call fcn.004593ce
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41343b
push ebx
call fcn.004593ce
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4131a9
add esp, 0xc
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x413461
mov eax, 0x4a84a6
push eax
push 1
mov ebx, 0x130
call fcn.0045a020
add esp, 0x10
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x4a848e]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.004011c4
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4134ae
mov eax, 0x4a84a6
push eax
push 2
mov ebx, 0x134
call fcn.0045a4b0
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4134da
push ebx
call fcn.004593ce
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 0x413514
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00409deb
mov ebx, eax
test ebx, ebx
je 0x413514
push ebx
call fcn.004593ce
add esp, 4
push 0x4a84a6
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00402098
add esp, 8
cmp eax, 0
jne 0x413566
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x41354d
push eax
mov ebx, eax
call fcn.0040301d
inc eax
push eax
call fcn.004593c8
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 0x413560
push ebx
call fcn.004593ce
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
push VariantClear
push 0
push str.utf_8
push 1
mov ebx, 0x198
call fcn.0045a2e0
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0
push 0
push 0
push VariantClear
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4135a0
mov eax, 0x492a3e
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4135b4
mov eax, 0x492a3e
push eax
push 3
mov ebx, 0x1ac
call fcn.0045d610
add esp, 0x28
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4135da
push ebx
call fcn.004593ce
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x4135fe
cmp dword [ebp - 0x1c], 0x1f4
jge 0x4135fe
mov eax, 1
jmp 0x413600
xor eax, eax
test eax, eax
jne 0x41365f
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 0x41363b
mov eax, 0x4a84a6
push eax
push 4
mov ebx, 0x148
call fcn.0045aa40
add esp, 0x34
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x41365f
xor eax, eax
jmp 0x413664
mov eax, 1
test eax, eax
je 0x4136d6
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00413794
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4136ae
push ebx
call fcn.004593ce
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4136be
push ebx
call fcn.004593ce
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4136d2
push ebx
call fcn.004593ce
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4136e9
mov eax, 0x492a3e
push eax
push 1
mov ebx, 0x168
call fcn.0045a650
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
jmp 0x413707
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x413718
push ebx
call fcn.004593ce
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x413728
push ebx
call fcn.004593ce
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x413738
push ebx
call fcn.004593ce
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x413748
push ebx
call fcn.004593ce
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x413766
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x413762
imul eax, dword [ebx]
jmp 0x413757
mov ecx, eax
test ecx, ecx
je 0x413785
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41377e
push ebx
push eax
call fcn.004593ce
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x41376c
call fcn.004593ce
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54