Function at 0x5628f0
Capabilities:
Delete registry value
Get file size
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64f917
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x598
push ebx
push esi
push edi
mov ebx, ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], esp
mov edx, dword [ebx + 0xdc]
lea ecx, [ebp - 0x74]
xor esi, esi
push eax
push ecx
push esi
push esi
push 0x6d1064
push edx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 4], esi
mov dword [ebx + 0xcc], esi
mov dword [ebp - 0x30], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x562963
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebx + 0xb8], esi
mov dword [ebx + 0xcc], 1
mov dword [ebx + 0xbc], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov word [ebp - 0x28], si
mov eax, dword [ebx + 0x90]
mov byte [ebp - 4], 1
cmp eax, esi
je 0x562b51
mov ecx, dword [0x6f7b78]
mov dword [ebp - 0x18], ecx
push eax
lea edx, [ebp - 0x18]
push str.SoftwareDownloadManager_ld
push edx
mov byte [ebp - 4], 2
call fcn.0061fae1
add esp, 0xc
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0x10]
push esi
push eax
push esi
push 0xf003f
push esi
push 0x6fc418
push esi
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x5a4]
push edx
push eax
push esi
push esi
push 0x6d10ac
push ecx
mov dword [ebp - 0x30], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x562a19
push str.Cannot_find_old_localFileName__e1148__n
mov ecx, ebx
call fcn.0055c480
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00622d8a
jmp 0x562e92
lea edx, [ebp - 0x5a4]
lea ecx, [ebp - 0x2c]
push edx
call fcn.00401f20
mov eax, dword [0x6f7b78]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp eax, esi
jne 0x562a3e
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x60]
call fcn.00622e4a
mov ecx, dword [ebp - 0x60]
lea edx, [ebp + 8]
push ecx
push str.Loading_old_localFileName____s_from_registry_n
push edx
mov byte [ebp - 4], 4
call fcn.0061fae1
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.0055c480
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x30]
lea edi, [ebx + 0xa8]
push ecx
push edi
push esi
push esi
push str.FileSize
push edx
mov dword [ebp - 0x30], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x562aa5
push str.Cannot_find_old_file_size_in_registry._n
mov ecx, ebx
call fcn.0055c480
mov dword [edi], esi
mov dword [edi + 4], esi
jmp 0x562ac8
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
lea edx, [ebp + 8]
push str.Loading_old_file_size__I64d_Bytes_from_registry_n
push edx
call fcn.0061fae1
mov eax, dword [ebp + 8]
add esp, 0x10
mov ecx, ebx
push eax
call fcn.0055c480
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x44]
push ecx
push edx
push esi
push esi
push str.Duration
push eax
mov dword [ebp - 0x30], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x562b1e
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov eax, edx
mov dword [ebx + 0xb8], ecx
mov dword [ebx + 0xbc], edx
push eax
push ecx
lea edx, [ebp + 8]
push str.Loading_duration_from_registry:__f_sec_n
push edx
call fcn.0061fae1
mov eax, dword [ebp + 8]
add esp, 0x10
mov ecx, ebx
push eax
call fcn.0055c480
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.00622d8a
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00622d8a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00622d8a
jmp 0x562c43
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x562e92
mov edx, 0x6c910c
test edx, edx
je 0x562c2f
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], esi
mov word [ebp - 0x44], si
call fcn.00401f20
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x88]
call fcn.004027c0
push esi
push 0x6c910c
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 6
call fcn.004027e0
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0x48]
call fcn.00401f10
push eax
call fcn.00609a4e
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.00622acb
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x2c], edx
je 0x562c14
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x48]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x88]
call fcn.00401f10
push eax
mov eax, dword [ebp - 0x2c]
push esi
push eax
call fcn.006099de
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00609a4e
add esp, 0x14
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00401070
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xa8], edx
mov dword [ebx + 0xac], eax
xor esi, esi
mov eax, dword [ebp - 0x2c]
cmp eax, esi
jne 0x562c4d
lea eax, [ebp - 0x28]
push esi
push esi
lea ecx, [ebp - 0x108]
push esi
push ecx
push eax
call fcn.0060a943
mov eax, dword [ebp - 0x2c]
add esp, 0x14
cmp eax, esi
jne 0x562c6a
lea eax, [ebp - 0x28]
push eax
push esi
mov ecx, ebx
call fcn.00566e30
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], esi
mov word [ebp - 0x38], si
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x4c], esi
mov word [ebp - 0x50], si
mov edx, dword [0x6f7b78]
mov dword [ebp - 0x14], edx
push str.Rebuilding_old_downloaded_files_before_resume._n
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.0055c480
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0xa0], esi
cmp eax, esi
mov dword [ebx + 0xa4], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
jne 0x562cbc
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x7c]
lea edx, [ebp - 0x20]
push ecx
push edx
push eax
call fcn.00562840
add esp, 0xc
test eax, eax
jne 0x562d18
mov eax, dword [ebp - 0x2c]
cmp eax, esi
jne 0x562cdb
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.00622e4a
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + 8]
push eax
push ecx
lea edx, [ebp - 0x14]
push str.Err_1231__f_s__e_ld._n
push edx
mov byte [ebp - 4], 0xa
call fcn.0061fae1
mov eax, dword [ebp - 0x14]
add esp, 0x10
mov ecx, ebx
push eax
call fcn.0055c480
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
call fcn.00622d8a
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebx + 0xa0]
mov edx, dword [ebp - 0x1c]
add edi, ecx
mov dword [ebx + 0xa0], edi
mov ecx, dword [ebx + 0xa4]
adc ecx, edx
mov eax, ecx
mov dword [ebx + 0xa4], ecx
cmp eax, esi
jg 0x562d56
jl 0x562d4a
cmp dword [ebx + 0xa0], esi
jae 0x562d56
mov dword [ebx + 0xa0], esi
mov dword [ebx + 0xa4], esi
mov eax, dword [ebx + 0xa0]
mov ecx, dword [ebx + 0xa4]
mov dword [ebx + 0x100], eax
mov dword [ebx + 0x104], ecx
mov dword [ebp + 0x10], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xffffffff
jne 0x562def
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x74]
mov dword [ebx + 0xf8], eax
mov dword [ebx + 0xfc], ecx
push str.This_is_the_last_chunk._End_rebuilding._n
mov ecx, ebx
mov dword [ebx + 0xf0], edx
call fcn.0055c480
mov eax, dword [ebx + 0xdc]
lea esi, [ebx + 0xdc]
test eax, eax
je 0x562dbd
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [0x6f7b78]
mov dword [ebp - 0x78], ecx
mov eax, dword [ebx + 0x90]
mov byte [ebp - 4], 0x19
test eax, eax
je 0x56392c
push eax
lea edx, [ebp - 0x78]
push str.SoftwareDownloadManager_ldChList
push edx
call fcn.0061fae1
add esp, 0xc
jmp 0x563945
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x562df9
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, ebx
call fcn.00566e30
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x5c]
push edx
push 0x6c9150
push eax
call fcn.0060a593
add esp, 0xc
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x5c]
push ecx
mov ecx, dword [ebx + 0xdc]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x30], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x562eb4
push eax
lea edx, [ebp - 0x14]
push str.Error_reading_registry__errCode___d._End_rebuilding._n
push edx
call fcn.0061fae1
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.0055c480
mov ecx, dword [0x6fdef8]
push ecx
mov ecx, dword [ebx + 0xd4]
call fcn.00570270
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00622d8a
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.00401070
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00401070
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
push edx
mov edx, dword [ebp - 0x74]
push eax
push ecx
lea eax, [ebp - 0x5c]
push edx
push eax
lea ecx, [ebp - 0x14]
push str.Read_record_num.__s_from_registry:_ID___d__startPos___I64d__nextID___d_n
push ecx
call fcn.0061fae1
mov edx, dword [ebp - 0x14]
add esp, 0x1c
mov ecx, ebx
push edx
call fcn.0055c480
mov eax, dword [ebp - 0x2c]
test eax, eax
mov edi, eax
jne 0x562ef0
lea edi, [ebp - 0x28]
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x194]
push 0xa
push eax
push ecx
call fcn.0060b264
mov edx, 0x6c900c
add esp, 0xc
test edx, edx
mov esi, eax
je 0x563040
test edi, edi
je 0x563040
test esi, esi
je 0x563040
xor eax, eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa0], eax
mov word [ebp - 0xa4], ax
push eax
push edx
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xb
call fcn.004027e0
push edi
lea ecx, [ebp - 0xcc]
call fcn.00401ee0
push esi
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0xc
call fcn.00401ee0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xd
call fcn.00401070
mov esi, dword [ebp - 0xcc]
test esi, esi
jne 0x562f82
lea esi, [ebp - 0xc8]
mov edi, dword [ebp - 0xa0]
lea ecx, [ebp - 0x114]
call fcn.00401f10
push eax
call fcn.00609a4e
mov edx, eax
push esi
mov dword [ebp + 8], edx
call fcn.00609a4e
mov ecx, dword [ebp + 8]
add edi, ecx
lea esi, [eax + edi + 3]
lea edi, [esi + esi]
push edi
call fcn.00622acb
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x3c], edx
je 0x563013
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x114]
call fcn.00401f10
push eax
lea ecx, [ebp - 0xcc]
call fcn.00401f10
push eax
lea ecx, [ebp - 0xa8]
call fcn.00401f10
push eax
mov eax, dword [ebp - 0x3c]
push esi
push eax
call fcn.006099de
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00609a4e
add esp, 0x18
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0xc
call fcn.00401070
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0xb
call fcn.00401070
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 9
call fcn.00401070
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x56304a
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x20]
push edx
push ecx
push eax
call fcn.00562840
add esp, 0xc
test eax, eax
jne 0x5630a6
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x563069
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x64]
call fcn.00622e4a
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x64]
push edx
push eax
lea ecx, [ebp - 0x14]
push str.Err_1275__f_s__e_ld._n
push ecx
mov byte [ebp - 4], 0xe
call fcn.0061fae1
mov edx, dword [ebp - 0x14]
add esp, 0x10
mov ecx, ebx
push edx
call fcn.0055c480
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
call fcn.00622d8a
mov eax, dword [ebp - 0x1c]
test eax, eax
jl 0x5637b5
jg 0x5630be
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jbe 0x5637b5
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebx + 0xa0]
add edx, ecx
mov byte [ebp + 0xb], 0
mov dword [ebx + 0xa0], edx
mov ecx, dword [ebx + 0xa4]
adc ecx, eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0xa4], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x563251
test eax, eax
je 0x5630f8
mov dword [ebp - 0x18], eax
jmp 0x5630fe
lea edx, [ebp - 0x28]
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x194]
push 0xa
push eax
push ecx
call fcn.0060b264
mov ecx, 0x6c900c
add esp, 0xc
test ecx, ecx
mov esi, eax
je 0x56334a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x56334a
test esi, esi
je 0x56334a
xor edi, edi
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xac], edi
mov word [ebp - 0xb0], di
push edi
push ecx
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xf
call fcn.004027e0
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0xd8]
push edx
call fcn.00401ee0
push esi
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x10
call fcn.00401ee0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x11
call fcn.00401070
mov esi, dword [ebp - 0xd8]
cmp esi, edi
jne 0x563193
lea esi, [ebp - 0xd4]
mov edi, dword [ebp - 0xac]
lea ecx, [ebp - 0x100]
call fcn.00401f10
push eax
call fcn.00609a4e
mov edx, eax
push esi
mov dword [ebp - 0x18], edx
call fcn.00609a4e
mov ecx, dword [ebp - 0x18]
add edi, ecx
lea esi, [eax + edi + 3]
lea edi, [esi + esi]
push edi
call fcn.00622acb
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x54], edx
je 0x563224
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x100]
call fcn.00401f10
push eax
lea ecx, [ebp - 0xd8]
call fcn.00401f10
push eax
lea ecx, [ebp - 0xb4]
call fcn.00401f10
push eax
mov eax, dword [ebp - 0x54]
push esi
push eax
call fcn.006099de
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00609a4e
add esp, 0x18
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x10
call fcn.00401070
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xf
call fcn.00401070
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb4]
jmp 0x563345
test eax, eax
jne 0x563258
lea eax, [ebp - 0x28]
mov edx, 0x6c910c
test edx, edx
je 0x56334a
test eax, eax
je 0x56334a
xor esi, esi
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x80], esi
mov word [ebp - 0x84], si
call fcn.00401f20
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x12
call fcn.00401070
lea ecx, [ebp - 0xe4]
call fcn.004027c0
push esi
push 0x6c910c
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0x13
call fcn.004027e0
mov esi, dword [ebp - 0xdc]
lea ecx, [ebp - 0x88]
call fcn.00401f10
push eax
call fcn.00609a4e
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.00622acb
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x54], edx
je 0x56332c
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x88]
call fcn.00401f10
push eax
lea ecx, [ebp - 0xe4]
call fcn.00401f10
push eax
mov eax, dword [ebp - 0x54]
push esi
push eax
call fcn.006099de
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00609a4e
add esp, 0x14
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0x12
call fcn.00401070
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x88]
call fcn.00401070
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x563354
lea eax, [ebp - 0x50]
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5633c2
mov eax, dword [ebp - 0x54]
cmp eax, edi
jne 0x56337e
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x94]
call fcn.00622e4a
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x14]
push edx
push str.Error_opening_file__s._n
push eax
mov byte [ebp - 4], 0x14
call fcn.0061fae1
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
mov ecx, ebx
call fcn.0055c480
lea ecx, [ebp - 0x94]
xor esi, esi
mov byte [ebp - 4], 9
call fcn.00622d8a
cmp esi, edi
je 0x56341b
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
jne 0x5634ab
mov eax, edi
cmp eax, edi
jne 0x5634ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
mov dword [ebp - 0x7c], eax
je 0x5634ab
push eax
lea eax, [ebp - 0x14]
push str.Error_during_GetFileSize____errcode___d._n
push eax
call fcn.0061fae1
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
mov ecx, ebx
call fcn.0055c480
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x54]
cmp eax, edi
jne 0x56342b
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x60]
call fcn.00622e4a
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x60]
push ecx
push edx
push eax
lea ecx, [ebp - 0x14]
push str.this_file__s__size__I64d_n
push ecx
mov byte [ebp - 4], 0x15
call fcn.0061fae1
mov edx, dword [ebp - 0x14]
add esp, 0x14
mov ecx, ebx
push edx
call fcn.0055c480
mov eax, dword [ebp - 0x68]
mov ecx, eax
mov dword [ebp - 0x8c], eax
sar ecx, 0x1f
cmp eax, edi
jbe 0x563706
mov ecx, dword [ebp - 0x3c]
cmp ecx, edi
jne 0x563480
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x108]
push eax
push edx
push ecx
push esi
mov ecx, ebx
call fcn.00562190
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0x757c
jne 0x5634e4
mov byte [ebp + 0xb], 1
jmp 0x56379e
mov edx, dword [ebp - 0x18]
push 1
push edi
push edi
push edx
call fcn.0060c730
mov ecx, dword [ebp - 0x20]
push 2
add ecx, eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x1c]
push eax
push edi
adc ecx, edx
push esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x8c], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x563421
test edi, edi
je 0x563539
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 9
call fcn.00622d8a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00622d8a
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.00401070
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00401070
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x124]
push eax
push str._skf
push ecx
call fcn.0060a593
add esp, 0xc
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0xf4]
lea ecx, [ebp - 0x124]
push edx
mov edx, dword [ebx + 0xdc]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0xbc], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x563591
push str.error____No_keyframe_found_0__n
mov ecx, ebx
call fcn.0055c480
mov ecx, dword [ebx + 0xdc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea eax, [ebp - 0x5c]
push eax
push ecx
call esi
mov eax, dword [ebx + 0xdc]
lea edx, [ebp - 0x124]
push edx
push eax
call esi
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x14]
push ecx
push str.Deleting_record__s_from_registry_n
push edx
call fcn.0061fae1
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.0055c480
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x5c]
push esi
push 0x6c91b4
push ecx
call fcn.0060a593
mov edx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x44]
add esp, 0xc
lea eax, [ebp - 0x74]
mov dword [ebp - 0x68], edx
mov edx, dword [ebx + 0xdc]
push 0x10
push eax
push 0
lea ecx, [ebp - 0x5c]
push 0
push ecx
push edx
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x6c], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x40]
push eax
push ecx
push edi
push esi
lea edx, [ebp - 0x14]
push str.Adding_record_with_ID__d__startPos__I64d__nextID__d_n
push edx
call fcn.0061fae1
mov eax, dword [ebp - 0x14]
add esp, 0x18
mov ecx, ebx
push eax
call fcn.0055c480
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x563643
lea eax, [ebp - 0x38]
push eax
call fcn.0060b6fb
add esp, 4
cmp eax, 0xffffffff
jne 0x56369d
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x56365b
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x98]
call fcn.00622e4a
mov ecx, dword [ebp - 0x98]
lea edx, [ebp - 0x14]
push ecx
push str.Could_not_delete_temp_file__s_n
push edx
mov byte [ebp - 4], 0x16
call fcn.0061fae1
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.0055c480
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x15
call fcn.00622d8a
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0xf4]
xor ecx, ecx
sub edx, eax
mov eax, dword [ebp - 0x1c]
sbb eax, ecx
mov ecx, dword [ebp - 0xf0]
add edi, edx
push esi
adc ecx, eax
push str._dkf
mov dword [ebp - 0xf0], ecx
lea ecx, [ebp - 0x124]
push ecx
mov dword [ebp - 0xf4], edi
call fcn.0060a593
mov ecx, dword [ebx + 0xdc]
add esp, 0xc
lea edx, [ebp - 0xf4]
lea eax, [ebp - 0x124]
push 0x10
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x56379e
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x134]
push edx
push str._skf
push eax
call fcn.0060a593
add esp, 0xc
lea ecx, [ebp - 0xc0]
lea edx, [ebp - 0x154]
lea eax, [ebp - 0x134]
push ecx
mov ecx, dword [ebx + 0xdc]
push edx
push edi
push edi
push eax
push ecx
mov dword [ebp - 0xc0], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, edi
je 0x563762
push str.No_keyframe_found_n
mov ecx, ebx
call fcn.0055c480
mov byte [ebp + 0xb], 1
jmp 0x563793
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x74]
push edx
mov dword [ebp - 0x40], edx
push ecx
push eax
lea edx, [ebp - 0x14]
push str.Set_curID__d__curPos__I64d_n
push edx
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x44], ecx
call fcn.0061fae1
mov eax, dword [ebp - 0x14]
add esp, 0x14
mov ecx, ebx
push eax
call fcn.0055c480
cmp esi, edi
je 0x56379e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 9
call fcn.00622d8a
mov al, byte [ebp + 0xb]
test al, al
je 0x562d77
mov edx, dword [ebx + 0xdc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [ebp - 0x5c]
push ecx
push edx
call esi
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x144]
push eax
push str._skf
push ecx
call fcn.0060a593
mov eax, dword [ebx + 0xdc]
add esp, 0xc
lea edx, [ebp - 0x144]
push edx
push eax
call esi
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x14]
push ecx
push str.Deleting_record__s_from_registry_n
push edx
call fcn.0061fae1
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.0055c480
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x5c]
push esi
push 0x6c9150
push ecx
call fcn.0060a593
mov edx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x44]
add esp, 0xc
lea eax, [ebp - 0x74]
mov dword [ebp - 0x68], edx
mov edx, dword [ebx + 0xdc]
push 0x10
push eax
push 0
lea ecx, [ebp - 0x5c]
push 0
push ecx
push edx
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x6c], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x40]
push eax
push ecx
push edi
push esi
lea edx, [ebp - 0x14]
push str.Adding_record_with_ID__d__startPos__I64d__nextID__d_n
push edx
call fcn.0061fae1
mov eax, dword [ebp - 0x14]
add esp, 0x18
mov ecx, ebx
push eax
call fcn.0055c480
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x56387f
lea eax, [ebp - 0x38]
push eax
call fcn.0060b6fb
add esp, 4
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x3c]
jne 0x5638de
test eax, eax
jne 0x563897
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00622e4a
mov ecx, dword [ebp - 0x9c]
lea edx, [ebp - 0x14]
push ecx
push str.Could_not_delete_temp_file__s_n
push edx
mov byte [ebp - 4], 0x17
call fcn.0061fae1
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.0055c480
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 9
call fcn.00622d8a
jmp 0x562d77
test eax, eax
jne 0x5638e5
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x90]
call fcn.00622e4a
mov ecx, dword [ebp - 0x90]
lea edx, [ebp - 0x14]
push ecx
push str.Delete_temp_file__s_n
push edx
mov byte [ebp - 4], 0x18
call fcn.0061fae1
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.0055c480
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 9
call fcn.00622d8a
jmp 0x562d77
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
push eax
push ecx
lea edx, [ebp - 0x78]
push str.SoftwareDownloadManagerGrabberStsProjects_ld_ldChList
push edx
call fcn.0061fae1
add esp, 0x10
mov eax, dword [esi]
test eax, eax
je 0x563952
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x78]
push 0
push esi
push 0
push 0xf003f
push 0
push 0x6fc418
push 0
push eax
push 0x80000001
mov dword [ebp - 4], 0x19
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0
push 0
mov ecx, dword [esi]
lea edi, [ebx + 0xc8]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x5639b7
push str.Cannot_find_registry_subkeys_counter._n
mov ecx, ebx
call fcn.0055c480
mov dword [edi], 0
jmp 0x5639f5
mov eax, dword [edi]
shr eax, 1
mov dword [edi], eax
mov edx, dword [0x6f7b78]
mov edi, eax
mov dword [ebp - 0x64], edx
push edi
lea eax, [ebp - 0x64]
push str.Values_counter_in_the_registry_subkey___d_n
push eax
mov byte [ebp - 4], 0x1c
call fcn.0061fae1
mov ecx, dword [ebp - 0x64]
add esp, 0xc
push ecx
mov ecx, ebx
call fcn.0055c480
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x19
call fcn.00622d8a
mov ecx, ebx
mov dword [ebx + 0xd0], 1
call fcn.00563a90
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 9
call fcn.00622d8a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00622d8a
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.00401070
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc