Function at 0x454ac0
Capabilities:
Create directory
Get common file path
Query or enumerate registry value
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56e868
push eax
mov eax, dword [0x5d43a8]
mov dword fs:[0], esp
sub esp, 0x30
push ebx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_WriteFile]
cmp eax, 0xffffffff
jne 0x454bd7
mov eax, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
lea edx, [esp + 0x18]
push eax
push ecx
push edx
push str.usetimelog
push str.Software_storm
push SysReAllocStringLen
mov dword [esp + 0x24], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp dword [esp + 0xc], ebx
je 0x454bca
push esi
push 1
push 0x23
push 0x5e614c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
push str.Storm
push 0x5e614c
call esi
push ebx
push 0x5e614c
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
push 0x5ce884
push 0x5e614c
call esi
push str.StormTimeLog.csv
push 0x5e614c
call esi
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push 0x5e614c
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x5d43a8], eax
pop esi
je 0x454d5b
push str._____________________________
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push ebx
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [0x5d43a8]
push eax
call edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
cmp dword [0x5d43a8], 0xffffffff
je 0x454d5b
xor ecx, ecx
lea edx, [esp + 0x24]
mov dword [esp + 0x26], ecx
push edx
mov dword [esp + 0x2e], ecx
mov word [esp + 0x28], bx
mov dword [esp + 0x32], ecx
mov word [esp + 0x36], cx
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x32]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2e]
and eax, 0xffff
push eax
mov eax, dword [esp + 0x30]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x32]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x32]
push eax
mov eax, dword [esp + 0x34]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
lea ecx, [esp + 0x24]
push str.:___d__d__d__d:_d:_02d:_d_ms
push ecx
mov dword [esp + 0x64], ebx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x6c]
add esp, 0x24
lea edx, [esp + 8]
lea ecx, [esp + 0x48]
push edx
push eax
push ecx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
cmp dword [esp + 0x4c], ebx
je 0x454cfe
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x30]
mov ecx, dword [0x5e6364]
sub eax, ecx
mov cx, word [esp + 0x32]
sub cx, word [0x5e6366]
mov byte [esp + 0x40], 2
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*8]
and eax, 0xffff
push eax
lea eax, [esp + 0x4c]
push 0x5d4960
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0xc]
call fcn.00564ce6
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [0x5e6358], edx
mov edx, dword [esp + 0x30]
mov dword [0x5e6360], ecx
push 0x5cf448
lea ecx, [esp + 0xc]
mov dword [0x5e635c], eax
mov dword [0x5e6364], edx
call fcn.00564d16
mov eax, dword [esp + 8]
lea edx, [esp + 0x20]
push ebx
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [0x5d43a8]
push eax
call edi
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x38]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret