Function at 0x4041cb
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.0049c54d
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x506456
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 0x40424c
mov eax, str.POST
jmp 0x404251
mov eax, 0x5068c5
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404268
push ebx
call fcn.0049c553
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 0x40429f
mov eax, 0x5064d3
push eax
push 4
mov ebx, 0x148
call fcn.0049df40
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x4043ac
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, 0x5068d5
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.00403cd0
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40430a
push ebx
call fcn.0049c553
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40431a
push ebx
call fcn.0049c553
add esp, 4
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x40432d
mov eax, 0x5064d3
push eax
push 1
mov ebx, 0x174
call fcn.0049e920
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x404353
push ebx
call fcn.0049c553
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404367
push ebx
call fcn.0049c553
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x5064d3
push dword [ebp - 8]
call fcn.0040193b
add esp, 8
cmp eax, 0
jne 0x4043a7
push dword [ebp + 0x2c]
call fcn.004054ca
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4043a3
push ebx
call fcn.0049c553
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x4043c6
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 0x4043c2
push ebx
call fcn.0049c553
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x50], 0
jne 0x404472
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0049e9b0
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0049e9b0
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 0x404444
push 6
call fcn.0049c559
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404457
push ebx
call fcn.0049c553
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x404467
push ebx
call fcn.0049c553
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
jmp 0x404512
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
push str.http
mov ecx, 2
call fcn.00402d3d
add esp, 8
mov dword [ebp - 0x2c], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40449f
mov eax, 0x5064d3
push eax
push 1
mov ebx, 0x168
call fcn.0049db20
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4044c5
push ebx
call fcn.0049c553
add esp, 4
mov dword [ebp - 0x34], esp
push 0
push 0x5064d3
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 0x4044f9
push 6
call fcn.0049c559
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40450c
push ebx
call fcn.0049c553
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x404548
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 0x40453e
push 6
call fcn.0049c559
add esp, 4
mov eax, 0x506456
jmp 0x40543d
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.00405610
mov dword [ebp - 0x34], eax
push dword [ebp + 8]
call fcn.00405bb9
mov dword [ebp - 0x38], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0049e9b0
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0049e9b0
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 0x4045f5
push 6
call fcn.0049c559
add esp, 4
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x404608
push ebx
call fcn.0049c553
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x404618
push ebx
call fcn.0049c553
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x404628
push ebx
call fcn.0049c553
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x404686
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 0x40465a
push 6
call fcn.0049c559
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 0x40467c
push 6
call fcn.0049c559
add esp, 4
mov eax, 0x506456
jmp 0x40543d
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push bind
push 2
mov ebx, 0xc8
call fcn.0049e9d0
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 0x4046f8
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0049e9d0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x3c], 0
je 0x40472d
push 0x80000301
push 0
push 0x200000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0049e9d0
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 0x40474e
mov eax, 0x5064d3
push eax
push 2
mov ebx, 0x134
call fcn.0049d970
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x404777
mov eax, 0x5064d3
push eax
push 1
mov ebx, 0x154
call fcn.0049ddf0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40479d
push ebx
call fcn.0049c553
add esp, 4
push str.https
push dword [ebp - 0x30]
call fcn.0040193b
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 0x4047cb
push ebx
call fcn.0049c553
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x404805
push 0x80000301
push 0
push 0x800000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0049e9d0
add esp, 0x1c
mov dword [ebp - 0x14], eax
jmp 0x404830
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0049e9d0
add esp, 0x1c
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.00405ded
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0049e9b0
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0049e9b0
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 0x50695e
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 0x4048b8
push 6
call fcn.0049c559
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4048cb
push ebx
call fcn.0049c553
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4048db
push ebx
call fcn.0049c553
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4048eb
push ebx
call fcn.0049c553
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40496b
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 0x40491d
push 6
call fcn.0049c559
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 0x40493f
push 6
call fcn.0049c559
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 0x404961
push 6
call fcn.0049c559
add esp, 4
mov eax, 0x506456
jmp 0x40543d
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x506967
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40499e
mov eax, 0x5064d3
push eax
push 4
mov ebx, 0x148
call fcn.0049df40
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x404a4f
push 0x5064d3
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.0040193b
add esp, 8
cmp eax, 0
jne 0x404a14
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ecx, 2
call fcn.00402d3d
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 0x404a09
push ebx
call fcn.0049c553
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
jmp 0x404a4f
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.00402d3d
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 0x404a49
push ebx
call fcn.0049c553
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 0x404a82
mov eax, 0x5064d3
push eax
push 4
mov ebx, 0x148
call fcn.0049df40
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x404ad8
push str._r_nAccept:__
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00402d3d
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 0x404ad2
push ebx
call fcn.0049c553
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 0x404b0b
mov eax, 0x5064d3
push eax
push 4
mov ebx, 0x148
call fcn.0049df40
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x404b61
push str._r_nAccept_Language:_zh_cn
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00402d3d
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 0x404b5b
push ebx
call fcn.0049c553
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 0x5069c6
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404b94
mov eax, 0x5064d3
push eax
push 4
mov ebx, 0x148
call fcn.0049df40
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x404bea
push str._r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00402d3d
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 0x404be4
push ebx
call fcn.0049c553
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x5064d3
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.0040193b
add esp, 8
cmp eax, 0
je 0x404c40
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.00402d3d
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 0x404c3a
push ebx
call fcn.0049c553
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 0
jne 0x404cae
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404c5f
mov eax, 0x5064d3
push eax
push 1
mov ebx, 0x130
call fcn.0049d950
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 0
push 0x5064d3
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 0x404ca9
push 6
call fcn.0049c559
add esp, 4
jmp 0x404dc8
mov eax, 0x506456
xor ecx, ecx
test eax, eax
je 0x404cbc
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 0x404ccf
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x404ce6
dec eax
test ecx, ecx
je 0x404ce6
call fcn.00404106
add esp, 0xc
test eax, eax
jne 0x404d38
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x404d06
mov eax, 0x5064d3
push eax
push 1
mov ebx, 0x198
call fcn.0049d780
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 0x404d32
push ebx
call fcn.0049c553
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 0x404d4d
mov eax, 0x5064d3
push eax
push 1
mov ebx, 0x130
call fcn.0049d950
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 0x404d78
mov eax, 0x506456
push eax
push 1
mov ebx, 0x194
call fcn.0049d9d0
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 0x404da0
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 0x404dc8
push 6
call fcn.0049c559
add esp, 4
mov dword [ebp - 0x1c], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.0049de70
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x404e04
push ebx
call fcn.0049c553
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 0x404e1e
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 0x404e3e
push 6
call fcn.0049c559
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x404e52
jmp 0x404ec8
push 0x80000301
push 0
push dword [ebp - 0x1c]
push SysStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x404e6f
mov eax, 0x506456
push eax
push 2
mov ebx, 0x1a0
call fcn.0049e9f0
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.004019d8
add esp, 8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404eab
push ebx
call fcn.0049c553
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x404ebf
push ebx
call fcn.0049c553
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
jmp 0x404dcf
push 0x80000301
push 0
push 0x1388
push 1
mov ebx, 0x184
call fcn.0049ea20
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 0x404eff
push ebx
call fcn.0049c553
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 0x404f42
push 6
call fcn.0049c559
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 0x404f64
push 6
call fcn.0049c559
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 0x404f86
push 6
call fcn.0049c559
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 0x404fa8
push 6
call fcn.0049c559
add esp, 4
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x5068d5
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x404fcf
mov eax, 0x5064d3
push eax
push 3
mov ebx, 0x190
call fcn.0049ea60
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 0x405007
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405003
imul eax, dword [ebx]
jmp 0x404ff8
mov ecx, eax
test ecx, ecx
je 0x405026
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40501f
push ebx
push eax
call fcn.0049c553
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40500d
call fcn.0049c553
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, 0x5064d3
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40504a
push ebx
call fcn.0049c553
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.004041b2
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 0x405301
mov ebx, dword [ebp - 0x28]
call fcn.00401147
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40508c
push 4
call fcn.0049c559
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40509f
push 1
call fcn.0049c559
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 0x506a11
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4050da
mov eax, 0x5064d3
push eax
push 4
mov ebx, 0x148
call fcn.0049df40
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x405159
mov ebx, dword [ebp - 0x28]
call fcn.00401147
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x405117
push 4
call fcn.0049c559
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40512a
push 1
call fcn.0049c559
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push dword [ebp - 0x2c]
call fcn.004054ca
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 0x405153
push ebx
call fcn.0049c553
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.00401147
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x405176
push 4
call fcn.0049c559
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405189
push 1
call fcn.0049c559
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 0x4051c4
mov eax, 0x5064d3
push eax
push 4
mov ebx, 0x148
call fcn.0049df40
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x4052f9
mov ebx, dword [ebp - 0x28]
call fcn.00401147
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x405201
push 4
call fcn.0049c559
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405214
push 1
call fcn.0049c559
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, 0x506a26
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0x506a28
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x2c]
call fcn.00403cd0
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x405267
push ebx
call fcn.0049c553
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x405277
push ebx
call fcn.0049c553
add esp, 4
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x40528a
mov eax, 0x5064d3
push eax
push 1
mov ebx, 0x174
call fcn.0049e920
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4052b0
push ebx
call fcn.0049c553
add esp, 4
push 0x506a34
push dword [ebp - 0x44]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00402d3d
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4052dd
push ebx
call fcn.0049c553
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4052f3
push ebx
call fcn.0049c553
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x405061
add esp, 0xc
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x405319
mov eax, 0x5064d3
push eax
push 1
mov ebx, 0x130
call fcn.0049d950
add esp, 0x10
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x506576]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.004012f0
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 0x405366
mov eax, 0x5064d3
push eax
push 2
mov ebx, 0x134
call fcn.0049d970
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 0x405392
push ebx
call fcn.0049c553
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 0x4053cc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00405ffb
mov ebx, eax
test ebx, ebx
je 0x4053cc
push ebx
call fcn.0049c553
add esp, 4
push 0x5064d3
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.0040193b
add esp, 8
cmp eax, 0
jne 0x40541e
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x405405
push eax
mov ebx, eax
call fcn.00401de5
inc eax
push eax
call fcn.0049c54d
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 0x405418
push ebx
call fcn.0049c553
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x405438
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0049c54d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40543d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40544e
push ebx
call fcn.0049c553
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40545e
push ebx
call fcn.0049c553
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40546e
push ebx
call fcn.0049c553
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40547e
push ebx
call fcn.0049c553
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40549c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405498
imul eax, dword [ebx]
jmp 0x40548d
mov ecx, eax
test ecx, ecx
je 0x4054bb
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4054b4
push ebx
push eax
call fcn.0049c553
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4054a2
call fcn.0049c553
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54