Function at 0x481370
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5156c0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x573be0]
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]
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
mov dword [ebp - 0x44], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
mov eax, str.IN_bIsFadeIn
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x481688
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x4813e5
push esi
push eax
lea ecx, [ebp - 0x48]
call fcn.00420bb0
mov esi, dword [ebp - 0x44]
push str.doRollWindow
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.004204a0
mov byte [ebp - 4], 2
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00421890
push esi
mov edx, eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00421800
add esp, 8
mov byte [ebp - 4], 5
cmp dword [ebx + 0x24], 0
je 0x481452
push 0
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.004219a0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x481475
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x481495
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4814b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4814d5
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
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4814f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x48169a
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
push dword [ebx + 0xb4]
mov dword [ebx + 0xa8], ecx
push eax
push ecx
push 0xffffffffffffffff
push dword [ebx - 0x58]
mov dword [ebx + 0xac], eax
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 0x481842
push str.Error_Roll_in_AnimateWindow
lea ecx, [ebp - 0x48]
call fcn.00420550
push str.doRollWindow
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 6
call fcn.004204a0
mov byte [ebp - 4], 7
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.00421890
add esp, 4
mov esi, eax
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, esi
lea ecx, [ebp - 0x50]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [ebx + 0x24], 0
je 0x4815de
push 2
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.004219a0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4815fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48161e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48163e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48165e
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 0x481842
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x481842
push str.IN_bIsFadeIn
lea ecx, [ebp - 0x48]
call fcn.00420650
jmp 0x4813e8
cmp esi, 1
jne 0x481842
lea eax, [ebp - 0x3c]
push eax
push dword [ebx - 0x58]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [ebp - 0x34], 0
je 0x481842
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 0x481837
push str.Error_Roll_out_AnimateWindow
lea ecx, [ebp - 0x54]
call fcn.00420550
push str.doRollWindow
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xb
call fcn.004204a0
mov byte [ebp - 4], 0xc
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
call fcn.00421890
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, esi
lea ecx, [ebp - 0x60]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0xf
cmp dword [ebx + 0x24], 0
je 0x481796
push 2
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.004219a0
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4817b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4817d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4817f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x481816
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 0x481837
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
push 0
push 0
mov ecx, ebx
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.004e8f3a
mov esp, ebp
pop ebp
ret 0x14