Function at 0x588268
Capabilities:
Read http header
Receive http response

Disassembly:
push ecx
mov ecx, 0x256b
mov ecx, 0x2d21
mov ecx, 0x7764
mov ecx, 0x7a3b
pop ecx
push eax
mov eax, 0x36f2
mov eax, 0x34c5
pop eax
push eax
mov eax, 0x5fba
pop eax
push ecx
mov ecx, 0x5017
mov ecx, 0x541b
mov ecx, 0x204b
mov ecx, 0x2c6
pop ecx
jmp 0x5882ae
jmp 0x5882b5
push eax
mov eax, 0xf0c
pop eax
jmp 0x5882cd
push edx
pop edx
jmp 0x5882d6
jmp 0x5882f1
nop
push eax
mov eax, 0x5498
mov eax, 0x7e4c
mov eax, 0x2e1a
mov eax, 0x5291
pop eax
jmp 0x588319
nop
jmp 0x588335
jmp 0x588346
jmp 0x588357
push edx
mov edx, 0x37a
pop edx
nop
push eax
jmp 0x588371
mov eax, 0x78cd
mov eax, 0x4e58
pop eax
nop
push edx
mov edx, 0x3a87
pop edx
push ecx
mov ecx, 0x3e52
pop ecx
jmp 0x58839c
push eax
mov eax, 0x3f33
pop eax
push edx
mov edx, 0x1f72
push ecx
mov ecx, 0x6890
mov ecx, 0x2fc3
pop ecx
jmp 0x5883d0
push ecx
mov ecx, 0x2016
pop ecx
pop edx
push ecx
push edx
mov edx, 0x6e15
mov edx, 0x8ec
pop edx
push ecx
pop ecx
mov ecx, 0x4c68
pop ecx
jmp 0x588408
nop
push ecx
mov ecx, 0x483e
pop ecx
push ecx
mov ecx, 0x7f49
jmp 0x58841d
jmp 0x588424
mov ecx, 0x510c
mov ecx, 0x507c
nop
mov ecx, 0x429c
jmp 0x588445
nop
push eax
mov eax, 0x3a17
mov eax, 0x64c
pop eax
pop ecx
jmp 0x58845a
jmp 0x588475
push edx
mov edx, 0x14dd
mov edx, 0x5b8f
mov edx, 0x6672
mov edx, 0x1c62
pop edx
jmp 0x588492
push eax
mov eax, 0x1169
pop eax
nop
push ebp
push ecx
jmp 0x5884a3
mov ecx, 0x630b
mov ecx, 0x269f
nop
pop ecx
mov ebp, esp
nop
push edi
push ecx
mov ecx, 0x54a4
pop ecx
push esi
lea esi, [ecx + 0xc]
push ebx
mov ebx, ecx
jmp 0x5884d2
mov ecx, esi
sub esp, 0x5c
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp], 0x663146
mov dword [ebp - 0x3c], eax
call fcn.00408d40
nop
push ecx
mov edx, dword [edi + 4]
mov dword [esp + 0x18], 0
jmp 0x588514
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
mov eax, dword [edi]
mov dword [esp + 8], 0
push edx
mov edx, 0x6003
pop edx
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 0
mov dword [esp], eax
jmp 0x588550
push ecx
mov ecx, 0x5c84
mov ecx, 0x6adf
pop ecx
push edx
push ecx
mov ecx, 0x5e61
mov ecx, 0x3162
mov ecx, 0x162a
mov ecx, 0x70db
pop ecx
push edx
mov edx, 0xf2
pop edx
mov edx, 0x50e1
jmp 0x588590
mov edx, 0x272
mov edx, 0x639a
mov edx, 0x107c
pop edx
call sub.WINHTTP.dll_WinHttpSendRequest
push ecx
mov ecx, 0x3314
mov ecx, 0x9ab
pop ecx
push edx
mov edx, 0x1f7d
pop edx
sub esp, 0x1c
test eax, eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 0
mov dword [esp], eax
setne byte [ebx + 0x3c]
call sub.WINHTTP.dll_WinHttpReceiveResponse
push edx
mov edx, 0xfa1
mov edx, 0x5c84
pop edx
push eax
mov eax, 0x7e0
mov eax, 0x6f78
mov eax, 0x7dd8
mov eax, 0x771e
pop eax
test eax, eax
push ecx
nop
nop
mov ecx, 0x51a2
pop ecx
push edi
push ecx
mov ecx, 0x55b5
pop ecx
setne al
push edi
mov byte [ebx + 0x3c], al
test al, al
je 0x58874f
cmp byte [ebp - 0x3c], 0
je 0x58874f
lea eax, [ebx + 0x24]
jmp 0x58862c
mov dword [ebx + 0x24], 0
mov dword [esp + 4], eax
mov eax, dword [ebx + 8]
mov dword [esp], eax
call 0x55d570
push edx
push edx
test eax, eax
je 0x5888f3
mov eax, dword [ebx + 0x24]
inc eax
push ecx
mov ecx, 0x17b6
mov ecx, 0x276d
mov ecx, 0x794a
mov ecx, 0x742b
pop ecx
mov dword [esp], eax
call fcn.006572d0
mov edx, eax
push ecx
mov ecx, 0x7154
mov ecx, 0x4aba
pop ecx
push edx
mov edx, 0x6cdc
pop edx
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x24]
mov edi, edx
lea ecx, [eax + 1]
xor eax, eax
rep stosb byte es:[edi], al
jmp 0x5886ad
jmp 0x5886be
jmp 0x5886cf
lea eax, [ebx + 0x2c]
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x24]
jmp 0x5886f8
push edx
mov edx, 0x4da
mov edx, 0x747
mov edx, 0x12d2
mov edx, 0x47ea
pop edx
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.WINHTTP.dll_WinHttpReadData
mov eax, dword [ebx + 0x28]
mov ecx, esi
sub esp, 0x10
mov dword [esp], eax
call fcn.0062b840
push eax
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x588746
mov dword [esp], eax
push ecx
pop ecx
jmp 0x588741
call fcn.006572a0
cmp dword [ebx + 0x24], 0
jmp 0x58861c
lea eax, [ebx + 0x34]
mov dword [esp + 0x14], 0
lea esi, [ebx + 0x24]
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20000013
mov dword [esp], eax
call sub.WINHTTP.dll_WinHttpQueryHeaders
push eax
mov eax, 0x6cc3
mov eax, 0x182c
pop eax
mov eax, dword [ebx + 8]
sub esp, 0x18
push edx
mov edx, 0x74d8
mov edx, 0x6177
pop edx
mov dword [esp + 0x14], 0
push ecx
mov ecx, 0x62af
mov ecx, 0x1a13
pop ecx
mov dword [esp + 0x10], esi
jmp 0x5887ca
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x16
mov dword [esp], eax
call sub.WINHTTP.dll_WinHttpQueryHeaders
sub esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x5888cc
nop
mov eax, dword [ebx + 0x24]
cmp eax, 0x7ffffffd
ja 0x5888c7
and eax, 0xfffffffe
mov dword [esp], eax
call fcn.006572d0
mov dword [esp + 0x10], esi
lea esi, [ebp - 0x30]
mov dword [ebx + 0x30], eax
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x16
mov dword [esp], eax
call sub.WINHTTP.dll_WinHttpQueryHeaders
lea eax, [ebp - 0x28]
mov edx, dword [ebx + 0x30]
mov ecx, esi
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x24]
sub esp, 0x18
mov dword [esp], edx
and eax, 0xfffffffe
jmp 0x588879
push ecx
mov ecx, 0xac
mov ecx, 0x77b6
pop ecx
add eax, edx
mov dword [esp + 4], eax
call fcn.00630270
push ecx
push ecx
lea ecx, [ebx + 0x40]
mov dword [esp], esi
nop
jmp 0x5888a0
call fcn.0040616a
mov ecx, esi
push edi
call fcn.0062fa00
mov ecx, ebx
call fcn.0058aee4
jmp 0x5888c5
jmp 0x5888cc
call fcn.0065aa30
mov ecx, ebx
call fcn.0058a3d4
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.0055d590
push eax
jmp 0x5888e6
nop
mov eax, dword [ebx + 8]
mov dword [esp], eax
call fcn.0055d590
push edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8