Function at 0x448760
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x477444
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, edx
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
sub eax, 0x111
je 0x448897
sub eax, 6
jne 0x448b0f
mov eax, dword [esi + 0x18]
xor ebp, ebp
cmp eax, ebp
je 0x4487bd
mov ecx, dword [esi + 0x1c]
push edi
push ebx
push 0x117
push ecx
call eax
push ebx
call sub.mfc90u.dll_CMenu::FromHandle
shr edi, 0x10
mov ebx, eax
test di, di
jne 0x44888d
cmp ebx, ebp
je 0x44888d
lea ecx, [esp + 0x20]
call sub.mfc90u.dll_CCmdUI::CCmdUI
mov edx, dword [ebx + 4]
push edx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebp
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov ebp, eax
xor edi, edi
mov dword [esp + 0x40], ebp
test ebp, ebp
jbe 0x44888d
mov eax, dword [ebx + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_GetMenuItemID]
mov edx, eax
cmp edx, 0xffffffff
je 0x448884
test edx, edx
je 0x448884
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edi
cmp edx, 0xf0000000
jb 0x44886f
cmp edx, 0xf1000000
jne 0x448841
xor ecx, ecx
cmp dword [esi + 0x28], ecx
sete cl
push ecx
jmp 0x448866
cmp edx, 0xf2000000
jne 0x44884f
mov edx, dword [esi + 0x28]
push edx
jmp 0x448866
mov ecx, esi
call fcn.00448bf0
add edx, 0x10000000
cmp edx, eax
jne 0x448864
push 1
jmp 0x448866
push 0
lea ecx, [esp + 0x24]
call sub.mfc90u.dll_CCmdUI::SetCheck
mov eax, dword [esi + 0x1c]
push 0
push eax
call sub.mfc90u.dll_CWnd::FromHandle
push eax
lea ecx, [esp + 0x28]
call sub.mfc90u.dll_CCmdUI::DoUpdate
inc edi
cmp edi, ebp
jb 0x448808
mov eax, 1
jmp 0x448b11
cmp ebx, 0xf0000000
jb 0x448b0f
cmp ebx, 0xf1000000
jne 0x4488db
push 4
add esi, 0x28
push esi
push 4
push 0x486e54
push 0x47ef94
push reloc.Config.dll_Ordinal_1
mov dword [esi], 0
call dword [sym.imp.Config.dll_Ordinal_13]
add esp, 0x18
mov eax, 1
jmp 0x448b11
cmp ebx, 0xf2000000
jne 0x448913
push 4
add esi, 0x28
push esi
push 4
push 0x486e54
push 0x47ef94
push reloc.Config.dll_Ordinal_1
mov dword [esi], 1
call dword [sym.imp.Config.dll_Ordinal_13]
add esp, 0x18
mov eax, 1
jmp 0x448b11
mov eax, dword [esi + 0x20]
lea ecx, [ebx + 0x10000000]
cmp eax, 0xffffffff
jne 0x448924
mov eax, dword [esi + 0x24]
cmp ecx, eax
je 0x448b08
mov dword [esi + 0x20], ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [esp + 0x50], 0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
cmp dword [esi + 0x20], ecx
jae 0x448afe
mov edx, dword [esi + 0x1c]
push edx
call sub.mfc90u.dll_CWnd::FromHandle
mov ebx, eax
test ebx, ebx
je 0x448afe
cmp dword [esi + 0x44], 0
je 0x4489b6
lea eax, [esp + 0x58]
push eax
mov edi, esi
call fcn.00448530
mov ecx, dword [esp + 0x58]
mov eax, dword [esi + 0x44]
mov edx, dword [ebx + 0x20]
push ecx
push 1
push eax
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x58]
mov edi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
test edi, edi
je 0x4489b6
call fcn.004484f0
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 1
jmp 0x448b11
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
mov byte [esp + 0x54], 1
call sub.mfc90u.dll_CWnd::GetWindowTextW
mov ecx, dword [esp + 0x14]
push 0x44
push ecx
push 0x47d9d0
push 0x47d9d0
push 0x47d9d0
push 0x47d9d0
push str.10060
call sub.Languages.dll_Ordinal_8
mov edx, dword [esi + 0x1c]
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x448af4
call fcn.00448480
lea ecx, [esp + 0x58]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov byte [esp + 0x50], 2
mov eax, dword [sym.imp.MSVCR90.dll___argc]
cmp dword [eax], 0
jle 0x448a3f
mov ecx, dword [sym.imp.MSVCR90.dll___wargv]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
jmp 0x448a72
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x448a72
cmp dword [esp + 0x18], 0
jle 0x448a6b
mov edx, dword [edi]
push edx
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov byte [esp + 0x50], 3
call sub.mfc90u.dll_AfxGetModuleState
cmp dword [eax + 4], 0
je 0x448aa2
call sub.mfc90u.dll_AfxGetModuleState
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x48]
push eax
lea ecx, [esp + 0x60]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x448ab4
mov ecx, dword [esi + 0x40]
push ecx
call eax
add esp, 4
jmp 0x448ac6
mov edx, dword [esi + 0x1c]
push edx
call sub.mfc90u.dll_CWnd::FromHandle
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x68]
call eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov eax, dword [esi + 0x1c]
push 1
push 0
push ecx
push edx
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x58]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 1
jmp 0x448b11
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8