Function at 0x540078
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561536
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x578350
mov dword [ebp - 4], 0x13
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0xc8], 0
je 0x5400f0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x5400dc
push 1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
call dword [eax + 4]
mov dword [ebp - 0x28], eax
jmp 0x5400e3
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0xc8], 0
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0xc4], 0
je 0x540139
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xc4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x540125
push 1
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
call dword [edx]
mov dword [ebp - 0x2c], eax
jmp 0x54012c
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xc4], 0
call dword [sym.imp.DataMgr.dll_class_CEzcadCfg____cdecl_gf_GetCfg_void_]
add eax, 0x988
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x540184
push 5
call dword [sym.imp.DataMgr.dll_class_CEzcadCfg____cdecl_gf_GetCfg_void_]
add eax, 0x988
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call sub.MFC42u.DLL_CString::CString_2
mov dword [ebp - 0x30], eax
call dword [sym.imp.DataMgr.dll_char____cdecl_gf_StrToChar_class_CString_]
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x24]
add ecx, 0x4858
call sub.MFC42u.DLL_CString::CString
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x24]
add ecx, 0x4748
call fcn.0044d3a0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x24]
add ecx, 0x46a8
call fcn.0043be00
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x24]
add ecx, 0x4600
call fcn.0043be00
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x24]
add ecx, 0x41f4
call fcn.00428b30
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x24]
add ecx, 0x4168
call fcn.00410391
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x24]
add ecx, 0x40dc
call dword [sym.imp.DataMgr.dll_public_virtual:_void___thiscall_CNavCmdDlg::destructor_void_]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x24]
add ecx, 0x403c
call fcn.0054821a
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
add ecx, 0x3f84
call fcn.00401067
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x24]
add ecx, 0x3ecc
call fcn.00401067
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x24]
add ecx, 0x3e10
call fcn.00401067
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x24]
add ecx, 0x3d58
call fcn.00401067
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x24]
add ecx, 0x3ca0
call fcn.00401067
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
add ecx, 0x3c20
call sub.MFC42u.DLL_CStatusBar::CStatusBar
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0x3b58
call sub.MFC42u.DLL_CSplitterWnd::CSplitterWnd
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x24]
add ecx, 0x3380
call fcn.004eaf7d
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
add ecx, 0x338
call fcn.004cbc0d
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x1d0
call fcn.0046f424
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0xd0
call fcn.00502846
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
call sub.MFC42u.DLL_CFrameWnd::CFrameWnd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret