Function at 0x40542b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov ebx, ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00425a15
mov ecx, ebx
call fcn.0040c018
mov ecx, ebx
call fcn.00407b6d
mov ecx, ebx
call fcn.00406617
mov ecx, ebx
call fcn.00405e7a
mov ecx, ebx
call fcn.00406a30
xor esi, esi
mov ecx, ebx
push esi
call fcn.0040719f
mov ecx, ebx
call fcn.00406940
mov ecx, ebx
mov dword [ebx + 0x54], 1
call fcn.004053bd
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x44e
push dword [ebx + 4]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call edi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x18]
push ecx
push eax
call esi
push 0x44e
push dword [ebx + 4]
call edi
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call esi
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 8]
push eax
call fcn.00408527
mov esi, 0x100
pop ecx
cmp dword [ebp - 8], esi
je 0x405544
push 0x44e
push dword [ebx + 4]
call edi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 4
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
push dword [ebp - 4]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 8]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x450
xor eax, eax
push dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call edi
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x450
push dword [ebx + 4]
call edi
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 8]
push eax
call fcn.00408527
cmp dword [ebp - 8], esi
pop ecx
je 0x405618
mov eax, dword [ebp - 0xc]
push dword [ebp - 4]
sub eax, dword [ebp - 0x14]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push dword [ebp - 8]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x450
mov dword [ebp + 0x10], eax
push dword [ebx + 4]
call edi
push 4
mov dword [ebp + 0xc], eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 8]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x424
xor eax, eax
push dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call edi
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x424
push dword [ebx + 4]
call edi
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 8]
push eax
call fcn.00408527
cmp dword [ebp - 8], esi
pop ecx
je 0x4056cc
push 0x424
push dword [ebx + 4]
call edi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 4
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
push dword [ebp - 4]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 8]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x425
xor eax, eax
push dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call edi
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x425
push dword [ebx + 4]
call edi
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 8]
push eax
call fcn.00408527
cmp dword [ebp - 8], esi
pop ecx
je 0x405780
push 0x425
push dword [ebx + 4]
call edi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 4
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
push dword [ebp - 4]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 8]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x44c
xor eax, eax
push dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call edi
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x44c
push dword [ebx + 4]
call edi
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 8]
push eax
call fcn.00408527
cmp dword [ebp - 8], esi
pop ecx
je 0x405854
mov eax, dword [ebp - 0xc]
push dword [ebp - 4]
sub eax, dword [ebp - 0x14]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push dword [ebp - 8]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x44c
mov dword [ebp + 0x10], eax
push dword [ebx + 4]
call edi
push 4
mov dword [ebp + 0xc], eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 8]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x44d
xor eax, eax
push dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call edi
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x44d
push dword [ebx + 4]
call edi
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 8]
push eax
call fcn.00408527
cmp dword [ebp - 8], esi
pop ecx
je 0x405908
push 0x44d
push dword [ebx + 4]
call edi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 4
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
push dword [ebp - 4]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 8]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x44b
xor eax, eax
push dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call edi
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x44b
push dword [ebx + 4]
call edi
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 8]
push eax
call fcn.00408527
cmp dword [ebp - 8], esi
pop ecx
je 0x4059bc
push 0x44b
push dword [ebx + 4]
call edi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 4
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
push dword [ebp - 4]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 8]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x452
xor eax, eax
push dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call edi
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x452
push dword [ebx + 4]
call edi
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 8]
push eax
call fcn.00408527
cmp dword [ebp - 8], esi
pop ecx
je 0x405a90
mov eax, dword [ebp - 0xc]
push dword [ebp - 4]
sub eax, dword [ebp - 0x14]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push dword [ebp - 8]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x452
mov dword [ebp + 0x10], eax
push dword [ebx + 4]
call edi
push 4
mov dword [ebp + 0xc], eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 8]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x45b
xor eax, eax
push dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call edi
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x45b
push dword [ebx + 4]
call edi
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 8]
push eax
call fcn.00408527
cmp dword [ebp - 8], esi
pop ecx
je 0x405b44
push 0x45b
push dword [ebx + 4]
call edi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 4
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
push dword [ebp - 4]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 8]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x453
xor eax, eax
push dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call edi
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x453
push dword [ebx + 4]
call edi
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 8]
push eax
call fcn.00408527
cmp dword [ebp - 8], esi
pop ecx
je 0x405bf8
push 0x453
push dword [ebx + 4]
call edi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 4
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
push dword [ebp - 4]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 8]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x455
xor eax, eax
push dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call edi
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x455
push dword [ebx + 4]
call edi
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 8]
push eax
call fcn.00408527
cmp dword [ebp - 8], esi
pop ecx
je 0x405ccc
mov eax, dword [ebp - 0xc]
push dword [ebp - 4]
sub eax, dword [ebp - 0x14]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push dword [ebp - 8]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x455
mov dword [ebp + 0x10], eax
push dword [ebx + 4]
call edi
push 4
mov dword [ebp + 0xc], eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 8]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x454
xor eax, eax
push dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call edi
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x454
push dword [ebx + 4]
call edi
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 8]
push eax
call fcn.00408527
cmp dword [ebp - 8], esi
pop ecx
je 0x405d80
push 0x454
push dword [ebx + 4]
call edi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 4
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
push dword [ebp - 4]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 8]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x456
xor eax, eax
push dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call edi
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x456
push dword [ebx + 4]
call edi
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 8]
push eax
call fcn.00408527
cmp dword [ebp - 8], esi
pop ecx
je 0x405e34
push 0x456
push dword [ebx + 4]
call edi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 4
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
push dword [ebp - 4]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 8]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_SetWindowPos]
call fcn.0040ce32
test eax, eax
je 0x405e70
push 0x452
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x45b
push dword [ebx + 4]
call edi
push 0
push eax
call esi
push 0x453
push dword [ebx + 4]
call edi
push 0
push eax
call esi
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10