Function at 0x445e3c
Capabilities:
Check if file exists
Create process on windows
Read .ini file

Disassembly:
push ebp
sub esp, 0xc44
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0xc44], eax
push 0xc
mov eax, 0x489ff8
call fcn.004677c7
lea eax, [ebp - 0x10]
push eax
call fcn.00445c67
pop ecx
mov eax, dword [ebp - 0x10]
xor edi, edi
cmp dword [eax - 0xc], edi
mov dword [ebp - 4], edi
jg 0x446154
push 0x208
lea eax, [ebp + 0xa3c]
push edi
push eax
call fcn.004670a0
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp + 0xa3c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0xa3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x20a
lea eax, [ebp + 0x830]
push edi
push eax
call fcn.004670a0
push esi
lea eax, [ebp + 0xa3c]
push eax
lea ebx, [esi + 1]
lea eax, [ebp + 0x830]
push ebx
push eax
call fcn.00468721
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0x1c
push str.safemon_setting.ini
lea eax, [ebp + 0x830]
push eax
call edi
push 0x20a
lea eax, [ebp + 0x624]
push 0
push eax
call fcn.004670a0
push esi
lea eax, [ebp + 0xa3c]
push eax
lea eax, [ebp + 0x624]
push ebx
push eax
call fcn.00468721
add esp, 0x1c
push str.safemonPopWndTracker.exe
lea eax, [ebp + 0x624]
push eax
call edi
push 0x20a
lea eax, [ebp + 0x20c]
push 0
push eax
call fcn.004670a0
push esi
lea eax, [ebp + 0xa3c]
push eax
lea eax, [ebp + 0x20c]
push ebx
push eax
call fcn.00468721
add esp, 0x1c
push str.safemonPopWndLog.exe
lea eax, [ebp + 0x20c]
push eax
call edi
push 0x20a
lea eax, [ebp + 0x418]
push 0
push eax
call fcn.004670a0
push esi
lea eax, [ebp + 0xa3c]
push eax
lea eax, [ebp + 0x418]
push ebx
push eax
call fcn.00468721
add esp, 0x1c
push str.safemonSDPluginAdPopWnd.dll
lea eax, [ebp + 0x418]
push eax
call edi
push 0x20a
lea eax, [ebp]
push 0
push eax
call fcn.004670a0
push esi
lea eax, [ebp + 0xa3c]
push eax
lea eax, [ebp]
push ebx
push eax
call fcn.00468721
add esp, 0x1c
push str.safemonAdPopBlocker.tpi
lea eax, [ebp]
push eax
call edi
lea eax, [ebp + 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x446007
push eax
push 0x80
push 1
push eax
push 1
push 0xc0000000
lea eax, [ebp + 0x830]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x446007
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x830]
push eax
push 0
mov ebx, 0x4971b0
push ebx
mov esi, str.PWTracker
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x830]
push eax
push 0
mov edi, 0x497190
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [ebp - 0x18], 2
jne 0x446046
cmp eax, 1
je 0x446088
lea eax, [ebp + 0x830]
push eax
push 0x491d28
push 0x497188
push 0x497180
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp + 0x830]
push eax
push 0x49717c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push esi
call ebx
lea eax, [ebp + 0x830]
push eax
push 0x491d28
push edi
push esi
call ebx
push 0x4910f8
lea eax, [ebp + 0xa3c]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp + 0x624]
push eax
call esi
xor edi, edi
test eax, eax
je 0x446114
lea eax, [ebp + 0x624]
push eax
cmp dword [0x4c6514], edi
jne 0x4460c6
call fcn.00402346
jmp 0x4460cb
call fcn.00401dbb
pop ecx
cmp eax, edi
je 0x446114
lea eax, [ebp + 0x20c]
push eax
call esi
test eax, eax
je 0x446114
lea eax, [ebp + 0x418]
push eax
call esi
test eax, eax
je 0x446114
lea eax, [ebp]
push eax
call esi
test eax, eax
je 0x446114
push 1
push edi
push str._safeuninst
lea eax, [ebp + 0x624]
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x446221
lea eax, [ebp + 0xa3c]
push eax
cmp dword [0x4c6514], edi
jne 0x44612a
call fcn.00402346
jmp 0x44612f
call fcn.00401dbb
pop ecx
cmp eax, edi
je 0x446221
push 5
push str._funnamePopWndTracker
lea eax, [ebp + 0xa3c]
push eax
push edi
call fcn.004411be
add esp, 0x10
jmp 0x446221
lea eax, [ebp - 0x14]
push eax
call fcn.00445db0
pop ecx
push dword [ebp - 0x14]
mov ebx, 0x4971b0
push edi
push ebx
mov esi, str.PWTracker
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push edi
mov edi, 0x497190
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [ebp - 0x18], 2
jne 0x446197
cmp eax, 1
je 0x4461cd
push dword [ebp - 0x14]
push 0x491d28
push 0x497188
push 0x497180
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x14]
push 0x49717c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push esi
call ebx
push dword [ebp - 0x14]
push 0x491d28
push edi
push esi
call ebx
push str.PopWndTracker.exe
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00421bb3
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00420322
push dword [ebp - 0x10]
call fcn.0040d9f2
pop ecx
test eax, eax
je 0x446216
push 1
push 0
push str._safeuninst
push dword [ebp - 0x10]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc44]
xor ecx, ebp
call fcn.0046711a
add ebp, 0xc48
leave
ret