Function at 0x4a55e0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x778fb2
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x88bba0]
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 edi, ecx
mov eax, dword [ebp + 8]
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], esi
lea ecx, [ecx]
push 0x50
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push str.HTTPClient::downloadResponseDataToStream___WinHttpQueryDataAvailable_has_failed.
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0042fb60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
push 6
lea eax, [ebp - 0xf4]
push eax
push dword [ebp - 0xf8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
push eax
mov ecx, edi
call fcn.004a1000
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x4a56b9
push dword [ebp - 0x28]
call fcn.00489b60
add esp, 4
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
test eax, eax
je 0x4a5ab0
inc eax
push eax
call fcn.0070d787
add esp, 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
mov esi, eax
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
push 0x45
push str.HTTPClient::downloadResponseDataToStream___Memory_allocation_failure.
mov byte [ebp - 0x40], 0
call fcn.0042fb60
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
push 6
push esi
mov ecx, edi
call fcn.004a1000
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 0x10
jb 0x4a5741
push dword [ebp - 0x40]
call fcn.00489b60
add esp, 4
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0x2c], 0xf
push eax
push 0
push esi
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00723180
add esp, 0xc
lea eax, [ebp - 0x100]
push eax
push dword [ebp - 0xf4]
push esi
push dword [ebp - 0xf8]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x4a5800
push esi
call fcn.00723210
add esp, 4
mov byte [ebp - 0x88], 0
xor esi, esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
push 0x35
push str.HTTPClient::GetResponseWinHTTP___Failed_to_read_data.
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], esi
call fcn.0042fb60
mov dword [ebp - 4], 2
lea eax, [ebp - 0x88]
push eax
push 6
push esi
mov ecx, edi
call fcn.004a1000
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x74], 0x10
jb 0x4a57eb
push dword [ebp - 0x88]
call fcn.00489b60
add esp, 4
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
push 0
push dword [ebp - 0xf4]
mov ecx, ebx
push esi
call fcn.0048c480
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x4a582b
push 0
push dword [ebp - 0xf4]
lea ecx, [eax + 0x60]
push esi
call fcn.0048c480
push esi
call fcn.00723210
mov eax, dword [ebx]
add esp, 4
mov eax, dword [eax + 4]
test byte [eax + ebx + 0xc], 6
je 0x4a5a8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1d
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0
push str._s:_Download_state_:__d_d_d_d
mov dword [edi + 0x2c], eax
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.0042fb60
mov dword [ebp - 4], 3
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00483380
mov esi, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebx]
push str.Absolute::Ctes::NextGen::HTTPClient::downloadResponseDataToStream
mov ecx, dword [ecx + 4]
mov ebx, dword [ecx + ebx + 0xc]
mov ecx, esi
call fcn.00483720
xor eax, eax
mov ecx, esi
test ebx, ebx
sete al
push eax
call fcn.004836e0
movzx eax, bl
mov ecx, esi
and eax, 1
push eax
call fcn.004836e0
mov eax, 0
test bl, 6
mov ecx, esi
setne al
push eax
call fcn.004836e0
shr ebx, 2
mov ecx, esi
and ebx, 1
push ebx
call fcn.004836e0
lea eax, [ebp - 0xb8]
mov ecx, esi
push eax
call fcn.00483750
mov byte [ebp - 4], 5
push eax
call fcn.00480c90
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0xa4], 0x10
jb 0x4a5921
push dword [ebp - 0xb8]
call fcn.00489b60
add esp, 4
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd4]
call fcn.00483470
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x44], 0x10
jb 0x4a5963
push dword [ebp - 0x58]
call fcn.00489b60
add esp, 4
push 0x53
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0
push str.HTTPClient::downloadResponseDataToStream___Streaming_the_file_has_failed._GLE___lu
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.0042fb60
mov dword [ebp - 4], 6
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00483380
mov esi, eax
mov byte [ebp - 4], 7
mov ecx, esi
push dword [edi + 0x2c]
call fcn.00483710
lea eax, [ebp - 0xa0]
mov ecx, esi
push eax
call fcn.00483750
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xf0]
call fcn.00483470
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x5c], 0x10
jb 0x4a59fc
push dword [ebp - 0x70]
call fcn.00489b60
add esp, 4
sub esp, 0x18
mov dword [ebp - 0x5c], 0xf
mov ecx, esp
mov dword [ebp - 0x10c], esp
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0042fa30
mov byte [ebp - 4], 0xb
push 6
mov byte [ebp - 4], 0xa
call fcn.00499e80
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x8c], 0x10
jb 0x4a5a6a
push dword [ebp - 0xa0]
call fcn.00489b60
add esp, 4
mov ebx, dword [ebp - 0x104]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
mov esi, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0xf4]
add esi, ecx
cmp dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], esi
je 0x4a5ab0
test ecx, ecx
jne 0x4a5640
mov eax, esi
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.00722035
mov esp, ebp
pop ebp
ret 0xc