Function at 0x401740
Capabilities:
Create process on windows
Find taskbar

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4750fd
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
call sub.MFC71.DLL_AfxGetModuleState
mov esi, dword [eax + 4]
test esi, esi
je 0x401aa3
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x401791
push 0
push 0x1a3
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x48]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [esp + 0x48], 0
call fcn.00415d00
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x47eb20
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
call fcn.00416190
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x47eb1c
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
call fcn.00416190
add esp, 4
lea ecx, [esp + 0x2c]
call sub.MFC71.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x50], 1
call fcn.00415450
add esp, 8
push 0x47eb18
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push 0x47eb14
push eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x54], 2
call fcn.00401510
push 0x47eb10
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x60], 3
call fcn.00401510
push 0x47eb1c
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x6c], 4
call fcn.00401510
add esp, 0x24
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 6
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push 0x47eb20
push ecx
call fcn.004015b0
add esp, 0xc
mov eax, dword [esp + 0x34]
mov bl, 9
xor esi, esi
test eax, eax
mov byte [esp + 0x48], bl
jle 0x40199c
jmp 0x4018a0
test esi, esi
jl 0x401ab5
cmp esi, eax
jge 0x401ab5
mov edx, dword [esp + 0x30]
lea eax, [edx + esi*4]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0xc]
call dword [0x47e138]
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0xb
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
cmp eax, 0x5c
jne 0x401918
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push str.TID:
push ecx
call fcn.004015b0
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 0xc
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0xb
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
jmp 0x401927
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x2c]
push 0x47eb20
push ecx
call fcn.004015b0
push 0x47eb1c
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x60], 0xd
call fcn.00401510
add esp, 0x18
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 0xe
call dword [0x47e134]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x34]
inc esi
cmp esi, eax
jl 0x4018a0
lea ecx, [esp + 0xc]
call dword [0x47e138]
mov eax, dword [str.RanOnline.exe]
mov ecx, dword [0x4da7a0]
push eax
push ecx
lea edx, [esp + 0x14]
push str.__s_s_
push edx
mov byte [esp + 0x58], 0xf
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
call fcn.00447ec0
mov eax, dword [edi + 0x20]
push eax
call fcn.00447fb0
add esp, 0x14
push 5
push 0
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
mov ecx, dword [edi + 0x20]
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
jge 0x401a5f
lea ecx, [esp + 0x10]
call dword [0x47e138]
push esi
push 2
push str.IDS_MESSAGE
mov byte [esp + 0x54], 0x10
call fcn.0040f3d0
add esp, 8
push eax
lea edx, [esp + 0x18]
push str._s_Error_Number_:__d
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
push 0x30
push str.ERROR
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
mov ecx, edi
call sub.MFC71.DLL_CWnd::MessageBoxA
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x154]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 0
call fcn.004624ec
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret
jmp fcn.004624ce