Function at 0x40fe97
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.004497ac
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x457237
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 0x40ff1f
mov eax, str.POST
jmp 0x40ff24
mov eax, 0x4576c1
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40ff3b
push ebx
call fcn.004497b2
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 0x40ff72
mov eax, 0x45727a
push eax
push 4
mov ebx, 0x148
call fcn.0044b790
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x41007f
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x4576d1
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.004042b3
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40ffdd
push ebx
call fcn.004497b2
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40ffed
push ebx
call fcn.004497b2
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x410000
mov eax, 0x45727a
push eax
push 1
mov ebx, 0x174
call fcn.0044ba20
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x410026
push ebx
call fcn.004497b2
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41003a
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x45727a
push dword [ebp - 8]
call fcn.00402c9a
add esp, 8
cmp eax, 0
jne 0x41007a
push dword [ebp + 0x2c]
call fcn.00404574
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x410076
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x410099
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 0x410095
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x50], 0
jne 0x410145
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044bab0
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044bab0
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 0x410117
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41012a
push ebx
call fcn.004497b2
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41013a
push ebx
call fcn.004497b2
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
jmp 0x4101e5
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
push str.http
mov ecx, 2
call fcn.00402082
add esp, 8
mov dword [ebp - 0x30], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x410172
mov eax, 0x45727a
push eax
push 1
mov ebx, 0x168
call fcn.0044bb40
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x410198
push ebx
call fcn.004497b2
add esp, 4
mov dword [ebp - 0x38], esp
push 0
push 0x45727a
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 0x4101cc
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4101df
push ebx
call fcn.004497b2
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41021b
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 0x410211
push 6
call fcn.004497b8
add esp, 4
mov eax, 0x45727a
jmp 0x41138e
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.004046ba
mov dword [ebp - 0x38], eax
push dword [ebp + 8]
call fcn.00404c63
mov dword [ebp - 0x3c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044bab0
add esp, 0x10
mov dword [ebp - 0x40], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044bab0
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 0x4102c8
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4102db
push ebx
call fcn.004497b2
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4102eb
push ebx
call fcn.004497b2
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4102fb
push ebx
call fcn.004497b2
add esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x410359
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 0x41032d
push 6
call fcn.004497b8
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 0x41034f
push 6
call fcn.004497b8
add esp, 4
mov eax, 0x45727a
jmp 0x41138e
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push SysReAllocString
push 2
mov ebx, 0xc8
call fcn.0044b520
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 0x4103cb
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0044b520
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x3c], 0
je 0x410400
push 0x80000301
push 0
push 0x200000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0044b520
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 0x410421
mov eax, 0x45727a
push eax
push 2
mov ebx, 0x134
call fcn.0044b9c0
add esp, 0x1c
mov dword [ebp - 0x30], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x41044a
mov eax, 0x45727a
push eax
push 1
mov ebx, 0x154
call fcn.0044be10
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x410470
push ebx
call fcn.004497b2
add esp, 4
push str.https
push dword [ebp - 0x34]
call fcn.00402c9a
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 0x41049e
push ebx
call fcn.004497b2
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x4104d8
push 0x80000301
push 0
push 0x800000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0044b520
add esp, 0x1c
mov dword [ebp - 0x14], eax
jmp 0x410503
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0044b520
add esp, 0x1c
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.00404e97
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044bab0
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044bab0
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 0x45775a
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 0x41058b
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41059e
push ebx
call fcn.004497b2
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4105ae
push ebx
call fcn.004497b2
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4105be
push ebx
call fcn.004497b2
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41063e
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 0x4105f0
push 6
call fcn.004497b8
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 0x410612
push 6
call fcn.004497b8
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 0x410634
push 6
call fcn.004497b8
add esp, 4
mov eax, 0x45727a
jmp 0x41138e
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x457763
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x410671
mov eax, 0x45727a
push eax
push 4
mov ebx, 0x148
call fcn.0044b790
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x410722
push 0x45727a
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00402c9a
add esp, 8
cmp eax, 0
jne 0x4106e7
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ecx, 2
call fcn.00402082
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 0x4106dc
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
jmp 0x410722
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.00402082
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 0x41071c
push ebx
call fcn.004497b2
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 0x410755
mov eax, 0x45727a
push eax
push 4
mov ebx, 0x148
call fcn.0044b790
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x4107ab
push str._r_nAccept:__
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00402082
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 0x4107a5
push ebx
call fcn.004497b2
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 0x4107de
mov eax, 0x45727a
push eax
push 4
mov ebx, 0x148
call fcn.0044b790
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x410834
push str._r_nAccept_Language:_zh_cn
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00402082
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 0x41082e
push ebx
call fcn.004497b2
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 0x410867
mov eax, 0x45727a
push eax
push 4
mov ebx, 0x148
call fcn.0044b790
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x4108bd
push str._r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00402082
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 0x4108b7
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x45727a
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00402c9a
add esp, 8
cmp eax, 0
je 0x410913
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.00402082
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 0x41090d
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 0
jne 0x410981
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x410932
mov eax, 0x45727a
push eax
push 1
mov ebx, 0x130
call fcn.0044be90
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0
push 0x45727a
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 0x41097c
push 6
call fcn.004497b8
add esp, 4
jmp 0x410a9b
mov eax, 0x457237
xor ecx, ecx
test eax, eax
je 0x41098f
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 0x4109a2
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4109b9
dec eax
test ecx, ecx
je 0x4109b9
call fcn.00402d37
add esp, 0xc
test eax, eax
jne 0x410a0b
push VariantClear
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x4109d9
mov eax, 0x45727a
push eax
push 1
mov ebx, 0x198
call fcn.0044b620
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 0x410a05
push ebx
call fcn.004497b2
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 0x410a20
mov eax, 0x45727a
push eax
push 1
mov ebx, 0x130
call fcn.0044be90
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 0x410a4b
mov eax, 0x457237
push eax
push 1
mov ebx, 0x194
call fcn.0044beb0
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 0x410a73
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 0x410a9b
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 0x1c], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.0044b4f0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x410ad7
push ebx
call fcn.004497b2
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 0x410af1
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 0x410b11
push 6
call fcn.004497b8
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x410b25
jmp 0x410b9b
push 0x80000301
push 0
push dword [ebp - 0x1c]
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x410b42
mov eax, 0x457237
push eax
push 2
mov ebx, 0x1a0
call fcn.0044bec0
add esp, 0x1c
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00402de3
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x410b7e
push ebx
call fcn.004497b2
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x410b92
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
jmp 0x410aa2
push 0x80000301
push 0
push 0x1388
push 1
mov ebx, 0x184
call fcn.0044b8d0
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 0x410bd2
push ebx
call fcn.004497b2
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 0x410c15
push 6
call fcn.004497b8
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 0x410c37
push 6
call fcn.004497b8
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 0x410c59
push 6
call fcn.004497b8
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 0x410c7b
push 6
call fcn.004497b8
add esp, 4
push 0
push 0
push 0
push VariantClear
push 0
push 0x4576d1
push VariantClear
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x410ca2
mov eax, 0x45727a
push eax
push 3
mov ebx, 0x190
call fcn.0044bef0
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 0x410cda
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x410cd6
imul eax, dword [ebx]
jmp 0x410ccb
mov ecx, eax
test ecx, ecx
je 0x410cf9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x410cf2
push ebx
push eax
call fcn.004497b2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x410ce0
call fcn.004497b2
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, 0x45727a
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x410d1d
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.00402e3a
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 0x410fd4
mov ebx, dword [ebp - 0x28]
call fcn.00401948
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x410d5f
push 4
call fcn.004497b8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x410d72
push 1
call fcn.004497b8
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 0x410dad
mov eax, 0x45727a
push eax
push 4
mov ebx, 0x148
call fcn.0044b790
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x410e2c
mov ebx, dword [ebp - 0x28]
call fcn.00401948
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x410dea
push 4
call fcn.004497b8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x410dfd
push 1
call fcn.004497b8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push dword [ebp - 0x30]
call fcn.00404574
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 0x410e26
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.00401948
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x410e49
push 4
call fcn.004497b8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x410e5c
push 1
call fcn.004497b8
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 0x410e97
mov eax, 0x45727a
push eax
push 4
mov ebx, 0x148
call fcn.0044b790
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x410fcc
mov ebx, dword [ebp - 0x28]
call fcn.00401948
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x410ed4
push 4
call fcn.004497b8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x410ee7
push 1
call fcn.004497b8
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, 0x457822
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.004042b3
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x410f3a
push ebx
call fcn.004497b2
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x410f4a
push ebx
call fcn.004497b2
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x410f5d
mov eax, 0x45727a
push eax
push 1
mov ebx, 0x174
call fcn.0044ba20
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x410f83
push ebx
call fcn.004497b2
add esp, 4
push 0x457830
push dword [ebp - 0x48]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00402082
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x410fb0
push ebx
call fcn.004497b2
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x410fc6
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x410d34
add esp, 0xc
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x410fec
mov eax, 0x45727a
push eax
push 1
mov ebx, 0x130
call fcn.0044be90
add esp, 0x10
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fsub qword [0x45723f]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00401400
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x411039
mov eax, 0x45727a
push eax
push 2
mov ebx, 0x134
call fcn.0044b9c0
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 0x411065
push ebx
call fcn.004497b2
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 0x41109f
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.004050a5
mov ebx, eax
test ebx, ebx
je 0x41109f
push ebx
call fcn.004497b2
add esp, 4
push 0x45727a
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00402c9a
add esp, 8
cmp eax, 0
jne 0x4110f1
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x4110d8
push eax
mov ebx, eax
call fcn.00402017
inc eax
push eax
call fcn.004497ac
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 0x4110eb
push ebx
call fcn.004497b2
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, str._Moved
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.004042b3
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41113c
push ebx
call fcn.004497b2
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41114c
push ebx
call fcn.004497b2
add esp, 4
push 0x457844
push dword [ebp - 0x40]
call fcn.00402c9a
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 0x41117a
push ebx
call fcn.004497b2
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x411233
push dword [ebp + 8]
call fcn.00404e97
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
mov ebx, dword [ebp + 0x34]
push dword [ebx]
mov ecx, 2
call fcn.00402082
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4111b7
push ebx
call fcn.004497b2
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4111cb
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov eax, 0x45727a
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4111e7
push ebx
call fcn.004497b2
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.0040fe97
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
jmp 0x41138e
push VariantClear
push 0
push str.utf_8
push 1
mov ebx, 0x198
call fcn.0044b620
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 0x41126d
mov eax, 0x457237
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x411281
mov eax, 0x457237
push eax
push 3
mov ebx, 0x1ac
call fcn.0044eeb0
add esp, 0x28
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4112a7
push ebx
call fcn.004497b2
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x4112cb
cmp dword [ebp - 0x1c], 0x1f4
jge 0x4112cb
mov eax, 1
jmp 0x4112cd
xor eax, eax
test eax, eax
jne 0x41132c
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 0x411308
mov eax, 0x45727a
push eax
push 4
mov ebx, 0x148
call fcn.0044b790
add esp, 0x34
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
jne 0x41132c
xor eax, eax
jmp 0x411331
mov eax, 1
test eax, eax
je 0x41135d
lea eax, [ebp - 0x24]
push eax
call fcn.0041142b
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x411359
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x411370
mov eax, 0x457237
push eax
push 1
mov ebx, 0x168
call fcn.0044bb40
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
jmp 0x41138e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41139f
push ebx
call fcn.004497b2
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4113af
push ebx
call fcn.004497b2
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4113bf
push ebx
call fcn.004497b2
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4113cf
push ebx
call fcn.004497b2
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4113ed
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4113e9
imul eax, dword [ebx]
jmp 0x4113de
mov ecx, eax
test ecx, ecx
je 0x41140c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x411405
push ebx
push eax
call fcn.004497b2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4113f3
call fcn.004497b2
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x411424
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54