Function at 0x453da4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4542f1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x2f60], 0
je 0x4542c9
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x2ef0], eax
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x2eec], eax
mov eax, dword [ebx + 0x34]
add eax, dword [ebx + 0x3c]
mov dword [ebx + 0x2ef8], eax
mov eax, dword [ebx + 0x30]
add eax, dword [ebx + 0x38]
mov dword [ebx + 0x2ef4], eax
xor eax, eax
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x54], eax
push 0
call sub.user32.dll_GetSystemMetrics
mov dword [ebp - 0x4c], eax
push 1
call sub.user32.dll_GetSystemMetrics
mov dword [ebp - 0x48], eax
lea esi, [ebx + 0xe50]
lea edi, [ebp - 0x54]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
cmp byte [ebx + 0xcd2], 0
jne 0x453ed5
cmp dword [ebx + 0xe24], 0
jne 0x453e4d
lea esi, [ebx + 0xe60]
lea edi, [ebp - 0x54]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0xe10]
dec eax
je 0x453e5e
dec eax
je 0x453e6a
dec eax
je 0x453e83
jmp 0x453e90
mov edx, dword [ebp - 0x54]
mov eax, ebx
call fcn.00425f88
jmp 0x453e90
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x54]
sub edx, dword [ebx + 0x38]
sar edx, 1
jns 0x453e7a
adc edx, 0
mov eax, ebx
call fcn.00425f88
jmp 0x453e90
mov edx, dword [ebp - 0x4c]
sub edx, dword [ebx + 0x38]
mov eax, ebx
call fcn.00425f88
mov eax, dword [ebx + 0xe0c]
dec eax
je 0x453ea1
dec eax
je 0x453ead
dec eax
je 0x453ec6
jmp 0x453efa
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.00425fa8
jmp 0x453efa
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x50]
sub edx, dword [ebx + 0x3c]
sar edx, 1
jns 0x453ebd
adc edx, 0
mov eax, ebx
call fcn.00425fa8
jmp 0x453efa
mov edx, dword [ebp - 0x48]
sub edx, dword [ebx + 0x3c]
mov eax, ebx
call fcn.00425fa8
jmp 0x453efa
cmp byte [ebx + 0xce2], 0
je 0x453eed
lea edx, [ebx + 0xe50]
mov eax, ebx
call fcn.00426028
jmp 0x453efa
lea edx, [ebx + 0xe60]
mov eax, ebx
call fcn.00426028
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x64]
mov eax, ebx
call fcn.00464d48
mov edx, dword [ebp - 0x60]
mov dword [0x475cbc], edx
mov eax, dword [ebp - 0x64]
mov dword [0x475cb8], eax
mov ecx, dword [ebp - 0x5c]
sub ecx, eax
mov dword [0x475cc0], ecx
mov eax, dword [ebp - 0x58]
sub eax, edx
mov dword [0x475cc4], eax
mov eax, dword [0x473804]
cmp byte [eax], 0
jne 0x453f4a
mov eax, dword [0x473940]
cmp byte [eax], 0
je 0x453f70
push 0x14
mov eax, dword [0x475cc4]
push eax
mov eax, dword [0x475cc0]
push eax
push 0xffffc568
push 0xffffc568
push 0xfffffffffffffffe
mov eax, dword [ebx + 0x2f60]
push eax
call sub.user32.dll_SetWindowPos
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x2f60]
push eax
call sub.user32.dll_GetWindowLongA
test eax, 0x40000
setne byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
jne 0x453fa1
mov eax, ebx
call fcn.0042a1ec
push eax
mov eax, dword [ebx + 0x2f60]
push eax
call sub.user32.dll_SetParent
push 0x37
call sub.kernel32.dll_Sleep
call fcn.00452e60
cmp byte [ebp - 0xd], 0
je 0x4541f8
mov eax, dword [ebx + 0x2f60]
push eax
call sub.user32.dll_GetMenu
mov edi, eax
xor eax, eax
mov dword [ebx + 0x2f70], eax
lea eax, [ebp - 0xc]
mov edx, 0x64
call fcn.00403f48
push edi
call sub.user32.dll_GetMenuItemCount
mov esi, eax
dec esi
test esi, esi
jl 0x45412f
inc esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0x2c
mov dword [ebp - 0x40], 0x16
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], 0x64
lea eax, [ebp - 0xc]
call fcn.00403de8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x44]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
push edi
call sub.user32.dll_GetMenuItemInfoA
test eax, eax
je 0x454125
cmp dword [ebp - 0x3c], 0
jne 0x454125
mov edx, 0x454300
mov eax, dword [ebp - 0x20]
call fcn.00407a1c
test eax, eax
je 0x454071
mov edx, 0x454308
mov eax, dword [ebp - 0x20]
call fcn.00407a1c
test eax, eax
je 0x454071
mov edx, 0x454314
mov eax, dword [ebp - 0x20]
call fcn.00407a1c
test eax, eax
jne 0x454125
mov edi, dword [ebp - 0x30]
push edi
call sub.user32.dll_GetMenuItemCount
mov esi, eax
dec esi
test esi, esi
jl 0x45412f
inc esi
mov dword [ebp - 8], 0
mov dword [ebp - 0x44], 0x2c
mov dword [ebp - 0x40], 0x12
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], 0x64
lea eax, [ebp - 0xc]
call fcn.00403de8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x44]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
push edi
call sub.user32.dll_GetMenuItemInfoA
test eax, eax
je 0x454119
cmp dword [ebp - 0x3c], 0
jne 0x454119
mov edx, 0x45431c
mov ecx, 0xc
mov eax, dword [ebp - 0x20]
call fcn.00407a40
test eax, eax
je 0x45410e
mov edx, 0x45432c
mov ecx, 9
mov eax, dword [ebp - 0x20]
call fcn.00407a40
test eax, eax
je 0x45410e
mov edx, 0x454338
mov ecx, 0x11
mov eax, dword [ebp - 0x20]
call fcn.00407a40
test eax, eax
jne 0x454119
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x2f70], eax
jmp 0x45412f
inc dword [ebp - 8]
dec esi
jne 0x45408d
jmp 0x45412f
inc dword [ebp - 4]
dec esi
jne 0x453ff3
cmp dword [ebx + 0x2f70], 0
jne 0x454142
mov dword [ebx + 0x2f70], 0x4e50
mov eax, dword [ebx + 0x2f60]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x4541d7
mov eax, dword [ebx + 0x2f68]
mov byte [eax + 0x47e], 1
push 0
mov eax, dword [ebx + 0x2f60]
push eax
call sub.user32.dll_ShowWindow
push 0xfffffffffffffff0
mov esi, dword [ebx + 0x2f60]
push esi
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
push esi
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [ebx + 0x2f60]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x2f68]
mov byte [eax + 0x40], 1
mov byte [eax + 0x9bc], 1
push 0
mov eax, dword [ebx + 0x2f70]
push eax
push 0x111
mov eax, dword [ebx + 0x2f60]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x2f68]
mov byte [eax + 0x9bc], 0
mov byte [eax + 0x40], 0
mov eax, ebx
call fcn.0042a1ec
push eax
mov eax, dword [ebx + 0x2f60]
push eax
call sub.user32.dll_SetParent
mov edx, dword [ebx + 0x2f60]
mov eax, ebx
call fcn.00452ae0
mov eax, dword [ebx + 0x2f68]
mov byte [eax + 0x47e], 0
mov byte [eax + 0x55d], 1
cmp byte [ebx + 0x3111], 0
je 0x454283
push 0xfffffffffffffff8
mov eax, ebx
call fcn.0042a1ec
push eax
call sub.user32.dll_GetWindowLongA
test eax, eax
je 0x454237
push 0
mov eax, ebx
call fcn.0042a1ec
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebx + 0x3112], 0
je 0x454249
cmp byte [ebx + 0xc4e], 0
jne 0x454283
push 0xfffffffffffffff0
mov eax, ebx
call fcn.0042a1ec
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
mov eax, ebx
call fcn.0042a1ec
push eax
call sub.user32.dll_SetWindowLongA
push 0x401
push 0
push 0
mov eax, ebx
call fcn.0042a1ec
push eax
call sub.user32.dll_RedrawWindow
push 4
mov eax, dword [ebx + 0x3c]
push eax
mov eax, dword [ebx + 0x38]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0xfffffffffffffffe
mov eax, ebx
call fcn.0042a1ec
push eax
call sub.user32.dll_SetWindowPos
cmp byte [ebx + 0x3111], 0
jne 0x4542bc
push 5
mov eax, ebx
call fcn.0042a1ec
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x2f68]
mov byte [eax + 0x47e], 0
mov eax, dword [ebx + 0x2f68]
mov dl, byte [ebx + 0xe19]
mov byte [eax + 0x550], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4542f8
lea eax, [ebp - 0xc]
call fcn.0040399c
ret