Function at 0x47ac98
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 0x47b202
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x47aced
mov eax, dword [ebp - 4]
test byte [eax + 0x2f4], 4
je 0x47aced
lea edx, [ebp - 8]
mov eax, dword [0x542b84]
call fcn.004071ac
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41d774]
call fcn.0040fe74
call fcn.004044e4
mov eax, dword [0x545f90]
call fcn.0047f678
mov eax, dword [ebp - 4]
or byte [eax + 0x2f4], 4
xor edx, edx
push ebp
push 0x47b1e5
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x47b1cd
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1a6], 0
je 0x47b0c8
xor eax, eax
push ebp
push 0x47ad50
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffae
call fcn.00403ef8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ad67
mov eax, dword [ebp - 4]
cmp byte [eax + 0x230], 4
je 0x47ad93
mov eax, dword [ebp - 4]
cmp byte [eax + 0x230], 6
jne 0x47ae4a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22f], 1
jne 0x47ae4a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22f], 1
jne 0x47add7
mov eax, dword [0x545f90]
mov eax, dword [eax + 0x44]
call fcn.00461110
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x47adbb
adc ebx, 0
mov eax, dword [0x545f90]
mov eax, dword [eax + 0x44]
call fcn.00461154
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x47ae07
adc eax, 0
jmp 0x47ae07
mov eax, dword [0x545f94]
call fcn.0047c52c
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x47adf0
adc ebx, 0
mov eax, dword [0x545f94]
call fcn.0047c520
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x47ae07
adc eax, 0
test ebx, ebx
jge 0x47ae0d
xor ebx, ebx
test eax, eax
jge 0x47ae13
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
push edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
push edx
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x84]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x57], 0
je 0x47afd4
mov eax, dword [ebp - 4]
call fcn.004790ec
jmp 0x47afd4
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x230]
mov edx, eax
add dl, 0xfa
sub dl, 2
jae 0x47af2f
mov eax, dword [0x545f90]
mov esi, dword [eax + 0x44]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x230], 7
jne 0x47ae90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x47437c]
call fcn.00403e88
test al, al
je 0x47ae90
mov eax, dword [ebp - 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x47aebc
mov ebx, dword [esi + 0x48]
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x47aea4
adc ebx, 0
add ebx, dword [esi + 0x40]
mov eax, dword [esi + 0x4c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x47aeb7
adc eax, 0
add eax, dword [esi + 0x44]
jmp 0x47aeec
mov eax, dword [0x545f94]
call fcn.0047c52c
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x47aed5
adc ebx, 0
mov eax, dword [0x545f94]
call fcn.0047c520
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x47aeec
adc eax, 0
test ebx, ebx
jge 0x47aef2
xor ebx, ebx
test eax, eax
jge 0x47aef8
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
push edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
push edx
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x84]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x57], 0
je 0x47afd4
mov eax, dword [ebp - 4]
call fcn.004790ec
jmp 0x47afd4
cmp al, 5
jne 0x47afd4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22f], 1
jne 0x47af7b
mov eax, dword [0x545f90]
mov eax, dword [eax + 0x44]
call fcn.00461110
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x47af5f
adc ebx, 0
mov eax, dword [0x545f90]
mov eax, dword [eax + 0x44]
call fcn.00461154
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x47afab
adc eax, 0
jmp 0x47afab
mov eax, dword [0x545f94]
call fcn.0047c55c
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x47af94
adc ebx, 0
mov eax, dword [0x545f94]
call fcn.0047c550
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x47afab
adc eax, 0
test ebx, ebx
jge 0x47afb1
xor ebx, ebx
test eax, eax
jge 0x47afb7
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
push edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
push edx
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x84]
mov eax, dword [ebp - 4]
mov byte [eax + 0x230], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22f], 1
jne 0x47b0a3
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22b], 2
jne 0x47b030
push 0
mov eax, dword [ebp - 4]
call fcn.00468104
push eax
push 0x223
mov eax, dword [0x545f90]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_SendMessageA
push 3
mov eax, dword [ebp - 4]
call fcn.00468104
push eax
call sub.user32.dll_ShowWindow
jmp 0x47b081
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x22b]
mov eax, dword [eax*4 + 0x53bd50]
push eax
mov eax, dword [ebp - 4]
call fcn.00468104
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.00468104
push eax
push 0x407dcc
call sub.user32.dll_CallWindowProcA
mov eax, dword [ebp - 4]
call fcn.0046196c
push 0
push 0
push 0x234
mov eax, dword [0x545f90]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_SendMessageA
jmp 0x47b1cd
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x22b]
mov eax, dword [eax*4 + 0x53bd50]
push eax
mov eax, dword [ebp - 4]
call fcn.00468104
push eax
call sub.user32.dll_ShowWindow
jmp 0x47b1cd
xor eax, eax
push ebp
push 0x47b0ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffaf
call fcn.00403ef8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b103
mov eax, dword [0x545f94]
mov eax, dword [eax + 0x6c]
cmp eax, dword [ebp - 4]
jne 0x47b11a
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00479e44
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22f], 1
jne 0x47b133
mov eax, dword [ebp - 4]
call fcn.004655a0
jmp 0x47b1cd
mov eax, dword [ebp - 4]
test byte [eax + 0x2f4], 8
je 0x47b15e
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00468104
push eax
call sub.user32.dll_SetWindowPos
jmp 0x47b1cd
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00468104
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x47b194
mov eax, dword [ebp - 4]
call fcn.00468104
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x47b194
mov eax, dword [ebp - 4]
call fcn.00468104
call fcn.00475a64
mov ebx, eax
test ebx, ebx
je 0x47b1bd
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00468104
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x47b1cd
push 0
mov eax, dword [ebp - 4]
call fcn.00468104
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b1ec
mov eax, dword [ebp - 4]
and byte [eax + 0x2f4], 0xfb
ret