Function at 0x4917f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 0x3374]
push edi
mov dword [ebp - 8], ecx
call fcn.0047b890
lea ecx, [esi + 0x2fd0]
call fcn.0047d110
cmp dword [esi + 0x3398], 0
je 0x491beb
mov ecx, dword [esi + 0x70]
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [ebp - 0x18]
push edx
push eax
call ebx
test eax, eax
je 0x49184d
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
call ebx
mov ecx, dword [esi + 0x2fd4]
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
lea edx, [ebp - 0x18]
push edx
push eax
call ebx
test eax, eax
je 0x491879
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
call ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 0x2fd4]
push 1
sub eax, edi
push eax
mov eax, dword [ebp - 0x18]
sub ecx, eax
push ecx
push edi
push eax
push edx
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x6c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x70]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x74]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x78]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0x4e9
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [ebp - 0x18]
push edx
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x18]
push eax
push ecx
call ebx
test eax, eax
je 0x491901
mov eax, dword [esi + 4]
lea edx, [ebp - 0x10]
push edx
push eax
call ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub edi, eax
add eax, edi
add ecx, edi
push 1
mov dword [ebp - 0xc], ecx
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x18]
sub edx, ecx
push edx
push eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 4]
push 0x4ea
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [ebp - 0x18]
push edx
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x18]
push eax
push ecx
call ebx
test eax, eax
je 0x491962
mov eax, dword [esi + 4]
lea edx, [ebp - 0x10]
push edx
push eax
call ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edi
add ecx, edi
push 1
mov dword [ebp - 0xc], eax
sub eax, ecx
push eax
mov eax, dword [ebp - 0x18]
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [ebp - 4]
push eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 4]
push 0x4ec
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [ebp - 0x18]
push edx
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x18]
push eax
push ecx
call ebx
test eax, eax
je 0x4919c1
mov eax, dword [esi + 4]
lea edx, [ebp - 0x10]
push edx
push eax
call ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edi
add ecx, edi
push 1
mov dword [ebp - 0xc], eax
sub eax, ecx
push eax
mov eax, dword [ebp - 0x18]
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [ebp - 4]
push eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 0x338c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0xf1
push ecx
call edi
mov edx, dword [esi + 0x3390]
push 0
push 0
push 0xf1
push edx
call edi
mov eax, dword [esi + 0x33a0]
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x33a4]
je 0x491f64
lea ebx, [ebx]
cmp byte [eax + 0xc], 0
jne 0x491bc1
mov eax, dword [eax]
push 0
push 0
push 0xffffffffffffffff
push eax
lea ecx, [esi + 0x2fd0]
call fcn.00482a60
mov edi, eax
test edi, edi
js 0x491ab6
cmp edi, dword [esi + 0x3378]
jge 0x491ab6
mov edx, dword [ebp - 8]
cmp edi, dword [edx + 4]
jge 0x491bda
mov ecx, dword [edx]
lea eax, [edi + edi*4]
add eax, eax
add eax, eax
cmp dword [eax + ecx + 4], 0
jle 0x491ab6
cmp edi, dword [edx + 4]
jge 0x491bda
cmp dword [ecx + eax + 4], 0
jle 0x491bda
mov ecx, dword [ecx + eax]
mov dword [ecx + 0xc], 1
cmp edi, dword [edx + 4]
jge 0x491bda
mov edx, dword [edx]
cmp dword [edx + eax + 4], 0
jle 0x491bda
mov edx, dword [edx + eax]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
cmp eax, 3
ja case.default.0x491ac5
jmp dword [eax*4 + 0x491f6c]
lea ecx, [esi + 0x3380]
push ecx
push 0
push 3
push 1
push edi
lea ecx, [esi + 0x2fd0]
call fcn.0048e580
push str.None
jmp 0x491b47
lea edx, [esi + 0x3380]
push edx
push 0
push 3
push 1
push edi
lea ecx, [esi + 0x2fd0]
call fcn.0048e580
mov eax, dword [esi + 0x58]
push eax
jmp 0x491b47
lea ecx, [esi + 0x3380]
push ecx
push 0
push 3
push 1
push edi
lea ecx, [esi + 0x2fd0]
call fcn.0048e580
mov edx, dword [esi + 0x54]
push edx
jmp 0x491b47
lea eax, [esi + 0x3380]
push eax
push 0
push 3
push 1
push edi
lea ecx, [esi + 0x2fd0]
call fcn.0048e580
mov ecx, dword [esi + 0x5c]
push ecx
push 1
push edi
lea ecx, [esi + 0x2fd0]
call fcn.0047f670
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
push 2
push edi
lea ecx, [esi + 0x2fd0]
call fcn.0047f670
test edi, edi
js 0x491bbe
cmp edi, dword [esi + 0x3378]
jge 0x491bbe
mov edx, dword [ebp - 8]
cmp edi, dword [edx + 4]
jge 0x491bda
mov ecx, dword [edx]
lea eax, [edi + edi*4]
add eax, eax
add eax, eax
mov ebx, 2
cmp dword [eax + ecx + 4], ebx
jle 0x491bbe
cmp edi, dword [edx + 4]
jge 0x491bda
cmp dword [ecx + eax + 4], ebx
jle 0x491bda
mov ecx, dword [ecx + eax]
mov dword [ecx + 0x64], 1
cmp edi, dword [edx + 4]
jge 0x491bda
mov edx, dword [edx]
cmp dword [edx + eax + 4], ebx
jle 0x491bda
mov edx, dword [edx + eax]
mov dword [edx + 0x68], 0
mov eax, dword [ebp - 4]
add eax, 0x10
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x33a4]
jne 0x491a30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [esi + 0x3390]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0x338c]
push 0
push 0
push 0xf1
push ecx
call edi
mov edi, dword [esi + 0x33a0]
cmp edi, dword [esi + 0x33a4]
je 0x491d28
jmp 0x491c30
cmp byte [edi + 0xc], 1
jne 0x491d19
mov eax, dword [edi]
push 0
push 0
push 0xffffffffffffffff
push eax
lea ecx, [esi + 0x2fd0]
call fcn.00482a60
test eax, eax
js 0x491cb4
cmp eax, dword [esi + 0x3378]
jge 0x491cb4
mov ebx, dword [ebp - 8]
cmp eax, dword [ebx + 4]
jge 0x491bda
mov edx, dword [ebx]
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
cmp dword [ecx + edx + 4], 0
jle 0x491cb4
cmp eax, dword [ebx + 4]
jge 0x491bda
cmp dword [edx + ecx + 4], 0
jle 0x491bda
mov edx, dword [edx + ecx]
mov dword [edx + 0xc], 1
cmp eax, dword [ebx + 4]
jge 0x491bda
mov eax, dword [ebx]
cmp dword [eax + ecx + 4], 0
jle 0x491bda
mov eax, dword [eax + ecx]
mov dword [eax + 0x10], 0
mov eax, dword [edi + 8]
dec eax
je 0x491ced
dec eax
je 0x491cde
dec eax
jne 0x491d0a
mov ecx, dword [esi + 0x6c]
push eax
push 1
push 0x14e
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x84], 1
jmp 0x491d0a
mov edx, dword [esi + 0x6c]
push 0
push 0
push 0x14e
push edx
jmp 0x491cfa
mov eax, dword [esi + 0x6c]
push 0
push 2
push 0x14e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x84], 0
lea ecx, [edi + 4]
push ecx
lea ecx, [esi + 0x80]
call fcn.004078d0
add edi, 0x10
cmp edi, dword [esi + 0x33a4]
jne 0x491c30
mov eax, dword [esi + 0x78]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [ebp - 0x18]
push ecx
push edx
call ebx
test eax, eax
je 0x491d54
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push eax
push ecx
call ebx
cmp dword [esi + 0x84], 0
mov dword [ebp - 8], 0
je 0x491d73
mov edi, dword [ebp - 0xc]
mov dword [ebp - 8], 1
add edi, 3
jmp 0x491d76
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x78]
push edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 8]
mov edx, dword [esi + 0x74]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x2fd4]
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
lea edx, [ebp - 0x18]
push edx
push eax
call ebx
test eax, eax
je 0x491dbb
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
call ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 0x2fd4]
push 1
sub eax, edi
push eax
mov eax, dword [ebp - 0x18]
sub ecx, eax
push ecx
push edi
push eax
push edx
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x6c]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x70]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 0x4e9
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
lea edx, [ebp - 0x18]
push edx
push eax
call ebx
test eax, eax
je 0x491e28
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
call ebx
mov eax, dword [esi + 4]
sub edi, dword [ebp - 0x14]
push 0x4ec
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
lea edx, [ebp - 0x18]
push edx
push eax
call ebx
test eax, eax
je 0x491e60
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
call ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edi
add ecx, edi
push 1
mov dword [ebp - 0xc], eax
sub eax, ecx
push eax
mov eax, dword [ebp - 0x18]
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [ebp - 4]
push eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 4]
push 0x4ea
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [ebp - 0x18]
push edx
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x18]
push eax
push ecx
call ebx
test eax, eax
je 0x491ebf
mov eax, dword [esi + 4]
lea edx, [ebp - 0x10]
push edx
push eax
call ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edi
add ecx, edi
push 1
mov dword [ebp - 0xc], eax
sub eax, ecx
push eax
mov eax, dword [ebp - 0x18]
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [ebp - 4]
push eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 4]
push 0x4e9
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [ebp - 0x18]
push edx
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x18]
push eax
push ecx
call ebx
test eax, eax
je 0x491f1e
mov eax, dword [esi + 4]
lea edx, [ebp - 0x10]
push edx
push eax
call ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edi
add ecx, edi
push 1
mov dword [ebp - 0xc], eax
sub eax, ecx
push eax
mov eax, dword [ebp - 0x18]
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [ebp - 4]
push eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
push 0
push 1
push 4
lea ecx, [esi + 0x80]
push ecx
push 0x45b
lea ecx, [esi + 0x54]
call fcn.00532530
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret