Function at 0x403125
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.0047183b
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x4c6c02
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 0x4031ad
mov eax, 0x4c6c47
jmp 0x4031b2
mov eax, 0x4c6c4c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4031c9
push ebx
call fcn.00471841
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 0x403200
mov eax, 0x4972d2
push eax
push 4
mov ebx, 0x148
call fcn.00473050
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x40330d
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x4c6c5c
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.00404585
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40326b
push ebx
call fcn.00471841
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40327b
push ebx
call fcn.00471841
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x40328e
mov eax, 0x4972d2
push eax
push 1
mov ebx, 0x174
call fcn.00473120
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4032b4
push ebx
call fcn.00471841
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4032c8
push ebx
call fcn.00471841
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x4972d2
push dword [ebp - 8]
call fcn.00401ef5
add esp, 8
cmp eax, 0
jne 0x403308
push dword [ebp + 0x2c]
call fcn.00404846
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403304
push ebx
call fcn.00471841
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x403327
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 0x403323
push ebx
call fcn.00471841
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x50], 0
jne 0x4033d3
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004731b0
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004731b0
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 0x4033a5
push 6
call fcn.00471847
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4033b8
push ebx
call fcn.00471841
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4033c8
push ebx
call fcn.00471841
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
jmp 0x403473
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
push 0x4c6cd9
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0x30], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x403400
mov eax, 0x4972d2
push eax
push 1
mov ebx, 0x168
call fcn.00472c30
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403426
push ebx
call fcn.00471841
add esp, 4
mov dword [ebp - 0x38], esp
push 0
push 0x4972d2
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 0x40345a
push 6
call fcn.00471847
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40346d
push ebx
call fcn.00471841
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4034a9
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 0x40349f
push 6
call fcn.00471847
add esp, 4
mov eax, 0x4c6c02
jmp 0x4044e0
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.0040498c
mov dword [ebp - 0x38], eax
push dword [ebp + 8]
call fcn.00404f35
mov dword [ebp - 0x3c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004731b0
add esp, 0x10
mov dword [ebp - 0x40], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004731b0
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 0x403556
push 6
call fcn.00471847
add esp, 4
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x403569
push ebx
call fcn.00471841
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x403579
push ebx
call fcn.00471841
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x403589
push ebx
call fcn.00471841
add esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4035e7
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 0x4035bb
push 6
call fcn.00471847
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 0x4035dd
push 6
call fcn.00471847
add esp, 4
mov eax, 0x4c6c02
jmp 0x4044e0
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push SysReAllocString
push 2
mov ebx, 0xc8
call fcn.004731d0
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 0x403659
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.004731d0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x3c], 0
je 0x40368e
push 0x80000301
push 0
push 0x200000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.004731d0
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 0x4036af
mov eax, 0x4972d2
push eax
push 2
mov ebx, 0x134
call fcn.00472920
add esp, 0x1c
mov dword [ebp - 0x30], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4036d8
mov eax, 0x4972d2
push eax
push 1
mov ebx, 0x154
call fcn.00472f00
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4036fe
push ebx
call fcn.00471841
add esp, 4
push str.https
push dword [ebp - 0x34]
call fcn.00401ef5
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 0x40372c
push ebx
call fcn.00471841
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x403766
push 0x80000301
push 0
push 0x800000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.004731d0
add esp, 0x1c
mov dword [ebp - 0x14], eax
jmp 0x403791
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.004731d0
add esp, 0x1c
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.00405169
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004731b0
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004731b0
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 0x4c6ce5
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 0x403819
push 6
call fcn.00471847
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40382c
push ebx
call fcn.00471841
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40383c
push ebx
call fcn.00471841
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40384c
push ebx
call fcn.00471841
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4038cc
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 0x40387e
push 6
call fcn.00471847
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 0x4038a0
push 6
call fcn.00471847
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 0x4038c2
push 6
call fcn.00471847
add esp, 4
mov eax, 0x4c6c02
jmp 0x4044e0
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4c6cee
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4038ff
mov eax, 0x4972d2
push eax
push 4
mov ebx, 0x148
call fcn.00473050
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x4039b0
push 0x4972d2
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401ef5
add esp, 8
cmp eax, 0
jne 0x403975
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ecx, 2
call fcn.0040106b
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 0x40396a
push ebx
call fcn.00471841
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
jmp 0x4039b0
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.0040106b
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 0x4039aa
push ebx
call fcn.00471841
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 0x4039e3
mov eax, 0x4972d2
push eax
push 4
mov ebx, 0x148
call fcn.00473050
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x403a39
push str._r_nAccept:__
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040106b
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 0x403a33
push ebx
call fcn.00471841
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 0x403a6c
mov eax, 0x4972d2
push eax
push 4
mov ebx, 0x148
call fcn.00473050
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x403ac2
push str._r_nAccept_Language:_zh_cn
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040106b
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 0x403abc
push ebx
call fcn.00471841
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 0x403af5
mov eax, 0x4972d2
push eax
push 4
mov ebx, 0x148
call fcn.00473050
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x403b4b
push str._r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040106b
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 0x403b45
push ebx
call fcn.00471841
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x4972d2
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401ef5
add esp, 8
cmp eax, 0
je 0x403ba1
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.0040106b
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 0x403b9b
push ebx
call fcn.00471841
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 0
jne 0x403c0f
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403bc0
mov eax, 0x4972d2
push eax
push 1
mov ebx, 0x130
call fcn.00472660
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0
push 0x4972d2
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 0x403c0a
push 6
call fcn.00471847
add esp, 4
jmp 0x403d29
mov eax, 0x4c6c02
xor ecx, ecx
test eax, eax
je 0x403c1d
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 0x403c30
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x403c47
dec eax
test ecx, ecx
je 0x403c47
call fcn.00403060
add esp, 0xc
test eax, eax
jne 0x403c99
push VariantClear
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x403c67
mov eax, 0x4972d2
push eax
push 1
mov ebx, 0x198
call fcn.00472250
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 0x403c93
push ebx
call fcn.00471841
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 0x403cae
mov eax, 0x4972d2
push eax
push 1
mov ebx, 0x130
call fcn.00472660
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 0x403cd9
mov eax, 0x4c6c02
push eax
push 1
mov ebx, 0x194
call fcn.00472ae0
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 0x403d01
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 0x403d29
push 6
call fcn.00471847
add esp, 4
mov dword [ebp - 0x1c], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.00472f80
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403d65
push ebx
call fcn.00471841
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 0x403d7f
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 0x403d9f
push 6
call fcn.00471847
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x403db3
jmp 0x403e29
push 0x80000301
push 0
push dword [ebp - 0x1c]
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x403dd0
mov eax, 0x4c6c02
push eax
push 2
mov ebx, 0x1a0
call fcn.004731f0
add esp, 0x1c
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00401f92
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403e0c
push ebx
call fcn.00471841
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x403e20
push ebx
call fcn.00471841
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
jmp 0x403d30
push 0x80000301
push 0
push 0x1388
push 1
mov ebx, 0x184
call fcn.00473220
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 0x403e60
push ebx
call fcn.00471841
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 0x403ea3
push 6
call fcn.00471847
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 0x403ec5
push 6
call fcn.00471847
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 0x403ee7
push 6
call fcn.00471847
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 0x403f09
push 6
call fcn.00471847
add esp, 4
push 0
push 0
push 0
push VariantClear
push 0
push 0x4c6c5c
push VariantClear
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x403f30
mov eax, 0x4972d2
push eax
push 3
mov ebx, 0x190
call fcn.00471ed0
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 0x403f68
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403f64
imul eax, dword [ebx]
jmp 0x403f59
mov ecx, eax
test ecx, ecx
je 0x403f87
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403f80
push ebx
push eax
call fcn.00471841
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403f6e
call fcn.00471841
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, 0x4972d2
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403fab
push ebx
call fcn.00471841
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.0040310c
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 0x404262
mov ebx, dword [ebp - 0x28]
call fcn.00401a09
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x403fed
push 4
call fcn.00471847
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x404000
push 1
call fcn.00471847
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 0x40403b
mov eax, 0x4972d2
push eax
push 4
mov ebx, 0x148
call fcn.00473050
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x4040ba
mov ebx, dword [ebp - 0x28]
call fcn.00401a09
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x404078
push 4
call fcn.00471847
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40408b
push 1
call fcn.00471847
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push dword [ebp - 0x30]
call fcn.00404846
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 0x4040b4
push ebx
call fcn.00471841
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.00401a09
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4040d7
push 4
call fcn.00471847
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4040ea
push 1
call fcn.00471847
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 0x404125
mov eax, 0x4972d2
push eax
push 4
mov ebx, 0x148
call fcn.00473050
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x40425a
mov ebx, dword [ebp - 0x28]
call fcn.00401a09
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x404162
push 4
call fcn.00471847
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x404175
push 1
call fcn.00471847
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, 0x4c6dad
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.00404585
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4041c8
push ebx
call fcn.00471841
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4041d8
push ebx
call fcn.00471841
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x4041eb
mov eax, 0x4972d2
push eax
push 1
mov ebx, 0x174
call fcn.00473120
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x404211
push ebx
call fcn.00471841
add esp, 4
push 0x4c6dbb
push dword [ebp - 0x48]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040106b
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40423e
push ebx
call fcn.00471841
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404254
push ebx
call fcn.00471841
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x403fc2
add esp, 0xc
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x40427a
mov eax, 0x4972d2
push eax
push 1
mov ebx, 0x130
call fcn.00472660
add esp, 0x10
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fsub qword [0x4c6c2f]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.004019e2
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4042c7
mov eax, 0x4972d2
push eax
push 2
mov ebx, 0x134
call fcn.00472920
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 0x4042f3
push ebx
call fcn.00471841
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 0x40432d
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00405377
mov ebx, eax
test ebx, ebx
je 0x40432d
push ebx
call fcn.00471841
add esp, 4
push 0x4972d2
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401ef5
add esp, 8
cmp eax, 0
jne 0x40437f
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x404366
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.0047183b
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 0x404379
push ebx
call fcn.00471841
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.00404585
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4043ca
push ebx
call fcn.00471841
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4043da
push ebx
call fcn.00471841
add esp, 4
push 0x4c6dcf
push dword [ebp - 0x40]
call fcn.00401ef5
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 0x404408
push ebx
call fcn.00471841
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x4044c1
push dword [ebp + 8]
call fcn.00405169
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
mov ebx, dword [ebp + 0x34]
push dword [ebx]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x404445
push ebx
call fcn.00471841
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404459
push ebx
call fcn.00471841
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov eax, 0x4972d2
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404475
push ebx
call fcn.00471841
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.00403125
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
jmp 0x4044e0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4044db
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0047183b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4044e0
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4044f1
push ebx
call fcn.00471841
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404501
push ebx
call fcn.00471841
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x404511
push ebx
call fcn.00471841
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x404521
push ebx
call fcn.00471841
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40453f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40453b
imul eax, dword [ebx]
jmp 0x404530
mov ecx, eax
test ecx, ecx
je 0x40455e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404557
push ebx
push eax
call fcn.00471841
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404545
call fcn.00471841
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404576
push ebx
call fcn.00471841
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54