Function at 0x40b200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x410936
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x41c028]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
lea ecx, [esp + 0x1c]
call dword [0x41278c]
xor esi, esi
lea ecx, [esp + 0x14]
mov dword [esp + 0xb8], esi
call dword [0x41278c]
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb8], 1
call sub.mfc90u.dll_CStringArray::CStringArray
mov byte [esp + 0xb8], 2
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov esi, dword [ebp + 8]
push 0x1009
push dword [esi + 0x3fc]
call ebx
lea edi, [esp + 0x4c]
call fcn.00402aff
cmp dword [esp + 0x54], 1
jl 0x40b2e1
xor eax, eax
cmp dword [esp + 0x54], eax
mov dword [esp + 0x18], eax
jg 0x40b322
push 0
push 0
push 0x1004
push dword [esi + 0x3fc]
call ebx
test eax, eax
setne al
movzx edi, al
push edi
lea ecx, [esi + 0x568]
call sub.mfc90u.dll_CWnd::EnableWindow
push edi
lea ecx, [esi + 0x430]
call sub.mfc90u.dll_CWnd::EnableWindow
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb8], 1
call fcn.0040e23e
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 ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x40b53c
cmp eax, dword [esp + 0x54]
jge 0x40b53c
mov ecx, dword [esp + 0x50]
lea eax, [ecx + eax*4]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x38]
call fcn.0040b542
xor eax, eax
lea edi, [esp + 0x9e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor ecx, ecx
mov eax, 0x76c
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
cmp word [esp + 0x20], ax
jae 0x40b38f
xor eax, eax
jmp 0x40b3c4
movzx eax, word [esp + 0x30]
movzx ecx, word [esp + 0xa8]
movzx edx, word [esp + 0x24]
movzx edi, word [esp + 0x28]
push eax
movzx eax, word [esp + 0x30]
push eax
movzx eax, word [esp + 0x28]
lea esi, [esp + 0x68]
push esi
call fcn.0040bd82
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
push 0x412be4
mov dword [esp + 0x38], eax
push str.IDS_DLG_RESTORE7
lea eax, [esp + 0x4c]
mov dword [esp + 0x40], ecx
push eax
mov ecx, 0x41ca30
call dword [sym.imp.SolvusoftWMhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
mov byte [esp + 0xb8], 3
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push ecx
mov esi, eax
lea edi, [esp + 0x40]
call fcn.0040bcff
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xbc], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov ecx, edi
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 + 0x44]
mov byte [esp + 0xb8], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x34
xor esi, esi
lea eax, [esp + 0x6c]
push esi
push eax
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x68]
push eax
mov eax, dword [ebp + 8]
push esi
push 0x104d
push dword [eax + 0x3fc]
mov dword [esp + 0x78], 1
mov dword [esp + 0x80], esi
call ebx
push 0x412be4
push str.IDS_DLG_RESTORE8
lea eax, [esp + 0x48]
push eax
mov ecx, 0x41ca30
call dword [sym.imp.SolvusoftWMhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
mov byte [esp + 0xb8], 5
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push ecx
mov esi, eax
lea edi, [esp + 0x4c]
call fcn.0040bcff
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xbc], 6
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov ecx, edi
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 + 0x40]
mov byte [esp + 0xb8], 2
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, dword [esp + 0x14]
mov edi, dword [ebp + 8]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x68]
push eax
push 0
mov esi, 0x104c
push esi
push dword [edi + 0x3fc]
mov dword [esp + 0x80], 1
call ebx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x68]
push eax
push 0
push esi
push dword [edi + 0x3fc]
mov dword [esp + 0x80], 2
call ebx
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x54]
jl 0x40b31e
mov esi, edi
jmp 0x40b2b0
call sub.mfc90u.dll_AfxThrowInvalidArgException
int3