Function at 0x4804b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529988
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x595cb8]
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 - 0x48]
push str.IN_bIsFadeIn
call fcn.0041f870
push str.doRollWindow
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.0041f910
mov byte [ebp - 4], 1
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x48051a
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x50]
call fcn.00420f70
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00420ee0
add esp, 8
mov byte [ebp - 4], 4
cmp dword [ebx + 0x24], 0
je 0x480564
push 0
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.004210a0
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov edx, dword [ebp - 0x4c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x480585
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4805a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4805c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4805df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x480600
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x480793
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 0x480921
push str.Error_Roll_in_AnimateWindow
lea ecx, [ebp - 0x40]
call fcn.0041f870
push str.doRollWindow
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 5
call fcn.0041f910
mov byte [ebp - 4], 6
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x48069e
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x4c]
call fcn.00420f70
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.00420ee0
add esp, 4
mov byte [ebp - 4], 9
cmp dword [ebx + 0x24], 0
je 0x4806f3
push 2
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.004210a0
mov byte [ebp - 4], 8
mov eax, edi
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x480711
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, edi
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48072f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48074d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48076b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x480921
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x480921
cmp esi, 1
jne 0x480921
lea eax, [ebp - 0x3c]
push eax
push dword [ebx - 0x58]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [ebp - 0x34], 0
je 0x480921
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 0x480916
push str.Error_Roll_out_AnimateWindow
lea ecx, [ebp - 0x58]
call fcn.0041f870
push str.doRollWindow
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xa
call fcn.0041f910
lea ecx, [ebp - 0x64]
call fcn.00420390
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
push ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.00420f70
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.00420ee0
add esp, 4
mov byte [ebp - 4], 0xe
cmp dword [ebx + 0x24], 0
je 0x48087f
push 2
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.004210a0
mov byte [ebp - 4], 0xd
mov eax, edi
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48089d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov eax, edi
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4808bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov eax, edi
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4808d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4808f7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x480916
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.004f4566
mov esp, ebp
pop ebp
ret 0x14