Function at 0x40e490
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x3714
call fcn.004317f0
push ebx
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0x28]
push edi
mov ecx, dword [ebp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov al, byte [ebp + 0x1590]
test al, al
je 0x40e4c8
mov al, byte [esp + 0x3728]
test al, al
je 0x40f579
mov byte [ebp + 0x1590], 1
call sub.ModBase.dll_class_IModContainer____cdecl_GetGlobalContainer_void_
mov ecx, dword [ebp + 0x1488]
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x40f579
call fcn.00415780
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
je 0x40f579
mov esi, dword [edi + 0x234]
lea edx, [esp + 0x14]
lea ebx, [edi + 0x230]
lea eax, [esp + 0x3c]
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x1c], 0x3e9
call fcn.0040f940
mov eax, dword [eax]
cmp eax, esi
je 0x40e5e8
lea ecx, [esp + 0xe88]
call fcn.0040f590
mov ecx, 0x513
mov esi, eax
lea edi, [esp + 0x22d8]
mov dword [esp + 0x22d4], 0x3e9
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x22d4]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebx
call fcn.0040f910
mov eax, dword [eax]
mov ecx, 0x513
lea edi, [esp + 0xe88]
lea edx, [ebp + 0xa88]
lea esi, [eax + 0x10]
mov eax, 0x144c
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xe88]
call fcn.004317f0
mov edi, esp
push edx
mov edx, dword [esp + 0x1480]
mov ecx, 0x513
sub esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x148c]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x1494]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1498]
mov dword [eax + 8], ecx
mov ecx, ebp
mov dword [eax + 0xc], edx
call fcn.0040d180
push 5
lea ecx, [ebp + 0xa88]
call sub.MFC42.DLL_CWnd::ShowWindow
push str.CControlDlg::MoveControl_show_button_1001
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [esp + 0x10]
jmp 0x40e608
push 1
push 0
push 0
push 0
push 0
lea ecx, [ebp + 0xa88]
call sub.MFC42.DLL_CWnd::MoveWindow
push str.CControlDlg::MoveControl_not_show_button_1001
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [edi + 0x234]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x1c], 0x3e8
call fcn.0040f940
cmp dword [eax], esi
je 0x40e6ef
lea ecx, [esp + 0xe88]
call fcn.0040f590
mov ecx, 0x513
mov esi, eax
lea edi, [esp + 0x22d8]
mov dword [esp + 0x22d4], 0x3e8
lea edx, [esp + 0x22d4]
lea eax, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push edx
push eax
mov ecx, ebx
call fcn.0040f910
mov eax, dword [eax]
mov ecx, 0x513
lea edi, [esp + 0xe88]
lea edx, [ebp + 0xe88]
lea esi, [eax + 0x10]
mov eax, 0x144c
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xe88]
call fcn.004317f0
mov edi, esp
mov ecx, 0x513
push edx
mov edx, dword [esp + 0x147c]
mov eax, dword [esp + 0x1480]
sub esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x1494]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1498]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, ebp
call fcn.0040d180
push 5
lea ecx, [ebp + 0xe88]
call sub.MFC42.DLL_CWnd::ShowWindow
push str.CControlDlg::MoveControl_show_button_1000
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [esp + 0x10]
jmp 0x40e70f
push 1
push 0
push 0
push 0
push 0
lea ecx, [ebp + 0xe88]
call sub.MFC42.DLL_CWnd::MoveWindow
push str.CControlDlg::MoveControl_not_show_button_1000
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [edi + 0x234]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x3c]
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x1c], 0x3f2
call fcn.0040f940
cmp dword [eax], esi
je 0x40e7f6
lea ecx, [esp + 0xe88]
call fcn.0040f590
mov ecx, 0x513
mov esi, eax
lea edi, [esp + 0x22d8]
mov dword [esp + 0x22d4], 0x3f2
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x22d4]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.0040f910
mov eax, dword [eax]
mov ecx, 0x513
lea edi, [esp + 0xe88]
lea edx, [ebp + 0xc88]
lea esi, [eax + 0x10]
mov eax, 0x144c
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xe88]
call fcn.004317f0
mov eax, dword [esp + 0x1478]
mov edi, esp
push edx
mov ecx, 0x513
sub esp, 0x10
mov edx, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1490]
mov dword [edx], eax
mov eax, dword [esp + 0x1494]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x1498]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebp
call fcn.0040d180
push 5
lea ecx, [ebp + 0xc88]
call sub.MFC42.DLL_CWnd::ShowWindow
push str.CControlDlg::MoveControl_show_button_1010
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [esp + 0x10]
jmp 0x40e816
push 1
push 0
push 0
push 0
push 0
lea ecx, [ebp + 0xc88]
call sub.MFC42.DLL_CWnd::MoveWindow
push str.CControlDlg::MoveControl_not_show_button_1010
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [edi + 0x234]
lea edx, [esp + 0x14]
lea eax, [esp + 0x3c]
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x1c], 0x3f3
call fcn.0040f940
cmp dword [eax], esi
je 0x40e925
lea ecx, [esp + 0xe88]
call fcn.0040f590
mov ecx, 0x513
mov esi, eax
lea edi, [esp + 0x22d8]
mov dword [esp + 0x22d4], 0x3f3
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x22d4]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebx
call fcn.0040f910
mov eax, dword [eax]
mov ecx, 0x513
lea edi, [esp + 0xe88]
lea edx, [ebp + 0x888]
lea esi, [eax + 0x10]
mov eax, 0x144c
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xe88]
call fcn.004317f0
mov edi, esp
push edx
mov edx, dword [esp + 0x1480]
mov ecx, 0x513
sub esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x148c]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x1494]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1498]
mov dword [eax + 8], ecx
mov ecx, ebp
mov dword [eax + 0xc], edx
call fcn.0040d180
mov al, byte [ebp + 0x1593]
test al, al
je 0x40e907
push 5
lea ecx, [ebp + 0x888]
call sub.MFC42.DLL_CWnd::ShowWindow
push str.CControlDlg::MoveControl_show_button_1011
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [esp + 0x10]
jmp 0x40e945
push 0
lea ecx, [ebp + 0x888]
call sub.MFC42.DLL_CWnd::ShowWindow
push str.CControlDlg::MoveControl_not_show_button_1011
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [esp + 0x10]
jmp 0x40e945
push 1
push 0
push 0
push 0
push 0
lea ecx, [ebp + 0x888]
call sub.MFC42.DLL_CWnd::MoveWindow
push str.CControlDlg::MoveControl_not_show_button_1011
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [edi + 0x234]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x1c], 0x3f4
call fcn.0040f940
cmp dword [eax], esi
je 0x40ea3f
lea ecx, [esp + 0xe88]
call fcn.0040f590
mov ecx, 0x513
mov esi, eax
lea edi, [esp + 0x22d8]
mov dword [esp + 0x22d4], 0x3f4
lea edx, [esp + 0x22d4]
lea eax, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push edx
push eax
mov ecx, ebx
call fcn.0040f910
mov eax, dword [eax]
mov ecx, 0x513
lea edi, [esp + 0xe88]
lea edx, [ebp + 0x688]
lea esi, [eax + 0x10]
mov eax, 0x144c
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xe88]
call fcn.004317f0
mov edi, esp
mov ecx, 0x513
push edx
mov edx, dword [esp + 0x147c]
mov eax, dword [esp + 0x1480]
sub esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x1494]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1498]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, ebp
call fcn.0040d180
mov eax, dword [esp + 0xe88]
test eax, eax
je 0x40ea2c
push 5
lea ecx, [ebp + 0x688]
call sub.MFC42.DLL_CWnd::ShowWindow
mov edi, dword [esp + 0x10]
jmp 0x40ea54
push 0
lea ecx, [ebp + 0x688]
call sub.MFC42.DLL_CWnd::ShowWindow
mov edi, dword [esp + 0x10]
jmp 0x40ea54
push 1
push 0
push 0
push 0
push 0
lea ecx, [ebp + 0x688]
call sub.MFC42.DLL_CWnd::MoveWindow
mov esi, dword [edi + 0x234]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x3c]
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x1c], 0x3f7
call fcn.0040f940
cmp dword [eax], esi
je 0x40eb4e
lea ecx, [esp + 0xe88]
call fcn.0040f590
mov ecx, 0x513
mov esi, eax
lea edi, [esp + 0x22d8]
mov dword [esp + 0x22d4], 0x3f7
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x22d4]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.0040f910
mov eax, dword [eax]
mov ecx, 0x513
lea edi, [esp + 0xe88]
lea edx, [ebp + 0x1288]
lea esi, [eax + 0x10]
mov eax, 0x144c
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xe88]
call fcn.004317f0
mov eax, dword [esp + 0x1478]
mov edi, esp
push edx
mov ecx, 0x513
sub esp, 0x10
mov edx, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1490]
mov dword [edx], eax
mov eax, dword [esp + 0x1494]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x1498]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebp
call fcn.0040d180
mov eax, dword [esp + 0xe88]
test eax, eax
je 0x40eb3b
push 5
lea ecx, [ebp + 0x1288]
call sub.MFC42.DLL_CWnd::ShowWindow
mov edi, dword [esp + 0x10]
jmp 0x40eb63
push 0
lea ecx, [ebp + 0x1288]
call sub.MFC42.DLL_CWnd::ShowWindow
mov edi, dword [esp + 0x10]
jmp 0x40eb63
push 1
push 0
push 0
push 0
push 0
lea ecx, [ebp + 0x1288]
call sub.MFC42.DLL_CWnd::MoveWindow
mov esi, dword [edi + 0x234]
lea edx, [esp + 0x14]
lea eax, [esp + 0x3c]
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x1c], 0x3f5
call fcn.0040f940
cmp dword [eax], esi
je 0x40ec3f
lea ecx, [esp + 0xe88]
call fcn.0040f590
mov ecx, 0x513
mov esi, eax
lea edi, [esp + 0x22d8]
mov dword [esp + 0x22d4], 0x3f5
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x22d4]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebx
call fcn.0040f910
mov eax, dword [eax]
mov ecx, 0x513
lea edi, [esp + 0xe88]
lea edx, [ebp + 0x488]
lea esi, [eax + 0x10]
mov eax, 0x144c
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xe88]
call fcn.004317f0
mov edi, esp
push edx
mov edx, dword [esp + 0x1480]
mov ecx, 0x513
sub esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x148c]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x1494]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1498]
mov dword [eax + 8], ecx
mov ecx, ebp
mov dword [eax + 0xc], edx
call fcn.0040d180
push 5
lea ecx, [ebp + 0x488]
call sub.MFC42.DLL_CWnd::ShowWindow
mov edi, dword [esp + 0x10]
jmp 0x40ec54
push 1
push 0
push 0
push 0
push 0
lea ecx, [ebp + 0x488]
call sub.MFC42.DLL_CWnd::MoveWindow
mov esi, dword [edi + 0x234]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x1c], 0x3fa
call fcn.0040f940
cmp dword [eax], esi
je 0x40ed30
lea ecx, [esp + 0xe88]
call fcn.0040f590
mov ecx, 0x513
mov esi, eax
lea edi, [esp + 0x22d8]
mov dword [esp + 0x22d4], 0x3fa
lea edx, [esp + 0x22d4]
lea eax, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push edx
push eax
mov ecx, ebx
call fcn.0040f910
mov eax, dword [eax]
mov ecx, 0x513
lea edi, [esp + 0xe88]
lea edx, [ebp + 0x1088]
lea esi, [eax + 0x10]
mov eax, 0x144c
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xe88]
call fcn.004317f0
mov edi, esp
mov ecx, 0x513
push edx
mov edx, dword [esp + 0x147c]
mov eax, dword [esp + 0x1480]
sub esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x1494]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1498]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, ebp
call fcn.0040d180
push 5
lea ecx, [ebp + 0x1088]
call sub.MFC42.DLL_CWnd::ShowWindow
mov edi, dword [esp + 0x10]
jmp 0x40ed45
push 1
push 0
push 0
push 0
push 0
lea ecx, [ebp + 0x1088]
call sub.MFC42.DLL_CWnd::MoveWindow
call fcn.00422ab0
cmp eax, 2
je 0x40ee2f
mov esi, dword [edi + 0x234]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x3c]
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x1c], 0x3fc
call fcn.0040f940
cmp dword [eax], esi
je 0x40ee2f
lea ecx, [esp + 0xe88]
call fcn.0040f590
mov ecx, 0x513
mov esi, eax
lea edi, [esp + 0x22d8]
mov dword [esp + 0x22d4], 0x3fc
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x22d4]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.0040f910
mov eax, dword [eax]
mov ecx, 0x513
lea edi, [esp + 0xe88]
lea edx, [ebp + 0x88]
lea esi, [eax + 0x10]
mov eax, 0x144c
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xe88]
call fcn.004317f0
mov eax, dword [esp + 0x1478]
mov edi, esp
push edx
mov ecx, 0x513
sub esp, 0x10
mov edx, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1490]
mov dword [edx], eax
mov eax, dword [esp + 0x1494]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x1498]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebp
call fcn.0040d180
push 5
lea ecx, [ebp + 0x88]
call sub.MFC42.DLL_CWnd::ShowWindow
mov edi, dword [esp + 0x10]
jmp 0x40ee44
push 1
push 0
push 0
push 0
push 0
lea ecx, [ebp + 0x88]
call sub.MFC42.DLL_CWnd::MoveWindow
mov esi, dword [edi + 0x234]
lea edx, [esp + 0x14]
lea eax, [esp + 0x3c]
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x1c], 0x3f6
call fcn.0040f940
mov eax, dword [eax]
cmp eax, esi
je 0x40ef52
lea ecx, [esp + 0xe88]
call fcn.0040e460
mov ecx, 0x513
xor eax, eax
lea edi, [esp + 0xe88]
lea esi, [esp + 0xe88]
rep stosd dword es:[edi], eax
or eax, 0xffffffff
mov ecx, 0x513
lea edi, [esp + 0x22d8]
mov dword [esp + 0x159c], eax
mov dword [esp + 0x1598], eax
mov dword [esp + 0x1594], eax
mov dword [esp + 0x1590], eax
mov dword [esp + 0x22d4], 0x3f6
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x22d4]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebx
call fcn.0040f910
mov eax, dword [eax]
mov ecx, 0x513
lea edi, [esp + 0xe88]
lea ebx, [ebp + 0x288]
lea esi, [eax + 0x10]
mov eax, 0x144c
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xe88]
call fcn.004317f0
mov edi, esp
push ebx
mov edx, dword [esp + 0x1480]
mov ecx, 0x513
sub esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x148c]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x1494]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1498]
mov dword [eax + 8], ecx
mov ecx, ebp
mov dword [eax + 0xc], edx
call fcn.0040d180
push 5
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ShowWindow
mov edi, dword [esp + 0x10]
jmp 0x40ef67
push 1
push 0
push 0
push 0
push 0
lea ecx, [ebp + 0x288]
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x40f579
call sub.ModBase.dll_class_IModContainer____cdecl_GetGlobalContainer_void_
mov edx, dword [eax]
push str.DialUIModule
mov ecx, eax
call dword [edx + 8]
mov ebx, eax
test ebx, ebx
je 0x40f579
mov eax, dword [edi + 0x244]
lea ecx, [esp + 0x4c]
lea esi, [edi + 0x240]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x54], 0x834
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], esi
call fcn.0040f9c0
mov eax, dword [eax]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
je 0x40f077
mov ecx, 0x1c6
xor eax, eax
lea edi, [esp + 0x54]
lea esi, [esp + 0x54]
rep stosd dword es:[edi], eax
or eax, 0xffffffff
mov ecx, 0x1c6
lea edi, [esp + 0x770]
mov dword [esp + 0x768], eax
mov dword [esp + 0x764], eax
mov dword [esp + 0x760], eax
mov dword [esp + 0x75c], eax
mov dword [esp + 0x76c], 0x834
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x76c]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0040f990
mov eax, dword [eax]
mov ecx, 0x1c6
lea edi, [esp + 0x54]
push 0
lea esi, [eax + 0x10]
sub esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x770]
mov ecx, dword [esp + 0x778]
mov edx, dword [esp + 0x774]
mov edi, esp
mov esi, dword [ebx]
mov dword [edi], eax
mov eax, dword [esp + 0x77c]
mov dword [edi + 4], ecx
mov ecx, ebx
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
call dword [esi + 0x24]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x40f091
xor eax, eax
mov edx, dword [ebx]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, ebx
call dword [edx + 0x24]
mov edx, dword [edi + 0x244]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x44], 0x835
mov dword [esp + 0x54], edx
call fcn.0040f9c0
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax]
cmp ecx, edx
je 0x40f170
mov ecx, 0x1c6
xor eax, eax
lea edi, [esp + 0x54]
lea esi, [esp + 0x54]
rep stosd dword es:[edi], eax
or eax, 0xffffffff
mov ecx, 0x1c6
lea edi, [esp + 0x770]
mov dword [esp + 0x768], eax
mov dword [esp + 0x764], eax
mov dword [esp + 0x760], eax
mov dword [esp + 0x75c], eax
mov dword [esp + 0x76c], 0x835
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x76c]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0040f990
mov eax, dword [eax]
mov ecx, 0x1c6
lea edi, [esp + 0x54]
push 1
lea esi, [eax + 0x10]
sub esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x770]
mov ecx, dword [esp + 0x778]
mov edx, dword [esp + 0x774]
mov edi, esp
mov esi, dword [ebx]
mov dword [edi], eax
mov eax, dword [esp + 0x77c]
mov dword [edi + 4], ecx
mov ecx, ebx
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
call dword [esi + 0x24]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x40f18b
push 1
xor eax, eax
sub esp, 0x10
mov edx, dword [ebx]
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, ebx
call dword [edx + 0x24]
mov edx, dword [edi + 0x244]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x44], 0x836
mov dword [esp + 0x54], edx
call fcn.0040f9c0
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax]
cmp ecx, edx
je 0x40f26a
mov ecx, 0x1c6
xor eax, eax
lea edi, [esp + 0x54]
lea esi, [esp + 0x54]
rep stosd dword es:[edi], eax
or eax, 0xffffffff
mov ecx, 0x1c6
lea edi, [esp + 0x770]
mov dword [esp + 0x768], eax
mov dword [esp + 0x764], eax
mov dword [esp + 0x760], eax
mov dword [esp + 0x75c], eax
mov dword [esp + 0x76c], 0x836
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x76c]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0040f990
mov eax, dword [eax]
mov ecx, 0x1c6
lea edi, [esp + 0x54]
push 2
lea esi, [eax + 0x10]
sub esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x770]
mov ecx, dword [esp + 0x778]
mov edx, dword [esp + 0x774]
mov edi, esp
mov esi, dword [ebx]
mov dword [edi], eax
mov eax, dword [esp + 0x77c]
mov dword [edi + 4], ecx
mov ecx, ebx
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
call dword [esi + 0x24]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x40f285
push 2
xor eax, eax
sub esp, 0x10
mov edx, dword [ebx]
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, ebx
call dword [edx + 0x24]
mov edx, dword [edi + 0x244]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x44], 0x837
mov dword [esp + 0x54], edx
call fcn.0040f9c0
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax]
cmp ecx, edx
je 0x40f399
mov ecx, 0x1c6
xor eax, eax
lea edi, [esp + 0x54]
lea esi, [esp + 0x54]
rep stosd dword es:[edi], eax
or eax, 0xffffffff
mov ecx, 0x1c6
lea edi, [esp + 0x770]
mov dword [esp + 0x768], eax
mov dword [esp + 0x764], eax
mov dword [esp + 0x760], eax
mov dword [esp + 0x75c], eax
mov dword [esp + 0x76c], 0x837
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x76c]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0040f990
mov eax, dword [eax]
mov ecx, 0x1c6
lea edi, [esp + 0x54]
xor edx, edx
lea esi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x54]
cmp ecx, edx
jne 0x40f345
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
lea esi, [esp + 0x1c]
jmp 0x40f375
mov eax, dword [esp + 0x75c]
lea esi, [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x764]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x760]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x768]
mov dword [esp + 0x48], eax
cmp ebp, edx
jne 0x40f37d
xor eax, eax
jmp 0x40f380
mov eax, dword [ebp + 0x20]
mov edi, dword [ebx]
cmp ecx, edx
setne cl
push ecx
push eax
push esi
mov ecx, ebx
call dword [edi + 0x4c]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x40f3c4
xor ecx, ecx
cmp ebp, ecx
jne 0x40f3a3
xor eax, eax
jmp 0x40f3a6
mov eax, dword [ebp + 0x20]
mov edx, dword [ebx]
push ecx
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
push eax
mov ecx, ebx
call dword [edx + 0x4c]
mov eax, dword [ebp + 0x1488]
test eax, eax
je 0x40f3d5
add eax, 0x90
jmp 0x40f3d7
xor eax, eax
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x58]
mov edi, dword [edi + 0x244]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x14], 0x838
call fcn.0040fac0
mov esi, dword [esi + 4]
mov dword [esp + 0x3c], eax
cmp eax, esi
je 0x40f415
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
cmp ecx, edx
jl 0x40f415
lea eax, [esp + 0x3c]
jmp 0x40f41d
mov dword [esp + 0x4c], esi
lea eax, [esp + 0x4c]
cmp dword [eax], edi
je 0x40f54e
mov ecx, 0x1c6
xor eax, eax
lea edi, [esp + 0x54]
lea esi, [esp + 0x54]
rep stosd dword es:[edi], eax
or eax, 0xffffffff
mov ecx, 0x1c6
lea edi, [esp + 0x770]
mov dword [esp + 0x768], eax
mov dword [esp + 0x764], eax
mov dword [esp + 0x760], eax
mov dword [esp + 0x75c], eax
mov dword [esp + 0x76c], 0x838
lea edx, [esp + 0x76c]
lea eax, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.00406f40
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x1c]
mov edx, dword [eax + 4]
lea eax, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x28], edx
call fcn.0040fa50
mov edx, eax
lea edi, [esp + 0x54]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, 0x1c6
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x54]
xor edx, edx
cmp eax, edx
jne 0x40f4dd
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
lea ecx, [esp + 0x1c]
jmp 0x40f50d
mov ecx, dword [esp + 0x75c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x764]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x760]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x768]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x3c]
cmp ebp, edx
jne 0x40f52f
mov esi, dword [ebx]
xor ebp, ebp
cmp eax, edx
setne dl
push edx
push ebp
push ecx
mov ecx, ebx
call dword [esi + 0x50]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3714
ret 4
mov ebp, dword [ebp + 0x20]
mov esi, dword [ebx]
cmp eax, edx
setne dl
push edx
push ebp
push ecx
mov ecx, ebx
call dword [esi + 0x50]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3714
ret 4
xor eax, eax
cmp ebp, eax
jne 0x40f558
xor ebp, ebp
jmp 0x40f55b
mov ebp, dword [ebp + 0x20]
mov edx, dword [ebx]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push eax
lea eax, [esp + 0x20]
push ebp
push eax
mov ecx, ebx
call dword [edx + 0x50]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3714
ret 4