Function at 0x4d30c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516548
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x572bb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x44]
push str.IN_bIsFadeIn
call fcn.00471c70
push str.doRollWindow
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00471bb0
mov byte [ebp - 4], 1
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4d3131
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x50]
call fcn.00472fc0
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00472f20
add esp, 8
mov byte [ebp - 4], 4
cmp dword [ebx + 0x24], 0
je 0x4d317d
push 0
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.00473100
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov edx, dword [ebp - 0x4c]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4d31a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov ecx, edi
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d31c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, edi
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d31e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d3200
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d3223
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x4d33c9
push 2
push 0xff
push esi
push dword [ebx - 0x58]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
push 0
push dword [ebx + 0xb8]
or esi, 0x60000
mov dword [ebx + 0xa8], ecx
push dword [ebx + 0xb4]
mov dword [ebx + 0xac], eax
push eax
push ecx
push 0xffffffffffffffff
push dword [ebx - 0x58]
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
push dword [ebp + 0xc]
push dword [ebx - 0x58]
call dword [sym.imp.USER32.dll_AnimateWindow]
test eax, eax
jne 0x4d3561
push str.Error_Roll_in_AnimateWindow
lea ecx, [ebp - 0x48]
call fcn.00471c70
push str.doRollWindow
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 5
call fcn.00471bb0
mov byte [ebp - 4], 6
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4d32c8
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x4c]
call fcn.00472fc0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, esi
lea ecx, [ebp - 0x50]
call fcn.00472f20
add esp, 4
mov byte [ebp - 4], 9
cmp dword [ebx + 0x24], 0
je 0x4d331f
push 2
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.00473100
mov byte [ebp - 4], 8
mov ecx, edi
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d333f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov ecx, edi
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d335f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov ecx, edi
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d337f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, edi
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d339f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4d3561
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4d3561
cmp esi, 1
jne 0x4d3561
lea eax, [ebp - 0x3c]
push eax
push dword [ebx - 0x58]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [ebp - 0x34], 0
je 0x4d3561
mov esi, dword [ebp + 0x18]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebx + 0x2c]
or esi, 0x50000
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push 0xff
push 0
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov eax, dword [ebx + 0x6c]
push esi
push dword [ebp + 0xc]
mov dword [eax + 0x40], 0xff
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_AnimateWindow]
test eax, eax
jne 0x4d3556
push str.Error_Roll_out_AnimateWindow
lea ecx, [ebp - 0x54]
call fcn.00471c70
push str.doRollWindow
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xa
call fcn.00471bb0
lea ecx, [ebp - 0x60]
call fcn.00472bb0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
push ecx
mov edx, eax
lea ecx, [ebp - 0x64]
call fcn.00472fc0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, esi
lea ecx, [ebp - 0x5c]
call fcn.00472f20
add esp, 4
mov byte [ebp - 4], 0xe
cmp dword [ebx + 0x24], 0
je 0x4d34b5
push 2
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.00473100
mov byte [ebp - 4], 0xd
mov ecx, edi
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d34d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov ecx, edi
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d34f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov ecx, edi
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d3515
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov ecx, edi
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d3535
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4d3556
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
push 0
push 0
call dword [eax + 0xc]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e94b7
mov esp, ebp
pop ebp
ret 0x14