Function at 0x4470eb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x28]
sub esp, 0x6c
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 4], ebx
mov dword [esp], esi
call edi
push eax
push eax
mov dword [esp + 0x18], 6
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [0x527cf8]
add eax, eax
add eax, dword [0x527d00]
add eax, dword [0x527ce4]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 8], 0xffffffff
mov dword [esp], esi
mov dword [ebp - 0x44], eax
call eax
mov eax, dword [sym.imp.USER32.dll_GetDlgItem]
sub esp, 0x1c
mov dword [esp + 4], 0x3e9
mov dword [esp], esi
mov dword [ebp - 0x3c], eax
call eax
push edx
push edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call edi
xor eax, eax
push ecx
push ecx
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_MapWindowPoints]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], esi
mov dword [ebp - 0x40], eax
call eax
mov edx, dword [0x527840]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
sub esp, 0x10
mov dword [0x527d0c], eax
add eax, 2
cmp edx, eax
mov dword [0x527844], eax
cmovl edx, eax
mov dword [0x527840], edx
mov dword [esp + 4], 0x3ef
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push edx
push edx
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0x48], eax
call edi
xor eax, eax
push ecx
push ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
mov edx, dword [ebp - 0x28]
sub esp, 0x10
mov dword [esp + 0x18], 4
mov eax, dword [0x527d0c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x20]
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [0x5241a0]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x48]
mov dword [esp], ecx
mov eax, dword [ebp - 0x44]
call eax
sub esp, 0x1c
mov dword [esp + 4], 0x3fa
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push edx
push edx
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0x58], eax
call edi
xor eax, eax
push ecx
push ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
mov eax, dword [0x527d0c]
mov ecx, dword [ebp - 0x28]
sub esp, 0x10
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x54], ecx
sub eax, ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov dword [esp + 4], 0x403
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push edx
push edx
mov dword [esp + 0x18], 4
mov ecx, dword [ebp - 0x48]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x50]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x54]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x58]
mov dword [esp], edx
mov eax, dword [ebp - 0x44]
call eax
sub esp, 0x1c
mov dword [esp + 4], ebx
mov eax, dword [0x524150]
mov dword [esp], eax
call edi
xor eax, eax
push ecx
push ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
mov edx, dword [ebp - 0x28]
sub esp, 0x10
mov dword [esp + 0x18], 4
mov eax, dword [0x527d0c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x20]
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [0x524160]
mov dword [esp + 4], eax
mov eax, dword [0x524150]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
sub esp, 0x1c
mov dword [esp + 4], 0x7df
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push edx
push edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call edi
xor eax, eax
push ecx
push ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
mov eax, dword [ebp - 0x24]
sub esp, 0x10
mov dword [0x527d10], eax
mov dword [esp + 4], 0x7d0
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push edx
push edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call edi
xor eax, eax
push ecx
push ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
mov eax, dword [ebp - 0x24]
sub dword [0x527d10], eax
sub esp, 0x10
mov dword [esp + 4], 0x3fe
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push edx
push edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call edi
xor eax, eax
push ecx
push ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
mov eax, dword [ebp - 0x24]
sub esp, 0x10
mov dword [0x527854], eax
mov dword [esp + 4], 0x3fd
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push edx
push edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call edi
xor eax, eax
push ecx
push ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [0x527854]
sub esp, 0x10
mov dword [0x527854], eax
mov dword [esp + 4], 0x3f0
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push edx
push edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call edi
xor eax, eax
push ecx
push ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
mov eax, dword [ebp - 0x24]
sub esp, 0x10
mov dword [0x527850], eax
mov dword [esp + 4], 0x3f1
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push edx
push edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call edi
xor eax, eax
push ecx
push ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [0x527850]
sub esp, 0x10
mov dword [0x527850], eax
mov dword [esp + 4], 0x7e0
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push edx
push edx
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0x48], eax
call edi
xor eax, eax
push ecx
push ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
xor eax, eax
sub esp, 0x10
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x48]
mov dword [esp], edx
call fcn.00441d37
mov ecx, 3
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
add eax, eax
cdq
idiv ecx
add eax, dword [ebp - 0x24]
mov dword [0x527d14], eax
mov dword [esp + 4], 0x7e1
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push edx
push edx
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0x48], eax
call edi
xor eax, eax
push ecx
push ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
xor eax, eax
sub esp, 0x10
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x48]
mov dword [esp], edx
call fcn.00441d37
mov ecx, 3
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
add eax, eax
cdq
idiv ecx
add eax, dword [ebp - 0x24]
mov dword [0x527d18], eax
mov dword [esp + 4], 0x7e2
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push edx
push edx
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0x48], eax
call edi
xor eax, eax
push ecx
push ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
xor eax, eax
sub esp, 0x10
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x48]
mov dword [esp], edx
call fcn.00441d37
mov ecx, 3
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
add eax, eax
cdq
idiv ecx
add eax, dword [ebp - 0x24]
mov dword [0x527d1c], eax
lea eax, [ebp - 0x30]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0x463
mov eax, dword [0x5241b0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SendMessageW]
sub esp, 0x10
mov dword [esp + 4], 0x41c
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push edx
push edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call edi
push ecx
push ecx
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], esi
mov dword [esp], ebx
mov eax, dword [ebp - 0x40]
call eax
xor edi, edi
sub esp, 0x10
mov dword [esp + 0x18], edi
mov eax, dword [0x527844]
xor edi, edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 8], eax
mov eax, dword [0x524150]
mov dword [esp + 4], eax
mov eax, dword [0x5241b0]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
sub esp, 0x1c
mov eax, dword [edi*4 + 0x4b0ed8]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push ebx
lea ebx, [ebp - 0x28]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push eax
push eax
xor eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [0x527d08]
mov ebx, dword [0x527d00]
add ebx, dword [0x527cf8]
sub esp, 0x10
mov edx, dword [ebp - 0x3c]
sub ebx, eax
test edi, 1
je 0x44772f
add eax, dword [0x527cec]
sub ebx, eax
mov dword [esp], edx
inc edi
mov dword [esp + 4], 3
mov dword [ebp - 0x3c], edx
call dword [sym.imp.USER32.dll_GetWindow]
xor ecx, ecx
push edx
push edx
mov dword [esp + 0x18], ecx
mov ecx, dword [0x527844]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x527d08]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov edx, dword [ebp - 0x3c]
mov dword [esp], edx
mov dword [ebp - 0x40], eax
call eax
sub esp, 0x1c
cmp edi, 3
jne 0x4476c0
mov eax, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 4], 0x400
lea edi, [ebp - 0x28]
mov dword [esp], esi
mov dword [ebp - 0x3c], eax
call eax
push ebx
push ebx
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 4], edi
mov dword [ebp - 0x44], eax
call eax
push eax
push eax
xor eax, eax
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_MapWindowPoints]
mov dword [esp + 0xc], 2
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [ebp - 0x48], eax
call eax
lea eax, [ebp - 0x30]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
sub esp, 0x10
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0x463
mov eax, dword [0x5241ac]
mov dword [esp], eax
call ebx
mov edx, dword [0x527844]
movzx eax, word [ebp - 0x30]
sub esp, 0x10
shl edx, 0x10
mov dword [esp + 4], 0x41f
or eax, edx
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [0x5241ac]
mov dword [esp], eax
call ebx
xor eax, eax
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0x456
mov eax, dword [0x5241ac]
mov dword [esp], eax
call ebx
movzx edx, ax
sub esp, 0x10
mov dword [ebp - 0x30], edx
mov edx, eax
add eax, 3
shr edx, 0x10
movzx eax, ax
mov dword [ebp - 0x2c], edx
add edx, 2
shl edx, 0x10
mov dword [esp + 4], 0x457
or edx, eax
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], edx
mov eax, dword [0x5241ac]
mov dword [esp], eax
call ebx
xor ecx, ecx
mov edx, dword [0x527cf0]
sub esp, 0x10
mov dword [esp + 0x18], ecx
mov eax, dword [0x527844]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [0x527d00]
add eax, dword [0x527cf8]
sub eax, edx
mov dword [esp + 8], eax
mov eax, dword [0x52417c]
mov dword [esp + 4], eax
mov eax, dword [0x5241ac]
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
sub esp, 0x1c
mov dword [esp + 4], 0x401
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push edx
push edx
mov dword [esp + 4], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
xor eax, eax
push ecx
push ecx
mov dword [esp + 0xc], 2
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
call eax
lea eax, [ebp - 0x30]
sub esp, 0x10
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0x463
mov eax, dword [0x5241a8]
mov dword [esp], eax
call ebx
mov edx, dword [0x527844]
movzx eax, word [ebp - 0x30]
sub esp, 0x10
shl edx, 0x10
mov dword [esp + 4], 0x41f
or eax, edx
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [0x5241a8]
mov dword [esp], eax
call ebx
xor eax, eax
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0x456
mov eax, dword [0x5241a8]
mov dword [esp], eax
call ebx
movzx edx, ax
sub esp, 0x10
mov dword [ebp - 0x30], edx
mov edx, eax
add eax, 3
shr edx, 0x10
movzx eax, ax
mov dword [ebp - 0x2c], edx
add edx, 2
shl edx, 0x10
mov dword [esp + 4], 0x457
or edx, eax
xor eax, eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [0x5241a8]
mov dword [esp], eax
call ebx
xor edx, edx
sub esp, 0x10
mov dword [esp + 0x18], edx
mov eax, dword [0x527844]
mov dword [esp + 0x14], eax
mov eax, dword [0x527cf0]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [0x527cf4]
add eax, dword [0x527cf8]
add eax, dword [0x527cec]
mov dword [esp + 8], eax
mov eax, dword [0x524164]
mov dword [esp + 4], eax
mov eax, dword [0x5241a8]
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
sub esp, 0x1c
mov dword [esp + 4], 0x403
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push ecx
mov ebx, eax
push ecx
mov dword [esp + 4], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
push eax
push eax
xor eax, eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
call eax
xor eax, eax
mov edx, dword [ebp - 0x24]
sub esp, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x1c]
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [0x527cf4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [0x527cf8]
mov dword [esp + 8], eax
mov eax, dword [0x524158]
mov dword [esp], ebx
xor ebx, ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
call eax
sub esp, 0x1c
mov dword [esp + 4], 0x3fb
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push edx
push edx
mov dword [ebp - 0x4c], eax
mov dword [esp + 4], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
push ecx
push ecx
mov dword [esp], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x48]
call eax
mov ebx, dword [0x527d00]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
sub esp, 0x10
mov dword [ebp - 0x58], eax
sub ebx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x54], edx
sub eax, edx
mov dword [ebp - 0x30], ebx
add ebx, dword [0x527cf8]
mov dword [ebp - 0x50], eax
mov dword [esp + 4], 0x3fa
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
xor ecx, ecx
push edx
push edx
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x50]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x58]
mov dword [esp + 0x10], ecx
mov edx, dword [ebp - 0x54]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
sub esp, 0x1c
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x4c]
xor ebx, ebx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push eax
push eax
mov dword [esp + 4], 0x3fa
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push edx
push edx
mov dword [ebp - 0x4c], eax
mov dword [esp + 4], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
push ecx
push ecx
mov dword [esp], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x48]
call eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [0x527cf4]
mov ecx, dword [0x527d00]
sub esp, 0x10
sub eax, edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x50], eax
mov eax, dword [0x527cec]
sub ecx, ebx
add ebx, dword [0x527cf8]
sub ecx, eax
add ebx, eax
mov dword [ebp - 0x54], ecx
mov dword [esp + 4], 0x403
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
xor ecx, ecx
push edx
push edx
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x50]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x54]
mov dword [esp + 0x10], ecx
mov edx, dword [ebp - 0x58]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
sub esp, 0x1c
xor ebx, ebx
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push eax
push eax
mov dword [esp + 4], 0x7d5
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
push edx
mov ebx, eax
push edx
mov dword [esp + 4], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
xor eax, eax
push ecx
push ecx
mov dword [esp + 0xc], 2
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
call eax
xor eax, eax
mov edx, dword [ebp - 0x24]
sub esp, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x1c]
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [0x527cf0]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [0x527d00]
add eax, dword [0x527cf8]
add eax, dword [0x527ce8]
mov dword [esp + 8], eax
mov eax, dword [0x524174]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
call eax
sub esp, 0x1c
cmp dword [0x52411c], 0
je 0x447d35
mov dword [esp + 4], edi
mov eax, dword [0x52417c]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
push eax
push eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], 2
mov eax, dword [0x5241b4]
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
call eax
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
sub esp, 0x10
mov ebx, dword [0x527d00]
sub eax, edi
sub ebx, dword [0x527cec]
sub ebx, dword [0x527cf0]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
mov dword [esp + 4], 0x7d0
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
xor ecx, ecx
push edx
push edx
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x44]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edi
mov edx, dword [ebp - 0x48]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [0x52417c]
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
sub esp, 0x1c
xor edx, edx
mov eax, dword [edx*4 + 0x4b0ea0]
mov dword [ebp - 0x3c], edx
lea edi, [ebp - 0x28]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push ecx
mov ebx, eax
push ecx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push eax
push eax
xor eax, eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], 2
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
sub esp, 0x10
mov dword [esp + 4], 3
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_GetWindow]
push edx
mov ecx, eax
xor eax, eax
push edx
mov edi, dword [ebp - 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x1c]
sub eax, edi
mov dword [esp + 0x14], eax
mov eax, dword [0x527d00]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [ebp - 0x3c]
sub esp, 0x1c
inc edx
cmp edx, 0xe
jne 0x447d37
xor ebx, ebx
mov eax, dword [ebx*4 + 0x4b0e60]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push ecx
mov edi, eax
lea eax, [ebp - 0x28]
push ecx
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push eax
push eax
lea eax, [ebp - 0x28]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0xc], 2
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
sub esp, 0x10
mov dword [esp + 4], 3
mov dword [esp], edi
call dword [sym.imp.USER32.dll_GetWindow]
push edx
push edx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x1c]
sub eax, ecx
cmp ebx, 1
mov dword [ebp - 0x40], eax
mov eax, dword [0x527d04]
jg 0x447e5a
add eax, dword [0x527cfc]
jmp 0x447e5f
cmp ebx, 3
jg 0x447e64
mov edx, dword [ebp - 0x28]
jmp 0x447e72
mov edx, dword [0x527cf8]
add edx, eax
add edx, dword [0x527cfc]
mov dword [ebp - 0x3c], edx
xor edx, edx
inc ebx
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ecx
mov eax, dword [ebp - 0x3c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 4], eax
call edi
sub esp, 0x1c
cmp ebx, 9
jne 0x447ddc
mov dword [esp], esi
mov dword [esp + 4], 0x3f3
call dword [sym.imp.USER32.dll_GetDlgItem]
push edx
mov ebx, eax
lea eax, [ebp - 0x28]
push edx
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x28]
push ecx
push ecx
mov dword [esp + 4], esi
xor esi, esi
mov dword [esp], esi
xor esi, esi
mov dword [esp + 0xc], 2
mov dword [esp + 8], eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 4], 3
call dword [sym.imp.USER32.dll_GetWindow]
push edx
mov ecx, eax
push edx
mov edx, dword [ebp - 0x24]
mov dword [esp + 0x18], esi
mov eax, dword [ebp - 0x1c]
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [0x527cf4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call edi
sub esp, 0x1c
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret