Function at 0x4f5050
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 0x5ac1b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x29c
push ebx
push esi
push edi
mov esi, ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x28]
mov edx, dword [esi + 0x74]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x50]
xor edi, edi
push eax
push ecx
push edi
push edi
push 0x63f570
push edx
mov dword [ebp - 0x70], esi
mov dword [ebp - 4], edi
mov dword [esi + 0x64], edi
mov dword [ebp - 0x28], 0x10
call ebx
test eax, eax
je 0x4f50bc
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 [esi + 0x50], edi
mov dword [esi + 0x64], 1
mov dword [esi + 0x54], edi
mov ecx, dword [0x65ec1c]
mov dword [ebp - 0x18], ecx
mov eax, dword [esi + 0x28]
mov byte [ebp - 4], 1
cmp eax, edi
je 0x4f5260
mov dword [ebp - 0x40], ecx
push eax
lea eax, [ebp - 0x40]
push str.SoftwareDownloadManager_ld
push eax
mov byte [ebp - 4], 2
call fcn.0058148b
add esp, 0xc
mov edx, dword [ebp - 0x40]
lea ecx, [ebp + 0x10]
push edi
push ecx
push edi
push 0xf003f
push edi
push 0x663188
push edi
push edx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2a8]
push eax
push ecx
push edi
push edi
push str.LocalFileName
push edx
mov dword [ebp - 0x28], 0x208
call ebx
test eax, eax
je 0x4f5156
push str.Cannot_find_old_localFileName__e1148__n
mov ecx, esi
call fcn.004f2710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
jmp 0x4f544f
lea eax, [ebp - 0x2a8]
lea ecx, [ebp - 0x18]
push eax
call fcn.00588849
mov ecx, dword [0x65ec1c]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 0x18]
lea eax, [ebp + 8]
push edx
push str.Loading_old_localFileName____s_from_registry_n
push eax
mov byte [ebp - 4], 3
call fcn.0058148b
mov ecx, dword [ebp + 8]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.004f2710
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x28]
lea ebx, [esi + 0x40]
push edx
push ebx
push edi
push edi
push str.FileSize
push eax
mov dword [ebp - 0x28], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4f51c9
push str.Cannot_find_old_file_size_in_registry._n
mov ecx, esi
call fcn.004f2710
mov dword [ebx], edi
mov dword [ebx + 4], edi
jmp 0x4f51ec
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push ecx
push edx
lea eax, [ebp + 8]
push str.Loading_old_file_size__I64d_Bytes_from_registry_n
push eax
call fcn.0058148b
mov ecx, dword [ebp + 8]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.004f2710
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x34]
push edx
push eax
push edi
push edi
push str.Duration
push ecx
mov dword [ebp - 0x28], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4f523c
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov ecx, eax
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], eax
push ecx
push edx
lea eax, [ebp + 8]
push str.Loading_duration_from_registry:__f_sec_n
push eax
call fcn.0058148b
mov ecx, dword [ebp + 8]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.004f2710
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.005886c0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.005886c0
jmp 0x4f5289
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x4f5454
push eax
lea eax, [ebp - 0x18]
push 0x638fa8
push eax
call fcn.0058148b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x40], ecx
add esp, 0xc
mov dword [esi + 0x44], edx
mov ecx, dword [ebp - 0x18]
push edi
push edi
lea eax, [ebp - 0x60]
push edi
push eax
push ecx
call fcn.0056d0ac
mov edx, dword [ebp - 0x18]
add esp, 0x14
mov ecx, esi
push edx
push edi
call fcn.004f7fc0
mov eax, dword [0x65ec1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], eax
push str.Rebuilding_old_downloaded_files_before_resume._n
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.004f2710
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x24]
push eax
push ecx
mov dword [esi + 0x38], edi
push edx
mov dword [esi + 0x3c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call fcn.004f4fa0
add esp, 0xc
test eax, eax
jne 0x4f530e
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
lea edx, [ebp - 0x14]
push str.Err_1231__f_s__e_ld._n
push edx
call fcn.0058148b
mov eax, dword [ebp - 0x14]
add esp, 0x10
mov ecx, esi
push eax
call fcn.004f2710
mov ecx, dword [ebp - 0x24]
mov ebx, dword [esi + 0x38]
mov edx, dword [ebp - 0x20]
add ebx, ecx
mov dword [esi + 0x38], ebx
mov ecx, dword [esi + 0x3c]
adc ecx, edx
mov eax, ecx
mov dword [esi + 0x3c], ecx
cmp eax, edi
jg 0x4f5337
jl 0x4f5331
cmp dword [esi + 0x38], edi
jae 0x4f5337
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x4c]
cmp eax, 0xffffffff
jne 0x4f53be
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
push str.This_is_the_last_chunk._End_rebuilding._n
mov ecx, esi
mov dword [esi + 0x88], edx
call fcn.004f2710
mov eax, dword [esi + 0x74]
lea ebx, [esi + 0x74]
test eax, eax
je 0x4f538f
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [0x65ec1c]
mov dword [ebp - 0x5c], ecx
mov eax, dword [esi + 0x28]
mov byte [ebp - 4], 7
test eax, eax
je 0x4f59fd
push eax
lea edx, [ebp - 0x5c]
push str.SoftwareDownloadManager_ldChList
push edx
call fcn.0058148b
add esp, 0xc
jmp 0x4f5a16
mov edx, dword [ebp - 0x18]
mov ecx, esi
push edx
push eax
call fcn.004f7fc0
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x3c]
push eax
push 0x638fec
push ecx
call fcn.0056d05a
add esp, 0xc
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x3c]
push edx
mov edx, dword [esi + 0x74]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x28], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4f5476
push eax
lea eax, [ebp - 0x14]
push str.Error_reading_registry__errCode___d._End_rebuilding._n
push eax
call fcn.0058148b
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.004f2710
mov edx, dword [0x6646d4]
mov ecx, dword [esi + 0x6c]
push edx
call fcn.004fbdd0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.005886c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.005886c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.005886c0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005886c0
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 eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x50]
push ecx
push edx
lea ecx, [ebp - 0x3c]
push eax
push ecx
lea edx, [ebp - 0x14]
push str.Read_record_num.__s_from_registry:_ID___d__startPos___I64d__nextID___d_n
push edx
call fcn.0058148b
mov eax, dword [ebp - 0x14]
add esp, 0x1c
mov ecx, esi
push eax
call fcn.004f2710
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x18]
push ecx
push edx
lea eax, [ebp - 0x1c]
push str._s_d
push eax
call fcn.0058148b
mov eax, dword [ebp - 0x1c]
add esp, 0x10
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x24]
push ecx
push edx
push eax
call fcn.004f4fa0
add esp, 0xc
test eax, eax
jne 0x4f54fb
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x1c]
push ecx
push edx
lea eax, [ebp - 0x14]
push str.Err_1275__f_s__e_ld._n
push eax
call fcn.0058148b
mov ecx, dword [ebp - 0x14]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.004f2710
mov eax, dword [ebp - 0x20]
test eax, eax
jl 0x4f58f2
jg 0x4f5513
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jbe 0x4f58f2
mov edx, dword [ebp - 0x24]
mov ebx, dword [esi + 0x38]
add ebx, edx
mov byte [ebp + 0xb], 0
mov dword [esi + 0x38], ebx
mov ecx, dword [esi + 0x3c]
adc ecx, eax
test edi, edi
mov dword [esi + 0x3c], ecx
je 0x4f5546
mov eax, dword [ebp - 0x18]
push edi
push eax
lea ecx, [ebp - 0x2c]
push str._s_d
push ecx
call fcn.0058148b
add esp, 0x10
jmp 0x4f555b
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
push edx
push 0x638fa8
push eax
call fcn.0058148b
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4f5661
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
push edx
push str.Error_opening_file__s._n
push eax
call fcn.0058148b
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.004f2710
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
push ecx
push edx
push eax
lea ecx, [ebp - 0x14]
push str.this_file__s__size__I64d_n
push ecx
call fcn.0058148b
mov edx, dword [ebp - 0x14]
add esp, 0x14
mov ecx, esi
push edx
call fcn.004f2710
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov dword [ebp + 0x10], eax
sar ecx, 0x1f
test eax, eax
jbe 0x4f5859
mov ecx, dword [ebp - 0x1c]
mov edx, eax
lea eax, [ebp - 0x60]
push edx
push eax
push ecx
push ebx
mov ecx, esi
call fcn.004f4a60
push ebx
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
cmp eax, 0x757c
je 0x4f58f2
mov ebx, eax
test ebx, ebx
je 0x4f56fa
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.005886c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.005886c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005886c0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005886c0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test ebx, ebx
je 0x4f55a4
lea edx, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
jne 0x4f56c0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4f56c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov dword [ebp - 0x58], eax
je 0x4f56c0
push eax
lea eax, [ebp - 0x14]
push str.Error_during_GetFileSize____errcode___d._n
push eax
call fcn.0058148b
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.004f2710
jmp 0x4f55a4
mov edx, dword [ebp + 0x10]
push 1
push 0
push 0
push edx
call fcn.0056ee00
mov ecx, dword [ebp - 0x24]
push 2
add ecx, eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x20]
push eax
push 0
adc ecx, edx
push ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x54], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4f55ac
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x68]
push edx
push str._skf
push eax
call fcn.0056d05a
add esp, 0xc
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x68]
push ecx
mov ecx, dword [esi + 0x74]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x40], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4f5740
push str.error____No_keyframe_found_0__n
mov ecx, esi
call fcn.004f2710
mov eax, dword [esi + 0x74]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea edx, [ebp - 0x3c]
push edx
push eax
call ebx
mov edx, dword [esi + 0x74]
lea ecx, [ebp - 0x68]
push ecx
push edx
call ebx
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x14]
push eax
push str.Deleting_record__s_from_registry_n
push ecx
call fcn.0058148b
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov ecx, esi
push edx
call fcn.004f2710
push edi
lea eax, [ebp - 0x3c]
push 0x63b0d8
push eax
call fcn.0056d05a
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
add esp, 0xc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x48], ecx
push 0x10
push eax
mov dword [ebp - 0x44], edx
mov edx, dword [esi + 0x74]
push 0
lea ecx, [ebp - 0x3c]
push 0
push ecx
push edx
mov dword [ebp - 0x50], edi
call ebx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
push eax
push ecx
push edx
push edi
lea eax, [ebp - 0x14]
push str.Adding_record_with_ID__d__startPos__I64d__nextID__d_n
push eax
call fcn.0058148b
mov ecx, dword [ebp - 0x14]
add esp, 0x18
push ecx
mov ecx, esi
call fcn.004f2710
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0056e8d1
add esp, 4
cmp eax, 0xffffffff
jne 0x4f580f
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push eax
push str.Could_not_delete_temp_file__s_n
push ecx
call fcn.0058148b
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov ecx, esi
push edx
call fcn.004f2710
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x10]
xor eax, eax
sub ecx, edx
mov edx, dword [ebp - 0x20]
push edi
sbb edx, eax
mov eax, dword [ebp - 0x80]
add eax, ecx
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x68]
adc ecx, edx
push str._dkf
push eax
mov dword [ebp - 0x7c], ecx
call fcn.0056d05a
mov eax, dword [esi + 0x74]
add esp, 0xc
lea ecx, [ebp - 0x80]
lea edx, [ebp - 0x68]
push 0x10
push ecx
push 0
push 0
push edx
push eax
call ebx
jmp 0x4f534f
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x90]
push ecx
push str._skf
push edx
call fcn.0056d05a
add esp, 0xc
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0xa0]
lea edx, [ebp - 0x90]
push eax
mov eax, dword [esi + 0x74]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x6c], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4f58ae
push str.No_keyframe_found_n
mov ecx, esi
call fcn.004f2710
mov byte [ebp + 0xb], 1
jmp 0x4f58dc
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x50]
push ecx
mov dword [ebp - 0x30], ecx
push eax
push edi
lea ecx, [ebp - 0x14]
push str.Set_curID__d__curPos__I64d_n
push ecx
mov dword [ebp - 0x34], eax
call fcn.0058148b
mov edx, dword [ebp - 0x14]
add esp, 0x14
mov ecx, esi
push edx
call fcn.004f2710
test ebx, ebx
je 0x4f58e7
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp + 0xb]
test al, al
je 0x4f534f
mov ecx, dword [esi + 0x74]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea eax, [ebp - 0x3c]
push eax
push ecx
call ebx
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x88]
push edx
push str._skf
push eax
call fcn.0056d05a
mov edx, dword [esi + 0x74]
add esp, 0xc
lea ecx, [ebp - 0x88]
push ecx
push edx
call ebx
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x14]
push eax
push str.Deleting_record__s_from_registry_n
push ecx
call fcn.0058148b
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov ecx, esi
push edx
call fcn.004f2710
push edi
lea eax, [ebp - 0x3c]
push 0x638fec
push eax
call fcn.0056d05a
mov ecx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
add esp, 0xc
lea edx, [ebp - 0x50]
mov dword [ebp - 0x44], ecx
mov ecx, dword [esi + 0x74]
push 0x10
push edx
push 0
lea eax, [ebp - 0x3c]
push 0
push eax
push ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x30]
push edx
push eax
push ebx
push edi
lea ecx, [ebp - 0x14]
push str.Adding_record_with_ID__d__startPos__I64d__nextID__d_n
push ecx
call fcn.0058148b
mov edx, dword [ebp - 0x14]
add esp, 0x18
mov ecx, esi
push edx
call fcn.004f2710
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0056e8d1
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp eax, 0xffffffff
push ecx
jne 0x4f59dc
lea edx, [ebp - 0x14]
push str.Could_not_delete_temp_file__s_n
push edx
call fcn.0058148b
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, esi
push eax
call fcn.004f2710
jmp 0x4f534f
lea edx, [ebp - 0x14]
push str.Delete_temp_file__s_n
push edx
call fcn.0058148b
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, esi
push eax
call fcn.004f2710
jmp 0x4f534f
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
lea edx, [ebp - 0x5c]
push str.SoftwareDownloadManagerGrabberStsProjects_ld_ldChList
push edx
call fcn.0058148b
add esp, 0x10
mov eax, dword [ebx]
test eax, eax
je 0x4f5a23
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x5c]
push 0
push ebx
push 0
push 0xf003f
push 0
push 0x663188
push 0
push eax
push reloc.WSOCK32.dll_accept
mov dword [ebp - 4], 7
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0
push 0
mov ecx, dword [ebx]
lea edi, [esi + 0x60]
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 0x4f5a85
push str.Cannot_find_registry_subkeys_counter._n
mov ecx, esi
call fcn.004f2710
mov dword [edi], 0
jmp 0x4f5ac3
mov eax, dword [edi]
shr eax, 1
mov dword [edi], eax
mov edx, dword [0x65ec1c]
mov edi, eax
mov dword [ebp - 0x54], edx
push edi
lea eax, [ebp - 0x54]
push str.Values_counter_in_the_registry_subkey___d_n
push eax
mov byte [ebp - 4], 0xa
call fcn.0058148b
mov ecx, dword [ebp - 0x54]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.004f2710
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.005886c0
mov ecx, esi
mov dword [esi + 0x68], 1
call fcn.004f5b50
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.005886c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.005886c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.005886c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005886c0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005886c0
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