Function at 0x45f944
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45ffa5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x45f999
mov eax, dword [ebp - 4]
test byte [eax + 0x358], 4
je 0x45f999
lea edx, [ebp - 8]
mov eax, dword [0x499b3c]
call fcn.00406da0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x417404]
call fcn.0040d804
call fcn.00404550
mov eax, dword [0x49ecd4]
call fcn.00464d38
mov eax, dword [ebp - 4]
or byte [eax + 0x358], 4
xor edx, edx
push ebp
push 0x45ff88
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x45ff42
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1da], 0
je 0x45fe36
xor eax, eax
push ebp
push 0x45f9fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffab
call fcn.00403ed8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45fa13
mov eax, dword [ebp - 4]
cmp byte [eax + 0x278], 4
je 0x45fa3f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x278], 6
jne 0x45fb22
mov eax, dword [ebp - 4]
cmp byte [eax + 0x277], 1
jne 0x45fb22
mov eax, dword [ebp - 4]
cmp byte [eax + 0x277], 1
jne 0x45fa85
mov eax, dword [0x49ecd4]
mov eax, dword [eax + 0x44]
call fcn.004446c4
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x45fa67
adc ebx, 0
mov eax, dword [0x49ecd4]
mov eax, dword [eax + 0x44]
call fcn.00444708
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x4c]
sar esi, 1
jns 0x45fab7
adc esi, 0
jmp 0x45fab7
mov eax, dword [0x49ecd8]
call fcn.004614a0
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x45fa9e
adc ebx, 0
mov eax, dword [0x49ecd8]
call fcn.00461494
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x4c]
sar esi, 1
jns 0x45fab7
adc esi, 0
mov eax, dword [0x49ecd8]
call fcn.004614b8
cmp ebx, eax
jge 0x45fad1
mov eax, dword [0x49ecd8]
call fcn.004614b8
mov ebx, eax
mov eax, dword [0x49ecd8]
call fcn.004614ac
cmp esi, eax
jge 0x45faeb
mov eax, dword [0x49ecd8]
call fcn.004614ac
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x88]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x57], 0
je 0x45fd42
mov eax, dword [ebp - 4]
call fcn.0045d2ec
jmp 0x45fd42
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x278]
mov edx, eax
add dl, 0xfa
sub dl, 2
jae 0x45fc47
mov eax, dword [0x49ecd4]
mov esi, dword [eax + 0x44]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x278], 7
jne 0x45fb69
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x45734c]
call fcn.00403e68
test al, al
je 0x45fb69
mov eax, dword [ebp - 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x45fbaa
cmp esi, dword [ebp - 4]
je 0x45fbaa
mov eax, esi
call fcn.0045b4fc
mov ebx, eax
mov eax, dword [esi + 0x48]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
sar eax, 1
jns 0x45fb8b
adc eax, 0
add ebx, eax
mov eax, esi
call fcn.0045b51c
mov edx, dword [esi + 0x4c]
mov ecx, dword [ebp - 4]
sub edx, dword [ecx + 0x4c]
sar edx, 1
jns 0x45fba4
adc edx, 0
add eax, edx
mov esi, eax
jmp 0x45fbdc
mov eax, dword [0x49ecd8]
call fcn.004614a0
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x45fbc3
adc ebx, 0
mov eax, dword [0x49ecd8]
call fcn.00461494
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x4c]
sar esi, 1
jns 0x45fbdc
adc esi, 0
mov eax, dword [0x49ecd8]
call fcn.004614b8
cmp ebx, eax
jge 0x45fbf6
mov eax, dword [0x49ecd8]
call fcn.004614b8
mov ebx, eax
mov eax, dword [0x49ecd8]
call fcn.004614ac
cmp esi, eax
jge 0x45fc10
mov eax, dword [0x49ecd8]
call fcn.004614ac
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x88]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x57], 0
je 0x45fd42
mov eax, dword [ebp - 4]
call fcn.0045d2ec
jmp 0x45fd42
cmp al, 5
jne 0x45fd42
mov eax, dword [ebp - 4]
cmp byte [eax + 0x277], 1
jne 0x45fc95
mov eax, dword [0x49ecd4]
mov eax, dword [eax + 0x44]
call fcn.004446c4
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x45fc77
adc ebx, 0
mov eax, dword [0x49ecd4]
mov eax, dword [eax + 0x44]
call fcn.00444708
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x4c]
sar esi, 1
jns 0x45fcf1
adc esi, 0
jmp 0x45fcf1
mov eax, dword [0x49ecd8]
call fcn.004614d0
mov ebx, eax
sar ebx, 1
jns 0x45fca8
adc ebx, 0
mov eax, dword [0x49ecd8]
call fcn.004614b8
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
sar eax, 1
jns 0x45fcc1
adc eax, 0
sub ebx, eax
mov eax, dword [0x49ecd8]
call fcn.004614c4
mov esi, eax
sar esi, 1
jns 0x45fcd6
adc esi, 0
mov eax, dword [0x49ecd8]
call fcn.004614ac
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
sar eax, 1
jns 0x45fcef
adc eax, 0
sub esi, eax
mov eax, dword [0x49ecd8]
call fcn.004614b8
cmp ebx, eax
jge 0x45fd0b
mov eax, dword [0x49ecd8]
call fcn.004614b8
mov ebx, eax
mov eax, dword [0x49ecd8]
call fcn.004614ac
cmp esi, eax
jge 0x45fd25
mov eax, dword [0x49ecd8]
call fcn.004614ac
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x88]
mov eax, dword [ebp - 4]
mov byte [eax + 0x278], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x277], 1
jne 0x45fe11
mov eax, dword [ebp - 4]
cmp byte [eax + 0x273], 2
jne 0x45fd9e
push 0
mov eax, dword [ebp - 4]
call fcn.0044ce28
push eax
push 0x223
mov eax, dword [0x49ecd4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x29c]
push eax
call sub.user32.dll_SendMessageA
push 3
mov eax, dword [ebp - 4]
call fcn.0044ce28
push eax
call sub.user32.dll_ShowWindow
jmp 0x45fdef
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x273]
mov eax, dword [eax*4 + 0x4978e0]
push eax
mov eax, dword [ebp - 4]
call fcn.0044ce28
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
shl edx, 0x10
or eax, edx
push eax
push 0
push 5
mov eax, dword [ebp - 4]
call fcn.0044ce28
push eax
push 0x40767c
call sub.user32.dll_CallWindowProcA
mov eax, dword [ebp - 4]
call fcn.00444fd0
push 0
push 0
push 0x234
mov eax, dword [0x49ecd4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x29c]
push eax
call sub.user32.dll_SendMessageA
jmp 0x45ff70
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x273]
mov eax, dword [eax*4 + 0x4978e0]
push eax
mov eax, dword [ebp - 4]
call fcn.0044ce28
push eax
call sub.user32.dll_ShowWindow
jmp 0x45ff70
xor eax, eax
push ebp
push 0x45fe5a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffac
call fcn.00403ed8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45fe71
mov eax, dword [0x49ecd8]
mov eax, dword [eax + 0x6c]
cmp eax, dword [ebp - 4]
jne 0x45fe88
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0045e67c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x277], 1
jne 0x45fea4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xb0]
jmp 0x45ff70
mov eax, dword [ebp - 4]
test byte [eax + 0x358], 8
je 0x45fed2
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0044ce28
push eax
call sub.user32.dll_SetWindowPos
jmp 0x45ff70
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.0044ce28
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x45ff07
mov eax, dword [ebp - 4]
call fcn.0044ce28
call fcn.00458cb8
test eax, eax
jne 0x45ff07
mov eax, dword [ebp - 4]
call fcn.0044ce28
call fcn.00458fe0
mov ebx, eax
test ebx, ebx
je 0x45ff30
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0044ce28
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x45ff70
push 0
mov eax, dword [ebp - 4]
call fcn.0044ce28
push eax
call sub.user32.dll_ShowWindow
jmp 0x45ff70
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
je 0x45ff70
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
je 0x45ff70
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1da], 0
je 0x45ff70
push 1
mov eax, dword [ebp - 4]
call fcn.0044ce28
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ff8f
mov eax, dword [ebp - 4]
and byte [eax + 0x358], 0xfb
ret