Function at 0x5402c8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d8b6
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], 0x574358
mov dword [ebp - 4], 0x13
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0xc8], 0
je 0x540340
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 0x54032c
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 0x540333
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 0x540389
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 0x540375
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 0x54037c
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 0x5403d4
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.0044cc90
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x24]
add ecx, 0x46a8
call fcn.0044c8f0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x24]
add ecx, 0x4600
call fcn.0044c8f0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x24]
add ecx, 0x41f4
call fcn.00428330
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x24]
add ecx, 0x4168
call fcn.0040fb91
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.0054846a
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.004e9ead
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
add ecx, 0x338
call fcn.004cb5ad
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x1d0
call fcn.0046ed34
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0xd0
call fcn.005015a6
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