Function at 0x41455c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x414ce0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200]
test eax, eax
je 0x414cca
push 0x414
mov edx, dword [0x4206a4]
push edx
mov edx, dword [0x4206a0]
push edx
push 0xffffc568
push 0xffffc568
push 0xfffffffffffffffe
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_GetClientRect
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200]
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
mov dword [0x4206a0], eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x40]
mov dword [0x4206a4], eax
mov ebx, dword [0x4206a0]
sub ebx, dword [ebp - 0x4c]
mov esi, dword [0x4206a4]
sub esi, dword [ebp - 0x48]
test ebx, ebx
jne 0x414604
test esi, esi
je 0x414620
push 0x16
add esi, dword [ebp - 0x48]
push esi
add ebx, dword [ebp - 0x4c]
push ebx
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 4]
cmp byte [eax + 0xca], 0
jne 0x4146e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x19c]
dec eax
je 0x414644
dec eax
je 0x41464e
dec eax
je 0x414675
jmp 0x41468a
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1c], edx
jmp 0x41468a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x214]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x10]
sar eax, 1
jns 0x41466d
adc eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
jmp 0x41468a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
dec eax
je 0x41469e
dec eax
je 0x4146a8
dec eax
je 0x4146cf
jmp 0x4146e4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x18], edx
jmp 0x4146e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x220]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x218]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x14]
sar eax, 1
jns 0x4146c7
adc eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
jmp 0x4146e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x220]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200]
push eax
call sub.user32.dll_GetWindowLongA
test eax, 0x40000
setne bl
test bl, bl
push 0x37
call sub.kernel32.dll_Sleep
call fcn.00413cac
test bl, bl
je 0x414ada
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200]
push eax
call sub.user32.dll_GetMenu
mov esi, eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x210], edx
lea eax, [ebp - 8]
mov edx, 0x64
call fcn.00403978
push esi
call sub.user32.dll_GetMenuItemCount
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x414880
inc ebx
xor edi, edi
mov dword [ebp - 0x34], 0x2c
mov dword [ebp - 0x30], 0x16
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], 0x64
lea eax, [ebp - 8]
call fcn.00403874
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push edi
push esi
call sub.user32.dll_GetMenuItemInfoA
test eax, eax
je 0x414878
cmp dword [ebp - 0x2c], 0
jne 0x414878
mov edx, 0x414cf0
mov eax, dword [ebp - 0x10]
call fcn.004065b4
test eax, eax
je 0x4147cb
mov edx, 0x414cf8
mov eax, dword [ebp - 0x10]
call fcn.004065b4
test eax, eax
je 0x4147cb
mov edx, 0x414d04
mov eax, dword [ebp - 0x10]
call fcn.004065b4
test eax, eax
jne 0x414878
mov esi, dword [ebp - 0x20]
push esi
call sub.user32.dll_GetMenuItemCount
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x414880
inc ebx
xor edi, edi
mov dword [ebp - 0x34], 0x2c
mov dword [ebp - 0x30], 0x12
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], 0x64
lea eax, [ebp - 8]
call fcn.00403874
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push edi
push esi
call sub.user32.dll_GetMenuItemInfoA
test eax, eax
je 0x41486e
cmp dword [ebp - 0x2c], 0
jne 0x41486e
mov edx, 0x414d0c
mov ecx, 0xc
mov eax, dword [ebp - 0x10]
call fcn.004065d8
test eax, eax
je 0x414860
mov edx, 0x414d1c
mov ecx, 9
mov eax, dword [ebp - 0x10]
call fcn.004065d8
test eax, eax
je 0x414860
mov edx, 0x414d28
mov ecx, 0x11
mov eax, dword [ebp - 0x10]
call fcn.004065d8
test eax, eax
jne 0x41486e
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x210], edx
jmp 0x414880
inc edi
dec ebx
jne 0x4147e2
jmp 0x414880
inc edi
dec ebx
jne 0x414750
mov eax, dword [ebp - 4]
cmp dword [eax + 0x210], 0
jne 0x414899
mov eax, dword [ebp - 4]
mov dword [eax + 0x210], 0x4e50
xor eax, eax
push ebp
push 0x414abb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x414aad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x208]
mov byte [eax + 0x476], 1
mov al, byte [0x4206a9]
or al, byte [0x4206aa]
jne 0x4148e4
cmp byte [0x4206ab], 0
je 0x414903
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x200]
push ebx
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
push ebx
call sub.user32.dll_SetWindowLongA
mov al, byte [0x4206a9]
or al, byte [0x4206aa]
jne 0x41492f
cmp byte [0x4206ab], 0
jne 0x41492f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x208]
cmp byte [eax + 0x477], 0
je 0x4149fc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x1c]
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x18]
push 0x15
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
push 0xffffc568
push 0xffffc568
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], ebx
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], esi
push 0
push 0
push 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SendMessageA
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
push 0xf
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x208]
cmp byte [eax + 0x477], 0
je 0x4149c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200]
push eax
call sub.user32.dll_SetParent
push 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_ShowWindow
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
push 0
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
push eax
push 0x111
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200]
push eax
call sub.user32.dll_SendMessageA
push 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x208]
cmp byte [eax + 0x477], 0
je 0x414a73
push 0x14
mov eax, dword [0x4206a4]
push eax
mov eax, dword [0x4206a0]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200]
push eax
call sub.user32.dll_SetWindowPos
mov al, byte [0x4206a9]
or al, byte [0x4206aa]
jne 0x414a9b
cmp byte [0x4206ab], 0
jne 0x414a9b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x208]
cmp byte [eax + 0x477], 0
je 0x414aad
push 0
push 1
push 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414ac2
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200]
push eax
call sub.user32.dll_SetParent
push 0x37
call sub.kernel32.dll_Sleep
push 0x15
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 4]
cmp byte [eax + 0xda], 0
je 0x414b69
mov eax, dword [ebp - 4]
cmp byte [eax + 0xca], 0
je 0x414b69
push 0x17
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SetWindowPos
jmp 0x414b95
push 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x208]
mov byte [eax + 0x476], 0
push 0x401
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_RedrawWindow
push 0x14
mov eax, dword [0x4206a4]
push eax
mov eax, dword [0x4206a0]
push eax
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200]
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 4]
cmp byte [eax + 0xca], 0
je 0x414c01
mov eax, dword [ebp - 4]
cmp byte [eax + 0xca], 0
je 0x414c25
mov eax, dword [ebp - 4]
cmp byte [eax + 0xda], 0
je 0x414c25
mov eax, dword [ebp - 4]
cmp byte [eax + 0x18a], 0
je 0x414c25
push 0
push 0x84
push 0x111
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SendMessageA
push 0x40
mov eax, dword [0x4206a4]
push eax
mov eax, dword [0x4206a0]
push eax
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200]
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 4]
cmp byte [eax + 0xda], 0
je 0x414c8e
mov eax, dword [ebp - 4]
cmp byte [eax + 0xca], 0
je 0x414c8e
push 0x47
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SetWindowPos
jmp 0x414cba
push 0x44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x208]
mov byte [eax + 0x476], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414ce7
lea eax, [ebp - 8]
call fcn.00403428
ret