Function at 0x5b81d0
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 0x5cd727
mov eax, dword fs:[0]
push eax
mov eax, 0x25c4
call fcn.00542070
mov eax, dword [0x62a3b4]
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 0x5b821f
mov ecx, dword [ebp + 0xc]
call fcn.004c6530
mov dword [ebp - 0x2510], eax
jmp 0x5b8267
mov eax, dword [0x6467a4]
and eax, 1
jne 0x5b825d
mov ecx, dword [0x6467a4]
or ecx, 1
mov dword [0x6467a4], ecx
mov dword [ebp - 4], 0
mov ecx, 0x6467a8
call fcn.004c6480
push 0x5cdff0
call fcn.00541f78
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2510], 0x6467a8
mov dword [ebp - 0x2508], 1
cmp dword [ebp + 0xc], 0
je 0x5b828f
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.005b92b0
cmp dword [ebp - 0x2508], 0
jne 0x5b82a3
mov eax, dword [ebp - 0x2508]
jmp 0x5b928e
lea ecx, [ebp - 0x2504]
call fcn.004c32f0
mov dword [ebp - 4], 1
push 0
mov ecx, dword [ebp + 8]
call fcn.00403f32
push eax
lea ecx, [ebp - 0x2504]
call fcn.004c3320
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x5b82ef
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.005b92b0
cmp dword [ebp - 0x2508], 0
jne 0x5b8321
mov ecx, dword [ebp - 0x2508]
mov dword [ebp - 0x25a4], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.004c3310
mov eax, dword [ebp - 0x25a4]
jmp 0x5b928e
mov dword [ebp - 0x25cc], 0
lea ecx, [ebp - 0x2504]
call fcn.004c3790
push eax
lea ecx, [ebp - 0x98]
call fcn.0040921d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2504]
call fcn.004c3950
push eax
lea ecx, [ebp - 0x80]
call fcn.0040921d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2504]
call fcn.004c39d0
push eax
lea ecx, [ebp - 0x80]
call fcn.00409b61
lea ecx, [ebp - 0x2504]
call fcn.004c3810
mov word [ebp - 0x2530], ax
lea ecx, [ebp - 0x2504]
call fcn.004c3770
cmp eax, 3
jne 0x5b83a0
mov dword [ebp - 0x2560], 1
jmp 0x5b83aa
mov dword [ebp - 0x2560], 0
mov edx, dword [ebp - 0x2560]
mov dword [ebp - 0x25b4], edx
cmp dword [ebp - 0x25b4], 0
je 0x5b83cb
mov dword [ebp - 0x2564], 0x800100
jmp 0x5b83d5
mov dword [ebp - 0x2564], 0x100
mov eax, dword [ebp - 0x2564]
mov dword [ebp - 0x25c0], eax
push 0
push 0
push 0
push 0
push 0x5f8fe8
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push eax
lea ecx, [ebp - 0x2514]
call fcn.004c4350
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2514]
call fcn.004c4380
test eax, eax
je 0x5b841f
mov dword [ebp - 0x2568], 1
jmp 0x5b8429
mov dword [ebp - 0x2568], 0
mov ecx, dword [ebp - 0x2568]
mov dword [ebp - 0x2508], ecx
cmp dword [ebp + 0xc], 0
je 0x5b8453
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.005b92b0
cmp dword [ebp - 0x2508], 0
jne 0x5b84af
mov eax, dword [ebp - 0x2508]
mov dword [ebp - 0x25b8], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.004c4390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00403fae
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00403fae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.004c3310
mov eax, dword [ebp - 0x25b8]
jmp 0x5b928e
push 0
movzx ecx, word [ebp - 0x2530]
push ecx
lea ecx, [ebp - 0x98]
call fcn.00403f32
push eax
lea ecx, [ebp - 0x2514]
call fcn.004c4380
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
push eax
lea ecx, [ebp - 0x2518]
call fcn.004c4350
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2518]
call fcn.004c4380
test eax, eax
je 0x5b8502
mov dword [ebp - 0x256c], 1
jmp 0x5b850c
mov dword [ebp - 0x256c], 0
mov edx, dword [ebp - 0x256c]
mov dword [ebp - 0x2508], edx
cmp dword [ebp + 0xc], 0
je 0x5b8536
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.005b92b0
cmp dword [ebp - 0x2508], 0
jne 0x5b85a1
mov ecx, dword [ebp - 0x2508]
mov dword [ebp - 0x25bc], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.004c4390
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.004c4390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00403fae
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00403fae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.004c3310
mov eax, dword [ebp - 0x25bc]
jmp 0x5b928e
lea ecx, [ebp - 0x68]
call fcn.004065fc
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 0x5b85d9
cmp dword [ebp - 0x2534], 1
je 0x5b85e8
cmp dword [ebp - 0x2534], 2
je 0x5b85f7
jmp 0x5b8606
push 0x5f9008
lea ecx, [ebp - 0x68]
call fcn.004107c0
jmp 0x5b8613
push str.POST
lea ecx, [ebp - 0x68]
call fcn.004107c0
jmp 0x5b8613
push 0x5f9018
lea ecx, [ebp - 0x68]
call fcn.004107c0
jmp 0x5b8613
push 0x5f9010
lea ecx, [ebp - 0x68]
call fcn.004107c0
mov ecx, dword [ebp - 0x25c0]
push ecx
push 0
push 0
push str.HTTP_1.1
lea ecx, [ebp - 0x80]
call fcn.00403f32
push eax
lea ecx, [ebp - 0x68]
call fcn.00403f32
push eax
lea ecx, [ebp - 0x2518]
call fcn.004c4380
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
push eax
lea ecx, [ebp - 0x250c]
call fcn.004c4350
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x250c]
call fcn.004c4380
test eax, eax
je 0x5b8672
mov dword [ebp - 0x2544], 1
jmp 0x5b867c
mov dword [ebp - 0x2544], 0
mov edx, dword [ebp - 0x2544]
mov dword [ebp - 0x2508], edx
cmp dword [ebp + 0xc], 0
je 0x5b86a6
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.005b92b0
cmp dword [ebp - 0x2508], 0
jne 0x5b872c
mov ecx, dword [ebp - 0x2508]
mov dword [ebp - 0x25c4], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.004c4390
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.00403fae
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.004c4390
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.004c4390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00403fae
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00403fae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.004c3310
mov eax, dword [ebp - 0x25c4]
jmp 0x5b928e
mov ecx, dword [ebp - 0x2510]
add ecx, 0xc
call fcn.00403d1a
test eax, eax
je 0x5b8814
push 0x20000000
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x2510]
add ecx, 0xc
call fcn.00403f32
push eax
lea ecx, [ebp - 0x250c]
call fcn.004c4380
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x5b878e
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.005b92b0
cmp dword [ebp - 0x2508], 0
jne 0x5b8814
mov eax, dword [ebp - 0x2508]
mov dword [ebp - 0x257c], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.004c4390
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.00403fae
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.004c4390
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.004c4390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00403fae
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00403fae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.004c3310
mov eax, dword [ebp - 0x257c]
jmp 0x5b928e
mov dword [ebp - 0x2538], 0
mov ecx, dword [ebp - 0x2510]
cmp dword [ecx + 0x44], 1
jne 0x5b883e
mov ecx, dword [ebp - 0x2510]
add ecx, 0x24
call fcn.00403cc7
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.004c4380
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x5b8885
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.005b92b0
cmp dword [ebp - 0x2508], 0
jne 0x5b890b
mov ecx, dword [ebp - 0x2508]
mov dword [ebp - 0x2580], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.004c4390
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.00403fae
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.004c4390
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.004c4390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00403fae
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00403fae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.004c3310
mov eax, dword [ebp - 0x2580]
jmp 0x5b928e
mov edx, dword [ebp - 0x2510]
cmp dword [edx + 0x44], 1
jne 0x5b8a14
mov ecx, dword [ebp - 0x2510]
add ecx, 0x24
call fcn.0044110b
test eax, eax
je 0x5b8a14
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.00403fc6
push eax
lea ecx, [ebp - 0x250c]
call fcn.004c4380
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x5b898e
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.005b92b0
cmp dword [ebp - 0x2508], 0
jne 0x5b8a14
mov eax, dword [ebp - 0x2508]
mov dword [ebp - 0x2588], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.004c4390
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.00403fae
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.004c4390
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.004c4390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00403fae
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00403fae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.004c3310
mov eax, dword [ebp - 0x2588]
jmp 0x5b928e
push 0
lea ecx, [ebp - 0x250c]
call fcn.004c4380
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x5b8a4c
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.005b92b0
cmp dword [ebp - 0x2508], 0
jne 0x5b8ad2
mov edx, dword [ebp - 0x2508]
mov dword [ebp - 0x258c], edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.004c4390
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.00403fae
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.004c4390
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.004c4390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00403fae
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00403fae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.004c3310
mov eax, dword [ebp - 0x258c]
jmp 0x5b928e
mov dword [ebp - 0x2528], 0
mov dword [ebp - 0x2590], 0xffffffff
lea ecx, [ebp - 0x255c]
call fcn.004212df
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.004c4d00
lea edx, [ebp - 0x251a]
push edx
mov ecx, dword [ebp - 0x2548]
call fcn.004c4ce0
jmp 0x5b8b3f
lea ecx, [ebp - 0x253c]
call fcn.004c4bf0
movzx eax, byte [ebp - 0x251a]
push eax
lea ecx, [ebp - 0x253c]
call fcn.004c4c30
movzx ecx, al
test ecx, ecx
je 0x5b8c3c
lea ecx, [ebp - 0x253c]
call fcn.004c4c10
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.00403f32
push eax
push 0xffff
lea ecx, [ebp - 0x250c]
call fcn.004c4380
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp dword [ebp - 0x2528], 0
jne 0x5b8bbe
jmp 0x5b8b34
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.00462bcc
push 0
lea edx, [ebp - 0x2528]
push edx
push 0
lea ecx, [ebp - 0x255c]
call fcn.00409b45
push eax
mov ecx, dword [ebp - 0x2540]
call fcn.00403f32
push eax
push 0xffff
lea ecx, [ebp - 0x250c]
call fcn.004c4380
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push 0
lea ecx, [ebp - 0x255c]
call fcn.00409b45
push eax
mov ecx, dword [ebp - 0x2540]
add ecx, 0x18
call fcn.004107c0
jmp 0x5b8b34
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.004c4380
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x5b8cbd
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.005b92b0
cmp dword [ebp - 0x2508], 0
jne 0x5b8d56
mov eax, dword [ebp - 0x2508]
mov dword [ebp - 0x259c], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x255c]
call fcn.004212da
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.004c4390
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.00403fae
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.004c4390
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.004c4390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00403fae
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00403fae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.004c3310
mov eax, dword [ebp - 0x259c]
jmp 0x5b928e
push 0x40
push 0
lea ecx, [ebp - 0x50]
push ecx
call fcn.00548bf0
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.004c4380
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x5b8db7
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.005b92b0
cmp dword [ebp - 0x2508], 0
jne 0x5b8e50
mov edx, dword [ebp - 0x2508]
mov dword [ebp - 0x25c8], edx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x255c]
call fcn.004212da
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.004c4390
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.00403fae
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.004c4390
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.004c4390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00403fae
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00403fae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.004c3310
mov eax, dword [ebp - 0x25c8]
jmp 0x5b928e
lea eax, [ebp - 0x50]
push eax
call fcn.0055584e
add esp, 4
mov ecx, dword [ebp - 0x2510]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x2510]
cmp dword [edx], 0
je 0x5b8f00
mov eax, dword [ebp - 0x2508]
mov dword [ebp - 0x25a8], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x255c]
call fcn.004212da
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.004c4390
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.00403fae
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.004c4390
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.004c4390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00403fae
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00403fae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.004c3310
mov eax, dword [ebp - 0x25a8]
jmp 0x5b928e
cmp dword [ebp + 0xc], 0
je 0x5b8f1b
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.004212df
mov byte [ebp - 4], 9
mov dword [ebp - 0x2520], 0
lea ecx, [ebp - 0x2520]
push ecx
lea ecx, [ebp - 0x250c]
call fcn.004c4380
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x5b8f85
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.005b92b0
cmp dword [ebp - 0x2508], 0
jne 0x5b8f93
jmp 0x5b90fb
cmp dword [ebp - 0x2520], 0
jbe 0x5b8fa8
mov dword [ebp - 0x254c], 1
jmp 0x5b8fb2
mov dword [ebp - 0x254c], 0
mov eax, dword [ebp - 0x254c]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x5b8fdc
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.005b92b0
cmp dword [ebp - 0x2508], 0
jne 0x5b8fea
jmp 0x5b90fb
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.00462bcc
lea ecx, [ebp - 0x2578]
call fcn.004212d4
test eax, eax
jne 0x5b9021
jmp 0x5b90fb
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.00409b45
push eax
lea ecx, [ebp - 0x250c]
call fcn.004c4380
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov dword [ebp - 0x2508], eax
cmp dword [ebp + 0xc], 0
je 0x5b907d
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.005b92b0
cmp dword [ebp - 0x2508], 0
jne 0x5b9088
jmp 0x5b90fb
cmp dword [ebp + 0xc], 0
je 0x5b90c0
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.00409b45
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 0x5b90ee
mov dword [ebp - 0x2508], 1
jmp 0x5b90fb
cmp dword [ebp - 0x2520], 0
ja 0x5b8f3e
cmp dword [ebp - 0x2508], 0
je 0x5b910d
mov byte [ebp - 0x2519], 1
jmp 0x5b9114
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 0x5b9150
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.005b92b0
cmp dword [ebp - 0x2508], 0
jne 0x5b91f8
mov edx, dword [ebp - 0x2508]
mov dword [ebp - 0x25ac], edx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2578]
call fcn.004212da
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x255c]
call fcn.004212da
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.004c4390
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.00403fae
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.004c4390
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.004c4390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00403fae
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00403fae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.004c3310
mov eax, dword [ebp - 0x25ac]
jmp 0x5b928e
mov eax, dword [ebp - 0x2508]
mov dword [ebp - 0x25b0], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2578]
call fcn.004212da
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x255c]
call fcn.004212da
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250c]
call fcn.004c4390
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.00403fae
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2518]
call fcn.004c4390
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2514]
call fcn.004c4390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00403fae
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00403fae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2504]
call fcn.004c3310
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.00542347
mov esp, ebp
pop ebp
ret