Function at 0x48a390
Capabilities:
Check if file exists
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bbbb
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x40], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push 0
push str.SOFTWARE360Safe360Ent
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x48a401
jmp 0x48a44c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 8
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push str.SDReportTime
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x48a437
jmp 0x48a44c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x14], 0
je 0x48a45c
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 0
jne 0x48a6bf
xor ecx, ecx
mov word [ebp - 0x38], cx
xor edx, edx
mov dword [ebp - 0x36], edx
mov dword [ebp - 0x32], edx
mov dword [ebp - 0x2e], edx
mov word [ebp - 0x2a], dx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push str.EntClientSDReport.dat
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00401270
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00402010
movzx edx, al
test edx, edx
jne 0x48a68c
lea ecx, [ebp - 0x3c]
call fcn.0043e290
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48a68c
xor eax, eax
mov word [ebp - 0x24c], ax
push 0x206
push 0
lea ecx, [ebp - 0x24a]
push ecx
call fcn.004b0ac0
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.0043e290
push eax
push 0x208
lea edx, [ebp - 0x24c]
push edx
push 0x540868
push str.SDReportTime
push str.History
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x48a68c
lea eax, [ebp - 0x24c]
push eax
call fcn.004b0eb7
add esp, 4
test eax, eax
jbe 0x48a68c
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x25c]
push ecx
lea edx, [ebp - 0x260]
push edx
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x254]
push edx
lea eax, [ebp - 0x258]
push eax
push str._04d__02d__02d__02d:_02d:_02d
lea ecx, [ebp - 0x24c]
push ecx
call fcn.004b6e3f
add esp, 0x20
cmp eax, 6
jne 0x48a68c
cmp dword [ebp - 0x258], 0
jle 0x48a68c
movzx edx, word [ebp - 0x38]
mov eax, dword [ebp - 0x258]
sub eax, edx
push eax
call fcn.004b6dbf
add esp, 4
cmp eax, 1
jg 0x48a68c
cmp dword [ebp - 0x254], 1
jl 0x48a68c
cmp dword [ebp - 0x254], 0xc
jg 0x48a68c
cmp dword [ebp - 0x250], 1
jl 0x48a68c
cmp dword [ebp - 0x250], 0x1f
jg 0x48a68c
cmp dword [ebp - 0x264], 0
jl 0x48a68c
cmp dword [ebp - 0x264], 0x17
jg 0x48a68c
cmp dword [ebp - 0x260], 0
jl 0x48a68c
cmp dword [ebp - 0x260], 0x3b
jg 0x48a68c
cmp dword [ebp - 0x25c], 0
jl 0x48a68c
cmp dword [ebp - 0x25c], 0x3b
jg 0x48a68c
mov dword [ebp - 0x18], 1
mov cx, word [ebp - 0x258]
mov word [ebp - 0x38], cx
mov dx, word [ebp - 0x254]
mov word [ebp - 0x36], dx
mov ax, word [ebp - 0x250]
mov word [ebp - 0x32], ax
mov cx, word [ebp - 0x264]
mov word [ebp - 0x30], cx
mov dx, word [ebp - 0x260]
mov word [ebp - 0x2e], dx
mov ax, word [ebp - 0x25c]
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x18], 0
jne 0x48a6a2
push 0
push 3
lea ecx, [ebp - 0x38]
push ecx
call fcn.0048a1f0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00401eb0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret 4