Function at 0x45593d
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x82
mov ecx, esi
call fcn.00453f11
mov dword [esp + 0x34], eax
push 0x89
mov ecx, esi
call fcn.00453f11
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x74]
call fcn.0046a142
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x10], ecx
xor edx, edx
cmp dword [ecx + 0x28], edx
jle 0x45598a
mov eax, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x1c]
lea edi, [ebx + eax*2]
jmp 0x45598d
mov edi, dword [ecx + 0x1c]
inc edi
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x2c], edx
jle 0x4559a2
mov edx, dword [ecx + 0x2c]
mov eax, dword [ecx + 0x24]
lea edx, [eax + edx*2]
jmp 0x4559a5
mov edx, dword [ecx + 0x24]
inc edx
mov dword [esp + 0x3c], edx
lea ecx, [esp + 0x40]
push ecx
push dword [0x489abc]
call dword [sym.imp.USER32.DLL_GetWindowRect]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x44]
imul eax, ecx, 7
mov ecx, 0xa
cdq
idiv ecx
mov dword [esp + 0x50], eax
xor ebp, ebp
mov edx, dword [esp + 0x48]
sub edx, dword [esp + 0x40]
imul eax, edx, 7
cdq
idiv ecx
cmp eax, edi
jge 0x4559ed
mov edi, eax
mov ebp, 0x100000
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x3c], ecx
jle 0x455a01
mov dword [esp + 0x3c], ecx
or ebp, 0x200000
test ebp, ebp
je 0x455a29
mov ebx, dword [esi + 0x74]
mov dword [esp + 0x14], ebx
push 0xfffffffffffffff0
mov ecx, dword [esp + 0x18]
push dword [ecx + 4]
call dword [sym.imp.USER32.DLL_GetWindowLongA]
or eax, ebp
push eax
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.DLL_SetWindowLongA]
cmp word [esp + 0xa0], 0
je 0x455a38
test ebp, ebp
je 0x455a3c
xor ecx, ecx
jmp 0x455a41
mov ecx, 1
mov word [esi + 0x88], cx
test cx, cx
je 0x455aa9
xor ecx, ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
lea edx, [edi + 2]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x3c]
add edx, 2
mov dword [esp + 0x60], edx
push ecx
mov edx, dword [esp + 0x38]
push dword [edx + 4]
call dword [sym.imp.USER32.DLL_EnableWindow]
push 0
mov ecx, dword [esp + 0x38]
push dword [ecx + 4]
call dword [sym.imp.USER32.DLL_ShowWindow]
push 0
mov ecx, dword [esp + 0x3c]
push dword [ecx + 4]
call dword [sym.imp.USER32.DLL_EnableWindow]
push 0
mov ecx, dword [esp + 0x3c]
push dword [ecx + 4]
call dword [sym.imp.USER32.DLL_ShowWindow]
jmp 0x455c06
push 0xfffffffffffffff0
lea ecx, [esi + 4]
push dword [ecx]
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.DLL_GetWindowLongA]
or eax, 0x80000
push eax
push 0xfffffffffffffff0
mov ecx, dword [esp + 0x20]
push dword [ecx]
call dword [sym.imp.USER32.DLL_SetWindowLongA]
push 0
push 0xf060
push 0
mov ecx, dword [esp + 0x24]
push dword [ecx]
call dword [sym.imp.USER32.DLL_GetSystemMenu]
mov dword [esp + 0x6c], eax
push eax
call dword [sym.imp.USER32.DLL_EnableMenuItem]
push 2
push 0xf120
push dword [esp + 0x6c]
call dword [sym.imp.USER32.DLL_EnableMenuItem]
push 2
push 0xf010
push dword [esp + 0x6c]
call dword [sym.imp.USER32.DLL_EnableMenuItem]
push 2
push 0xf020
push dword [esp + 0x6c]
call dword [sym.imp.USER32.DLL_EnableMenuItem]
push 2
push 0xf030
push dword [esp + 0x6c]
call dword [sym.imp.USER32.DLL_EnableMenuItem]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.004351a6
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
mov dword [esp + 0x68], ecx
xor edx, edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
lea eax, [edi + 2]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
lea ebx, [ecx + eax + 2]
mov dword [esp + 0x60], ebx
test ebp, ebp
je 0x455bb6
push edx
push ecx
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
add eax, 2
push eax
mov edx, dword [esp + 0x48]
inc edx
push edx
push 0
mov ecx, dword [esp + 0x48]
mov ebp, dword [ecx]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
call dword [ebp + 0x14]
push 0
push dword [esp + 0x6c]
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x2c]
inc ecx
push ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
call dword [edx + 0x14]
jmp 0x455c06
push edx
push dword [esp + 0x6c]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x30], eax
add eax, 0xfffffffc
push eax
mov ecx, dword [esp + 0x48]
inc ecx
push ecx
push 5
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
mov dword [esp + 0x44], eax
call dword [edx + 0x14]
push 0
push dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
call dword [edx + 0x14]
add dword [esp + 0x60], 4
cmp dword [esp + 0xac], 0
je 0x455c20
push dword [esp + 0xac]
push esi
mov ecx, dword [esi]
call dword [ecx + 0x18]
add esp, 8
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.DLL_GetWindowLongA]
push eax
push 0
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.DLL_GetWindowLongA]
push eax
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.USER32.DLL_AdjustWindowRectEx]
mov ecx, 0xffffffff
cmp dword [esp + 0x98], ecx
jne 0x455cc6
cmp dword [esp + 0x9c], ecx
jne 0x455cc6
lea ecx, [esp + 0x7c]
push ecx
push dword [0x489abc]
call dword [sym.imp.USER32.DLL_GetWindowRect]
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0x84]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
pop eax
sub eax, ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x88]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
pop eax
sub eax, ecx
mov dword [esp + 0x9c], eax
jmp 0x455cda
lea ecx, [esp + 0x98]
push ecx
push dword [0x489abc]
call dword [sym.imp.USER32.DLL_ClientToScreen]
mov ecx, dword [esp + 0x5c]
add ecx, dword [esp + 0x98]
sub ecx, dword [esp + 0x54]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x60]
add ecx, dword [esp + 0x9c]
sub ecx, dword [esp + 0x58]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x54]
push ecx
call fcn.0043606c
push 0
mov ecx, dword [esp + 0x68]
sub ecx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x68]
sub ecx, dword [esp + 0x60]
push ecx
push dword [esp + 0x68]
push dword [esp + 0x68]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x14]
push 0
push dword [esp + 0x44]
push edi
push 1
push 1
mov ecx, dword [esi + 0x74]
mov edx, dword [ecx]
call dword [edx + 0x14]
push 0
push 0
mov ecx, dword [esi + 0x74]
call fcn.0046a4bd
lea ecx, [esp + 0x90]
push ecx
call dword [sym.imp.USER32.DLL_GetCursorPos]
mov ecx, dword [esp + 0x90]
add ecx, 0xfffffff6
mov dword [esi + 0x78], ecx
mov ecx, dword [esp + 0x94]
add ecx, 0xfffffff6
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x90]
add ecx, 0xa
mov dword [esi + 0x80], ecx
mov ecx, dword [esp + 0x94]
add ecx, 0xa
mov dword [esi + 0x84], ecx
add esp, 4
cmp word [esp + 0xa4], 0
je 0x455e09
cmp word [esi + 0x88], 0
je 0x455dcb
push dword [esi + 4]
call dword [sym.imp.USER32.DLL_SetCapture]
push 0
cmp word [esp + 0xac], 1
sbb eax, eax
neg eax
push eax
push esi
call fcn.004539ef
push 0
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
call dword [eax + 0x10]
push 0
mov ecx, esi
call fcn.00453bfb
add esp, 0xc
cmp word [esi + 0x88], 0
je 0x455e22
call dword [sym.imp.USER32.DLL_ReleaseCapture]
jmp 0x455e22
push 0
cmp word [esp + 0xac], 1
sbb eax, eax
neg eax
push eax
push esi
call fcn.004539ef
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 0x18