Function at 0x454ff0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0x34c
mov eax, dword [0x78e580]
xor eax, esp
mov dword [esp + 0x348], eax
and dword [esp + 0x1c], 0
lea eax, [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x358]
push ebp
mov ebp, dword [esp + 0x358]
push esi
mov esi, dword [esp + 0x364]
push edi
push 0x2c
xor edi, edi
push edi
push eax
call fcn.004b6f20
and dword [esp + 0x28], edi
lea eax, [esp + 0x15c]
add esp, 0xc
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x45538c
and dword [esi], edi
test ebp, ebp
cmovne ebx, ebp
test ebx, ebx
je 0x45538c
xor ebp, ebp
push ebp
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones_
call fcn.00447c0a
push ebp
push ebp
push ebp
mov ebx, eax
push 0xffffffffffffffff
push ebx
mov dword [esp + 0x50], ebx
call fcn.0044bdbd
add esp, 0x20
mov dword [esp + 0x24], eax
test eax, eax
je 0x455334
push ebp
push str.Dynamic_DST
push ebx
call fcn.00447c0a
push ebp
push ebp
push ebp
push 0xffffffffffffffff
push eax
mov dword [esp + 0x4c], eax
call fcn.0044bdbd
mov ebx, eax
add esp, 0x20
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x455338
lea eax, [esp + 0x14]
push eax
push 1
push ebp
push dword [esp + 0x30]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_bind
call ebp
test eax, eax
jne 0x455338
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x94]
mov dword [esp + 0x14], 0x40
push eax
push edi
push edi
push 0x52b120
push dword [esp + 0x28]
call ebx
test eax, eax
jne 0x45532a
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x40
push eax
lea eax, [esp + 0xe8]
push eax
push edi
push edi
push 0x52b128
push dword [esp + 0x28]
call ebx
test eax, eax
jne 0x45532a
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x14]
push eax
push 1
push edi
push dword [esp + 0x28]
push reloc.WS2_32.dll_bind
call ebp
test eax, eax
jne 0x4552ab
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x24]
xor ebp, ebp
push eax
push ebp
push ebp
push str.FirstEntry
push dword [esp + 0x28]
call ebx
test eax, eax
jne 0x45532a
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x2c]
push eax
push ebp
push ebp
push str.LastEntry
push dword [esp + 0x28]
call ebx
test eax, eax
jne 0x45532a
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
add eax, 2
push 0x80
push eax
call fcn.00441e05
mov edi, dword [esp + 0x28]
mov dword [esi], eax
pop ecx
pop ecx
mov ecx, ebp
mov dword [esp + 0x18], ecx
test eax, eax
je 0x4552a6
cmp edi, dword [esp + 0x28]
ja 0x4552a2
push edi
push 0x52b15c
lea eax, [esp + 0x140]
push 0xb
push eax
call fcn.00455451
add esp, 0x10
mov dword [esp + 0x10], 0x2c
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
lea eax, [esp + 0x148]
push eax
push dword [esp + 0x28]
call ebx
test eax, eax
jne 0x455297
cmp edi, dword [esp + 0x20]
jbe 0x455240
push 0x2c
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.004b707a
add esp, 0xc
test eax, eax
je 0x455288
push 0x2c
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.004b8970
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00454d6f
lea eax, [esp + 0xa0]
push eax
mov eax, dword [esi]
add eax, ebp
push eax
call fcn.00454daf
mov ecx, dword [esi]
add esp, 0x1c
test eax, eax
je 0x455294
inc dword [esp + 0x18]
mov dword [ecx + ebp], edi
sub ebp, 0xffffff80
inc edi
cmp dword [esi], 0
jne 0x4551d8
jmp 0x4552a2
push ecx
jmp 0x455299
push dword [esi]
call fcn.00441dce
and dword [esi], 0
pop ecx
mov ecx, dword [esp + 0x18]
lea edi, [ecx + 1]
jmp 0x45532a
lea eax, [esp + 0x14]
push eax
push 1
push 0
push dword [esp + 0x30]
push reloc.WS2_32.dll_bind
call ebp
test eax, eax
jne 0x455334
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x2c
push eax
lea eax, [esp + 0x38]
xor ebp, ebp
push eax
push ebp
push ebp
push 0x52b164
push dword [esp + 0x28]
call ebx
test eax, eax
jne 0x45532a
push 2
pop edi
push 0x80
push edi
call fcn.00441e05
mov dword [esi], eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00454d6f
lea eax, [esp + 0x9c]
push eax
push dword [esi]
call fcn.00454daf
add esp, 0x18
test eax, eax
jne 0x45532a
push dword [esi]
call fcn.00441dce
pop ecx
mov dword [esi], ebp
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.00441dce
push dword [esp + 0x30]
call fcn.00441dce
push dword [esp + 0x2c]
call fcn.00441dce
push dword [esp + 0x3c]
call fcn.00441dce
mov eax, dword [esi]
add esp, 0x10
test eax, eax
je 0x45538c
mov dword [eax], 0x77c
mov ecx, edi
mov esi, dword [esi]
lea eax, [edi - 2]
shl eax, 7
shl ecx, 7
mov edx, dword [eax + esi]
mov eax, 0xbb7
cmp edx, eax
jb 0x455384
lea eax, [edx + 1]
mov dword [ecx + esi - 0x80], eax
mov eax, edi
jmp 0x45538e
xor eax, eax
mov ecx, dword [esp + 0x358]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b5ec4
add esp, 0x34c
ret