Function at 0x4038be
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.0051a4ad
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x53c34a
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 0x40393f
mov eax, str.POST
jmp 0x403944
mov eax, 0x55f8a0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40395b
push ebx
call fcn.0051a4b3
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000002
push 0
push 1
push 0
push 0
push 0
push 0x80000004
push 0
push str.User_Agent:
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403992
mov eax, 0x53c3bb
push eax
push 4
mov ebx, 0x148
call fcn.0051b380
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x403a9f
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, 0x55f8b0
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.00404bc5
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4039fd
push ebx
call fcn.0051a4b3
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x403a0d
push ebx
call fcn.0051a4b3
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x403a20
mov eax, 0x53c3bb
push eax
push 1
mov ebx, 0x174
call fcn.0051b450
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x403a46
push ebx
call fcn.0051a4b3
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403a5a
push ebx
call fcn.0051a4b3
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x53c3bb
push dword [ebp - 8]
call fcn.00401000
add esp, 8
cmp eax, 0
jne 0x403a9a
push dword [ebp + 0x2c]
call fcn.00404e86
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403a96
push ebx
call fcn.0051a4b3
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x403ab9
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 0x403ab5
push ebx
call fcn.0051a4b3
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x50], 0
jne 0x403b65
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0051b4e0
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0051b4e0
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 0x403b37
push 6
call fcn.0051a4b9
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403b4a
push ebx
call fcn.0051a4b3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403b5a
push ebx
call fcn.0051a4b3
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
jmp 0x403c05
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
push str.http
mov ecx, 2
call fcn.004012c5
add esp, 8
mov dword [ebp - 0x2c], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x403b92
mov eax, 0x53c3bb
push eax
push 1
mov ebx, 0x168
call fcn.0051a9e0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403bb8
push ebx
call fcn.0051a4b3
add esp, 4
mov dword [ebp - 0x34], esp
push 0
push 0x53c3bb
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 0x403bec
push 6
call fcn.0051a4b9
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403bff
push ebx
call fcn.0051a4b3
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x403c3b
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 0x403c31
push 6
call fcn.0051a4b9
add esp, 4
mov eax, 0x53c34a
jmp 0x404b30
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.00404fcc
mov dword [ebp - 0x34], eax
push dword [ebp + 8]
call fcn.00405575
mov dword [ebp - 0x38], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0051b4e0
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0051b4e0
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 0x403ce8
push 6
call fcn.0051a4b9
add esp, 4
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x403cfb
push ebx
call fcn.0051a4b3
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x403d0b
push ebx
call fcn.0051a4b3
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x403d1b
push ebx
call fcn.0051a4b3
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x403d79
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 0x403d4d
push 6
call fcn.0051a4b9
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 0x403d6f
push 6
call fcn.0051a4b9
add esp, 4
mov eax, 0x53c34a
jmp 0x404b30
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push 0x80000000
push 2
mov ebx, 0xc8
call fcn.0051b500
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 0x403deb
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0051b500
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x3c], 0
je 0x403e20
push 0x80000301
push 0
push 0x200000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0051b500
add esp, 0x1c
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 5
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x403e41
mov eax, 0x53c3bb
push eax
push 2
mov ebx, 0x134
call fcn.0051b520
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x403e6a
mov eax, 0x53c3bb
push eax
push 1
mov ebx, 0x154
call fcn.0051b300
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403e90
push ebx
call fcn.0051a4b3
add esp, 4
push str.https
push dword [ebp - 0x30]
call fcn.00401000
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 0x403ebe
push ebx
call fcn.0051a4b3
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x403ef8
push 0x80000301
push 0
push 0x800000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0051b500
add esp, 0x1c
mov dword [ebp - 0x14], eax
jmp 0x403f23
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0051b500
add esp, 0x1c
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.004057a9
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0051b4e0
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0051b4e0
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 str.HTTP_1.1
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 0x403fab
push 6
call fcn.0051a4b9
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403fbe
push ebx
call fcn.0051a4b3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403fce
push ebx
call fcn.0051a4b3
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x403fde
push ebx
call fcn.0051a4b3
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40405e
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 0x404010
push 6
call fcn.0051a4b9
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 0x404032
push 6
call fcn.0051a4b9
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 0x404054
push 6
call fcn.0051a4b9
add esp, 4
mov eax, 0x53c34a
jmp 0x404b30
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x55f942
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404091
mov eax, 0x53c3bb
push eax
push 4
mov ebx, 0x148
call fcn.0051b380
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x404142
push 0x53c3bb
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401000
add esp, 8
cmp eax, 0
jne 0x404107
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ecx, 2
call fcn.004012c5
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 0x4040fc
push ebx
call fcn.0051a4b3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
jmp 0x404142
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.004012c5
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 0x40413c
push ebx
call fcn.0051a4b3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push str.Accept:
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404175
mov eax, 0x53c3bb
push eax
push 4
mov ebx, 0x148
call fcn.0051b380
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x4041cb
push str._r_nAccept:__
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.004012c5
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 0x4041c5
push ebx
call fcn.0051a4b3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push str.Accept_Language:
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4041fe
mov eax, 0x53c3bb
push eax
push 4
mov ebx, 0x148
call fcn.0051b380
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x404254
push str._r_nAccept_Language:_zh_cn
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.004012c5
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 0x40424e
push ebx
call fcn.0051a4b3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push str.Content_Type:
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404287
mov eax, 0x53c3bb
push eax
push 4
mov ebx, 0x148
call fcn.0051b380
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x4042dd
push str._r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.004012c5
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 0x4042d7
push ebx
call fcn.0051a4b3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x53c3bb
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401000
add esp, 8
cmp eax, 0
je 0x404333
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.004012c5
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 0x40432d
push ebx
call fcn.0051a4b3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 0
jne 0x4043a1
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404352
mov eax, 0x53c3bb
push eax
push 1
mov ebx, 0x130
call fcn.0051b580
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 0
push 0x53c3bb
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 0x40439c
push 6
call fcn.0051a4b9
add esp, 4
jmp 0x4044bb
mov eax, 0x53c34a
xor ecx, ecx
test eax, eax
je 0x4043af
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 0x4043c2
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4043d9
dec eax
test ecx, ecx
je 0x4043d9
call fcn.00403782
add esp, 0xc
test eax, eax
jne 0x40442b
push 0x80000004
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x4043f9
mov eax, 0x53c3bb
push eax
push 1
mov ebx, 0x198
call fcn.0051aeb0
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 0x404425
push ebx
call fcn.0051a4b3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x44]
mov dword [ebx], eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404440
mov eax, 0x53c3bb
push eax
push 1
mov ebx, 0x130
call fcn.0051b580
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000005
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x40446b
mov eax, 0x53c34a
push eax
push 1
mov ebx, 0x194
call fcn.0051afa0
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 0x404493
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 0x4044bb
push 6
call fcn.0051a4b9
add esp, 4
mov dword [ebp - 0x1c], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.0051b5a0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4044f7
push ebx
call fcn.0051a4b3
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 0x404511
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 0x404531
push 6
call fcn.0051a4b9
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x404545
jmp 0x4045bb
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 0x80000005
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x404562
mov eax, 0x53c34a
push eax
push 2
mov ebx, 0x1a0
call fcn.0051b5d0
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.0040382e
add esp, 8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40459e
push ebx
call fcn.0051a4b3
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4045b2
push ebx
call fcn.0051a4b3
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
jmp 0x4044c2
push 0x80000301
push 0
push 0x1388
push 1
mov ebx, 0x184
call fcn.0051b600
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 0x4045f2
push ebx
call fcn.0051a4b3
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 0x404635
push 6
call fcn.0051a4b9
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 0x404657
push 6
call fcn.0051a4b9
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 0x404679
push 6
call fcn.0051a4b9
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 0x40469b
push 6
call fcn.0051a4b9
add esp, 4
push 0
push 0
push 0
push 0x80000004
push 0
push 0x55f8b0
push 0x80000004
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x4046c2
mov eax, 0x53c3bb
push eax
push 3
mov ebx, 0x190
call fcn.0051b640
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 0x4046fa
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4046f6
imul eax, dword [ebx]
jmp 0x4046eb
mov ecx, eax
test ecx, ecx
je 0x404719
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404712
push ebx
push eax
call fcn.0051a4b3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404700
call fcn.0051a4b3
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, 0x53c3bb
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40473d
push ebx
call fcn.0051a4b3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.00403885
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 0x4049f4
mov ebx, dword [ebp - 0x28]
call fcn.0040389e
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40477f
push 4
call fcn.0051a4b9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x404792
push 1
call fcn.0051a4b9
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push str.Location:
push 0x80000004
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4047cd
mov eax, 0x53c3bb
push eax
push 4
mov ebx, 0x148
call fcn.0051b380
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x40484c
mov ebx, dword [ebp - 0x28]
call fcn.0040389e
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40480a
push 4
call fcn.0051a4b9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40481d
push 1
call fcn.0051a4b9
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push dword [ebp - 0x2c]
call fcn.00404e86
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 0x404846
push ebx
call fcn.0051a4b3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.0040389e
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x404869
push 4
call fcn.0051a4b9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40487c
push 1
call fcn.0051a4b9
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push str.Set_Cookie
push 0x80000004
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4048b7
mov eax, 0x53c3bb
push eax
push 4
mov ebx, 0x148
call fcn.0051b380
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x4049ec
mov ebx, dword [ebp - 0x28]
call fcn.0040389e
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4048f4
push 4
call fcn.0051a4b9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x404907
push 1
call fcn.0051a4b9
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, 0x55fa01
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x2c]
call fcn.00404bc5
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40495a
push ebx
call fcn.0051a4b3
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40496a
push ebx
call fcn.0051a4b3
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x40497d
mov eax, 0x53c3bb
push eax
push 1
mov ebx, 0x174
call fcn.0051b450
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4049a3
push ebx
call fcn.0051a4b3
add esp, 4
push 0x55fa0f
push dword [ebp - 0x44]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004012c5
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4049d0
push ebx
call fcn.0051a4b3
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4049e6
push ebx
call fcn.0051a4b3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x404754
add esp, 0xc
push 0x80000004
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x404a0c
mov eax, 0x53c3bb
push eax
push 1
mov ebx, 0x130
call fcn.0051b580
add esp, 0x10
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x53c3b3]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.00402dc0
push 0x80000301
push 0
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x404a59
mov eax, 0x53c3bb
push eax
push 2
mov ebx, 0x134
call fcn.0051b520
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 0x404a85
push ebx
call fcn.0051a4b3
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 0x404abf
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.004059b7
mov ebx, eax
test ebx, ebx
je 0x404abf
push ebx
call fcn.0051a4b3
add esp, 4
push 0x53c3bb
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401000
add esp, 8
cmp eax, 0
jne 0x404b11
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x404af8
push eax
mov ebx, eax
call fcn.0040125a
inc eax
push eax
call fcn.0051a4ad
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 0x404b0b
push ebx
call fcn.0051a4b3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x404b2b
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0051a4ad
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x404b30
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404b41
push ebx
call fcn.0051a4b3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404b51
push ebx
call fcn.0051a4b3
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x404b61
push ebx
call fcn.0051a4b3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x404b71
push ebx
call fcn.0051a4b3
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404b8f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404b8b
imul eax, dword [ebx]
jmp 0x404b80
mov ecx, eax
test ecx, ecx
je 0x404bae
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404ba7
push ebx
push eax
call fcn.0051a4b3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404b95
call fcn.0051a4b3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54