Function at 0x5463c0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550398
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x59de30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x20], 0
je 0x546575
cmp byte [esi + 0x28], 0
je 0x546575
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
mov dword [ebx], 0
push dword [esi + 0xac]
mov dword [ebp - 0x10], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x546465
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
push eax
mov ecx, esi
call fcn.00546fc0
call fcn.00536cd0
mov esi, eax
mov edi, dword [esi]
call ebx
push eax
push str.Error__d_in_WinHttpQueryDataAvailable._n
push 0x557600
push esi
call dword [edi + 0x24]
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0x14]
cmova ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
test ecx, ecx
jne 0x54648d
lea eax, [ecx + 2]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [ebp + 0x10], 0
mov edi, dword [ebp + 8]
je 0x5464f8
push 0x5aecb8
push ecx
call fcn.0054a8ef
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x5464f5
call fcn.00536cd0
push dword [ebp - 0x10]
mov ecx, dword [eax]
push str.failed_to_allote_mmeory_of_size__d
push 0x557600
push eax
call dword [ecx + 0x24]
sub esp, 8
mov ecx, esp
push 0x557600
call fcn.00405af0
push 0
push 0x13
mov ecx, esi
call fcn.00547900
mov eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push dword [edi]
call fcn.004de2a0
add esp, 0xc
push ebx
push dword [ebp - 0x10]
push dword [edi]
push dword [esi + 0xac]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x546557
call fcn.00536cd0
mov ecx, dword [eax]
push str.Error__u_in_WinHttpReadData._n
push 0x557600
push eax
call dword [ecx + 0x24]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00546fc0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x10]
neg eax
sbb eax, eax
add eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00536cd0
mov ecx, dword [eax]
push str.downloader_is_not_initialized
push eax
call dword [ecx + 4]
add esp, 8
xor eax, eax
push eax
push 0x557600
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403d70
lea ecx, [esi + 0x40]
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [esi + 0x38], 0x12
mov dword [esi + 0x3c], 0
cmp ecx, eax
je 0x5465d3
push 0xffffffffffffffff
push 0
push eax
call fcn.00403f60
cmp dword [ebp - 0x14], 8
jb 0x5465e4
push dword [ebp - 0x28]
call fcn.004daf24
add esp, 4
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10