Function at 0x10014180
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov dword [ebp - 4], 0
push 0xffffffffffffffec
push dword [ebp + 0x10]
call sub.USER32.dll_GetWindowLongW
and eax, 0x40
cmp eax, 0x40
jne 0x100141aa
mov dword [ebp + 0xc], 0
push 0xffffffffffffffec
push dword [ebp + 0x10]
call sub.USER32.dll_GetWindowLongW
and eax, 0x8000000
cmp eax, 0x8000000
sete al
shr eax, 1
sbb eax, eax
mov ebx, dword [ebp + 0x18]
cmp ebx, 1
sete bl
shr ebx, 1
sbb ebx, ebx
and eax, ebx
je 0x100141dd
mov dword [ebp + 0x18], 4
cmp dword [ebp + 0xc], 0xffffffff
jne 0x10014464
push 0xfffffffffffffff0
push dword [ebp + 0x14]
call sub.USER32.dll_GetWindowLongW
and eax, 0x40000000
test eax, eax
je 0x10014228
push dword [ebp + 0x14]
call sub.USER32.dll_GetParent
mov dword [ebp + 0x14], eax
push dword [ebp + 0x14]
call sub.USER32.dll_IsWindow
test eax, eax
jne 0x10014213
jmp 0x10014228
push 0xffffffffffffffec
push dword [ebp + 0x14]
call sub.USER32.dll_GetWindowLongW
and eax, 0x40
test eax, eax
je 0x10014226
jmp 0x10014228
jmp 0x100141e7
push dword [ebp + 0x14]
call sub.USER32.dll_IsWindow
test eax, eax
je 0x1001423e
push 0
push dword [ebp + 0x14]
call sub.USER32.dll_EnableWindow
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call sub.USER32.dll_ShowWindow
push dword [ebp + 0x10]
call sub.USER32.dll_UpdateWindow
lea eax, [ebp - 0x20]
push eax
push edi
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
pop edi
pop eax
lea eax, [ebp - 0x124]
push eax
push edi
mov edi, eax
xor eax, eax
mov ecx, 0x41
rep stosd dword es:[edi], eax
pop edi
pop eax
push dword [ebp + 8]
call fcn.10038690
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], 0
lea eax, [ebp - 0x240]
push eax
push edi
mov edi, eax
xor eax, eax
mov ecx, 0x45
rep stosd dword es:[edi], eax
pop edi
pop eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0x114
lea eax, [ebp - 0x240]
push eax
call sub.KERNEL32.dll_GetVersionExW
cmp dword [ebp - 0x230], 2
jne 0x100142e5
mov eax, dword [ebp - 0x23c]
imul eax, eax, 0xa
add eax, dword [ebp - 0x238]
mov ebx, eax
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x250], 0
push 0
push 0
push 0
lea ebx, [ebp - 0x20]
push ebx
call sub.USER32.dll_GetMessageW
test eax, eax
je 0x10014450
lea eax, [ebp - 0x20]
push eax
call fcn.100310b0
test eax, eax
jne 0x1001443d
push dword [ebp + 8]
call fcn.1003a2b0
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x10014368
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x12c]
push dword [ebp - 0x128]
call sub.USER32.dll_TranslateAcceleratorW
test eax, eax
sete al
shr eax, 1
sbb eax, eax
mov dword [ebp - 0x254], eax
jmp 0x10014372
mov dword [ebp - 0x254], 0xffffffff
cmp dword [ebp - 0x254], 0
je 0x1001443d
cmp dword [ebp + 0x1c], 0xffffffff
jne 0x1001439d
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x128]
call sub.USER32.dll_TranslateMDISysAccel
test eax, eax
je 0x1001439d
jmp 0x10014303
cmp dword [ebp - 0x244], 0x3e
jge 0x100143bc
cmp dword [ebp - 0x1c], 0x20a
sete al
shr eax, 1
sbb eax, eax
mov dword [ebp - 0x258], eax
jmp 0x100143c6
mov dword [ebp - 0x258], 0
cmp dword [ebp - 0x258], 0
je 0x10014418
lea eax, [ebp - 0x24c]
push eax
call sub.USER32.dll_GetCursorPos
push dword [ebp - 0x248]
push dword [ebp - 0x24c]
call sub.USER32.dll_WindowFromPoint
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x250], eax
je 0x10014418
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x20a
push dword [ebp - 0x250]
call sub.USER32.dll_PostMessageW
jmp 0x10014303
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x128]
call sub.USER32.dll_IsDialogMessageW
test eax, eax
jne 0x1001443d
lea eax, [ebp - 0x20]
push eax
call sub.USER32.dll_TranslateMessage
lea eax, [ebp - 0x20]
push eax
call sub.USER32.dll_DispatchMessageW
push dword [ebp + 0x10]
call sub.USER32.dll_IsWindow
test eax, eax
jne 0x1001444b
jmp 0x10014450
jmp 0x10014303
mov eax, dword [0x10077a0c]
mov dword [ebp - 4], eax
mov dword [0x10077a0c], 0
jmp 0x10014475
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call sub.USER32.dll_ShowWindow
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret 0x18