Function at 0x487660
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response
Send data
Send http request
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48eb65
mov eax, dword fs:[0]
push eax
mov eax, 0x25c4
call fcn.00454c40
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2510], 0
cmp dword [ebp + 0xc], 0
je 0x4876af
mov ecx, dword [ebp + 0xc]
call fcn.00436060
mov dword [ebp - 0x2510], eax
jmp 0x4876f7
mov eax, dword [0x4cbe98]
and eax, 1
jne 0x4876ed
mov ecx, dword [0x4cbe98]
or ecx, 1
mov dword [0x4cbe98], ecx
mov dword [ebp - 4], 0
mov ecx, 0x4cbea0
call fcn.00436080
push 0x48eff0
call fcn.00453e8c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2510], 0x4cbea0
mov dword [ebp - 0x2508], 1
cmp dword [ebp + 0xc], 0
je 0x48771f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x2508]
push edx
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00487440
cmp dword [ebp - 0x2508], 0
jne 0x487733
mov eax, dword [ebp - 0x2508]
jmp 0x48871e
lea ecx, [ebp - 0x2504]
call fcn.00438da0
mov dword [ebp - 4], 1
push 0
mov ecx, dword [ebp + 8]
call fcn.00408140
push eax
lea ecx, [ebp - 0x2504]
call fcn.00438dd0
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x48777f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x2508]
push eax
push 1
mov ecx, dword [ebp + 0xc]
call fcn.00487440
cmp dword [ebp - 0x2508], 0
jne 0x4877b1
mov ecx, dword [ebp - 0x2508]
mov dword [ebp - 0x25a4], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.00438dc0
mov eax, dword [ebp - 0x25a4]
jmp 0x48871e
mov dword [ebp - 0x25cc], 0
lea ecx, [ebp - 0x2504]
call fcn.00439250
push eax
lea ecx, [ebp - 0x98]
call fcn.00404500
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2504]
call fcn.00439410
push eax
lea ecx, [ebp - 0x80]
call fcn.00404500
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2504]
call fcn.00439490
push eax
lea ecx, [ebp - 0x80]
call fcn.004044a0
lea ecx, [ebp - 0x2504]
call fcn.004392d0
mov word [ebp - 0x2530], ax
lea ecx, [ebp - 0x2504]
call fcn.00439230
cmp eax, 3
jne 0x487830
mov dword [ebp - 0x2560], 1
jmp 0x48783a
mov dword [ebp - 0x2560], 0
mov edx, dword [ebp - 0x2560]
mov dword [ebp - 0x25b4], edx
cmp dword [ebp - 0x25b4], 0
je 0x48785b
mov dword [ebp - 0x2564], 0x800100
jmp 0x487865
mov dword [ebp - 0x2564], 0x100
mov eax, dword [ebp - 0x2564]
mov dword [ebp - 0x25c0], eax
push 0
push 0
push 0
push 0
push str.QQBrowser
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push eax
lea ecx, [ebp - 0x2514]
call fcn.00439e10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2514]
call fcn.00426180
test eax, eax
je 0x4878af
mov dword [ebp - 0x2568], 1
jmp 0x4878b9
mov dword [ebp - 0x2568], 0
mov ecx, dword [ebp - 0x2568]
mov dword [ebp - 0x2508], ecx
cmp dword [ebp + 0xc], 0
je 0x4878e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x2508]
push edx
push 2
mov ecx, dword [ebp + 0xc]
call fcn.00487440
cmp dword [ebp - 0x2508], 0
jne 0x48793f
mov eax, dword [ebp - 0x2508]
mov dword [ebp - 0x25b8], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.00439e40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.004087f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.004087f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.00438dc0
mov eax, dword [ebp - 0x25b8]
jmp 0x48871e
push 0
movzx ecx, word [ebp - 0x2530]
push ecx
lea ecx, [ebp - 0x98]
call fcn.00408140
push eax
lea ecx, [ebp - 0x2514]
call fcn.00426180
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
push eax
lea ecx, [ebp - 0x2518]
call fcn.00439e10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2518]
call fcn.00426180
test eax, eax
je 0x487992
mov dword [ebp - 0x256c], 1
jmp 0x48799c
mov dword [ebp - 0x256c], 0
mov edx, dword [ebp - 0x256c]
mov dword [ebp - 0x2508], edx
cmp dword [ebp + 0xc], 0
je 0x4879c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x2508]
push eax
push 3
mov ecx, dword [ebp + 0xc]
call fcn.00487440
cmp dword [ebp - 0x2508], 0
jne 0x487a31
mov ecx, dword [ebp - 0x2508]
mov dword [ebp - 0x25bc], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.00439e40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.00439e40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.004087f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.004087f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.00438dc0
mov eax, dword [ebp - 0x25bc]
jmp 0x48871e
lea ecx, [ebp - 0x68]
call fcn.00404550
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x2510]
mov eax, dword [edx + 0x44]
mov dword [ebp - 0x2534], eax
cmp dword [ebp - 0x2534], 0
je 0x487a69
cmp dword [ebp - 0x2534], 1
je 0x487a78
cmp dword [ebp - 0x2534], 2
je 0x487a87
jmp 0x487a96
push 0x4a3114
lea ecx, [ebp - 0x68]
call fcn.00404470
jmp 0x487aa3
push 0x4a3108
lea ecx, [ebp - 0x68]
call fcn.00404470
jmp 0x487aa3
push 0x4a3124
lea ecx, [ebp - 0x68]
call fcn.00404470
jmp 0x487aa3
push 0x4a311c
lea ecx, [ebp - 0x68]
call fcn.00404470
mov ecx, dword [ebp - 0x25c0]
push ecx
push 0
push 0
push str.HTTP_1.1
lea ecx, [ebp - 0x80]
call fcn.00408140
push eax
lea ecx, [ebp - 0x68]
call fcn.00408140
push eax
lea ecx, [ebp - 0x2518]
call fcn.00426180
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
push eax
lea ecx, [ebp - 0x250c]
call fcn.00439e10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x250c]
call fcn.00426180
test eax, eax
je 0x487b02
mov dword [ebp - 0x2544], 1
jmp 0x487b0c
mov dword [ebp - 0x2544], 0
mov edx, dword [ebp - 0x2544]
mov dword [ebp - 0x2508], edx
cmp dword [ebp + 0xc], 0
je 0x487b36
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x2508]
push eax
push 4
mov ecx, dword [ebp + 0xc]
call fcn.00487440
cmp dword [ebp - 0x2508], 0
jne 0x487bbc
mov ecx, dword [ebp - 0x2508]
mov dword [ebp - 0x25c4], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.00439e40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.004087f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.00439e40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.00439e40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.004087f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.004087f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.00438dc0
mov eax, dword [ebp - 0x25c4]
jmp 0x48871e
mov ecx, dword [ebp - 0x2510]
add ecx, 0xc
call fcn.00409e50
test eax, eax
je 0x487ca4
push 0x20000000
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x2510]
add ecx, 0xc
call fcn.00408140
push eax
lea ecx, [ebp - 0x250c]
call fcn.00426180
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x487c1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x2508]
push edx
push 5
mov ecx, dword [ebp + 0xc]
call fcn.00487440
cmp dword [ebp - 0x2508], 0
jne 0x487ca4
mov eax, dword [ebp - 0x2508]
mov dword [ebp - 0x257c], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.00439e40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.004087f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.00439e40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.00439e40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.004087f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.004087f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.00438dc0
mov eax, dword [ebp - 0x257c]
jmp 0x48871e
mov dword [ebp - 0x2538], 0
mov ecx, dword [ebp - 0x2510]
cmp dword [ecx + 0x44], 1
jne 0x487cce
mov ecx, dword [ebp - 0x2510]
add ecx, 0x24
call fcn.00409e50
mov dword [ebp - 0x2538], eax
push 0
mov edx, dword [ebp - 0x2538]
push edx
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x250c]
call fcn.00426180
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x487d15
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x2508]
push eax
push 6
mov ecx, dword [ebp + 0xc]
call fcn.00487440
cmp dword [ebp - 0x2508], 0
jne 0x487d9b
mov ecx, dword [ebp - 0x2508]
mov dword [ebp - 0x2580], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.00439e40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.004087f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.00439e40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.00439e40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.004087f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.004087f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.00438dc0
mov eax, dword [ebp - 0x2580]
jmp 0x48871e
mov edx, dword [ebp - 0x2510]
cmp dword [edx + 0x44], 1
jne 0x487ea4
mov ecx, dword [ebp - 0x2510]
add ecx, 0x24
call fcn.00409e50
test eax, eax
je 0x487ea4
mov dword [ebp - 0x2584], 0
lea eax, [ebp - 0x2584]
push eax
mov ecx, dword [ebp - 0x2538]
push ecx
mov ecx, dword [ebp - 0x2510]
add ecx, 0x24
call fcn.00419280
push eax
lea ecx, [ebp - 0x250c]
call fcn.00426180
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x487e1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x2508]
push edx
push 7
mov ecx, dword [ebp + 0xc]
call fcn.00487440
cmp dword [ebp - 0x2508], 0
jne 0x487ea4
mov eax, dword [ebp - 0x2508]
mov dword [ebp - 0x2588], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.00439e40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.004087f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.00439e40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.00439e40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.004087f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.004087f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.00438dc0
mov eax, dword [ebp - 0x2588]
jmp 0x48871e
push 0
lea ecx, [ebp - 0x250c]
call fcn.00426180
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x487edc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x2508]
push ecx
push 8
mov ecx, dword [ebp + 0xc]
call fcn.00487440
cmp dword [ebp - 0x2508], 0
jne 0x487f62
mov edx, dword [ebp - 0x2508]
mov dword [ebp - 0x258c], edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.00439e40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.004087f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.00439e40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.00439e40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.004087f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.004087f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.00438dc0
mov eax, dword [ebp - 0x258c]
jmp 0x48871e
mov dword [ebp - 0x2528], 0
mov dword [ebp - 0x2590], 0xffffffff
lea ecx, [ebp - 0x255c]
call fcn.00423cec
mov byte [ebp - 4], 8
mov dword [ebp - 0x25d0], 0x2f76
mov eax, dword [ebp - 0x2510]
add eax, 0x3c
mov dword [ebp - 0x2548], eax
lea ecx, [ebp - 0x253c]
push ecx
mov ecx, dword [ebp - 0x2548]
call fcn.0043a490
lea edx, [ebp - 0x251a]
push edx
mov ecx, dword [ebp - 0x2548]
call fcn.0043a470
jmp 0x487fcf
lea ecx, [ebp - 0x253c]
call fcn.004293c0
movzx eax, byte [ebp - 0x251a]
push eax
lea ecx, [ebp - 0x253c]
call fcn.0043a3b0
movzx ecx, al
test ecx, ecx
je 0x4880cc
lea ecx, [ebp - 0x253c]
call fcn.0043a390
mov dword [ebp - 0x2540], eax
mov dword [ebp - 0x2528], 0x64
mov dword [ebp - 0x2590], 0xffffffff
push 0
lea edx, [ebp - 0x2528]
push edx
push 0
mov ecx, dword [ebp - 0x2540]
call fcn.00408140
push eax
push 0xffff
lea ecx, [ebp - 0x250c]
call fcn.00426180
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp dword [ebp - 0x2528], 0
jne 0x48804e
jmp 0x487fc4
mov byte [ebp - 0x251b], 0
lea eax, [ebp - 0x251b]
push eax
mov ecx, dword [ebp - 0x2528]
add ecx, 2
push ecx
lea ecx, [ebp - 0x255c]
call fcn.00423c74
push 0
lea edx, [ebp - 0x2528]
push edx
push 0
lea ecx, [ebp - 0x255c]
call fcn.0041b476
push eax
mov ecx, dword [ebp - 0x2540]
call fcn.00408140
push eax
push 0xffff
lea ecx, [ebp - 0x250c]
call fcn.00426180
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push 0
lea ecx, [ebp - 0x255c]
call fcn.0041b476
push eax
mov ecx, dword [ebp - 0x2540]
add ecx, 0x18
call fcn.00404470
jmp 0x487fc4
mov eax, dword [ebp - 0x2510]
add eax, 4
mov dword [ebp - 0x2524], eax
mov ecx, dword [ebp - 0x2524]
mov dword [ecx], 0
mov dword [ebp - 0x2594], 0
mov dword [ebp - 0x2598], 4
lea edx, [ebp - 0x2594]
push edx
lea eax, [ebp - 0x2598]
push eax
mov ecx, dword [ebp - 0x2524]
push ecx
push 0
push 0x20000005
lea ecx, [ebp - 0x250c]
call fcn.00426180
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x48814d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x2508]
push edx
push 9
mov ecx, dword [ebp + 0xc]
call fcn.00487440
cmp dword [ebp - 0x2508], 0
jne 0x4881e6
mov eax, dword [ebp - 0x2508]
mov dword [ebp - 0x259c], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x255c]
call fcn.00423cc9
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.00439e40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.004087f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.00439e40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.00439e40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.004087f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.004087f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.00438dc0
mov eax, dword [ebp - 0x259c]
jmp 0x48871e
push 0x40
push 0
lea ecx, [ebp - 0x50]
push ecx
call fcn.00455ce0
add esp, 0xc
mov dword [ebp - 0x25a0], 0x40
push 0
lea edx, [ebp - 0x25a0]
push edx
lea eax, [ebp - 0x50]
push eax
push 0
push 0x13
lea ecx, [ebp - 0x250c]
call fcn.00426180
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x488247
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x2508]
push ecx
push 9
mov ecx, dword [ebp + 0xc]
call fcn.00487440
cmp dword [ebp - 0x2508], 0
jne 0x4882e0
mov edx, dword [ebp - 0x2508]
mov dword [ebp - 0x25c8], edx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x255c]
call fcn.00423cc9
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.00439e40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.004087f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.00439e40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.00439e40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.004087f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.004087f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.00438dc0
mov eax, dword [ebp - 0x25c8]
jmp 0x48871e
lea eax, [ebp - 0x50]
push eax
call fcn.0045991d
add esp, 4
mov ecx, dword [ebp - 0x2510]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x2510]
cmp dword [edx], 0
je 0x488390
mov eax, dword [ebp - 0x2508]
mov dword [ebp - 0x25a8], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x255c]
call fcn.00423cc9
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.00439e40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.004087f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.00439e40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.00439e40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.004087f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.004087f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.00438dc0
mov eax, dword [ebp - 0x25a8]
jmp 0x48871e
cmp dword [ebp + 0xc], 0
je 0x4883ab
mov ecx, dword [ebp - 0x2524]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x2520], 0
mov dword [ebp - 0x252c], 0
lea ecx, [ebp - 0x2578]
call fcn.00423cec
mov byte [ebp - 4], 9
mov dword [ebp - 0x2520], 0
lea ecx, [ebp - 0x2520]
push ecx
lea ecx, [ebp - 0x250c]
call fcn.00426180
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x488415
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x2508]
push edx
push 9
mov ecx, dword [ebp + 0xc]
call fcn.00487440
cmp dword [ebp - 0x2508], 0
jne 0x488423
jmp 0x48858b
cmp dword [ebp - 0x2520], 0
jbe 0x488438
mov dword [ebp - 0x254c], 1
jmp 0x488442
mov dword [ebp - 0x254c], 0
mov eax, dword [ebp - 0x254c]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x48846c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x2508]
push ecx
push 0xb
mov ecx, dword [ebp + 0xc]
call fcn.00487440
cmp dword [ebp - 0x2508], 0
jne 0x48847a
jmp 0x48858b
mov byte [ebp - 0x251c], 0
lea edx, [ebp - 0x251c]
push edx
mov eax, dword [ebp - 0x2520]
add eax, 1
push eax
lea ecx, [ebp - 0x2578]
call fcn.00423c74
lea ecx, [ebp - 0x2578]
call fcn.0043a3e0
test eax, eax
jne 0x4884b1
jmp 0x48858b
mov dword [ebp - 0x2550], 0
lea ecx, [ebp - 0x2550]
push ecx
mov edx, dword [ebp - 0x2520]
push edx
push 0
lea ecx, [ebp - 0x2578]
call fcn.0041b476
push eax
lea ecx, [ebp - 0x250c]
call fcn.00426180
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x48850d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x2508]
push eax
push 0xc
mov ecx, dword [ebp + 0xc]
call fcn.00487440
cmp dword [ebp - 0x2508], 0
jne 0x488518
jmp 0x48858b
cmp dword [ebp + 0xc], 0
je 0x488550
mov ecx, dword [ebp - 0x2524]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x2550]
push eax
mov ecx, dword [ebp - 0x252c]
push ecx
push 0
lea ecx, [ebp - 0x2578]
call fcn.0041b476
push eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 4]
call edx
mov eax, dword [ebp - 0x252c]
add eax, dword [ebp - 0x2520]
mov dword [ebp - 0x252c], eax
mov ecx, dword [ebp - 0x2524]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x252c]
jne 0x48857e
mov dword [ebp - 0x2508], 1
jmp 0x48858b
cmp dword [ebp - 0x2520], 0
ja 0x4883ce
cmp dword [ebp - 0x2508], 0
je 0x48859d
mov byte [ebp - 0x2519], 1
jmp 0x4885a4
mov byte [ebp - 0x2519], 0
mov eax, dword [ebp - 0x2524]
mov ecx, dword [eax]
push ecx
movzx edx, byte [ebp - 0x2519]
push edx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
call eax
cmp dword [ebp + 0xc], 0
je 0x4885e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x2508]
push ecx
push 0xd
mov ecx, dword [ebp + 0xc]
call fcn.00487440
cmp dword [ebp - 0x2508], 0
jne 0x488688
mov edx, dword [ebp - 0x2508]
mov dword [ebp - 0x25ac], edx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2578]
call fcn.00423cc9
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x255c]
call fcn.00423cc9
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.00439e40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.004087f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.00439e40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.00439e40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.004087f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.004087f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.00438dc0
mov eax, dword [ebp - 0x25ac]
jmp 0x48871e
mov eax, dword [ebp - 0x2508]
mov dword [ebp - 0x25b0], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2578]
call fcn.00423cc9
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x255c]
call fcn.00423cc9
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.00439e40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.004087f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.00439e40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.00439e40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.004087f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.004087f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.00438dc0
mov eax, dword [ebp - 0x25b0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453c11
mov esp, ebp
pop ebp
ret