Function at 0x420526
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
lea eax, [ebp - 0x44]
push edi
mov ebx, ecx
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
xor edi, edi
cmp dword [0x48074c], edi
jne 0x420560
push 0x480408
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [0x48074c], 1
mov esi, dword [ebp - 0x3c]
push 0x32
sub esi, dword [ebp - 0x44]
mov dword [ebp - 0x10], esi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul qword [0x43cb90]
call sub.MSVCRT.dll__ftol
push edi
push edi
push 5
mov dword [ebp - 0xc], eax
push dword [ebx + 0x86c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul qword [0x43ce18]
fst dword [ebp - 8]
fild dword [ebp - 0x10]
fld st(1)
fmul dword [0x43ce10]
fsubr st(1)
call sub.MSVCRT.dll__ftol
fld st(1)
fmul dword [0x43ce0c]
mov dword [ebp - 0x54], eax
fsubr st(1)
call sub.MSVCRT.dll__ftol
fld st(1)
fmul dword [0x43ce08]
mov dword [ebp - 0x50], eax
fsubr st(1)
call sub.MSVCRT.dll__ftol
fld st(1)
fmul dword [0x43ce04]
mov dword [ebp - 0x4c], eax
fsubr st(1)
call sub.MSVCRT.dll__ftol
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x54]
push eax
push 4
push 0x404
push dword [ebx + 0x86c]
fstp st(0)
fstp st(0)
call dword [sym.imp.USER32.dll_SendMessageW]
fld dword [ebp - 8]
fmul dword [0x43ce00]
push edi
push dword [ebp - 0xc]
call sub.MSVCRT.dll__ftol
push eax
push 4
push 4
push edi
push dword [ebx + 0x860]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x74]
push eax
push dword [ebx + 0x86c]
call dword [sym.imp.USER32.dll_GetWindowRect]
sub dword [ebp - 0x38], 8
push 0xbd7
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfbe
mov dword [ebp - 4], eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [0x480750], edi
mov dword [ebp - 0x14], eax
jne 0x4206d2
lea esi, [ebx + 0x870]
lea edi, [ebp - 0x24]
mov dword [0x480750], 1
lea eax, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 4]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 4]
call fcn.004040f6
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
pop ecx
lea eax, [ebp - 0x24]
push eax
push edi
call esi
test eax, eax
je 0x4206bc
lea eax, [ebp - 0x1c]
push eax
push edi
call esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x870]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov esi, dword [ebp - 0x10]
xor edi, edi
mov eax, dword [ebx + 0x87c]
push edi
sub eax, dword [ebx + 0x874]
push eax
push esi
push dword [ebx + 0x874]
push dword [ebx + 0x870]
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x870]
push 0x40
add esi, 0xa
push 5
push esi
sub eax, 5
push dword [ebx + 0x87c]
push eax
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebx + 0x87c]
fild dword [ebp - 0xc]
sub eax, dword [ebx + 0x874]
fstp qword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fld qword [ebp - 0x1c]
fmul qword [0x43cdf8]
faddp st(1)
fiadd dword [ebp - 0x30]
call sub.MSVCRT.dll__ftol
fild dword [ebp - 0x28]
fld dword [ebp - 8]
fmul dword [0x43cdf0]
add dword [ebp - 0x34], 0xe
sub dword [ebp - 0x2c], 0xe
mov dword [ebp - 0x30], eax
fsubp st(1)
call sub.MSVCRT.dll__ftol
mov dword [ebp - 0x28], eax
sub eax, dword [ebp - 0x30]
push 0
lea esi, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
lea edi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x30]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x34]
movsd dword es:[edi], dword [esi]
push 0
push dword [0x480494]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea esi, [ebp - 0x64]
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub eax, ecx
push 0x200
add ecx, eax
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], eax
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x34]
push ecx
push eax
push dword [ebp - 0x34]
push 0
push dword [ebx + 0x864]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea esi, [ebp - 0x64]
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x58]
push 0x32
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 2
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul qword [0x43c6c0]
fiadd dword [ebp - 0x30]
call sub.MSVCRT.dll__ftol
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x414
push dword [ebx + 4]
mov dword [ebp - 0x28], eax
call edi
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
sub edx, ecx
push 0
push edx
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x34]
add ecx, 2
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push edx
push ecx
push dword [ebp - 0x34]
push 0
push eax
call esi
push 0x3ec
push dword [ebx + 4]
call edi
fld qword [ebp - 0x1c]
fmul qword [0x43cde8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add eax, 3
mov dword [ebp - 0x30], eax
fiadd dword [ebp - 0x30]
call sub.MSVCRT.dll__ftol
mov dword [ebp - 0x28], eax
sub eax, dword [ebp - 0x30]
push 0
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0
push dword [ebp - 4]
call esi
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul qword [0x43c6b8]
fiadd dword [ebp - 0x28]
call sub.MSVCRT.dll__ftol
push 0x32
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul qword [0x43cde0]
fiadd dword [ebp - 0x30]
call sub.MSVCRT.dll__ftol
fild dword [ebp - 0x3c]
fld dword [ebp - 8]
fmul dword [0x43cddc]
mov dword [ebp - 0x28], eax
fsubp st(1)
call sub.MSVCRT.dll__ftol
push 0x419
mov dword [ebp - 0x34], eax
push dword [ebx + 4]
call edi
push 0
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x28]
push 0x40
sub eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0
push dword [ebp - 4]
call esi
push 0x410
push dword [ebx + 4]
call edi
fld dword [ebp - 8]
fmul dword [0x43cdd8]
mov edi, eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
fstp dword [ebp - 0x14]
add eax, 5
sub dword [ebp - 0x34], eax
sub dword [ebp - 0x2c], eax
fild dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
fadd dword [ebp - 0x14]
call sub.MSVCRT.dll__ftol
push 0
push edi
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x28]
push 0x40
sub eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0
push edi
call esi
fild dword [ebp - 0x34]
fsub dword [ebp - 0x14]
call sub.MSVCRT.dll__ftol
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x64]
mov dword [ebp - 0x34], eax
push 0x41a
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebx + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
fld dword [ebp - 8]
fmul dword [0x43cdd4]
mov esi, eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push 0
push eax
call sub.MSVCRT.dll__ftol
push eax
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x30]
add eax, 0xfffffff8
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
lea esi, [ebp - 0x64]
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x412
push dword [ebx + 4]
movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
mov esi, dword [ebp - 0x2c]
push 0xfffffffffffffff9
mov dword [ebp - 4], eax
pop eax
sub eax, dword [ebp - 0xc]
add esi, eax
mov dword [ebp - 0x2c], esi
fild dword [ebp - 0x2c]
fld dword [ebp - 8]
fmul dword [0x43cdd0]
fsubp st(1)
call sub.MSVCRT.dll__ftol
mov ecx, dword [ebp - 0x28]
push 0
sub ecx, dword [ebp - 0x30]
sub esi, eax
mov dword [ebp - 0x34], eax
push ecx
push esi
push dword [ebp - 0x30]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push eax
push 0
push dword [ebp - 4]
call esi
push 0x41e
push dword [ebx + 4]
call edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fld dword [ebp - 8]
fmul dword [0x43cdcc]
fsubp st(1)
call sub.MSVCRT.dll__ftol
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push 0
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0
push dword [ebp - 4]
call esi
push 0x411
push dword [ebx + 4]
call edi
mov edi, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], edi
fild dword [ebp - 0x2c]
fld dword [ebp - 8]
fmul dword [0x43cdc8]
fsubp st(1)
call sub.MSVCRT.dll__ftol
mov ecx, dword [ebp - 0x28]
push 0
sub ecx, dword [ebp - 0x30]
sub edi, eax
mov dword [ebp - 0x34], eax
push ecx
push edi
push dword [ebp - 0x30]
push eax
push 0
push dword [ebp - 4]
call esi
push 0x10
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul qword [0x43cb90]
call sub.MSVCRT.dll__ftol
push eax
mov eax, dword [ebx + 0x87c]
push dword [ebp - 0x10]
add eax, 5
xor edi, edi
push eax
push edi
push edi
push dword [0x4700e4]
call esi
mov eax, dword [ebx + 0x87c]
push edi
add eax, 5
push edi
mov ecx, 0x4700b8
mov dword [0x4700bc], eax
call fcn.0043623a
pop edi
pop esi
pop ebx
leave
ret