Function at 0x40de70
Capabilities:
Check if file exists
Create process on windows
Print debug messages
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf6b0
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4f7458]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc4], ecx
push 1
mov ecx, dword [ebp - 0xc4]
call fcn.0040e160
mov ecx, dword [ebp - 0xc4]
call fcn.00402c10
cmp dword [ebp + 8], 0
je 0x40df18
push str.EstConfig.ini
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
push ecx
push 1
push 0x4cbfe0
push 0x4cbfd4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x58]
call fcn.00402470
cmp dword [ebp - 0x54], 0
jne 0x40df18
push 0x4cbfcc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x40e14e
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx]
sub eax, 0x10
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
add edx, 0x10
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov eax, str.MSM1_
test eax, eax
jne 0x40df5a
mov dword [ebp - 0x84], 0
jmp 0x40df6d
push str.MSM1_
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
push ecx
push str.MSM1_
lea ecx, [ebp - 0x14]
call fcn.00410800
mov edx, 0x4cbfa0
test edx, edx
jne 0x40df96
mov dword [ebp - 0x88], 0
jmp 0x40dfa9
push 0x4cbfa0
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
push eax
push 0x4cbfa0
lea ecx, [ebp - 0x14]
call fcn.00410800
push 0x4cbf98
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40e00b
push 0x4cbf90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402470
mov eax, dword [ebp - 0x5c]
jmp 0x40e14e
mov dword [ebp - 0x50], 0
push 0x38
push 0
lea eax, [ebp - 0x4c]
push eax
call fcn.0048ac80
add esp, 0xc
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], ecx
cmp dword [ebp + 8], 0
je 0x40e056
mov dword [ebp - 0xc8], 0x4c8950
jmp 0x40e060
mov dword [ebp - 0xc8], 0x4c8948
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x4c], 0x440
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40e0a7
push 0x4cbf88
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402470
mov eax, dword [ebp - 0x60]
jmp 0x40e14e
mov dword [ebp - 0x10], 0xffff
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4cbf80
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x4cbf78
lea ecx, [ebp - 0x68]
call fcn.00411370
mov byte [ebp - 4], 1
push ecx
mov edx, esp
mov dword [ebp - 0x64], esp
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
push edx
call fcn.0040f890
add esp, 0xc
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xc4]
call fcn.00408ed0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00402470
mov ecx, dword [ebp - 0xc4]
call fcn.00403000
xor edx, edx
cmp dword [ebp - 0x10], 0
sete dl
mov dword [ebp - 0x6c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402470
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4