Function at 0x40be3f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
cmp dword [0x43258c], 0
push ebx
push esi
push edi
mov ebx, ecx
jne 0x40be71
push 0x431e50
push dword [ebx + 0x898]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [0x43258c], 1
mov eax, dword [ebx + 0x898]
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x400
push dword [ebx + 0x898]
movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0xec]
push ecx
push eax
call esi
push 0x3e8
push dword [ebx + 0x898]
call edi
lea ecx, [ebp - 0x6c]
push ecx
push eax
call esi
lea eax, [ebp - 0xdc]
push eax
push 0x405
push dword [ebx + 0x898]
call edi
push eax
call esi
push 0x416
push dword [ebx + 0x898]
call edi
lea ecx, [ebp - 0x8c]
push ecx
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 4]
call edi
test eax, eax
je 0x40bf20
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 4]
call edi
lea eax, [ebp - 0xcc]
push eax
push dword [ebx + 0x888]
call esi
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub eax, ecx
sub ecx, dword [ebp - 0xc8]
add dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x30]
add edx, eax
push 0
add dword [ebp - 0x18], 5
lea eax, [esi + eax*2]
sub dword [ebp - 0x10], 5
add ecx, eax
mov dword [ebp - 0x14], edx
sub ecx, eax
mov edx, dword [ebx + 0x88c]
push ecx
mov ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0x5c]
mov dword [ebp - 4], edx
push ecx
push eax
push dword [ebp - 0x5c]
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebp - 4]
call edi
mov eax, dword [ebp - 0x14]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
sub dword [ebp - 0x18], 4
add dword [ebp - 0x10], 4
sub dword [ebp - 0x14], 4
push 0xfbe
push dword [ebx + 0x898]
mov dword [ebp - 0xc], eax
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
lea eax, [ebp - 0x18]
push 0x40
push eax
push 0
push dword [ebp - 4]
call fcn.0040bdeb
add esp, 0x10
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
push 0x3ea
push dword [ebx + 0x898]
call esi
fild dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fmul qword [0x416420]
fsubp st(1)
call sub.MSVCRT.dll__ftol
sub dword [ebp - 0x10], 5
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x60]
push 0x40
add dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 4]
call fcn.0040bdeb
add esp, 0x10
push 0x3e8
push dword [ebx + 0x898]
call esi
mov ecx, dword [ebp - 0x14]
push 0x40
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x68]
sub ecx, dword [ebp - 0x60]
add dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
call fcn.0040bdeb
mov eax, dword [ebp - 0x18]
add esp, 0x10
add eax, 0xfffffffb
mov dword [ebp - 0x18], 5
push 0x8016
mov dword [ebp - 0x10], eax
push dword [ebx + 0x898]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
lea eax, [ebp - 0x18]
push 0x40
push eax
push 0
push dword [ebp - 4]
call fcn.0040bdeb
add esp, 0x10
push 0x405
push dword [ebx + 0x898]
call esi
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x74]
sub ecx, dword [ebp - 0xd0]
add eax, 0xfffffffb
lea esi, [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffb
lea edi, [ebp - 0x5c]
add ecx, eax
mov dword [ebp - 0x18], 5
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
push dword [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x402
push dword [ebx + 0x898]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x28]
mov dword [ebp - 4], eax
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
sub eax, dword [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [eax + ecx - 1]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fmul qword [0x416450]
fiadd dword [ebp - 0x28]
call sub.MSVCRT.dll__ftol
fild dword [ebp - 0x24]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
mov dword [ebp - 0x20], eax
fstp qword [ebp - 0x44]
call esi
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fmul qword [0x416420]
fsubr qword [ebp - 0x44]
call sub.MSVCRT.dll__ftol
fild dword [ebp - 0x1c]
push 0x31
mov dword [ebp - 0x24], eax
fstp qword [ebp - 0x44]
call esi
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fmul qword [0x416420]
fsubr qword [ebp - 0x44]
call sub.MSVCRT.dll__ftol
push 0x31
mov dword [ebp - 0x1c], eax
call esi
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fmul qword [0x416420]
fiadd dword [ebp - 0x28]
call sub.MSVCRT.dll__ftol
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push 0
push eax
push 0
push dword [ebp - 4]
call fcn.0040bdeb
lea esi, [ebp - 0x28]
lea edi, [ebp - 0xac]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0x10
movsd dword es:[edi], dword [esi]
push 0x401
push dword [ebx + 0x898]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0x68]
dec dword [ebp - 0x24]
sub ecx, dword [ebp - 0x60]
dec dword [ebp - 0x1c]
push 0
add dword [ebp - 0x24], ecx
add dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0
push eax
call fcn.0040bdeb
lea esi, [ebp - 0x28]
lea edi, [ebp - 0xbc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0x10
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
add eax, 0xfffffffe
push 0x403
push dword [ebx + 0x898]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x20]
add eax, 2
mov dword [ebp - 0xbc], eax
call esi
xor edi, edi
lea ecx, [ebp - 0xbc]
push edi
push ecx
push edi
push eax
call fcn.0040bdeb
mov eax, dword [ebp - 0x10]
add esp, 0x10
add eax, 0xfffffffe
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x20]
push 0x404
add eax, 2
push dword [ebx + 0x898]
mov dword [ebp - 0xac], eax
call esi
lea ecx, [ebp - 0xac]
push edi
push ecx
push edi
push eax
call fcn.0040bdeb
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x9c]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x38]
add esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0xfffffffa
push 0x3e9
push dword [ebx + 0x898]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x80]
add eax, 0x1e
mov dword [ebp - 0x98], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x9c]
push 4
xor esi, esi
push ecx
push esi
push eax
call fcn.0040bdeb
add esp, 0x10
cmp dword [ebx + 0x890], esi
je 0x40c4ad
lea eax, [ebp - 0x4c]
push eax
push dword [ebx + 0x898]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x44]
push 0x32
sub edi, dword [ebp - 0x4c]
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fmul qword [0x416448]
call sub.MSVCRT.dll__ftol
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x874]
cmp eax, esi
je 0x40c327
push esi
push dword [0x424acc]
push edi
push dword [ebp - 0x48]
push esi
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
push dword [ebp - 4]
push edi
push dword [ebp - 0x48]
push esi
push esi
push dword [ebx + 0x878]
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
push dword [ebp - 4]
push edi
push dword [ebp - 0x48]
push esi
push esi
push dword [ebx + 0x890]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push esi
push 5
push dword [ebx + 0x888]
call edi
call fcn.0040346d
test al, al
je 0x40c37d
push 1
push esi
push dword [ebx + 0x888]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [ebx + 0x884], esi
je 0x40c425
push 0x3e9
push dword [ebx + 0x898]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x3c]
push eax
push dword [ebx + 0x898]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 0x898]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 8]
push esi
push dword [ebp - 4]
add eax, 0xffffff38
push eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 4]
push eax
push dword [ebp - 0x3c]
push esi
push dword [ebx + 0x884]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 0x880]
cmp eax, esi
je 0x40c425
lea ecx, [ebp - 0x7c]
push ecx
push esi
push 0x41d
push eax
call edi
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x38]
sub eax, dword [ebp - 0x7c]
sub ecx, dword [ebp - 4]
push esi
push dword [ebp - 4]
push eax
push ecx
mov ecx, dword [ebp - 0x34]
sub ecx, eax
push ecx
push esi
push dword [ebx + 0x880]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 0x87c]
cmp eax, esi
je 0x40c4ad
lea ecx, [ebp - 0x7c]
push ecx
push esi
push 0x41d
push eax
call edi
push esi
push esi
push 0x418
push dword [ebx + 0x87c]
call edi
lea ecx, [ebp - 0x3c]
dec eax
push ecx
push eax
push 0x41d
push dword [ebx + 0x87c]
call edi
mov eax, dword [ebp - 0x7c]
push esi
push dword [ebp - 4]
sub eax, dword [ebp - 0x34]
push dword [ebp - 8]
add eax, dword [ebp - 0x44]
push dword [ebp - 0x48]
push eax
push esi
push dword [ebx + 0x87c]
call dword [sym.imp.USER32.dll_SetWindowPos]
movzx ecx, word [ebp - 4]
mov eax, ecx
shl eax, 0x10
or eax, ecx
push eax
push esi
push 0x41f
mov dword [ebp - 8], eax
push dword [ebx + 0x87c]
call edi
push dword [ebp - 8]
push esi
push 0x41f
push dword [0x431e94]
call edi
mov eax, dword [ebp - 0x50]
push 0x40
sub eax, dword [ebp - 0x58]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push eax
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
push eax
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push esi
push dword [ebp - 0x2c]
call edi
cmp dword [0x432570], esi
push 3
push esi
push esi
push esi
push esi
je 0x40c4e1
push 0xffffffffffffffff
jmp 0x40c4e3
push 0xfffffffffffffffe
push dword [ebx + 0x898]
call edi
pop edi
pop esi
pop ebx
leave
ret