Function at 0x545b50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550337
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x59de30]
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 bl, byte [ebp + 0x10]
test bl, bl
jne 0x545b94
cmp dword [edi + 0xac], 0
jne 0x545cb9
push 4
xor eax, eax
push str.HEAD
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
call fcn.00403d70
mov ecx, dword [edi + 0x24]
lea eax, [ebp - 0xb0]
push eax
mov dword [ebp - 4], 0
call fcn.00548b80
mov esi, eax
mov ecx, dword [edi + 0x24]
add ecx, 0x100
lea edx, [edi + 0x78]
mov byte [ebp - 4], 1
cmp edx, ecx
je 0x545bfb
push 0xffffffffffffffff
push 0
push ecx
mov ecx, edx
call fcn.00403f60
lea ecx, [edi + 0x90]
lea eax, [ebp - 0x98]
cmp ecx, eax
je 0x545c15
push 0xffffffffffffffff
push 0
push eax
call fcn.00403f60
push 0
push esi
mov ecx, edi
call fcn.005476c0
test al, al
jne 0x545c42
call fcn.00536cd0
push dword [edi + 0x3c]
mov ecx, dword [eax]
push str.Failed_to_send_the_request_to_server_to_get_the_response____d
push 0x557600
push eax
call dword [ecx + 0x24]
add esp, 0x10
xor al, al
jmp 0x545c44
mov al, 1
test al, al
sete bh
cmp dword [ebp - 0x9c], 8
jb 0x545c60
push dword [ebp - 0xb0]
call fcn.004daf24
add esp, 4
xor eax, eax
cmp dword [ebp - 0x84], 8
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
mov word [ebp - 0xb0], ax
mov dword [ebp - 4], 0xffffffff
jb 0x545c9b
push dword [ebp - 0x98]
call fcn.004daf24
add esp, 4
test bh, bh
je 0x545ca6
xor al, al
jmp 0x546113
test bl, bl
je 0x545cb9
lea eax, [edi + 0xac]
push eax
call fcn.00546cc0
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
lea eax, [ebp - 0x80]
push eax
push 0x2a
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.00546a40
test al, al
je 0x545d04
call fcn.00536cd0
cmp dword [ebp - 0x6c], 8
mov ecx, dword [eax]
lea edx, [ebp - 0x80]
cmovae edx, dword [ebp - 0x80]
push edx
push str.Header_Field_for_Accept_Ranges_is__s_But_skipping_it_as_it_can_be_wrong_if_the_Firewall_Proxy_is_there_in_network
push eax
call dword [ecx + 4]
add esp, 0xc
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test esi, esi
ja 0x545d1c
jb 0x545d15
cmp ebx, 2
jae 0x545d1c
mov bl, 1
jmp 0x546100
push 0
mov dword [ebp - 0x130], 0
call fcn.004dbbe2
add esp, 4
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x13c], edx
call fcn.0053c950
xor eax, eax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 4
call fcn.005368e0
mov ecx, ebx
add ecx, 0xffffffff
mov eax, esi
adc eax, 0xffffffff
add ebx, 0xfffffffe
adc esi, 0xffffffff
mov byte [ebp - 4], 5
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], esi
lea esp, [esp]
push eax
push ecx
push esi
push ebx
push 0
mov ecx, edi
call fcn.005457f0
test al, al
jne 0x545ec5
lea eax, [ebp - 0xc0]
push eax
mov ecx, edi
call fcn.00546830
mov esi, eax
mov ecx, dword [esi]
mov dword [ebp - 0x68], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x64], ecx
lea eax, [esi + 8]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
cmp ecx, eax
je 0x545de8
push 0xffffffffffffffff
push 0
push eax
call fcn.00403f60
cmp dword [ebp - 0xa4], 8
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 5
jb 0x545e0f
push dword [ebp - 0xb8]
call fcn.004daf24
add esp, 4
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0053cef0
mov esi, eax
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0053ceb0
cmp esi, 1
jne 0x545f0d
call fcn.00536cd0
push dword [ebp - 0xe8]
mov ecx, dword [eax]
push dword [ebp - 0xe4]
push str.Byte_Range_Call:_some_intermittent_error_while_fetching_remote_file_size._Retrying_now._Error_code_is__d_and_error_type_is__d
push 0x557600
push eax
call dword [ecx + 0x1c]
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x130]
inc esi
push 0
mov dword [ebp - 0x130], esi
call fcn.004dbbe2
mov ebx, eax
add esp, 4
mov eax, edx
mov dword [ebp - 0x144], eax
cmp esi, 5
jge 0x545ee0
mov esi, ebx
sub esi, dword [ebp - 0x134]
mov ecx, eax
sbb ecx, dword [ebp - 0x13c]
test ecx, ecx
jg 0x545eda
jl 0x545ea8
cmp esi, 0x78
ja 0x545eda
mov ebx, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x148]
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x140]
jmp 0x545da0
cmp al, 1
je 0x545f2c
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x140]
jmp 0x545da0
mov esi, dword [ebp - 0x130]
call fcn.00536cd0
sub ebx, dword [ebp - 0x134]
mov edx, dword [ebp - 0x144]
sbb edx, dword [ebp - 0x13c]
mov ecx, dword [eax]
push edx
push ebx
push esi
push str.Byte_Range_Call:_Retry_Count:__d_reached_for_byte_and_total_time_taken_in_seconds_is__d
push 0x557600
push eax
call dword [ecx + 0x1c]
add esp, 0x18
call fcn.00536cd0
mov ecx, dword [eax]
push str.Byte_Range_Call:_failed_to_check_byte_range_for_network
push 0x557600
push eax
call dword [ecx + 0x1c]
add esp, 0xc
xor bl, bl
jmp 0x546098
mov ecx, edi
call fcn.00546140
test al, al
je 0x545f5d
lea eax, [edi + 0xac]
push eax
call fcn.00546cc0
call fcn.00536cd0
mov ecx, dword [eax]
push str.failed_to_get_the_byte_range_response_server._It_means_byte_range_is_not_supported.
push eax
call dword [ecx + 0x14]
add esp, 0xc
xor bl, bl
jmp 0x546098
call fcn.00536cd0
mov ecx, dword [eax]
push str.Logging_the_HTTP_Header_for_Byte_Range_query_:
push eax
call dword [ecx + 0x14]
lea eax, [edi + 0xac]
push eax
call fcn.00546cc0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
push eax
push 0x13
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00546a40
test al, al
jne 0x545fcb
call fcn.00536cd0
mov ecx, dword [eax]
push str.No_Status_found_in_response_of_byte_range_query
push eax
call dword [ecx + 0xc]
add esp, 8
jmp 0x54604c
lea eax, [ebp - 0x28]
push eax
push 5
mov ecx, edi
call fcn.00546a40
test al, al
jne 0x545ff1
call fcn.00536cd0
mov ecx, dword [eax]
push str.No_Content_Length_tag_in_response_of_byte_range_query
push eax
call dword [ecx + 0xc]
add esp, 8
jmp 0x54604c
lea eax, [ebp - 0x40]
push 0x573764
push eax
call fcn.00545520
add esp, 8
test al, al
jne 0x54601f
lea eax, [ebp - 0x28]
push 0x57376c
push eax
call fcn.00545520
add esp, 8
test al, al
jne 0x54601f
mov bl, 1
jmp 0x54604e
call fcn.00536cd0
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push edx
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
mov esi, eax
push ecx
mov eax, dword [esi]
push 0x573770
push esi
call dword [eax + 4]
add esp, 0x10
xor bl, bl
cmp dword [ebp - 0x14], 8
jb 0x54605f
push dword [ebp - 0x28]
call fcn.004daf24
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x546084
push dword [ebp - 0x40]
call fcn.004daf24
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [ebp - 0xcc], 8
jb 0x5460af
push dword [ebp - 0xe0]
call fcn.004daf24
add esp, 4
xor eax, eax
cmp dword [ebp - 0x4c], 8
mov dword [ebp - 0xcc], 7
mov dword [ebp - 0xd0], 0
mov word [ebp - 0xe0], ax
jb 0x5460dd
push dword [ebp - 0x60]
call fcn.004daf24
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
mov byte [ebp - 4], 2
call fcn.0053ca40
cmp dword [ebp - 0x6c], 8
jb 0x546111
push dword [ebp - 0x80]
call fcn.004daf24
add esp, 4
mov al, bl
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.004da4c1
mov esp, ebp
pop ebp
ret 0xc