Function at 0x5137a5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ef8c
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], 0x543160
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0xc8], 0
je 0x51381d
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 0x513809
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 0x513810
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 0x513866
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 0x513852
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 0x513859
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, 0x920
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x5138b1
push 5
call dword [sym.imp.DataMgr.dll_class_CEzcadCfg____cdecl_gf_GetCfg_void_]
add eax, 0x920
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call sub.MFC42u.DLL_CString::CString_1
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], 0xf
mov ecx, dword [ebp - 0x24]
add ecx, 0x3d58
call fcn.0051c506
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x24]
add ecx, 0x3c48
call fcn.0044b490
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x24]
add ecx, 0x3ba8
call fcn.0044b0f0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x24]
add ecx, 0x3b00
call fcn.0044b0f0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x24]
add ecx, 0x36f0
call fcn.00427d40
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
add ecx, 0x3664
call fcn.0040f651
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x24]
add ecx, 0x35d8
call dword [sym.imp.DataMgr.dll_public_virtual:_void___thiscall_CNavCmdDlg::destructor_void_]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x24]
add ecx, 0x3520
call fcn.00401067
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x24]
add ecx, 0x3468
call fcn.00401067
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x24]
add ecx, 0x33b0
call fcn.00401067
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
add ecx, 0x3330
call sub.MFC42u.DLL_CStatusBar::CStatusBar
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0x3268
call sub.MFC42u.DLL_CSplitterWnd::CSplitterWnd
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x24]
add ecx, 0x2bb8
call fcn.004d0cbd
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
add ecx, 0x2f0
call fcn.004b589d
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x184
call fcn.00464a08
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0xcc
call fcn.004eb5e3
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