Function at 0x447558
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 0x447ac5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x20], 0x10
jne 0x4475ad
mov eax, dword [ebp - 4]
test byte [eax + 0x2cc], 4
je 0x4475ad
lea edx, [ebp - 8]
mov eax, dword [0x4b9adc]
call fcn.0040623c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x40f6cc]
call fcn.0040c440
call fcn.00403588
mov eax, dword [0x4ba7d0]
call fcn.0044b72c
mov eax, dword [ebp - 4]
or byte [eax + 0x2cc], 4
xor edx, edx
push ebp
push 0x447aa8
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x20], 0x10
jne 0x447a90
mov eax, dword [ebp - 4]
cmp byte [eax + 0x168], 0
je 0x44798b
xor eax, eax
push ebp
push 0x447610
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov bx, 0xffb1
call fcn.00403024
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x447627
mov eax, dword [ebp - 4]
cmp byte [eax + 0x218], 4
je 0x447653
mov eax, dword [ebp - 4]
cmp byte [eax + 0x218], 6
jne 0x44770b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x217], 1
jne 0x44770b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x217], 1
jne 0x447699
mov eax, dword [0x4ba7d0]
mov eax, dword [eax + 0x38]
call fcn.0042cb88
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x38]
sar ebx, 1
jns 0x44767b
adc ebx, 0
mov eax, dword [0x4ba7d0]
mov eax, dword [eax + 0x38]
call fcn.0042cbcc
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x3c]
sar esi, 1
jns 0x4476cb
adc esi, 0
jmp 0x4476cb
mov eax, dword [0x4ba7d4]
call fcn.00448bf8
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x38]
sar ebx, 1
jns 0x4476b2
adc ebx, 0
mov eax, dword [0x4ba7d4]
call fcn.00448bec
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x3c]
sar esi, 1
jns 0x4476cb
adc esi, 0
test ebx, ebx
jge 0x4476d1
xor ebx, ebx
test esi, esi
jge 0x4476d7
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x7c]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x47], 0
je 0x447897
mov eax, dword [ebp - 4]
call fcn.00445b14
jmp 0x447897
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x218]
mov edx, eax
add dl, 0xfa
sub dl, 2
jae 0x4477f1
mov eax, dword [0x4ba7d0]
mov esi, dword [eax + 0x38]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x218], 7
jne 0x447751
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x440f00]
call fcn.00402fc0
test al, al
je 0x447751
mov eax, dword [ebp - 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x44777f
mov ebx, dword [esi + 0x38]
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x38]
sar ebx, 1
jns 0x447765
adc ebx, 0
add ebx, dword [esi + 0x30]
mov eax, dword [esi + 0x3c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x3c]
sar eax, 1
jns 0x447778
adc eax, 0
add eax, dword [esi + 0x34]
mov esi, eax
jmp 0x4477b1
mov eax, dword [0x4ba7d4]
call fcn.00448bf8
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x38]
sar ebx, 1
jns 0x447798
adc ebx, 0
mov eax, dword [0x4ba7d4]
call fcn.00448bec
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x3c]
sar esi, 1
jns 0x4477b1
adc esi, 0
test ebx, ebx
jge 0x4477b7
xor ebx, ebx
test esi, esi
jge 0x4477bd
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x7c]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x47], 0
je 0x447897
mov eax, dword [ebp - 4]
call fcn.00445b14
jmp 0x447897
cmp al, 5
jne 0x447897
mov eax, dword [ebp - 4]
cmp byte [eax + 0x217], 1
jne 0x44783f
mov eax, dword [0x4ba7d0]
mov eax, dword [eax + 0x38]
call fcn.0042cb88
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x38]
sar ebx, 1
jns 0x447821
adc ebx, 0
mov eax, dword [0x4ba7d0]
mov eax, dword [eax + 0x38]
call fcn.0042cbcc
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x3c]
sar esi, 1
jns 0x447871
adc esi, 0
jmp 0x447871
mov eax, dword [0x4ba7d4]
call fcn.00448c28
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x38]
sar ebx, 1
jns 0x447858
adc ebx, 0
mov eax, dword [0x4ba7d4]
call fcn.00448c1c
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x3c]
sar esi, 1
jns 0x447871
adc esi, 0
test ebx, ebx
jge 0x447877
xor ebx, ebx
test esi, esi
jge 0x44787d
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x7c]
mov eax, dword [ebp - 4]
mov byte [eax + 0x218], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x217], 1
jne 0x447966
mov eax, dword [ebp - 4]
cmp byte [eax + 0x213], 2
jne 0x4478f3
push 0
mov eax, dword [ebp - 4]
call fcn.00433244
push eax
push 0x223
mov eax, dword [0x4ba7d0]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x23c]
push eax
call sub.user32.dll_SendMessageA
push 3
mov eax, dword [ebp - 4]
call fcn.00433244
push eax
call sub.user32.dll_ShowWindow
jmp 0x447944
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x213]
mov eax, dword [eax*4 + 0x4b8a74]
push eax
mov eax, dword [ebp - 4]
call fcn.00433244
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
shl edx, 0x10
or eax, edx
push eax
push 0
push 5
mov eax, dword [ebp - 4]
call fcn.00433244
push eax
push 0x407b80
call sub.user32.dll_CallWindowProcA
mov eax, dword [ebp - 4]
call fcn.0042d368
push 0
push 0
push 0x234
mov eax, dword [0x4ba7d0]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x23c]
push eax
call sub.user32.dll_SendMessageA
jmp 0x447a90
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x213]
mov eax, dword [eax*4 + 0x4b8a74]
push eax
mov eax, dword [ebp - 4]
call fcn.00433244
push eax
call sub.user32.dll_ShowWindow
jmp 0x447a90
xor eax, eax
push ebp
push 0x4479af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov bx, 0xffb2
call fcn.00403024
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4479c6
mov eax, dword [0x4ba7d4]
mov eax, dword [eax + 0x60]
cmp eax, dword [ebp - 4]
jne 0x4479dd
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00446818
mov eax, dword [ebp - 4]
cmp byte [eax + 0x217], 1
jne 0x4479f6
mov eax, dword [ebp - 4]
call fcn.004307ac
jmp 0x447a90
mov eax, dword [ebp - 4]
test byte [eax + 0x2cc], 8
je 0x447a21
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00433244
push eax
call sub.user32.dll_SetWindowPos
jmp 0x447a90
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00433244
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x447a57
mov eax, dword [ebp - 4]
call fcn.00433244
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x447a57
mov eax, dword [ebp - 4]
call fcn.00433244
call fcn.00442474
mov ebx, eax
test ebx, ebx
je 0x447a80
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00433244
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x447a90
push 0
mov eax, dword [ebp - 4]
call fcn.00433244
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447aaf
mov eax, dword [ebp - 4]
and byte [eax + 0x2cc], 0xfb
ret