Function at 0x428a90
Capabilities:
Check http status code
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e201
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x4c2618]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push edi
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x44], ebx
push eax
push edi
push 0x20000013
push ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x34], 4
call esi
test eax, eax
je 0x428b54
sub esp, 8
lea ecx, [ebp - 0x100]
call fcn.00403750
mov dword [ebp - 0x50], 0x10
mov dword [ebp - 0x4c], str.HttpGet::Download
mov edx, str.status_code:
mov dword [ebp - 4], edi
lea ecx, [ebp - 0xf0]
call fcn.00407bd0
push dword [ebp - 0x18]
lea ecx, [ebp - 0xf0]
call fcn.0041fd70
lea ecx, [ebp - 0x100]
mov dword [ebp - 4], 0xffffffff
call fcn.00402230
cmp dword [ebp - 0x18], 0x190
jb 0x428b54
mov eax, 0x4bc
jmp 0x428cfb
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push 0x40
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.0041ff20
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
sub eax, ecx
and eax, 0xfffffffe
push 0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push ecx
push 0
push 5
push ebx
call esi
test eax, eax
je 0x428bba
push dword [ebp - 0x30]
call fcn.00469fb3
add esp, 4
mov ecx, eax
or eax, edx
je 0x428bba
mov esi, dword [ebp - 0x40]
push edx
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x428ce9
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push ecx
lea ecx, [ebp - 0x24]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
call fcn.00428d20
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp - 0x44]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x428c89
mov ecx, dword [ebp - 0x14]
mov eax, ebx
sub eax, esi
cmp eax, ecx
jae 0x428c19
push ecx
lea ecx, [ebp - 0x24]
call fcn.00415e30
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x3c]
mov eax, ebx
push ecx
sub eax, esi
push eax
push esi
push dword [ebp - 0x44]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x428c5a
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x428c4f
mov edx, dword [ebp - 0x40]
push 0
push ecx
push esi
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov edi, eax
test edi, edi
jne 0x428cdc
cmp dword [ebp - 0x14], 0
ja 0x428be3
jmp 0x428cdc
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 8
lea ecx, [ebp - 0x100]
mov edi, eax
call fcn.00403750
mov dword [ebp - 0x50], 4
mov dword [ebp - 0x4c], str.HttpGet::Download
mov byte [ebp - 4], 4
mov edx, str.WinHttpReadData_failed
jmp 0x428cb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 8
lea ecx, [ebp - 0x100]
mov edi, eax
call fcn.00403750
mov dword [ebp - 0x50], 4
mov dword [ebp - 0x4c], str.HttpGet::Download
mov byte [ebp - 4], 3
mov edx, str.WinHttpQueryDataAvailable_failed
lea ecx, [ebp - 0xf0]
call fcn.00408070
push edi
lea ecx, [ebp - 0xf0]
call fcn.0041fd70
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 2
call fcn.00402230
test esi, esi
je 0x428ce9
push esi
call fcn.00466e37
add esp, 4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x428cf9
push eax
call fcn.00466e37
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00466e3c
mov esp, ebp
pop ebp
ret 8