Function at 0x41f570
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push str.____________________Entrance____________________
lea ecx, [ebp - 0x28]
lea eax, [esi + 0x20]
push ecx
push eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], str.OnClose
call fcn.00471a00
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00420630
lea edi, [esi + 0x380]
call fcn.0047ebc0
test al, al
je 0x41f746
mov edx, dword [0x51856c]
mov eax, dword [edx + 0xc]
mov ecx, 0x51856c
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
mov edx, dword [esi + 0x60]
mov eax, dword [edx + 8]
lea ebx, [esi + 0x60]
mov ecx, ebx
call eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, str.You_are_currently_downloading_or_converting_video_s_._If_you_exit__your_downloads_will_be_resumed_from_where_you_left_off__and_your_conversions_will_be_started_from_0._Are_you_sure_you_want_to_exit_
mov edi, eax
call fcn.00405a00
lea edx, [ebp - 0x14]
push edx
mov ecx, str.dlg.checkupd.msgbx.runningitems
mov byte [ebp - 4], 3
call fcn.00405a00
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0046f110
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.004082a0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f670
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f693
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f6b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call edx
mov eax, dword [eax]
mov edi, dword [ebp - 0x1c]
push 0x34
push eax
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
mov eax, dword [ebp - 0x20]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f6fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test bl, bl
je 0x41f738
test edx, edx
jg 0x41f71f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.______________________Exit______________________
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
push ecx
push edx
jmp 0x41f7cd
test edx, edx
jg 0x41f746
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xe70]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x41f760
mov ecx, dword [esi + 0xac4]
push eax
push ecx
call edi
mov eax, dword [esi + 0xe74]
test eax, eax
je 0x41f774
mov edx, dword [esi + 0xac4]
push eax
push edx
call edi
mov eax, dword [esi + 0xe7c]
test eax, eax
je 0x41f788
push eax
mov eax, dword [esi + 0xac4]
push eax
call edi
lea ecx, [esi + 0x60]
mov byte [esi + 0x4d8], 1
call fcn.00485320
mov ecx, dword [esi + 4]
push 0
push 0x29a
push 0x29a
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push str.______________________Exit______________________
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
push eax
push ecx
call fcn.00471a00
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret