Function at 0x409dc0
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.004a32b9
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x503e01
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 0x409e41
mov eax, str.POST
jmp 0x409e46
mov eax, 0x50672f
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x409e5d
push ebx
call fcn.004a32bf
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 reloc.WSOCK32.dll_connect
push 0
push str.User_Agent:
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x409e94
mov eax, 0x503d55
push eax
push 4
mov ebx, 0x148
call fcn.004a4540
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x409fa1
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, 0x50673f
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.00403abb
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x409eff
push ebx
call fcn.004a32bf
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x409f0f
push ebx
call fcn.004a32bf
add esp, 4
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x409f22
mov eax, 0x503d55
push eax
push 1
mov ebx, 0x174
call fcn.004a4fa0
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x409f48
push ebx
call fcn.004a32bf
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x409f5c
push ebx
call fcn.004a32bf
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x503d55
push dword [ebp - 8]
call fcn.004013ef
add esp, 8
cmp eax, 0
jne 0x409f9c
push dword [ebp + 0x2c]
call fcn.0040b0bf
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x409f98
push ebx
call fcn.004a32bf
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x409fbb
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 0x409fb7
push ebx
call fcn.004a32bf
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x50], 0
jne 0x40a067
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004a4d70
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004a4d70
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 0x40a039
push 6
call fcn.004a32c5
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40a04c
push ebx
call fcn.004a32bf
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40a05c
push ebx
call fcn.004a32bf
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
jmp 0x40a107
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
push str.http
mov ecx, 2
call fcn.00402b13
add esp, 8
mov dword [ebp - 0x2c], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40a094
mov eax, 0x503d55
push eax
push 1
mov ebx, 0x168
call fcn.004a4120
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40a0ba
push ebx
call fcn.004a32bf
add esp, 4
mov dword [ebp - 0x34], esp
push 0
push 0x503d55
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 0x40a0ee
push 6
call fcn.004a32c5
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40a101
push ebx
call fcn.004a32bf
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40a13d
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 0x40a133
push 6
call fcn.004a32c5
add esp, 4
mov eax, 0x503e01
jmp 0x40b032
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.0040b205
mov dword [ebp - 0x34], eax
push dword [ebp + 8]
call fcn.0040b7ae
mov dword [ebp - 0x38], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004a4d70
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004a4d70
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 0x40a1ea
push 6
call fcn.004a32c5
add esp, 4
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a1fd
push ebx
call fcn.004a32bf
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40a20d
push ebx
call fcn.004a32bf
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40a21d
push ebx
call fcn.004a32bf
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40a27b
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 0x40a24f
push 6
call fcn.004a32c5
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 0x40a271
push 6
call fcn.004a32c5
add esp, 4
mov eax, 0x503e01
jmp 0x40b032
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push SysReAllocString
push 2
mov ebx, 0xc8
call fcn.004a4610
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 0x40a2ed
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.004a4610
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x3c], 0
je 0x40a322
push 0x80000301
push 0
push 0x200000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.004a4610
add esp, 0x1c
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 5
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40a343
mov eax, 0x503d55
push eax
push 2
mov ebx, 0x134
call fcn.004a3f70
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40a36c
mov eax, 0x503d55
push eax
push 1
mov ebx, 0x154
call fcn.004a43f0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40a392
push ebx
call fcn.004a32bf
add esp, 4
push str.https
push dword [ebp - 0x30]
call fcn.004013ef
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 0x40a3c0
push ebx
call fcn.004a32bf
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x40a3fa
push 0x80000301
push 0
push 0x800000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.004a4610
add esp, 0x1c
mov dword [ebp - 0x14], eax
jmp 0x40a425
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.004a4610
add esp, 0x1c
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.0040b9e2
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004a4d70
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004a4d70
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 0x5067c8
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 0x40a4ad
push 6
call fcn.004a32c5
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40a4c0
push ebx
call fcn.004a32bf
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40a4d0
push ebx
call fcn.004a32bf
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a4e0
push ebx
call fcn.004a32bf
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40a560
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 0x40a512
push 6
call fcn.004a32c5
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 0x40a534
push 6
call fcn.004a32c5
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 0x40a556
push 6
call fcn.004a32c5
add esp, 4
mov eax, 0x503e01
jmp 0x40b032
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x5067d1
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40a593
mov eax, 0x503d55
push eax
push 4
mov ebx, 0x148
call fcn.004a4540
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x40a644
push 0x503d55
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.004013ef
add esp, 8
cmp eax, 0
jne 0x40a609
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ecx, 2
call fcn.00402b13
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 0x40a5fe
push ebx
call fcn.004a32bf
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
jmp 0x40a644
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.00402b13
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 0x40a63e
push ebx
call fcn.004a32bf
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 reloc.WSOCK32.dll_connect
push 0
push str.Accept:
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40a677
mov eax, 0x503d55
push eax
push 4
mov ebx, 0x148
call fcn.004a4540
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x40a6cd
push str._r_nAccept:__
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00402b13
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 0x40a6c7
push ebx
call fcn.004a32bf
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 reloc.WSOCK32.dll_connect
push 0
push str.Accept_Language:
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40a700
mov eax, 0x503d55
push eax
push 4
mov ebx, 0x148
call fcn.004a4540
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x40a756
push str._r_nAccept_Language:_zh_cn
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00402b13
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 0x40a750
push ebx
call fcn.004a32bf
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 reloc.WSOCK32.dll_connect
push 0
push 0x506830
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40a789
mov eax, 0x503d55
push eax
push 4
mov ebx, 0x148
call fcn.004a4540
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x40a7df
push str._r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00402b13
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 0x40a7d9
push ebx
call fcn.004a32bf
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x503d55
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.004013ef
add esp, 8
cmp eax, 0
je 0x40a835
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.00402b13
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 0x40a82f
push ebx
call fcn.004a32bf
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 0
jne 0x40a8a3
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40a854
mov eax, 0x503d55
push eax
push 1
mov ebx, 0x130
call fcn.004a3f50
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 0
push 0x503d55
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 0x40a89e
push 6
call fcn.004a32c5
add esp, 4
jmp 0x40a9bd
mov eax, 0x503e01
xor ecx, ecx
test eax, eax
je 0x40a8b1
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 0x40a8c4
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40a8db
dec eax
test ecx, ecx
je 0x40a8db
call fcn.0040833c
add esp, 0xc
test eax, eax
jne 0x40a92d
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x40a8fb
mov eax, 0x503d55
push eax
push 1
mov ebx, 0x198
call fcn.004a3d80
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 0x40a927
push ebx
call fcn.004a32bf
add esp, 4
pop eax
mov ebx, dword [ebp + 0x44]
mov dword [ebx], eax
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40a942
mov eax, 0x503d55
push eax
push 1
mov ebx, 0x130
call fcn.004a3f50
add esp, 0x10
mov dword [ebp - 0x2c], eax
push SysStringLen
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x40a96d
mov eax, 0x503e01
push eax
push 1
mov ebx, 0x194
call fcn.004a3fd0
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 0x40a995
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 0x40a9bd
push 6
call fcn.004a32c5
add esp, 4
mov dword [ebp - 0x1c], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.004a4470
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40a9f9
push ebx
call fcn.004a32bf
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 0x40aa13
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 0x40aa33
push 6
call fcn.004a32c5
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x40aa47
jmp 0x40aabd
push 0x80000301
push 0
push dword [ebp - 0x1c]
push SysStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40aa64
mov eax, 0x503e01
push eax
push 2
mov ebx, 0x1a0
call fcn.004a5030
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.004014d3
add esp, 8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40aaa0
push ebx
call fcn.004a32bf
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40aab4
push ebx
call fcn.004a32bf
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
jmp 0x40a9c4
push 0x80000301
push 0
push 0x1388
push 1
mov ebx, 0x184
call fcn.004a5060
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 0x40aaf4
push ebx
call fcn.004a32bf
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 0x40ab37
push 6
call fcn.004a32c5
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 0x40ab59
push 6
call fcn.004a32c5
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 0x40ab7b
push 6
call fcn.004a32c5
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 0x40ab9d
push 6
call fcn.004a32c5
add esp, 4
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x50673f
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x40abc4
mov eax, 0x503d55
push eax
push 3
mov ebx, 0x190
call fcn.004a4de0
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 0x40abfc
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40abf8
imul eax, dword [ebx]
jmp 0x40abed
mov ecx, eax
test ecx, ecx
je 0x40ac1b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40ac14
push ebx
push eax
call fcn.004a32bf
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40ac02
call fcn.004a32bf
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, 0x503d55
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40ac3f
push ebx
call fcn.004a32bf
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.00403fab
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 0x40aef6
mov ebx, dword [ebp - 0x28]
call fcn.004014b3
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40ac81
push 4
call fcn.004a32c5
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ac94
push 1
call fcn.004a32c5
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 reloc.WSOCK32.dll_connect
push 0
push 0x50687b
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40accf
mov eax, 0x503d55
push eax
push 4
mov ebx, 0x148
call fcn.004a4540
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x40ad4e
mov ebx, dword [ebp - 0x28]
call fcn.004014b3
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40ad0c
push 4
call fcn.004a32c5
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ad1f
push 1
call fcn.004a32c5
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push dword [ebp - 0x2c]
call fcn.0040b0bf
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 0x40ad48
push ebx
call fcn.004a32bf
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.004014b3
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40ad6b
push 4
call fcn.004a32c5
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ad7e
push 1
call fcn.004a32c5
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 reloc.WSOCK32.dll_connect
push 0
push str.Set_Cookie
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40adb9
mov eax, 0x503d55
push eax
push 4
mov ebx, 0x148
call fcn.004a4540
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x40aeee
mov ebx, dword [ebp - 0x28]
call fcn.004014b3
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40adf6
push 4
call fcn.004a32c5
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ae09
push 1
call fcn.004a32c5
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, 0x506890
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0x506892
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x2c]
call fcn.00403abb
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40ae5c
push ebx
call fcn.004a32bf
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40ae6c
push ebx
call fcn.004a32bf
add esp, 4
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x40ae7f
mov eax, 0x503d55
push eax
push 1
mov ebx, 0x174
call fcn.004a4fa0
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40aea5
push ebx
call fcn.004a32bf
add esp, 4
push 0x50689e
push dword [ebp - 0x44]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00402b13
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40aed2
push ebx
call fcn.004a32bf
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40aee8
push ebx
call fcn.004a32bf
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x40ac56
add esp, 0xc
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x40af0e
mov eax, 0x503d55
push eax
push 1
mov ebx, 0x130
call fcn.004a3f50
add esp, 0x10
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x503e1a]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.0040148c
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x40af5b
mov eax, 0x503d55
push eax
push 2
mov ebx, 0x134
call fcn.004a3f70
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 0x40af87
push ebx
call fcn.004a32bf
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 0x40afc1
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.0040bbf0
mov ebx, eax
test ebx, ebx
je 0x40afc1
push ebx
call fcn.004a32bf
add esp, 4
push 0x503d55
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.004013ef
add esp, 8
cmp eax, 0
jne 0x40b013
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x40affa
push eax
mov ebx, eax
call fcn.004018e0
inc eax
push eax
call fcn.004a32b9
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 0x40b00d
push ebx
call fcn.004a32bf
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40b02d
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004a32b9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40b032
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b043
push ebx
call fcn.004a32bf
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40b053
push ebx
call fcn.004a32bf
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b063
push ebx
call fcn.004a32bf
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b073
push ebx
call fcn.004a32bf
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40b091
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b08d
imul eax, dword [ebx]
jmp 0x40b082
mov ecx, eax
test ecx, ecx
je 0x40b0b0
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b0a9
push ebx
push eax
call fcn.004a32bf
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b097
call fcn.004a32bf
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54