Function at 0x44b986
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [ebp + 8]
sub esp, 0x8c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
push 0x4a5de0
call fcn.00444b1c
test al, al
jne 0x44b9bf
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4a5e40]
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx]
mov ecx, dword [0x4a5e54]
mov edi, dword [esp + 0x18]
mov edx, dword [ecx + edi*4]
mov esi, dword [edx]
mov cl, byte [esi + 0x88]
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x17], cl
mov dword [esp + 0x10], 0
test ebx, ebx
jge 0x44b9fe
xor ebx, ebx
mov eax, ebx
and eax, 0x100
mov dword [esp + 0x18], eax
je 0x44ba1e
mov edx, dword [esp + 0x24]
push edi
push edx
call fcn.004445ff
mov dword [esp + 0x10], 1
test ebx, 0x800
je 0x44ba45
mov eax, dword [esp + 0x1c]
push 0x13
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 0x10], 1
movzx eax, byte [esp + 0x17]
add eax, 0xfffffff7
cmp eax, 0x11
ja case.0x44ba5d.10
movzx ecx, byte [eax + 0x44bfca]
jmp dword [ecx*4 + 0x44bf9e]
mov eax, ebx
and eax, 7
je case.0x44ba5d.10
and eax, 3
push eax
push edi
call fcn.00443dd1
jmp 0x44bda4
mov eax, ebx
and eax, 7
je case.0x44ba5d.10
mov edx, dword [esp + 0x1c]
push 0
and eax, 3
push eax
push 0xf1
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x44bda4
mov eax, 3
cmp dword [0x4a5e64], eax
jl case.0x44ba5d.10
nop
mov ecx, dword [0x4a5e54]
mov ecx, dword [ecx + eax*4]
cmp dword [ecx], 0
je 0x44bae2
mov ecx, dword [ecx]
mov edx, dword [ecx + 4]
mov edi, dword [esp + 0x20]
cmp edx, dword [edi + 4]
jne 0x44bae2
cmp byte [ecx + 0x88], 3
jne 0x44bae2
mov ecx, dword [ecx]
cmp ecx, dword [esi + 0x30]
je 0x44baf0
inc eax
cmp eax, dword [0x4a5e64]
jle 0x44bab6
jmp case.0x44ba5d.10
mov cl, byte [esi + 0x8a]
test bl, cl
jne case.0x44ba5d.10
test cl, 0x10
je case.0x44ba5d.10
mov edx, dword [0x4a5e54]
mov eax, dword [edx + eax*4]
mov eax, dword [eax]
movsx ecx, word [eax + 0x86]
movsx edx, word [eax + 0x84]
push 0
push ecx
movsx ecx, word [eax + 0x82]
push edx
movsx edx, word [eax + 0x80]
mov eax, dword [eax]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 0x30]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push 0x469
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x44ba5d.10
test bl, 0x10
je case.0x44ba5d.10
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x18c], 0
movzx eax, byte [esi + 0x8b]
je 0x44bb81
mov edx, dword [ecx + 0x188]
mov dword [ecx + 0x184], edx
push eax
mov edi, ecx
push edi
push 0x4a5de0
call fcn.00443a58
movzx eax, byte [esi + 0x8b]
mov dword [edi + 0x188], eax
jmp 0x44bda4
mov ecx, dword [esi + 0x30]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 0xc]
mov al, bl
and al, 1
movsx eax, al
neg eax
sbb eax, eax
and eax, 0x1000
add eax, 0x1000
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], 8
mov dword [esp + 0x64], 0xf010
mov dword [esp + 0x60], eax
test ebx, 0x200
je 0x44bbec
or eax, 0x10
mov dword [esp + 0x60], eax
mov edx, dword [esi + 0x30]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x58]
push ecx
push 0
push 0x113f
push edx
call edi
test ebx, 0x400
je 0x44bc1d
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x30]
push eax
push 2
push 0x1102
push ecx
call edi
cmp dword [esp + 0x18], 0
je 0x44bda4
mov edx, dword [esi + 0x30]
push edx
push 0x4a5de0
call fcn.00444ba2
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.004445ff
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x30]
push ecx
push 9
push 0x110b
push edx
call edi
jmp 0x44bda4
mov ecx, dword [esi + 8]
lea eax, [esp + 0x28]
push eax
push 0
push edi
push ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], 0x30
mov dword [esp + 0x3c], 1
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je case.0x44ba5d.12
test bl, 0x20
jne case.0x44ba5d.12
test bl, bl
jns 0x44bc9e
mov dword [esp + 0x10], 3
test bl, 1
je 0x44bca8
or dword [esp + 0x10], 8
cmp dword [esp + 0x18], 0
je 0x44bcb7
or dword [esp + 0x10], 0x80
test byte [esp + 0x34], 8
je 0x44bcc8
test bl, 4
jne 0x44bcc8
or dword [esp + 0x10], 8
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
push 0
push edi
push ecx
mov dword [esp + 0x44], edx
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
test ebx, 0x200
je 0x44bcef
push 0
push edi
jmp 0x44bd13
mov ecx, dword [esi + 8]
lea eax, [esp + 0x28]
push eax
push 0
push edi
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x44bd1d
test dword [esp + 0x34], 0x1000
je 0x44bd1d
push 0
push 0xffffffffffffffff
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_DrawMenuBar]
jmp 0x44bda4
test ebx, 0x200
je case.0x44ba5d.10
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
push 0
push edi
push 0x401
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi]
jne 0x44bda4
mov ecx, dword [esp + 0x24]
push edi
push ecx
call fcn.004445ff
jmp 0x44bda4
mov eax, ebx
and eax, 7
sub eax, 0
je 0x44bea5
sub eax, 1
je 0x44bd89
mov edx, dword [esp + 0x1c]
push 0
push 0
push 0x467
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x44bda4
mov eax, dword [esp + 0x1c]
push 0xffff0000
push 0xffffffffffffffff
push 0x465
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je case.0x44ba5d.10
mov dword [esp + 0x10], 1
and ebx, 0x10f8
mov eax, ebx
mov dword [esp + 0x18], eax
jle 0x44be98
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x10], 1
test al, al
jns 0x44bde2
push 0
push edi
mov ebx, 0xc0
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esp + 0x18]
test al, 0x40
je 0x44bdf8
push 1
push edi
mov ebx, 0xc0
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esp + 0x18]
mov edx, eax
and edx, 0x20
je 0x44be02
add ebx, 0x30
mov ecx, eax
and ecx, 0x10
mov dword [esp + 0x18], ecx
je 0x44be10
add ebx, 0x30
test al, 8
je 0x44be1a
add ebx, 0x1008
test eax, 0x1000
je 0x44be27
add ebx, 0x1008
not bl
and bl, byte [esi + 0x8a]
or bl, al
mov al, byte [esi + 0x8b]
mov byte [esi + 0x8a], bl
cmp al, 0xff
je 0x44be57
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x184]
movzx eax, al
cmp eax, ecx
je 0x44be57
cmp ecx, 0xffffffff
jne 0x44be98
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test edx, edx
je 0x44be66
push 0
push edi
call ebx
cmp dword [esp + 0x18], 0
je 0x44be8b
push 4
push edi
call ebx
cmp byte [esp + 0x17], 0x1a
jne 0x44be8b
test byte [esi + 0x8a], 0x40
je 0x44be8b
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esp + 0x20]
push 1
push esi
push ecx
call fcn.00435f73
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 0x466
push ecx
jmp 0x44bd9a
mov esi, dword [esi + 0x30]
lea edx, [esp + 0x80]
push edx
push 0xffffffffffffffff
push 0x1053
push esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x90], 1
mov dword [esp + 0x98], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, 0xffffffff
je case.0x44ba5d.12
push 0xffffffffffffffec
push esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 8
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
je 0x44bf50
test bl, 5
je 0x44bf50
mov eax, ebx
dec eax
neg eax
lea ecx, [esp + 0x28]
push ecx
sbb eax, eax
push 0
and eax, 0xfffff000
push 0x104c
add eax, 0x2000
push esi
mov dword [esp + 0x48], 0xf000
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x10], eax
test ebx, 0x2100
je 0x44be98
cmp dword [esp + 0x18], 0
je 0x44bf6b
mov dword [esp + 0x34], 0xffffffff
test ebx, 0x2000
je 0x44bf7b
mov dword [esp + 0x34], 0
lea edx, [esp + 0x28]
push edx
push edi
push 0x102b
push esi
mov dword [esp + 0x48], 3
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8