Function at 0x44e5c0
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 0x5588d8
push eax
mov eax, dword [0x5b9e20]
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 0x44e6d7
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 0x44e6ca
push esi
push 1
push 0x23
push 0x5cb354
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.Storm
push 0x5cb354
call esi
push ebx
push 0x5cb354
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x5b4864
push 0x5cb354
call esi
push str.StormTimeLog.csv
push 0x5cb354
call esi
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push 0x5cb354
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x5b9e20], eax
pop esi
je 0x44e85b
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 [0x5b9e20]
push eax
call edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
cmp dword [0x5b9e20], 0xffffffff
je 0x44e85b
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 0x44e7fe
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x30]
mov ecx, dword [0x5cb56c]
sub eax, ecx
mov cx, word [esp + 0x32]
sub cx, word [0x5cb56e]
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 0x5ba390
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0xc]
call fcn.0054f92e
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 [0x5cb560], edx
mov edx, dword [esp + 0x30]
mov dword [0x5cb568], ecx
push 0x5b53e0
lea ecx, [esp + 0xc]
mov dword [0x5cb564], eax
mov dword [0x5cb56c], edx
call fcn.0054f910
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 [0x5b9e20]
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