Function at 0x40a74d
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.00443b71
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x44d27d
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 0x40a7d5
mov eax, str.POST
jmp 0x40a7da
mov eax, 0x44d368
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40a7f1
push ebx
call fcn.00443b77
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 0x40a828
mov eax, 0x44d226
push eax
push 4
mov ebx, 0x148
call fcn.004459d0
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x40a935
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x44d378
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.00405314
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40a893
push ebx
call fcn.00443b77
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40a8a3
push ebx
call fcn.00443b77
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x40a8b6
mov eax, 0x44d226
push eax
push 1
mov ebx, 0x174
call fcn.00446690
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40a8dc
push ebx
call fcn.00443b77
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a8f0
push ebx
call fcn.00443b77
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x44d226
push dword [ebp - 8]
call fcn.00401635
add esp, 8
cmp eax, 0
jne 0x40a930
push dword [ebp + 0x2c]
call fcn.004055d5
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a92c
push ebx
call fcn.00443b77
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40a94f
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 0x40a94b
push ebx
call fcn.00443b77
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x50], 0
jne 0x40a9fb
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00446720
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00446720
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 0x40a9cd
push 6
call fcn.00443b7d
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40a9e0
push ebx
call fcn.00443b77
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a9f0
push ebx
call fcn.00443b77
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
jmp 0x40aa9b
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
push str.http
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x30], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40aa28
mov eax, 0x44d226
push eax
push 1
mov ebx, 0x168
call fcn.00445c70
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40aa4e
push ebx
call fcn.00443b77
add esp, 4
mov dword [ebp - 0x38], esp
push 0
push 0x44d226
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 0x40aa82
push 6
call fcn.00443b7d
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40aa95
push ebx
call fcn.00443b77
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40aad1
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 0x40aac7
push 6
call fcn.00443b7d
add esp, 4
mov eax, 0x44d226
jmp 0x40bc44
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.0040571b
mov dword [ebp - 0x38], eax
push dword [ebp + 8]
call fcn.00405cc4
mov dword [ebp - 0x3c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00446720
add esp, 0x10
mov dword [ebp - 0x40], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00446720
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 0x40ab7e
push 6
call fcn.00443b7d
add esp, 4
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40ab91
push ebx
call fcn.00443b77
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40aba1
push ebx
call fcn.00443b77
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40abb1
push ebx
call fcn.00443b77
add esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40ac0f
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 0x40abe3
push 6
call fcn.00443b7d
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 0x40ac05
push 6
call fcn.00443b7d
add esp, 4
mov eax, 0x44d226
jmp 0x40bc44
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push SysReAllocString
push 2
mov ebx, 0xc8
call fcn.00446740
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 0x40ac81
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.00446740
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x3c], 0
je 0x40acb6
push 0x80000301
push 0
push 0x200000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.00446740
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 0x40acd7
mov eax, 0x44d226
push eax
push 2
mov ebx, 0x134
call fcn.00445ba0
add esp, 0x1c
mov dword [ebp - 0x30], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40ad00
mov eax, 0x44d226
push eax
push 1
mov ebx, 0x154
call fcn.00446180
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ad26
push ebx
call fcn.00443b77
add esp, 4
push str.https
push dword [ebp - 0x34]
call fcn.00401635
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 0x40ad54
push ebx
call fcn.00443b77
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x40ad8e
push 0x80000301
push 0
push 0x800000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.00446740
add esp, 0x1c
mov dword [ebp - 0x14], eax
jmp 0x40adb9
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.00446740
add esp, 0x1c
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.00405ef8
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00446720
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00446720
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 0x44d401
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 0x40ae41
push 6
call fcn.00443b7d
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ae54
push ebx
call fcn.00443b77
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40ae64
push ebx
call fcn.00443b77
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40ae74
push ebx
call fcn.00443b77
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40aef4
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 0x40aea6
push 6
call fcn.00443b7d
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 0x40aec8
push 6
call fcn.00443b7d
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 0x40aeea
push 6
call fcn.00443b7d
add esp, 4
mov eax, 0x44d226
jmp 0x40bc44
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x44d40a
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40af27
mov eax, 0x44d226
push eax
push 4
mov ebx, 0x148
call fcn.004459d0
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x40afd8
push 0x44d226
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401635
add esp, 8
cmp eax, 0
jne 0x40af9d
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ecx, 2
call fcn.0040107b
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 0x40af92
push ebx
call fcn.00443b77
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
jmp 0x40afd8
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.0040107b
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 0x40afd2
push ebx
call fcn.00443b77
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 0x40b00b
mov eax, 0x44d226
push eax
push 4
mov ebx, 0x148
call fcn.004459d0
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x40b061
push str._r_nAccept:__
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040107b
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 0x40b05b
push ebx
call fcn.00443b77
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 0x40b094
mov eax, 0x44d226
push eax
push 4
mov ebx, 0x148
call fcn.004459d0
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x40b0ea
push str._r_nAccept_Language:_zh_cn
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040107b
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 0x40b0e4
push ebx
call fcn.00443b77
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 0x40b11d
mov eax, 0x44d226
push eax
push 4
mov ebx, 0x148
call fcn.004459d0
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x40b173
push str._r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040107b
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 0x40b16d
push ebx
call fcn.00443b77
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x44d226
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401635
add esp, 8
cmp eax, 0
je 0x40b1c9
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.0040107b
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 0x40b1c3
push ebx
call fcn.00443b77
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 0
jne 0x40b237
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40b1e8
mov eax, 0x44d226
push eax
push 1
mov ebx, 0x130
call fcn.004460f0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0
push 0x44d226
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 0x40b232
push 6
call fcn.00443b7d
add esp, 4
jmp 0x40b351
mov eax, 0x44d27d
xor ecx, ecx
test eax, eax
je 0x40b245
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 0x40b258
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40b26f
dec eax
test ecx, ecx
je 0x40b26f
call fcn.00403db1
add esp, 0xc
test eax, eax
jne 0x40b2c1
push VariantClear
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x40b28f
mov eax, 0x44d226
push eax
push 1
mov ebx, 0x198
call fcn.00445800
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 0x40b2bb
push ebx
call fcn.00443b77
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 0x40b2d6
mov eax, 0x44d226
push eax
push 1
mov ebx, 0x130
call fcn.004460f0
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 0x40b301
mov eax, 0x44d27d
push eax
push 1
mov ebx, 0x194
call fcn.00446760
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 0x40b329
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 0x40b351
push 6
call fcn.00443b7d
add esp, 4
mov dword [ebp - 0x1c], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.00446770
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b38d
push ebx
call fcn.00443b77
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 0x40b3a7
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 0x40b3c7
push 6
call fcn.00443b7d
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x40b3db
jmp 0x40b451
push 0x80000301
push 0
push dword [ebp - 0x1c]
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40b3f8
mov eax, 0x44d27d
push eax
push 2
mov ebx, 0x1a0
call fcn.004467a0
add esp, 0x1c
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00403e5d
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40b434
push ebx
call fcn.00443b77
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b448
push ebx
call fcn.00443b77
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
jmp 0x40b358
push 0x80000301
push 0
push 0x1388
push 1
mov ebx, 0x184
call fcn.00445ab0
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 0x40b488
push ebx
call fcn.00443b77
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 0x40b4cb
push 6
call fcn.00443b7d
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 0x40b4ed
push 6
call fcn.00443b7d
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 0x40b50f
push 6
call fcn.00443b7d
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 0x40b531
push 6
call fcn.00443b7d
add esp, 4
push 0
push 0
push 0
push VariantClear
push 0
push 0x44d378
push VariantClear
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x40b558
mov eax, 0x44d226
push eax
push 3
mov ebx, 0x190
call fcn.004467d0
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 0x40b590
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b58c
imul eax, dword [ebx]
jmp 0x40b581
mov ecx, eax
test ecx, ecx
je 0x40b5af
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b5a8
push ebx
push eax
call fcn.00443b77
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b596
call fcn.00443b77
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, 0x44d226
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b5d3
push ebx
call fcn.00443b77
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.00402ef1
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 0x40b88a
mov ebx, dword [ebp - 0x28]
call fcn.00402ed1
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40b615
push 4
call fcn.00443b7d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b628
push 1
call fcn.00443b7d
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 0x40b663
mov eax, 0x44d226
push eax
push 4
mov ebx, 0x148
call fcn.004459d0
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x40b6e2
mov ebx, dword [ebp - 0x28]
call fcn.00402ed1
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40b6a0
push 4
call fcn.00443b7d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b6b3
push 1
call fcn.00443b7d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push dword [ebp - 0x30]
call fcn.004055d5
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 0x40b6dc
push ebx
call fcn.00443b77
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.00402ed1
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40b6ff
push 4
call fcn.00443b7d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b712
push 1
call fcn.00443b7d
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 0x40b74d
mov eax, 0x44d226
push eax
push 4
mov ebx, 0x148
call fcn.004459d0
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x40b882
mov ebx, dword [ebp - 0x28]
call fcn.00402ed1
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40b78a
push 4
call fcn.00443b7d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b79d
push 1
call fcn.00443b7d
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, 0x44d4c9
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.00405314
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40b7f0
push ebx
call fcn.00443b77
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40b800
push ebx
call fcn.00443b77
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x40b813
mov eax, 0x44d226
push eax
push 1
mov ebx, 0x174
call fcn.00446690
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40b839
push ebx
call fcn.00443b77
add esp, 4
push 0x44d4d7
push dword [ebp - 0x48]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040107b
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40b866
push ebx
call fcn.00443b77
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b87c
push ebx
call fcn.00443b77
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x40b5ea
add esp, 0xc
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x40b8a2
mov eax, 0x44d226
push eax
push 1
mov ebx, 0x130
call fcn.004460f0
add esp, 0x10
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fsub qword [0x44d4da]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.004016d2
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x40b8ef
mov eax, 0x44d226
push eax
push 2
mov ebx, 0x134
call fcn.00445ba0
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 0x40b91b
push ebx
call fcn.00443b77
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 0x40b955
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00406106
mov ebx, eax
test ebx, ebx
je 0x40b955
push ebx
call fcn.00443b77
add esp, 4
push 0x44d226
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401635
add esp, 8
cmp eax, 0
jne 0x40b9a7
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x40b98e
push eax
mov ebx, eax
call fcn.00401010
inc eax
push eax
call fcn.00443b71
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 0x40b9a1
push ebx
call fcn.00443b77
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, 0x44d4e2
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.00405314
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40b9f2
push ebx
call fcn.00443b77
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40ba02
push ebx
call fcn.00443b77
add esp, 4
push 0x44d4f3
push dword [ebp - 0x40]
call fcn.00401635
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 0x40ba30
push ebx
call fcn.00443b77
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x40bae9
push dword [ebp + 8]
call fcn.00405ef8
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
mov ebx, dword [ebp + 0x34]
push dword [ebx]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ba6d
push ebx
call fcn.00443b77
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40ba81
push ebx
call fcn.00443b77
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov eax, 0x44d226
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40ba9d
push ebx
call fcn.00443b77
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.0040a74d
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
jmp 0x40bc44
push VariantClear
push 0
push str.utf_8
push 1
mov ebx, 0x198
call fcn.00445800
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 0x40bb23
mov eax, 0x44d27d
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40bb37
mov eax, 0x44d27d
push eax
push 3
mov ebx, 0x1ac
call fcn.004472a0
add esp, 0x28
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40bb5d
push ebx
call fcn.00443b77
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x40bb81
cmp dword [ebp - 0x1c], 0x1f4
jge 0x40bb81
mov eax, 1
jmp 0x40bb83
xor eax, eax
test eax, eax
jne 0x40bbe2
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 0x40bbbe
mov eax, 0x44d226
push eax
push 4
mov ebx, 0x148
call fcn.004459d0
add esp, 0x34
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
jne 0x40bbe2
xor eax, eax
jmp 0x40bbe7
mov eax, 1
test eax, eax
je 0x40bc13
lea eax, [ebp - 0x24]
push eax
call fcn.0040bce1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40bc0f
push ebx
call fcn.00443b77
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40bc26
mov eax, 0x44d27d
push eax
push 1
mov ebx, 0x168
call fcn.00445c70
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
jmp 0x40bc44
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40bc55
push ebx
call fcn.00443b77
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40bc65
push ebx
call fcn.00443b77
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40bc75
push ebx
call fcn.00443b77
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40bc85
push ebx
call fcn.00443b77
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40bca3
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40bc9f
imul eax, dword [ebx]
jmp 0x40bc94
mov ecx, eax
test ecx, ecx
je 0x40bcc2
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40bcbb
push ebx
push eax
call fcn.00443b77
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40bca9
call fcn.00443b77
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40bcda
push ebx
call fcn.00443b77
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54