Function at 0x404818
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.005a1d90
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x5c334a
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 0x404899
mov eax, str.POST
jmp 0x40489e
mov eax, 0x5e68eb
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4048b5
push ebx
call fcn.005a1d96
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 0x4048ec
mov eax, 0x5c33bb
push eax
push 4
mov ebx, 0x148
call fcn.005a2c90
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x4049f9
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, 0x5e68fb
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.00405b1f
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x404957
push ebx
call fcn.005a1d96
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x404967
push ebx
call fcn.005a1d96
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x40497a
mov eax, 0x5c33bb
push eax
push 1
mov ebx, 0x174
call fcn.005a3040
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4049a0
push ebx
call fcn.005a1d96
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4049b4
push ebx
call fcn.005a1d96
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x5c33bb
push dword [ebp - 8]
call fcn.00401000
add esp, 8
cmp eax, 0
jne 0x4049f4
push dword [ebp + 0x2c]
call fcn.00405de0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4049f0
push ebx
call fcn.005a1d96
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x404a13
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 0x404a0f
push ebx
call fcn.005a1d96
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x50], 0
jne 0x404abf
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.005a30d0
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.005a30d0
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 0x404a91
push 6
call fcn.005a1d9c
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404aa4
push ebx
call fcn.005a1d96
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x404ab4
push ebx
call fcn.005a1d96
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
jmp 0x404b5f
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 0x404aec
mov eax, 0x5c33bb
push eax
push 1
mov ebx, 0x168
call fcn.005a22c0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404b12
push ebx
call fcn.005a1d96
add esp, 4
mov dword [ebp - 0x34], esp
push 0
push 0x5c33bb
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 0x404b46
push 6
call fcn.005a1d9c
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x404b59
push ebx
call fcn.005a1d96
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x404b95
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 0x404b8b
push 6
call fcn.005a1d9c
add esp, 4
mov eax, 0x5c334a
jmp 0x405a8a
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.00405f26
mov dword [ebp - 0x34], eax
push dword [ebp + 8]
call fcn.004064cf
mov dword [ebp - 0x38], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.005a30d0
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.005a30d0
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 0x404c42
push 6
call fcn.005a1d9c
add esp, 4
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x404c55
push ebx
call fcn.005a1d96
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x404c65
push ebx
call fcn.005a1d96
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x404c75
push ebx
call fcn.005a1d96
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x404cd3
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 0x404ca7
push 6
call fcn.005a1d9c
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 0x404cc9
push 6
call fcn.005a1d9c
add esp, 4
mov eax, 0x5c334a
jmp 0x405a8a
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push 0x80000000
push 2
mov ebx, 0xc8
call fcn.005a30f0
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 0x404d45
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.005a30f0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x3c], 0
je 0x404d7a
push 0x80000301
push 0
push 0x200000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.005a30f0
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 0x404d9b
mov eax, 0x5c33bb
push eax
push 2
mov ebx, 0x134
call fcn.005a2a00
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x404dc4
mov eax, 0x5c33bb
push eax
push 1
mov ebx, 0x154
call fcn.005a2b40
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404dea
push ebx
call fcn.005a1d96
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 0x404e18
push ebx
call fcn.005a1d96
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x404e52
push 0x80000301
push 0
push 0x800000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.005a30f0
add esp, 0x1c
mov dword [ebp - 0x14], eax
jmp 0x404e7d
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.005a30f0
add esp, 0x1c
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.00406703
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.005a30d0
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.005a30d0
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 0x404f05
push 6
call fcn.005a1d9c
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404f18
push ebx
call fcn.005a1d96
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x404f28
push ebx
call fcn.005a1d96
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x404f38
push ebx
call fcn.005a1d96
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x404fb8
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 0x404f6a
push 6
call fcn.005a1d9c
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 0x404f8c
push 6
call fcn.005a1d9c
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 0x404fae
push 6
call fcn.005a1d9c
add esp, 4
mov eax, 0x5c334a
jmp 0x405a8a
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x5e698d
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404feb
mov eax, 0x5c33bb
push eax
push 4
mov ebx, 0x148
call fcn.005a2c90
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x40509c
push 0x5c33bb
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401000
add esp, 8
cmp eax, 0
jne 0x405061
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 0x405056
push ebx
call fcn.005a1d96
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
jmp 0x40509c
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 0x405096
push ebx
call fcn.005a1d96
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 0x4050cf
mov eax, 0x5c33bb
push eax
push 4
mov ebx, 0x148
call fcn.005a2c90
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x405125
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 0x40511f
push ebx
call fcn.005a1d96
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 0x405158
mov eax, 0x5c33bb
push eax
push 4
mov ebx, 0x148
call fcn.005a2c90
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x4051ae
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 0x4051a8
push ebx
call fcn.005a1d96
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 0x4051e1
mov eax, 0x5c33bb
push eax
push 4
mov ebx, 0x148
call fcn.005a2c90
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x405237
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 0x405231
push ebx
call fcn.005a1d96
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x5c33bb
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401000
add esp, 8
cmp eax, 0
je 0x40528d
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 0x405287
push ebx
call fcn.005a1d96
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 0
jne 0x4052fb
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4052ac
mov eax, 0x5c33bb
push eax
push 1
mov ebx, 0x130
call fcn.005a29e0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 0
push 0x5c33bb
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 0x4052f6
push 6
call fcn.005a1d9c
add esp, 4
jmp 0x405415
mov eax, 0x5c334a
xor ecx, ecx
test eax, eax
je 0x405309
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 0x40531c
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x405333
dec eax
test ecx, ecx
je 0x405333
call fcn.00404753
add esp, 0xc
test eax, eax
jne 0x405385
push 0x80000004
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x405353
mov eax, 0x5c33bb
push eax
push 1
mov ebx, 0x198
call fcn.005a2790
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 0x40537f
push ebx
call fcn.005a1d96
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 0x40539a
mov eax, 0x5c33bb
push eax
push 1
mov ebx, 0x130
call fcn.005a29e0
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 0x4053c5
mov eax, 0x5c334a
push eax
push 1
mov ebx, 0x194
call fcn.005a2a60
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 0x4053ed
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 0x405415
push 6
call fcn.005a1d9c
add esp, 4
mov dword [ebp - 0x1c], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.005a2bc0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x405451
push ebx
call fcn.005a1d96
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 0x40546b
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 0x40548b
push 6
call fcn.005a1d9c
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x40549f
jmp 0x405515
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 0x80000005
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4054bc
mov eax, 0x5c334a
push eax
push 2
mov ebx, 0x1a0
call fcn.005a3110
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00401921
add esp, 8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4054f8
push ebx
call fcn.005a1d96
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40550c
push ebx
call fcn.005a1d96
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
jmp 0x40541c
push 0x80000301
push 0
push 0x1388
push 1
mov ebx, 0x184
call fcn.005a3140
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 0x40554c
push ebx
call fcn.005a1d96
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 0x40558f
push 6
call fcn.005a1d9c
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 0x4055b1
push 6
call fcn.005a1d9c
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 0x4055d3
push 6
call fcn.005a1d9c
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 0x4055f5
push 6
call fcn.005a1d9c
add esp, 4
push 0
push 0
push 0
push 0x80000004
push 0
push 0x5e68fb
push 0x80000004
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x40561c
mov eax, 0x5c33bb
push eax
push 3
mov ebx, 0x190
call fcn.005a3180
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 0x405654
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405650
imul eax, dword [ebx]
jmp 0x405645
mov ecx, eax
test ecx, ecx
je 0x405673
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40566c
push ebx
push eax
call fcn.005a1d96
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40565a
call fcn.005a1d96
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, 0x5c33bb
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405697
push ebx
call fcn.005a1d96
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.004047ff
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 0x40594e
mov ebx, dword [ebp - 0x28]
call fcn.00401901
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4056d9
push 4
call fcn.005a1d9c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4056ec
push 1
call fcn.005a1d9c
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 0x405727
mov eax, 0x5c33bb
push eax
push 4
mov ebx, 0x148
call fcn.005a2c90
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x4057a6
mov ebx, dword [ebp - 0x28]
call fcn.00401901
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x405764
push 4
call fcn.005a1d9c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405777
push 1
call fcn.005a1d9c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push dword [ebp - 0x2c]
call fcn.00405de0
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 0x4057a0
push ebx
call fcn.005a1d96
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.00401901
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4057c3
push 4
call fcn.005a1d9c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4057d6
push 1
call fcn.005a1d9c
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 0x405811
mov eax, 0x5c33bb
push eax
push 4
mov ebx, 0x148
call fcn.005a2c90
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x405946
mov ebx, dword [ebp - 0x28]
call fcn.00401901
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40584e
push 4
call fcn.005a1d9c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405861
push 1
call fcn.005a1d9c
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, 0x5e6a4c
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.00405b1f
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4058b4
push ebx
call fcn.005a1d96
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4058c4
push ebx
call fcn.005a1d96
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4058d7
mov eax, 0x5c33bb
push eax
push 1
mov ebx, 0x174
call fcn.005a3040
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4058fd
push ebx
call fcn.005a1d96
add esp, 4
push 0x5e6a5a
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 0x40592a
push ebx
call fcn.005a1d96
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405940
push ebx
call fcn.005a1d96
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4056ae
add esp, 0xc
push 0x80000004
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x405966
mov eax, 0x5c33bb
push eax
push 1
mov ebx, 0x130
call fcn.005a29e0
add esp, 0x10
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x5c33b3]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.004018da
push 0x80000301
push 0
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4059b3
mov eax, 0x5c33bb
push eax
push 2
mov ebx, 0x134
call fcn.005a2a00
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 0x4059df
push ebx
call fcn.005a1d96
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 0x405a19
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00406911
mov ebx, eax
test ebx, ebx
je 0x405a19
push ebx
call fcn.005a1d96
add esp, 4
push 0x5c33bb
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401000
add esp, 8
cmp eax, 0
jne 0x405a6b
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x405a52
push eax
mov ebx, eax
call fcn.0040125a
inc eax
push eax
call fcn.005a1d90
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 0x405a65
push ebx
call fcn.005a1d96
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x405a85
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005a1d90
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x405a8a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x405a9b
push ebx
call fcn.005a1d96
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x405aab
push ebx
call fcn.005a1d96
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x405abb
push ebx
call fcn.005a1d96
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405acb
push ebx
call fcn.005a1d96
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x405ae9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405ae5
imul eax, dword [ebx]
jmp 0x405ada
mov ecx, eax
test ecx, ecx
je 0x405b08
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405b01
push ebx
push eax
call fcn.005a1d96
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405aef
call fcn.005a1d96
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54