Function at 0x4143e8
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 0x414ae0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
test eax, eax
je 0x414aca
push 0x14
mov edx, dword [0x41f6a4]
push edx
mov edx, dword [0x41f6a0]
push edx
push 0xfffff830
push 0xfffff830
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 + 0x1d4]
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
mov dword [0x41f6a0], eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x40]
mov dword [0x41f6a4], eax
mov ebx, dword [0x41f6a0]
sub ebx, dword [ebp - 0x4c]
mov esi, dword [0x41f6a4]
sub esi, dword [ebp - 0x48]
test ebx, ebx
jne 0x41448d
test esi, esi
je 0x4144a9
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 0x41456d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
dec eax
je 0x4144cd
dec eax
je 0x4144d7
dec eax
je 0x4144fe
jmp 0x414513
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1c], edx
jmp 0x414513
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f0]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x1e8]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x10]
sar eax, 1
jns 0x4144f6
adc eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
jmp 0x414513
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f0]
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 + 0x188]
dec eax
je 0x414527
dec eax
je 0x414531
dec eax
je 0x414558
jmp 0x41456d
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x18], edx
jmp 0x41456d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f4]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x1ec]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x14]
sar eax, 1
jns 0x414550
adc eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
jmp 0x41456d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f4]
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 + 0x1d4]
push eax
call sub.user32.dll_GetWindowLongA
test eax, 0x40000
setne bl
test bl, bl
jne 0x4145a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_SetParent
push 0x37
call sub.kernel32.dll_Sleep
call fcn.00413b38
test bl, bl
je 0x414979
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_GetMenu
mov esi, eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1e4], 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 0x414721
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 0x414719
cmp dword [ebp - 0x2c], 0
jne 0x414719
mov edx, 0x414af0
mov eax, dword [ebp - 0x10]
call fcn.0040657c
test eax, eax
je 0x41466c
mov edx, 0x414af8
mov eax, dword [ebp - 0x10]
call fcn.0040657c
test eax, eax
je 0x41466c
mov edx, 0x414b04
mov eax, dword [ebp - 0x10]
call fcn.0040657c
test eax, eax
jne 0x414719
mov esi, dword [ebp - 0x20]
push esi
call sub.user32.dll_GetMenuItemCount
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x414721
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 0x41470f
cmp dword [ebp - 0x2c], 0
jne 0x41470f
mov edx, 0x414b0c
mov ecx, 0xc
mov eax, dword [ebp - 0x10]
call fcn.004065a0
test eax, eax
je 0x414701
mov edx, 0x414b1c
mov ecx, 9
mov eax, dword [ebp - 0x10]
call fcn.004065a0
test eax, eax
je 0x414701
mov edx, 0x414b28
mov ecx, 0x11
mov eax, dword [ebp - 0x10]
call fcn.004065a0
test eax, eax
jne 0x41470f
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x1e4], edx
jmp 0x414721
inc edi
dec ebx
jne 0x414683
jmp 0x414721
inc edi
dec ebx
jne 0x4145f1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1e4], 0
jne 0x41473a
mov eax, dword [ebp - 4]
mov dword [eax + 0x1e4], 0x4e50
xor eax, eax
push ebp
push 0x41495c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x41494e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1dc]
mov byte [eax + 0x476], 1
mov al, byte [0x41f6a9]
or al, byte [0x41f6aa]
jne 0x414785
cmp byte [0x41f6ab], 0
je 0x4147a4
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x1d4]
push ebx
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
push ebx
call sub.user32.dll_SetWindowLongA
mov al, byte [0x41f6a9]
or al, byte [0x41f6aa]
jne 0x4147d0
cmp byte [0x41f6ab], 0
jne 0x4147d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1dc]
cmp byte [eax + 0x477], 0
je 0x41489d
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 0xfffff830
push 0xfffff830
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 + 0x1dc]
cmp byte [eax + 0x477], 0
je 0x414867
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
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 + 0x1e4]
push eax
push 0x111
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_SendMessageA
push 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1dc]
cmp byte [eax + 0x477], 0
je 0x414914
push 0x14
mov eax, dword [0x41f6a4]
push eax
mov eax, dword [0x41f6a0]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_SetWindowPos
mov al, byte [0x41f6a9]
or al, byte [0x41f6aa]
jne 0x41493c
cmp byte [0x41f6ab], 0
jne 0x41493c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1dc]
cmp byte [eax + 0x477], 0
je 0x41494e
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 0x414963
ret
push 0x37
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 4]
cmp byte [eax + 0xda], 0
je 0x4149c6
mov eax, dword [ebp - 4]
cmp byte [eax + 0xca], 0
je 0x4149c6
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 0x4149f2
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 + 0x1dc]
mov byte [eax + 0x476], 0
push 0x14
mov eax, dword [0x41f6a4]
push eax
mov eax, dword [0x41f6a0]
push eax
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_SetWindowPos
push 0x40
mov eax, dword [0x41f6a4]
push eax
mov eax, dword [0x41f6a0]
push eax
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 4]
cmp byte [eax + 0xda], 0
je 0x414a8e
mov eax, dword [ebp - 4]
cmp byte [eax + 0xca], 0
je 0x414a8e
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 0x414aba
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 + 0x1dc]
mov byte [eax + 0x476], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414ae7
lea eax, [ebp - 8]
call fcn.00403428
ret