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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
push ebx
xor edx, edx
mov dword [esp + 0x10], ecx
push esi
or eax, 0xffffffff
mov byte [esp + 0xa], dl
xorps xmm0, xmm0
mov byte [esp + 0xb], dl
push edi
movlpd qword [esp + 0x20], xmm0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x17], dl
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], edx
call fcn.004a3b3f
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov byte [edx], 1
mov edi, dword [ebx + 0x10120]
mov esi, dword [edi]
cmp esi, edi
je 0x49dd81
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
cmp byte [esi + 0x49], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
jne 0x49dd6f
inc eax
cmp byte [esi + 0x48], 0
mov dword [esp + 0x10], eax
jne 0x49da9a
xorps xmm0, xmm0
lea ecx, [esi + 0x30]
lea edx, [esp + 0x20]
movlpd qword [esp + 0x20], xmm0
call fcn.004a4e62
test al, al
je 0x49dd68
cmp byte [esi + 0x4a], 0
mov edx, dword [ebp + 0xc]
jne 0x49d96e
mov ecx, dword [edx]
sub ecx, dword [esi + 0x30]
mov ebx, dword [esp + 0x18]
mov eax, dword [edx + 4]
sbb eax, dword [esi + 0x34]
cmp dword [ebx + 0x7c], eax
mov ebx, dword [ebp + 8]
jg 0x49d89f
jl 0x49d89a
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x78], ecx
jae 0x49d89f
xor eax, eax
inc eax
jmp 0x49d8a1
xor eax, eax
test al, al
je 0x49d96e
and dword [esp + 0x4c], 0
lea eax, [esp + 0x68]
and dword [esp + 0x5c], 0
lea ecx, [esp + 0x4c]
push 0x2c8
push 0x69ded8
mov dword [esp + 0x58], str.fetch_ID__d_of_download__d_failed_to_start__soft_timeout_
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x200
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], str.Downloader
call fcn.00496d52
push dword [ebx + 0x14]
lea ecx, [esp + 0x50]
push dword [ebx + 0x10]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.004973c4
mov ecx, eax
call fcn.004973c4
lea ecx, [esp + 0x4c]
call fcn.0042bc04
mov byte [esi + 0x4a], 1
cmp byte [ebx + 0xec], 0
jne 0x49d94c
cmp byte [esp + 0xf], 0
jne 0x49d94c
cmp byte [ebx + 0xed], 0
je 0x49d947
push 0x2d2
push str..._bnl_dl2downloader_sourcedownloaderStandardDownloaderImpl.cpp
push str._download.m_complete
call fcn.0054db53
add esp, 0xc
mov byte [esp + 0xe], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc ecx
cmp byte [esi + 0x4a], 0
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x1c], ecx
jne 0x49dd73
mov byte [edx], 0
jmp 0x49dd73
mov ecx, dword [edx]
mov eax, dword [edx + 4]
sub ecx, dword [esi + 0x30]
mov edx, dword [esp + 0x18]
sbb eax, dword [esi + 0x34]
cmp dword [edx + 0x84], eax
jg 0x49d994
jl 0x49d98f
cmp dword [edx + 0x80], ecx
jae 0x49d994
xor eax, eax
inc eax
jmp 0x49d996
xor eax, eax
test al, al
je 0x49d94c
and dword [esp + 0x4c], 0
lea eax, [esp + 0x68]
and dword [esp + 0x5c], 0
lea ecx, [esp + 0x4c]
push 0x2d8
push 0x69ded8
mov dword [esp + 0x58], str.fetch_ID__d_of_download__d_failed_to_start__hard_timeout___cancel_operation
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x200
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], str.Downloader
call fcn.00496d52
push dword [ebx + 0x14]
lea ecx, [esp + 0x50]
push dword [ebx + 0x10]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.004973c4
mov ecx, eax
call fcn.004973c4
lea ecx, [esp + 0x4c]
call fcn.0042bc04
push dword [esi + 0xc]
mov ecx, ebx
push dword [esi + 8]
call fcn.004a2977
mov dword [esp + 0x10], eax
test eax, eax
je 0x49da89
and dword [esp + 0x4c], 0
lea eax, [esp + 0x68]
and dword [esp + 0x5c], 0
lea ecx, [esp + 0x4c]
push 0x2e0
push 0x69ded8
mov dword [esp + 0x58], str.error_in_cancellation_of_fetch_ID__d:__s
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x200
mov dword [esp + 0x68], 4
mov dword [esp + 0x6c], str.Downloader
call fcn.00496d52
push dword [esi + 0xc]
lea ecx, [esp + 0x50]
push dword [esi + 8]
call fcn.004973c4
mov ecx, dword [esp + 0x10]
mov edx, eax
call fcn.0049b24c
push eax
mov ecx, edx
call fcn.004971d9
lea ecx, [esp + 0x4c]
call fcn.0042bc04
mov eax, dword [esp + 0x2c]
mov byte [esi + 0x49], 1
mov dword [esp + 0x10], eax
jmp 0x49d950
mov dl, byte [esi + 0x4b]
test dl, dl
jne 0x49db8f
mov eax, dword [ebp + 0xc]
mov ebx, dword [esp + 0x18]
mov ecx, dword [eax]
sub ecx, dword [esi + 0x38]
mov eax, dword [eax + 4]
sbb eax, dword [esi + 0x3c]
cmp dword [ebx + 0x8c], eax
mov ebx, dword [ebp + 8]
jg 0x49dad5
jl 0x49dad0
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x88], ecx
jae 0x49dad5
xor eax, eax
inc eax
jmp 0x49dad7
xor eax, eax
test al, al
je 0x49db8f
and dword [esp + 0x4c], 0
lea eax, [esp + 0x68]
and dword [esp + 0x5c], 0
lea ecx, [esp + 0x4c]
push 0x2f3
push 0x69ded8
mov dword [esp + 0x58], str.fetch_ID__d_of_download__d_failed_deliver_data__soft_timeout_
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x200
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], str.Downloader
call fcn.00496d52
push dword [ebx + 0x14]
lea ecx, [esp + 0x50]
push dword [ebx + 0x10]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.004973c4
mov ecx, eax
call fcn.004973c4
lea ecx, [esp + 0x4c]
call fcn.0042bc04
mov byte [esi + 0x4b], 1
cmp byte [ebx + 0xec], 0
jne 0x49db6d
push 0x2f9
push str..._bnl_dl2downloader_sourcedownloaderStandardDownloaderImpl.cpp
push str.download.m_started
call fcn.0054db53
add esp, 0xc
cmp byte [esp + 0xf], 0
jne 0x49dd17
cmp byte [ebx + 0xed], 0
jne 0x49dd17
mov byte [esp + 0xe], 1
jmp 0x49dd17
mov eax, dword [ebp + 0xc]
mov ebx, dword [esp + 0x18]
mov ecx, dword [eax]
sub ecx, dword [esi + 0x38]
mov eax, dword [eax + 4]
sbb eax, dword [esi + 0x3c]
cmp dword [ebx + 0x94], eax
mov ebx, dword [ebp + 8]
jg 0x49dbbf
jl 0x49dbba
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x90], ecx
jae 0x49dbbf
xor eax, eax
inc eax
jmp 0x49dbc1
xor eax, eax
test al, al
je 0x49dcc6
and dword [esp + 0x4c], 0
lea eax, [esp + 0x68]
and dword [esp + 0x5c], 0
lea ecx, [esp + 0x4c]
push 0x301
push 0x69ded8
mov dword [esp + 0x58], str.fetch_ID__d_of_download__d_failed_deliver_data__hard_timeout___cancel_operation
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x200
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], str.Downloader
call fcn.00496d52
push dword [ebx + 0x14]
lea ecx, [esp + 0x50]
push dword [ebx + 0x10]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.004973c4
mov ecx, eax
call fcn.004973c4
lea ecx, [esp + 0x4c]
call fcn.0042bc04
push dword [esi + 0xc]
mov ecx, ebx
push dword [esi + 8]
call fcn.004a2977
mov dword [esp + 0x2c], eax
test eax, eax
je 0x49dcb8
and dword [esp + 0x4c], 0
lea eax, [esp + 0x68]
and dword [esp + 0x5c], 0
lea ecx, [esp + 0x4c]
push 0x309
push 0x69ded8
mov dword [esp + 0x58], str.error_in_cancellation_of_fetch_ID__d:__s
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x200
mov dword [esp + 0x68], 4
mov dword [esp + 0x6c], str.Downloader
call fcn.00496d52
push dword [esi + 0xc]
lea ecx, [esp + 0x50]
push dword [esi + 8]
call fcn.004973c4
mov ecx, dword [esp + 0x2c]
mov edx, eax
call fcn.0049b24c
push eax
mov ecx, edx
call fcn.004971d9
lea ecx, [esp + 0x4c]
call fcn.0042bc04
mov eax, dword [esp + 0x20]
mov byte [esi + 0x49], 1
mov dword [esp + 0x10], eax
jmp 0x49dd17
test dl, dl
jne 0x49dd17
mov eax, dword [esp + 0x34]
mov byte [esp + 0xf], 1
mov byte [esp + 0xe], dl
cmp dword [esi + 0x54], eax
jb 0x49dd17
ja 0x49dce7
mov ecx, dword [esp + 0x30]
cmp dword [esi + 0x50], ecx
jbe 0x49dd17
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], edx
test eax, eax
jb 0x49dd17
ja 0x49dd12
mov eax, dword [esp + 0x18]
cmp ecx, dword [eax + 0x70]
jbe 0x49dd17
mov byte [esp + 0x17], 1
cmp byte [esi + 0x4b], 0
je 0x49dd56
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [edx]
sub ecx, dword [esi + 0x40]
mov eax, dword [edx + 4]
sbb eax, dword [esi + 0x44]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x10]
push 0
push 0
add ecx, 0x20
call fcn.004b7d2c
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [esi + 0x40], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x44], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
inc ecx
cmp byte [esi + 0x4b], 0
jmp 0x49d959
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esi]
cmp esi, edi
jne 0x49d82d
test ecx, ecx
jne 0x49dd84
mov byte [edx], 0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x49dd94
cmp byte [ebx + 0xed], al
je 0x49ddbb
cmp byte [esp + 0xe], 0
je 0x49ddcd
cmp byte [ebx + 0xed], 0
je 0x49ddbb
push 0x344
push str..._bnl_dl2downloader_sourcedownloaderStandardDownloaderImpl.cpp
push str._download.m_complete
call fcn.0054db53
add esp, 0xc
push dword [ebp + 0xc]
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.0049deaa
jmp 0x49dea1
cmp byte [esp + 0x17], 0
je 0x49dea1
cmp eax, 1
jbe 0x49dea1
mov edi, dword [ebx + 0x10120]
mov esi, dword [edi]
jmp 0x49de99
cmp byte [esi + 0x49], 0
jne 0x49de97
mov eax, dword [esp + 0x38]
cmp dword [esi + 8], eax
jne 0x49de0e
mov eax, dword [esp + 0x3c]
cmp dword [esi + 0xc], eax
je 0x49de97
push dword [esi + 0xc]
mov ecx, ebx
push dword [esi + 8]
call fcn.004a2977
mov dword [esp + 0x20], eax
test eax, eax
je 0x49de93
and dword [esp + 0x4c], 0
lea eax, [esp + 0x68]
and dword [esp + 0x5c], 0
lea ecx, [esp + 0x4c]
push 0x358
push 0x69ded8
mov dword [esp + 0x58], str.error_in_cancellation_of_fetch_ID__d:__s
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x200
mov dword [esp + 0x68], 4
mov dword [esp + 0x6c], str.Downloader
call fcn.00496d52
push dword [esi + 0xc]
lea ecx, [esp + 0x50]
push dword [esi + 8]
call fcn.004973c4
mov ecx, dword [esp + 0x20]
mov edx, eax
call fcn.0049b24c
push eax
mov ecx, edx
call fcn.004971d9
lea ecx, [esp + 0x4c]
call fcn.0042bc04
mov byte [esi + 0x49], 1
mov esi, dword [esi]
cmp esi, edi
jne 0x49ddee
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc